Update x86_64 multiarch functions for <cpu-features.h>
[glibc.git] / ChangeLog
blob5ea2847453b0f97dc2ca9e5340171a6ee46d1e78
1 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
3         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
4         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
5         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
6         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
9         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
11         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
15         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
16         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
17         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
18         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
19         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
20         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
21         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
22         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
23         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
24         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
25         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
26         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
29         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
30         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
31         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
32         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
33         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
34         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
35         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
36         * sysdeps/x86_64/multiarch/memset.S: Likewise.
37         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
39         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
40         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
41         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
42         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
43         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
44         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
45         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
47 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
49         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
50         (dl_platform_init): Call init_cpu_features.
51         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
52         * sysdeps/i386/i686/cacheinfo.c
53         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
54         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
55         * sysdeps/i386/i686/multiarch/Versions: Removed.
56         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
57         Removed.
58         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
59         * sysdeps/unix/sysv/linux/x86/Makefile
60         (libpthread-sysdep_routines): Remove init-arch.
61         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
62         <sysdeps/x86_64/dl-procinfo.c> instead of
63         sysdeps/generic/dl-procinfo.c>.
64         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
65         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
66         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
67         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
68         [$(subdir) == elf] (tests-static): Add
69         tst-get-cpu-features-static.
70         * sysdeps/x86/Versions: New file.
71         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
72         * sysdeps/x86/cpu-features.c: Likewise.
73         * sysdeps/x86/cpu-features.h: Likewise.
74         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
75         * sysdeps/x86/libc-start.c: Likewise.
76         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
77         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
78         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
79         * sysdeps/x86_64/dl-procinfo.c: Likewise.
80         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
81         Assume USE_MULTIARCH is defined and don't check it.
82         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
83         (is_amd): Likewise.
84         (max_cpuid): Likewise.
85         (intel_check_word): Likewise.
86         (__cache_sysconf): Don't call __init_cpu_features.
87         (__x86_preferred_memory_instruction): Removed.
88         (init_cacheinfo): Don't call __init_cpu_features. Replace
89         __cpu_features with GLRO(dl_x86_cpu_features).
90         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
91         (dl_platform_init): Call init_cpu_features.
92         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
93         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
94         * sysdeps/x86_64/multiarch/Versions: Removed.
95         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
96         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
97         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
98         Removed.
99         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
101 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
103         [BZ #18820]
104         * libio/Makefile (test-fmemopen-mem): New test.
105         * libio/test-fmemopen.c (do_bz18820): New test.
106         * libio/fmemopen.c (__fmemopen): Fix memory leak.
107         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
109 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
111         [BZ #16734]
112         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
113         (FREE_BUF): Delete.
114         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
115         * libio/genops.c (_IO_setb): Use malloc and free directly.
116         (_IO_default_doallocate, _IO_default_finish): Likewise.
117         ( _IO_unbuffer_all): Likewise.
118         ( libc_freeres_fn): Likewise.
119         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
120         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
121         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
122         (_IO_wdefault_doallocate): Likewise.
124 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
126         [BZ #18086]
127         * sysdeps/posix/nice.c (nice): Restore old errno.
128         * posix/tst-nice.c (do_test): Add test for BZ #18086.
130 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
132         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
134 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
136         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
137         __bcopy and add a weak_alias to bcopy.
138         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
139         for static build.
141         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
142         cleanup macro usage.
143         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
144         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
145         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
146         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
147         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
148         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
149         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
150         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
151         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
152         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
153         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
154         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
155         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
156         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
157         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
158         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
159         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
160         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
161         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
163         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
164         libc_hidden_def.
165         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
167         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
168         (sysdep_routines): Add strstr-ppc64.
169         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
171 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
173         [BZ #18778]
174         * elf/Makefile (tests): Add Add tst-nodelete2.
175         (modules-names): Add tst-nodelete2mod.
176         (tst-nodelete2mod.so-no-z-defs): New.
177         ($(objpfx)tst-nodelete2): Likewise.
178         ($(objpfx)tst-nodelete2.out): Likewise.
179         (LDFLAGS-tst-nodelete2): Likewise.
180         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
181         out of loop through all loaded libraries.
182         * elf/tst-nodelete2.c: New file.
183         * elf/tst-nodelete2mod.c: Likewise.
185 2015-08-11  Andreas Schwab  <schwab@suse.de>
187         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
188         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
189         (__openat64_nocancel): Likewise.
191 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
193         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
194         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
195         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
196         * math/auto-libm-test-out: Regenerated.
197         * sysdeps/i386/fpu/libm-test-ulps: Update.
198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
200 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
202         [BZ #18790]
203         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
204         threshold for returning +/- 1.
205         * math/auto-libm-test-in: Add more tests of tanh.
206         * math/auto-libm-test-out: Regenerated.
207         * sysdeps/i386/fpu/libm-test-ulps: Update.
209 2015-08-10  Andreas Schwab  <schwab@suse.de>
211         [BZ #18781]
212         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
213         MORE_OFLAGS to oflag.
214         * io/test-lfs.c (do_test): Test openat64.
216 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
218         [BZ #18789]
219         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
220         smaller threshold for returning the argument.
221         * math/auto-libm-test-in: Add more tests of sinh.
222         * math/auto-libm-test-out: Regenerated.
223         * sysdeps/i386/fpu/libm-test-ulps: Update.
225 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
227         [BZ #18674]
228         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
229         break.
231 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
233         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
234         (generated): Don't add $(addprefix z.,$(tzfiles)).
236 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
238         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
239         * scripts/sysd-rules.awk: Likewise.
241 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
243         * iconvdata/tst-tables.sh: Change echo -n to printf.
244         * nss/db-Makefile: Likewise.
245         * posix/tst-getconf.sh: Likewise.
246         * stdio-common/tst-unbputc.sh: Likewise.
248 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
250         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
251         MADV_*_PAGES defines behind this feature check.
253 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
255         [BZ #18480]
256         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
257         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
258         Define.
259         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
260         LOAD_REGS_5, LOAD_REGS_6): Update.
261         (INTERNAL_SYSCALL): Update using new LOAD defines.
262         (INTERNAL_SYSCALL_NCS): Likewise.
263         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
265 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
267         [BZ #16734]
268         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
270 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
272         [BZ #17905]
273         * catgets/Makefile (tst-catgets-mem): New test.
274         * catgets/catgets.c (catopen): Don't use unbounded alloca.
275         * catgets/open_catalog.c (__open_catalog): Likewise.
276         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
278 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
280         [BZ #18787]
281         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
282         clobber registers.
283         (atomic_compare_and_exchange_val_acq): Use register asms to assign
284         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
285         Cast return to __typeof (oldval).
287 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
289         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
290         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
291         and delete sys/syscall.h include.
293 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
295         [BZ #16517]
296         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
297         (tan): Force underflow exception for arguments with small absolute
298         value.
299         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
300         (__kernel_tanf): Force underflow exception for arguments with
301         small absolute value.
302         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
303         (__kernel_tanl): Force underflow exception for arguments with
304         small absolute value.
305         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
306         (__kernel_tanl): Force underflow exception for arguments with
307         small absolute value.
308         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
309         (__kernel_tanl): Force underflow exception for arguments with
310         small absolute value.
311         * math/auto-libm-test-in: Add more tests of tan.
312         * math/auto-libm-test-out: Regenerated.
314 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
316         Fix sysdeps/i386/fpu/s_scalbn.S build
318         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
320 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
322         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
324 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
326         Fix gcrt0.o compilation
328         When static-start-installed-name is different from
329         start-installed-name, we must not use the shared objects.
331         * csu/Makefile
332         (extra-objs): Add gmon-start.o when building shared library and
333         $(static-start-installed-name) is different from
334         $(start-installed-name).
335         $(objpfx)g$(static-start-installed-name): When building shared
336         library and $(static-start-installed-name) is different from
337         $(static-start-installed-name), revert to non-shared rule,
338         i.e. using $(objpfx)% and gmon-start.o.
340 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
342         [BZ #16519]
343         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
344         (__ieee754_sinh): Force underflow exception for arguments with
345         small absolute value.
346         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
347         (__ieee754_sinhf): Force underflow exception for arguments with
348         small absolute value.
349         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
350         (__ieee754_sinhl): Force underflow exception for arguments with
351         small absolute value.
352         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
353         (__ieee754_sinhl): Force underflow exception for arguments with
354         small absolute value.
355         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
356         (__ieee754_sinhl): Force underflow exception for arguments with
357         small absolute value.
358         * math/auto-libm-test-in: Add more tests of sinh.
359         * math/auto-libm-test-out: Regenerated.
360         * sysdeps/i386/fpu/libm-test-ulps: Update.
362 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
364         * libio/oldfileops.c: Include unistd.h.
366 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
368         * stdlib/isomac.c: Include ctype.h.
370 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
372         * dirent/tst-seekdir.c (main): Converted to ...
373         (do_test): ... this.
374         (TEST_FUNCTION): New macro.
375         Include test-skeleton.c.
376         * elf/tst-dlmodcount.c (main): Converted to ...
377         (do_test): ... this.
378         (TEST_FUNCTION): New macro.
379         Include test-skeleton.c.
380         * elf/tst-order-main.c (main): Converted to ...
381         (do_test): ... this.
382         (TEST_FUNCTION): New macro.
383         Include test-skeleton.c.
384         * elf/tst-pie2.c (main): Converted to ...
385         (do_test): ... this.
386         (TEST_FUNCTION): New macro.
387         Include test-skeleton.c.
388         * inet/tst-ether_aton.c (main): Converted to ...
389         (do_test): ... this.
390         (TEST_FUNCTION): New macro.
391         Include test-skeleton.c.
392         * misc/tst-mntent.c (main): Converted to ...
393         (do_test): ... this.
394         (TEST_FUNCTION): New macro.
395         Include test-skeleton.c.
396         * misc/tst-tsearch.c (main): Converted to ...
397         (do_test): ... this.
398         (TEST_FUNCTION): New macro.
399         Include test-skeleton.c.
400         * posix/tst-regexloc.c (main): Converted to ...
401         (do_test): ... this.
402         (TEST_FUNCTION): New macro.
403         Include test-skeleton.c.
404         * resolv/tst-aton.c (main): Converted to ...
405         (do_test): ... this.
406         (TEST_FUNCTION): New macro.
407         Include test-skeleton.c.
408         * stdio-common/test-fwrite.c (main): Converted to ...
409         (do_test): ... this.
410         (TEST_FUNCTION): New macro.
411         Include test-skeleton.c.
412         * stdio-common/tst-ferror.c (main): Converted to ...
413         (do_test): ... this.
414         (TEST_FUNCTION): New macro.
415         Include test-skeleton.c.
416         * stdio-common/tst-printf.c (main): Converted to ...
417         (do_test): ... this.
418         (TEST_FUNCTION): New macro.
419         Include test-skeleton.c.
420         * stdio-common/tst-printfsz.c (main): Converted to ...
421         (do_test): ... this.
422         (TEST_FUNCTION): New macro.
423         Include test-skeleton.c.
424         * stdlib/tst-strtod.c (main): Converted to ...
425         (do_test): ... this.
426         (TEST_FUNCTION): New macro.
427         Include test-skeleton.c.
428         * string/tst-strlen.c (main): Converted to ...
429         (do_test): ... this.
430         (TEST_FUNCTION): New macro.
431         Include test-skeleton.c.
432         * string/tst-svc.c (main): Converted to ...
433         (do_test): ... this.
434         (TEST_FUNCTION): New macro.
435         Include test-skeleton.c.
436         * time/tst-strptime.c (main): Converted to ...
437         (do_test): ... this.
438         (TEST_FUNCTION): New macro.
439         Include test-skeleton.c.
440         * timezone/tst-timezone.c (main): Converted to ...
441         (do_test): ... this.
442         (TEST_FUNCTION): New macro.
443         Include test-skeleton.c.
445 2015-08-05  Zack Weinberg  <zackw@panix.com>
447         * misc/regexp.h: Update comments.
449 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
451         [BZ #18635]
452         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
453         before return label.
455 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
457         [BZ #18661]
458         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
459         when calling __errno_location.
460         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
461         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
463 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
465         [BZ #18661]
466         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
467         (__lll_timedwait_tid): Align stack to 16 bytes when calling
468         __gettimeofday.
470 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
472         [BZ #18661]
473         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
474         (__start_context): Don't use pop to restore %rdi so that stack
475         is aligned to 16 bytes when calling __setcontext.
477 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
479         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
480         only for libc.
481         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
483 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
485         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
486         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
487         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
489 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
491         * string/memccpy.c (memccpy):
492         Improve performance by using memchr/memcpy/__mempcpy.
494 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
496         * string/strncpy.c (strncpy):
497         Improve performance by using __strnlen/memcpy.
499 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
501         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
502         Optimize to avoid an unnecessary FPCR read.
504 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
506         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
507         Optimize to reduce FPCR/FPSR accesses.
509 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
511         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
512         dead->data[category] != NULL.
514 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
516         [BZ #18647]
517         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
518         and |x| close to 1, use absolute value of x when computing log.
519         * math/auto-libm-test-in: Add more tests of pow.
520         * math/auto-libm-test-out: Regenerated.
522 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
524         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
525         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
526         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
528 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
530         [BZ #18525]
531         * locales/km_KH: Remove timezone definition.
532         * locales/lo_LA: Likewise.
533         * locales/my_MM: Likewise.
534         * locales/nan_TW@latin: Likewise.
535         * locales/th_TH: Likewise.
536         * locales/uk_UA: Likewise.
538 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
540         [BZ #18265]
541         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
542         (wcsncat): Likewise.
543         (wcscmp): Likewise.
544         (wcsncmp): Likewise.
546 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
548         * test-skeleton.c (usage): New function.
549         (main): Call usage when opt is '?'.
551 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
553         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
554         before first use.
556 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
558         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
559         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
560         in there too.
562 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
564         * version.h (RELEASE): Set to "development".
565         (VERSION): Set to "2.22.90"
567         * version.h (RELEASE): Set to "stable".
568         (VERSION): Set to "2.22"
569         * include/features.h (__GLIBC_MINOR__): Set to 22.
571 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
573         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
574         Restructure macro to avoid "value computed is not used" warning.
575         (atomic_compare_and_exchange_val_acq): Likewise.
577 2015-08-04  Andreas Schwab  <schwab@suse.de>
579         [BZ #18635]
580         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
581         ret.
582         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
584 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
586         * po/pl.po: Updated translation.
587         * po/uk.po: Likewise.
588         * po/fi.po: Likewise.
589         * po/ko.po: Likewise.
590         * po/ru.po: Likewise.
591         * po/vi.po: Likewise.
593 2015-07-31  Zack Weinberg  <zackw@panix.com>
595         [BZ #18681]
596         * regexp.h: Add unconditional #warning stating that this header
597         will be removed soon.  Revise banner comment to match.
598         (compile): Consistently use ERROR instead of RETURN to report
599         errors (partial fix for bz#18681).
600         * regexp.c: Don't include regexp.h. Remove some unnecessary
601         declarations.
603 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
605         * po/libc.pot: Regenerated.
607 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
609         [BZ #18740]
610         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
611         float-vlen4-arch-ext-cflags): Removed.
612         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
613         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
615 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
617         [BZ #14113]
618         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
619         aligned to __aligned__.
620         (pthread_cond_t, pthread_rwlock_t): Likewise.
622 2015-07-30  Torvald Riegel  <triegel@redhat.com>
624         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
626 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
628         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
629         (struct sigaction): Change sa_flags from a long to an int, and add
630         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
632 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
634         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
635         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
636         sysdeps/generic/sysdep.h include.
637         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
638         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
639         sysdeps/hppa/sysdep.h.
640         (ENTRY, PSEUDO): Undefine before defining.
642 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
644         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
645         from scratch to use INTERNAL_SYSCALL.
647 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
649         [BZ #18078]
650         * scripts/check-localplt.awk: Support alternate relocations.
651         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
652         sections.
653         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
654         malloc entries with + REL R_386_GLOB_DAT.
655         * sysdeps/x86_64/localplt.data: New file.
657 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
659         [BZ #18731]
660         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
661         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
662         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
664 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
666         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
668 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
670         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
671         directly in terms of __sync_fetch_and_add and delete (int) cast.
673 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
675         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
676         the -D_ASM_IA64_CURRENT_H flag.
678 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
680         [BZ #18641]
681         * pwd/pwd.h (putpwent): Delete __nonnull markings.
683 2015-07-27  Andreas Schwab  <schwab@suse.de>
685         * conform/conformtest.pl (checknamespace): Filter out string
686         literals while tokenizing.
688 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
690         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
691         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
692         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
694 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
696         * nptl/tst-join7mod.c: Add #include <string.h>.
698 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
700         * sysdeps/nios2/libm-test-ulps: Update.
702 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
704         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
705         Fix order of arguments to the rt_sigprocmask syscall.
706         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
707         Likewise.
709 2015-07-24  Roland McGrath  <roland@hack.frob.com>
711         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
713 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
715         [BZ #18457]
716         * nptl/Makefile (tests): New test case tst-join7.
717         (modules-names): New test case module tst-join7mod.
718         * nptl/tst-join7.c: New file.
719         * nptl/tst-join7mod.c: New file.
720         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
721         all translation units in libc.so, libpthread.so and rtld.
723 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
725         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
727 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
729         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
730         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
731         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
732         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
733         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
734         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
735         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
736         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
737         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
738         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
739         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
740         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
741         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
742         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
743         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
744         implementation.
746 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
748         [BZ #17711]
749         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
750         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
751         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
752         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
753         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
754         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
756 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
758         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
759         instead of just saying load lock in the comments.
761 2015-07-23  Roland McGrath  <roland@hack.frob.com>
763         * sysdeps/unix/Subdirs: Moved ...
764         * sysdeps/posix/Subdirs: ... here.
765         * login/pty.h (struct termios, struct winsize): Add forward decls.
766         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
767         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
768         * sysdeps/arm/nacl/libc.abilist: Updated.
769         * sysdeps/nacl/libutil.abilist: New file.
771         * bits/signum.h: Update comments to mention 1003.1-2013 too.
772         (SIGWINCH): New macro.
774         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
775         * sysdeps/arm/nacl/libc.abilist: Add it.
777 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
779         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
781 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
783         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
784         Swap __glibc_reserved0 and sa_flags order.
786 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
788         [BZ #18657]
789         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
790         are pending TLS destructor calls.
791         * include/link.h (struct link_map): Add concurrency note for
792         L_TLS_DTOR_COUNT.
793         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
794         Don't touch the link map flag.  Atomically increment
795         l_tls_dtor_count.
796         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
797         Avoid taking the load lock and don't touch the link map flag.
798         * stdlib/tst-tls-atexit-nodelete.c: New test case.
799         * stdlib/Makefile (tests): Use it.
800         * stdlib/tst-tls-atexit.c (do_test): dlopen
801         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
802         to allow tst-tls-atexit-nodelete test case to use it.
804 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
806         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
807         to bits/types.h.
808         (msgqnum_t): New typedef.
809         (msglen_t): Likewise.
810         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
811         and msg_qbytes type to msglen_t.
813 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
815         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
816         pad0 to __glibc_reserved0.
817         (struct stat64): Likewise.
819 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
821         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
822         Change sa_flags from a long to an int and add __glibc_reserved0 before
823         it for padding.
825 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
827         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
828         anonymous by deleting "siginfo" name.
830 2015-07-21  Roland McGrath  <roland@hack.frob.com>
832         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
833         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
834         rather than __nacl_irt_filename.
835         * sysdeps/nacl/xstat.c (__xstat): Likewise.
837         * NEWS: New item for arm-nacl port.
838         * sysdeps/arm/nacl/libc.abilist: New file.
839         * sysdeps/nacl/ld.abilist: New file.
840         * sysdeps/nacl/libBrokenLocale.abilist: New file.
841         * sysdeps/nacl/libanl.abilist: New file.
842         * sysdeps/nacl/libcrypt.abilist: New file.
843         * sysdeps/nacl/libdl.abilist: New file.
844         * sysdeps/nacl/libm.abilist: New file.
845         * sysdeps/nacl/libpthread.abilist: New file.
846         * sysdeps/nacl/libresolv.abilist: New file.
847         * sysdeps/nacl/librt.abilist: New file.
849 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
851         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
852         __startcontext to initialize the new context.
853         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
854         up CFI directive to forbid further backtracing.
856 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
858         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
859         reference.
860         * charmaps/ANSI_X3.4-1968: Likewise.
861         * charmaps/BS_4730: Likewise.
862         * charmaps/BS_VIEWDATA: Likewise.
863         * charmaps/CP1250: Likewise.
864         * charmaps/CP1251: Likewise.
865         * charmaps/CP1252: Likewise.
866         * charmaps/CP1253: Likewise.
867         * charmaps/CP1254: Likewise.
868         * charmaps/CP1255: Likewise.
869         * charmaps/CP1256: Likewise.
870         * charmaps/CSN_369103: Likewise.
871         * charmaps/EBCDIC-DK-NO: Likewise.
872         * charmaps/GB_1988-80: Likewise.
873         * charmaps/GREEK-CCITT: Likewise.
874         * charmaps/GREEK7: Likewise.
875         * charmaps/INIS-8: Likewise.
876         * charmaps/ISIRI-3342: Likewise.
877         * charmaps/ISO_2033-1983: Likewise.
878         * charmaps/ISO_5427-EXT: Likewise.
879         * locales/POSIX: Likewise.
880         * locales/ar_SA: Likewise.
881         * locales/be_BY: Likewise.
882         * locales/be_BY@latin: Likewise.
883         * locales/ca_ES: Likewise.
884         * locales/cs_CZ: Likewise.
885         * locales/da_DK: Likewise.
886         * locales/de_BE: Likewise.
887         * locales/de_CH: Likewise.
888         * locales/de_LU: Likewise.
889         * locales/en_AU: Likewise.
890         * locales/en_BW: Likewise.
891         * locales/en_CA: Likewise.
892         * locales/en_DK: Likewise.
893         * locales/en_GB: Likewise.
894         * locales/en_IE: Likewise.
895         * locales/en_NZ: Likewise.
896         * locales/en_ZA: Likewise.
897         * locales/en_ZW: Likewise.
898         * locales/es_AR: Likewise.
899         * locales/es_BO: Likewise.
900         * locales/es_CL: Likewise.
901         * locales/es_CO: Likewise.
902         * locales/es_DO: Likewise.
903         * locales/es_EC: Likewise.
904         * locales/es_ES: Likewise.
905         * locales/es_HN: Likewise.
906         * locales/es_MX: Likewise.
907         * locales/es_PA: Likewise.
908         * locales/es_PE: Likewise.
909         * locales/es_PY: Likewise.
910         * locales/es_SV: Likewise.
911         * locales/es_US: Likewise.
912         * locales/es_UY: Likewise.
913         * locales/es_VE: Likewise.
914         * locales/et_EE: Likewise.
915         * locales/fa_IR: Likewise.
916         * locales/fo_FO: Likewise.
917         * locales/fr_CA: Likewise.
918         * locales/fr_CH: Likewise.
919         * locales/gv_GB: Likewise.
920         * locales/he_IL: Likewise.
921         * locales/hr_HR: Likewise.
922         * locales/id_ID: Likewise.
923         * locales/is_IS: Likewise.
924         * locales/it_CH: Likewise.
925         * locales/iw_IL: Likewise.
926         * locales/kl_GL: Likewise.
927         * locales/ko_KR: Likewise.
928         * locales/kw_GB: Likewise.
929         * locales/lg_UG: Likewise.
930         * locales/lt_LT: Likewise.
931         * locales/lv_LV: Likewise.
932         * locales/mi_NZ: Likewise.
933         * locales/nhn_MX: Likewise.
934         * locales/nl_BE: Likewise.
935         * locales/pl_PL: Likewise.
936         * locales/sk_SK: Likewise.
937         * locales/sl_SI: Likewise.
938         * locales/sv_FI: Likewise.
939         * locales/tl_PH: Likewise.
940         * locales/tr_TR: Likewise.
941         * locales/vi_VN: Likewise.
943 2015-07-21  Khem Raj  <raj.khem@gmail.com>
945         [BZ #17475]
946         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
947         of tu_IN and bh_IN.
949 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
951         [BZ #18694]
952         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
953         bits/wordsize.h.
954         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
956 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
958         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
959         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
960         (spawn_thread): New function.
961         (load): Rename to reg_dtor_and_close.  Move dlopen to...
962         (do_test): ... here.  Use IS_LOADED to test for its
963         availability.
965 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
967         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
969 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
971         [BZ #18696]
972         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
973         si_addr_bnd.
974         (si_lower): New.
975         (si_upper): Likewise.
977 2015-07-16  David S. Miller  <davem@davemloft.net>
979         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
981 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
983         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
984         buffer.
985         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
986         fail output information.
988 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
990         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
991         and strstr-ppc64..
992         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
993         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
994         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
995         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
996         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
998 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
1000         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
1001         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
1002         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
1003         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
1005 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
1007         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
1008         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
1009         rtld_hidden_proto.
1010         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
1012 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1014         * tst-nodelete-opened.c (do_test): Add comment to clarify how
1015         the test can fail.
1017         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
1019         [BZ #18676]
1020         * elf/tst-nodelete-opened.c: New test case.
1021         * elf/tst-nodelete-opened-lib.c: New test case module.
1022         * elf/Makefile (tests, modules-names): Use them.
1023         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
1024         early.
1026 2015-07-15  David S. Miller  <davem@davemloft.net>
1028         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
1029         futex-intenal.h
1030         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
1031         * sysdeps/sparc/sparc64/Makefile: Likewise.
1032         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
1033         Remove space from macro define.
1034         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
1036 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
1038         [BZ #17475]
1039         * locale/iso-639.def: Update Bhili and Tulu language codes as
1040         per iso639-3.
1042 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
1044         * elf/tst-leaks1.c (main): Converted to ...
1045         (do_test): ... this.
1046         (TEST_FUNCTION): New macro.
1047         Include test-skeleton.c.
1048         * localedata/tst-langinfo.c (main): Converted to ...
1049         (do_test): ... this.
1050         (TEST_FUNCTION): New macro.
1051         Include test-skeleton.c.
1052         * math/test-fpucw.c (main): Converted to ...
1053         (do_test): ... this.
1054         (TEST_FUNCTION): New macro.
1055         Include test-skeleton.c.
1056         * math/test-tgmath.c (main): Converted to ...
1057         (do_test): ... this.
1058         (TEST_FUNCTION): New macro.
1059         Include test-skeleton.c.
1060         * math/test-tgmath2.c (main): Converted to ...
1061         (do_test): ... this.
1062         (TEST_FUNCTION): New macro.
1063         Include test-skeleton.c.
1064         * setjmp/tst-setjmp.c (main): Converted to ...
1065         (do_test): ... this.
1066         (TEST_FUNCTION): New macro.
1067         Include test-skeleton.c.
1068         * stdio-common/tst-sscanf.c (main): Converted to ...
1069         (do_test): ... this.
1070         (TEST_FUNCTION): New macro.
1071         Include test-skeleton.c.
1072         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
1073         (do_test): ... this.
1074         (TEST_FUNCTION): New macro.
1075         Include test-skeleton.c.
1077         * elf/tst-audit9.c (main): Converted to ...
1078         (do_test): ... this.
1079         (TEST_FUNCTION): New macro.
1080         Include test-skeleton.c.
1082 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
1084         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
1086 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
1088         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
1089         New variable.
1091 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
1093         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1095 2015-07-14  Roland McGrath  <roland@hack.frob.com>
1097         * sysdeps/generic/dl-fileid.h: New file.
1098         * sysdeps/posix/dl-fileid.h: New file.
1099         * sysdeps/nacl/dl-fileid.h: New file.
1100         * include/link.h: Include <dl-fileid.h>.
1101         (struct link_map): Replace l_dev and l_ino with l_file_id.
1102         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
1103         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
1104         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
1106 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1108         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
1110 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1112         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
1113         Add iff $CXX is set.
1114         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
1115         Likewise.
1116         (tst-nodelete-zmodiff): Likewise.
1117         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
1119 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1121         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
1123 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
1125         * sysdeps/aarch64/fpu/math_private.h
1126         (define math_opt_barrier): Add AArch64 version.
1127         (math_force_eval): Likewise.
1129 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
1131         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
1133 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
1135         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
1136         %ld with %jd and cast to intmax_t.
1137         (do_test_length_zero): Likewise.
1139 2015-07-10  Roland McGrath  <roland@hack.frob.com>
1141         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
1143 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
1145         * sysdeps/tile/libm-test-ulps: Regenerated.
1147         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
1148         Comment out the whole function, not just its body.
1150 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1152         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
1153         locks.
1155         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
1157 2015-07-10  Torvald Riegel  <triegel@redhat.com>
1159         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
1160         (sem_assume_only_signals_cause_futex_EINTR): Remove.
1162 2015-07-10  Torvald Riegel  <triegel@redhat.com>
1164         * sysdeps/nptl/futex-internal.h: New file.
1165         * sysdeps/nacl/futex-internal.h: New file.
1166         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
1167         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
1168         error checking.
1169         (setxid_unmark_thread): Likewise.
1170         (__nptl_setxid): Likewise.
1171         (__wait_lookup_done): Likewise.
1172         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
1173         * nptl/nptl-init.c (sighandler_setxid): Likewise.
1174         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
1175         * nptl/pthread_once.c (clear_once_control): Likewise.
1176         (__pthread_once_slow): Likewise.
1177         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
1178         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
1179         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
1180         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1181         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
1182         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
1183         Likewise.
1184         (__pthread_rwlock_rdlock): Likewise.
1185         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1186         Likewise.
1187         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1188         Likewise.
1189         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1190         Likewise.
1191         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
1192         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
1193         Likewise.
1194         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
1195         __ASSUME_PRIVATE_FUTEX check.
1196         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
1197         Check that shared futexes are supported.
1198         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
1199         wrappers with error checking.
1200         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
1201         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
1202         * nptl/pthread_barrierattr_setpshared.c
1203         (pthread_barrierattr_setpshared): Check that shared futexes are
1204         supported.
1205         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
1206         Likewise.
1207         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
1208         Likewise.
1209         * nptl/sem_init.c (futex_private_if_supported): Remove.
1210         (__new_sem_init): Adapt and check that shared futexes are supported.
1211         * nptl/sem_open.c (sem_open): Likewise.
1212         * nptl/sem_post.c (futex_wake): Remove.
1213         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
1214         (do_futex_wait): Use futex wrappers with error checking.
1215         * nptl/sem_wait.c: Include lowlevellock.h.
1216         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
1217         Use futex_supports_pshared.
1218         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
1219         Use futex wrappers with error checking.
1220         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
1221         Likewise.
1222         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
1223         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
1224         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
1225         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
1226         (futex_wake): Likewise.
1227         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
1228         (do_futex_wait): Use futex wrappers with error checking.
1229         (__new_sem_wait_slow): Update EINTR handling.
1230         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
1232 2015-07-09  Martin Sebor  <msebor@redhat.com>
1234         [BZ #18435]
1235         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
1236         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
1237         * nptl/Makefile (test-xfail-tst-once5): Define.
1239 2015-07-09  Roland McGrath  <roland@hack.frob.com>
1241         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
1242         * elf/dl-minimal.c: For readability, reorder some definitions and
1243         introduce more page breaks.  Include <stdio.h>.
1244         (__libc_fatal): New function.
1246         * include/unistd.h: Add rtld_hidden_proto for _exit.
1247         * posix/_exit.c: Add rtld_hidden_def.
1248         * sysdeps/mach/hurd/_exit.c: Likewise.
1249         * sysdeps/nacl/_exit.c: Likewise.
1250         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
1251         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
1253 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
1255         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
1256         bndmov encoding with zero displacement.
1258 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
1259             H.J. Lu  <hongjiu.lu@intel.com>
1261         [BZ #18134]
1262         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
1263         * sysdeps/i386/configure: Regenerated.
1264         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
1265         (_dl_runtime_profile): Save and restore Intel MPX return bound
1266         registers when calling _dl_call_pltexit.  Add
1267         PRESERVE_BND_REGS_PREFIX before return.
1268         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
1269         (LRV_BND1_OFFSET): Likewise.
1270         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
1271         lrv_bnd1.
1272         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
1273         typo in bndmov encoding.
1274         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
1275         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
1276         branch instructions to preserve bounds.
1278 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1281         [GLIBC_2.22]: Add fmemopen.
1283 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1285         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
1286         returns an error, also try to use host port from __mach_host_self for
1287         the __vm_wire call.
1288         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
1290 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1292         [BZ #18400]
1293         [BZ #18648]
1294         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
1295         Fix pr_uid and pr_gid members.
1296         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
1297         definition to elf_greg_t.
1299 2015-07-08  Roland McGrath  <roland@hack.frob.com>
1301         [BZ #18383]
1302         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
1303         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
1304         * sysdeps/arm/configure: Regenerated.
1305         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
1306         (test-xfail-tst-tlsalign-static): Variable removed.
1308         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
1309         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
1310         rather than explicit 'ln -s'.
1312         * resolv/rpc/netdb.h: New file.
1313         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
1315 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1317         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
1318         length buffers.
1319         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
1320         test-skeleton.c.
1322         [BZ #6544]
1323         [BZ #11216]
1324         [BZ #12836]
1325         [BZ #13151]
1326         [BZ #13152]
1327         [BZ #14292]
1328         * include/stdio.h (fmemopen): Remove hidden prototype.
1329         (__fmemopen): Add new hidden prototype.
1330         * libio/Makefile: Add oldfmemopen object.
1331         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
1332         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
1333         compliance.
1334         * libio/oldfmemopen.c: New file: old fmemopen implementation for
1335         symbol compatibility.
1336         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
1337         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
1338         fmemopen.
1339         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
1340         on append and read mode.
1341         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
1342         fmemopen.
1343         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
1344         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
1345         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
1346         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
1347         Likewise.
1348         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
1349         [GLIBC_2.22]: Likewise.
1350         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
1351         Likewise.
1352         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
1353         Likewise.
1354         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1355         [GLIBC_2.22]: Likewise.
1356         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1357         [GLIBC_2.22]: Likewise.
1358         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1359         [GLIBC_2.22]: Likewise.
1360         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1361         [GLIBC_2.22]: Likewise.
1362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1363         [GLIBC_2.22]: Likewise.
1364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1365         [GLIBC_2.22]: Likewise.
1366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1367         [GLIBC_2.22]: Likewise.
1368         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
1369         Likewise.
1370         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
1371         Likewise.
1372         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
1373         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
1374         [GLIBC_2.22]: Likewise.
1375         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
1376         [GLIBC_2.22]: Likewise.
1377         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
1378         [GLIBC_2.22]: Likewise.
1379         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
1380         [GLIBC_2.22]: Likewise.
1381         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
1382         Likewise.
1383         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
1384         Likewise.
1385         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
1386         Likewise.
1387         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
1388         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
1390 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
1392         [BZ #18643]
1393         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
1394         IPV6_PATHMTU, and IPV6_DONTFRAG.
1396 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
1398         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
1399         and _IO_UNBUFFERED.
1400         * libio/oldfileops.c: Likewise.
1401         * libio/wfileops.c: Likewise.
1403 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
1405         * nscd/selinux.c: Delete selinux/flask.h include.
1407 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
1409         [BZ #18641]
1410         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
1411         (putpwent): Likewise.
1412         (getpwnam): Likewise.
1413         (getpwent_r): Likewise.
1414         (getpwuid_r): Likewise.
1415         (getpwnam_r): Likewise.
1416         (fgetpwent_r): Likewise.
1418 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
1420         [BZ #18557]
1421         * inet/rcmd.c (__validuser2_sa): Check user first to
1422         short-circuit host check.
1424 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
1425             Mikhail Ilin  <m.ilin@samsung.com>
1427         [BZ #17833]
1428         * elf/Makefile (tests): Add tst-nodelete.
1429         (modules-names): Add tst-nodelete-uniquemod.
1430         (tst-nodelete-uniquemod.so-no-z-defs): New.
1431         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
1432         (tst-nodelete-zmod.so-no-z-defs): Likewise.
1433         ($(objpfx)tst-nodelete): Likewise.
1434         ($(objpfx)tst-nodelete.out): Likewise.
1435         (LDFLAGS-tst-nodelete): Likewise.
1436         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
1437         * elf/dl-close.c (_dl_close_worker): Add a parameter to
1438         implement forced object deletion.
1439         (_dl_close): Pass false to _dl_close_worker.
1440         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
1441         * elf/tst-nodelete.cc: New file.
1442         * elf/tst-nodeletelib.cc: Likewise.
1443         * elf/tst-znodeletelib.cc: Likewise.
1444         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
1446 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1448         [BZ #18508]
1449         * stdlib/Makefile ($(objpfx)tst-makecontext3):
1450         Depend on $(libdl).
1451         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
1452         is not called infinitely times.
1453         (backtrace_helper): New function.
1454         (trace_arg): New struct.
1455         (st1): Enlarge stack size.
1456         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1457         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
1458         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1459         Likewise.
1461 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1463         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1465 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1467         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
1468         Include sys/types.h instead of bits/types.h.
1469         Remove inclusion of bits/wordsize.h.
1471 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
1473         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
1474         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
1475         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
1476         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
1477         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
1478         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
1480 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
1482         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
1483         link-defines.sym.
1484         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
1485         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
1486         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
1487         and LR_SIZE.
1488         * sysdeps/i386/link-defines.sym: New file.
1490 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
1492         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
1493         (modules-names): Add tst-auditmod3a tst-auditmod3b.
1494         ($(objpfx)tst-audit3): New rule.
1495         ($(objpfx)tst-audit3.out): Likewise.
1496         * sysdeps/i386/tst-audit3.c: New file.
1497         * sysdeps/i386/tst-audit3.h: Likewise.
1498         * sysdeps/i386/tst-auditmod3a.c: Likewise.
1499         * sysdeps/i386/tst-auditmod3b.c: Likewise.
1501 2015-07-07  Torvald Riegel  <triegel@redhat.com>
1503         [BZ #18633]
1504         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
1505         pointer in C code.
1506         (__strcat_c): Likewise.
1507         (__strcat_g): Likewise.
1509 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
1511         [BZ #18592]
1512         * misc/sbrk.c: Set errno to ENOMEM on overflow.
1514 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
1516         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
1517         New function.  (__ieee754_sqrtf): New function.
1518         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
1519         New function.
1520         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
1521         New function.
1523 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
1525         * sysdeps/ieee754/support.c: Remove unused file.
1527 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1529         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
1530         registers instead of d ones so the layout is kernel abi compatible.
1531         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
1532         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
1533         Likewise.
1535 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1537         * sysdeps/aarch64/libm-test-ulps: Regenerated.
1539 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
1541         [BZ #18619]
1542         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
1543         and return argument in case of subnormal argument.
1545 2015-07-01  Martin Sebor  <msebor@redhat.com>
1547         [BZ #18435]
1548         * nptl/Makefile: Add tst-once5.cc.
1549         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
1550         Remove macro redefinitions.
1551         * nptl/tst-once5.cc: New test.
1553 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
1555         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1557         * sysdeps/arm/libm-test-ulps: Regenerated.
1559         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1560         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1562 2015-06-30  Torvald Riegel  <triegel@redhat.com>
1564         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
1565         lll_lock_wait_private and lll_futex_wake probes.
1567         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
1568         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
1569         Likewise.
1570         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
1571         atomic_spin_nop.
1572         * sysdeps/x86_64/bits/atomic.h: Likewise.
1573         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
1574         to atomic_spin_nop and move ...
1575         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
1576         ... here and ...
1577         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
1578         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
1579         atomic_spin_nop instead of BUSY_WAIT_NOP.
1580         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
1581         Likewise.
1582         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
1583         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
1584         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
1585         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
1586         instead of atomic_delay.
1588 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
1590         [BZ #18613]
1591         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
1592         X_ADJ not X when adjusting exponent.
1593         (__ieee754_gamma_r): Do intermediate computations in
1594         round-to-nearest then adjust overflowing and underflowing results
1595         as needed.
1596         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
1597         of X_ADJ not X when adjusting exponent.
1598         (__ieee754_gammaf_r): Do intermediate computations in
1599         round-to-nearest then adjust overflowing and underflowing results
1600         as needed.
1601         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
1602         log of X_ADJ not X when adjusting exponent.
1603         (__ieee754_gammal_r): Do intermediate computations in
1604         round-to-nearest then adjust overflowing and underflowing results
1605         as needed.  Use 1.0L not 1.0f as numerator of division.
1606         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
1607         log of X_ADJ not X when adjusting exponent.
1608         (__ieee754_gammal_r): Do intermediate computations in
1609         round-to-nearest then adjust overflowing and underflowing results
1610         as needed.  Use 1.0L not 1.0f as numerator of division.
1611         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
1612         of X_ADJ not X when adjusting exponent.
1613         (__ieee754_gammal_r): Do intermediate computations in
1614         round-to-nearest then adjust overflowing and underflowing results
1615         as needed.  Use 1.0L not 1.0f as numerator of division.
1616         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
1617         to auto-libm-test-in.
1618         (tgamma_test): Use ALL_RM_TEST.
1619         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
1620         tests of tgamma with spurious-overflow.
1621         * math/auto-libm-test-out: Regenerated.
1622         * math/gen-libm-have-vector-test.sh: Do not check for START.
1623         * sysdeps/i386/fpu/libm-test-ulps: Update.
1624         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1626         [BZ #18612]
1627         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
1628         arguments, just return 0.5 times the argument, with underflow
1629         forced as needed.
1630         * math/auto-libm-test-in: Add more tests of j1.
1631         * math/auto-libm-test-out: Regenerated.
1633         [BZ #16559]
1634         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
1635         (__ieee754_j1): Force underflow exception for small results.
1636         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
1637         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
1638         (__ieee754_j1f): Force underflow exception for small results.
1639         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
1640         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1641         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1642         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
1643         (__ieee754_j1l): Force underflow exception for small results.
1644         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
1645         * math/auto-libm-test-in: Add more tests of j1 and jn.
1646         * math/auto-libm-test-out: Regenerated.
1648         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
1649         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
1650         (PF_MPLS): Likewise.
1651         (AF_IB): Likewise.
1652         (AF_MPLS): Likewise.
1653         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
1654         value and macro.
1655         (MS_RMT_MASK): Include MS_LAZYTIME.
1657 2015-06-26  Mel Gorman  <mgorman@suse.de>
1659         [BZ #18502]
1660         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
1661         already minimal.
1663 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
1665         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
1666         (DT_MIPS_NUM): Update.
1667         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
1668         DT_MIPS_RLD_MAP_REL.
1670 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
1672         [BZ #16559]
1673         [BZ #18602]
1674         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
1675         round-to-nearest internally then recompute results that
1676         underflowed to zero in the original rounding mode.
1677         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
1678         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1679         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1680         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
1681         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
1682         * sysdeps/i386/fpu/libm-test-ulps: Update.
1683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1685 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
1687         * NEWS: Fixed description of link with vector math library.
1689 2015-06-25  Andreas Schwab  <schwab@suse.de>
1691         [BZ #18549]
1692         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
1693         * libio/test-fmemopen.c (do_test): Add test for it.
1695 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
1697         [BZ #17841]
1698         * Makeconfig (no-pie-ldflag): New.
1699         (+link): Set to $(+link-pie) if default to PIE.
1700         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
1701         * config.make.in (build-pie-default): New.
1702         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
1703         is default.  AC_SUBST.
1704         * configure: Regenerated.
1705         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
1707 2015-06-24  Roland McGrath  <roland@hack.frob.com>
1709         * nptl/descr.h (struct pthread): Change type of field setxid_futex
1710         to 'unsigned int'.
1712         * resolv/gai_misc.h (struct waitlist): Change type of field
1713         counterp to 'volatile unsigned int *'.
1714         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
1715         FUTEXADDR and OLDVAL.
1716         * resolv/getaddrinfo_a.c (getaddrinfo_a):
1717         Give local variable TOTAL type 'volatile unsigned int'.
1718         (struct async_waitlist): Change type of field counter to 'unsigned int'.
1719         * resolv/gai_suspend.c (gai_suspend):
1720         Give local variable CNTR type 'unsigned int'.
1722         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
1723         counterp to 'volatile unsigned int *'.
1724         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
1725         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
1726         (aio_suspend): Give local variable CNTR type 'unsigned int'.
1727         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
1728         Give local variable TOTAL type 'volatile unsigned int'.
1729         (struct async_waitlist): Change type of field counter to 'unsigned int'.
1731 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
1733         [BZ #18383]
1734         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
1735         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
1736         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
1737         comment for i386/x86-64.
1738         (test-xfail-tst-tlsalign-extern-static): Removed.
1740 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
1742         * math/test-double.h: New file.
1743         * math/test-float.h: Likewise.
1744         * math/test-ldouble.h: Likewise.
1745         * math/test-math-inline.h: Likewise.
1746         * math/test-math-no-inline.h: Likewise.
1747         * math/test-math-scalar.h: Likewise.
1748         * math/test-math-vector.h: Likewise.
1749         * math/test-vec-loop.h: Remove file.  Contents moved into
1750         test-math-vector.h.
1751         * math/libm-test.inc (MATHCONST): Do not document macro.
1752         * math/test-double.c: Include test-double.h, test-math-no-inline.h
1753         and test-math-scalar.h.
1754         (FUNC): Remove macro.
1755         (FUNC_TEST): Likewise.
1756         (FLOAT): Likewise.
1757         (MATHCONST): Likewise.
1758         (PRINTF_EXPR): Likewise.
1759         (PRINTF_XEXPR): Likewise.
1760         (PRINTF_NEXPR): Likewise.
1761         (TEST_DOUBLE): Likewise.
1762         (TEST_MATHVEC): Likewise.
1763         (__NO_MATH_INLINES): Likewise.
1764         * math/test-float.c: Include test-float.h, test-math-no-inline.h
1765         and test-math-scalar.h.
1766         (FUNC): Remove macro.
1767         (FUNC_TEST): Likewise.
1768         (FLOAT): Likewise.
1769         (MATHCONST): Likewise.
1770         (PRINTF_EXPR): Likewise.
1771         (PRINTF_XEXPR): Likewise.
1772         (PRINTF_NEXPR): Likewise.
1773         (TEST_FLOAT): Likewise.
1774         (TEST_MATHVEC): Likewise.
1775         (__NO_MATH_INLINES): Likewise.
1776         * math/test-idouble.c: Include test-double.h, test-math-inline.h
1777         and test-math-scalar.h.
1778         (FUNC): Remove macro.
1779         (FUNC_TEST): Likewise.
1780         (FLOAT): Likewise.
1781         (MATHCONST): Likewise.
1782         (PRINTF_EXPR): Likewise.
1783         (PRINTF_XEXPR): Likewise.
1784         (PRINTF_NEXPR): Likewise.
1785         (TEST_DOUBLE): Likewise.
1786         (TEST_MATHVEC): Likewise.
1787         (TEST_INLINE): Likewise.
1788         (__NO_MATH_INLINES): Likewise.
1789         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
1790         test-math-scalar.h.
1791         (FUNC): Remove macro.
1792         (FUNC_TEST): Likewise.
1793         (FLOAT): Likewise.
1794         (MATHCONST): Likewise.
1795         (PRINTF_EXPR): Likewise.
1796         (PRINTF_XEXPR): Likewise.
1797         (PRINTF_NEXPR): Likewise.
1798         (TEST_FLOAT): Likewise.
1799         (TEST_MATHVEC): Likewise.
1800         (TEST_INLINE): Likewise.
1801         (__NO_MATH_INLINES): Likewise.
1802         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
1803         and test-math-scalar.h.
1804         (FUNC): Remove macro.
1805         (FUNC_TEST): Likewise.
1806         (FLOAT): Likewise.
1807         (MATHCONST): Likewise.
1808         (PRINTF_EXPR): Likewise.
1809         (PRINTF_XEXPR): Likewise.
1810         (PRINTF_NEXPR): Likewise.
1811         (TEST_LDOUBLE): Likewise.
1812         (TEST_MATHVEC): Likewise.
1813         (TEST_INLINE): Likewise.
1814         (__NO_MATH_INLINES): Likewise.
1815         * math/test-ldouble.c: Include test-ldouble.h,
1816         test-math-no-inline.h and test-math-scalar.h.
1817         (FUNC): Remove macro.
1818         (FUNC_TEST): Likewise.
1819         (FLOAT): Likewise.
1820         (MATHCONST): Likewise.
1821         (PRINTF_EXPR): Likewise.
1822         (PRINTF_XEXPR): Likewise.
1823         (PRINTF_NEXPR): Likewise.
1824         (TEST_LDOUBLE): Likewise.
1825         (TEST_MATHVEC): Likewise.
1826         (__NO_MATH_INLINES): Likewise.
1827         * math/test-double-vlen2.h: Include test-double.h,
1828         test-math-no-inline.h and test-math-vector.h.
1829         (FLOAT): Remove macro.
1830         (FUNC): Likewise.
1831         (MATHCONST): Likewise.
1832         (PRINTF_EXPR): Likewise.
1833         (PRINTF_XEXPR): Likewise.
1834         (PRINTF_NEXPR): Likewise.
1835         (TEST_DOUBLE): Likewise.
1836         (TEST_MATHVEC): Likewise.
1837         (__NO_MATH_INLINES): Likewise.
1838         (CNCT): Likewise.
1839         (CONCAT): Likewise.
1840         (WRAPPER_NAME): Likewise.
1841         (WRAPPER_DECL): Likewise.
1842         (WRAPPER_DECL_ff): Likewise.
1843         (WRAPPER_DECL_fFF): Likewise.
1844         (VECTOR_WRAPPER): Likewise.
1845         (VECTOR_WRAPPER_ff): Likewise.
1846         (VECTOR_WRAPPER_fFF): Likewise.
1847         (VEC_LEN): New macro.
1848         * math/test-double-vlen4.h: Include test-double.h,
1849         test-math-no-inline.h and test-math-vector.h.
1850         (FLOAT): Remove macro.
1851         (FUNC): Likewise.
1852         (MATHCONST): Likewise.
1853         (PRINTF_EXPR): Likewise.
1854         (PRINTF_XEXPR): Likewise.
1855         (PRINTF_NEXPR): Likewise.
1856         (TEST_DOUBLE): Likewise.
1857         (TEST_MATHVEC): Likewise.
1858         (__NO_MATH_INLINES): Likewise.
1859         (CNCT): Likewise.
1860         (CONCAT): Likewise.
1861         (WRAPPER_NAME): Likewise.
1862         (WRAPPER_DECL): Likewise.
1863         (WRAPPER_DECL_ff): Likewise.
1864         (WRAPPER_DECL_fFF): Likewise.
1865         (VECTOR_WRAPPER): Likewise.
1866         (VECTOR_WRAPPER_ff): Likewise.
1867         (VECTOR_WRAPPER_fFF): Likewise.
1868         (VEC_LEN): New macro.
1869         * math/test-double-vlen8.h: Include test-double.h,
1870         test-math-no-inline.h and test-math-vector.h.
1871         (FLOAT): Remove macro.
1872         (FUNC): Likewise.
1873         (MATHCONST): Likewise.
1874         (PRINTF_EXPR): Likewise.
1875         (PRINTF_XEXPR): Likewise.
1876         (PRINTF_NEXPR): Likewise.
1877         (TEST_DOUBLE): Likewise.
1878         (TEST_MATHVEC): Likewise.
1879         (__NO_MATH_INLINES): Likewise.
1880         (CNCT): Likewise.
1881         (CONCAT): Likewise.
1882         (WRAPPER_NAME): Likewise.
1883         (WRAPPER_DECL): Likewise.
1884         (WRAPPER_DECL_ff): Likewise.
1885         (WRAPPER_DECL_fFF): Likewise.
1886         (VECTOR_WRAPPER): Likewise.
1887         (VECTOR_WRAPPER_ff): Likewise.
1888         (VECTOR_WRAPPER_fFF): Likewise.
1889         (VEC_LEN): New macro.
1890         * math/test-float-vlen4.h: Include test-float.h,
1891         test-math-no-inline.h and test-math-vector.h.
1892         (FLOAT): Remove macro.
1893         (FUNC): Likewise.
1894         (MATHCONST): Likewise.
1895         (PRINTF_EXPR): Likewise.
1896         (PRINTF_XEXPR): Likewise.
1897         (PRINTF_NEXPR): Likewise.
1898         (TEST_FLOAT): Likewise.
1899         (TEST_MATHVEC): Likewise.
1900         (__NO_MATH_INLINES): Likewise.
1901         (CNCT): Likewise.
1902         (CONCAT): Likewise.
1903         (WRAPPER_NAME): Likewise.
1904         (WRAPPER_DECL): Likewise.
1905         (WRAPPER_DECL_ff): Likewise.
1906         (WRAPPER_DECL_fFF): Likewise.
1907         (VECTOR_WRAPPER): Likewise.
1908         (VECTOR_WRAPPER_ff): Likewise.
1909         (VECTOR_WRAPPER_fFF): Likewise.
1910         (VEC_LEN): New macro.
1911         * math/test-float-vlen8.h: Include test-float.h,
1912         test-math-no-inline.h and test-math-vector.h.
1913         (FLOAT): Remove macro.
1914         (FUNC): Likewise.
1915         (MATHCONST): Likewise.
1916         (PRINTF_EXPR): Likewise.
1917         (PRINTF_XEXPR): Likewise.
1918         (PRINTF_NEXPR): Likewise.
1919         (TEST_FLOAT): Likewise.
1920         (TEST_MATHVEC): Likewise.
1921         (__NO_MATH_INLINES): Likewise.
1922         (CNCT): Likewise.
1923         (CONCAT): Likewise.
1924         (WRAPPER_NAME): Likewise.
1925         (WRAPPER_DECL): Likewise.
1926         (WRAPPER_DECL_ff): Likewise.
1927         (WRAPPER_DECL_fFF): Likewise.
1928         (VECTOR_WRAPPER): Likewise.
1929         (VECTOR_WRAPPER_ff): Likewise.
1930         (VECTOR_WRAPPER_fFF): Likewise.
1931         (VEC_LEN): New macro.
1932         * math/test-float-vlen16.h: Include test-float.h,
1933         test-math-no-inline.h and test-math-vector.h.
1934         (FLOAT): Remove macro.
1935         (FUNC): Likewise.
1936         (MATHCONST): Likewise.
1937         (PRINTF_EXPR): Likewise.
1938         (PRINTF_XEXPR): Likewise.
1939         (PRINTF_NEXPR): Likewise.
1940         (TEST_FLOAT): Likewise.
1941         (TEST_MATHVEC): Likewise.
1942         (__NO_MATH_INLINES): Likewise.
1943         (CNCT): Likewise.
1944         (CONCAT): Likewise.
1945         (WRAPPER_NAME): Likewise.
1946         (WRAPPER_DECL): Likewise.
1947         (WRAPPER_DECL_ff): Likewise.
1948         (WRAPPER_DECL_fFF): Likewise.
1949         (VECTOR_WRAPPER): Likewise.
1950         (VECTOR_WRAPPER_ff): Likewise.
1951         (VECTOR_WRAPPER_fFF): Likewise.
1952         (VEC_LEN): New macro.
1953         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
1954         test-vec-loop.h.
1955         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1956         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1957         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1958         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1959         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1960         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1961         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1963 2015-06-24  Roland McGrath  <roland@hack.frob.com>
1965         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
1966         (__getlogin_r): ... this.
1968 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
1970         [BZ #18594]
1971         * math/s_ccosh.c (__ccosh): Compare with least normal value
1972         instead of comparing class with FP_SUBNORMAL.
1973         * math/s_ccoshf.c (__ccoshf): Likewise.
1974         * math/s_ccoshl.c (__ccoshl): Likewise.
1975         * math/s_cexp.c (__cexp): Likewise.
1976         * math/s_cexpf.c (__cexpf): Likewise.
1977         * math/s_cexpl.c (__cexpl): Likewise.
1978         * math/s_csin.c (__csin): Likewise.
1979         * math/s_csinf.c (__csinf): Likewise.
1980         * math/s_csinh.c (__csinh): Likewise.
1981         * math/s_csinhf.c (__csinhf): Likewise.
1982         * math/s_csinhl.c (__csinhl): Likewise.
1983         * math/s_csinl.c (__csinl): Likewise.
1984         * math/s_ctan.c (__ctan): Likewise.
1985         * math/s_ctanf.c (__ctanf): Likewise.
1986         * math/s_ctanh.c (__ctanh): Likewise.
1987         * math/s_ctanhf.c (__ctanhf): Likewise.
1988         * math/s_ctanhl.c (__ctanhl): Likewise.
1989         * math/s_ctanl.c (__ctanl): Likewise.
1990         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
1991         csin, csinh, ctan and ctanh.
1992         * math/auto-libm-test-out: Regenerated.
1993         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
1994         * sysdeps/i386/fpu/libm-test-ulps: Update.
1995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1997 2015-06-24  Roland McGrath  <roland@hack.frob.com>
1999         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
2000         return value is wrong, print the expected value too.
2002 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
2004         [BZ #18585]
2005         * elf/readlib.c (is_gdb_python_file): New.
2006         (process_file): Don't issue errors on filenames with -gdb.py
2007         suffix.
2009 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2011         * math/auto-libm-test-in: Add more tests of csin and csinh.
2012         * math/auto-libm-test-out: Regenerated.
2013         * math/libm-test.inc (csin_test_data): Remove tests moved to
2014         auto-libm-test-in.
2015         (csinh_test_data): Likewise.
2017         [BZ #18593]
2018         * math/s_csin.c (__csin): Negate before rather than after possibly
2019         overflowing multiplication.
2020         * math/s_csinf.c (__csinf): Likewise.
2021         * math/s_csinh.c (__csinh): Likewise.
2022         * math/s_csinhf.c (__csinhf): Likewise.
2023         * math/s_csinhl.c (__csinhl): Likewise.
2024         * math/s_csinl.c (__csinl): Likewise.
2025         * math/auto-libm-test-in: Add some tests of csin and csinh.
2026         * math/auto-libm-test-out: Regenerated.
2027         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
2028         (csinh_test_data): Likewise.
2029         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2031         [BZ #18586]
2032         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
2033         underflow exception for small results.
2035 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
2037         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
2038         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
2039         variable and included header.
2040         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
2041         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
2042         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
2043         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
2044         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
2045         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
2046         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
2047         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
2048         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
2049         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
2050         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
2051         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
2052         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
2053         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
2054         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
2055         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
2057 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
2059         [BZ #16526]
2060         [BZ #16538]
2061         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
2062         (__sin): Force underflow exception for arguments with small
2063         absolute value.
2064         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
2065         (__kernel_sinf): Force underflow exception for arguments with
2066         small absolute value.
2067         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
2068         (__kernel_sincosl): Force underflow exception for arguments with
2069         small absolute value.
2070         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
2071         (__kernel_sinl): Force underflow exception for arguments with
2072         small absolute value.
2073         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
2074         (__kernel_sincosl): Force underflow exception for arguments with
2075         small absolute value.
2076         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
2077         (__kernel_sinl): Force underflow exception for arguments with
2078         small absolute value.
2079         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
2080         (__kernel_sinl): Force underflow exception for arguments with
2081         small absolute value.
2082         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
2083         (__kernel_sinf): Force underflow exception for arguments with
2084         small absolute value.
2085         * math/auto-libm-test-in: Add more tests of sin and sincos.
2086         * math/auto-libm-test-out: Regenerated.
2088         [BZ #18245]
2089         [BZ #18583]
2090         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
2091         (__kernel_standard_l): Use feholdexcept and fesetenv around
2092         conversion to double instead of special-casing overflow and
2093         underflow.
2094         * math/libm-test.inc (fmod_test_data): Add more tests.
2095         (remainder_test_data): Likewise.
2096         (sqrt_test_data): Likewise.
2098 2015-06-23  Torvald Riegel  <triegel@redhat.com>
2100         [BZ #17403]
2101         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
2102         atomic_read_barrier, atomic_write_barrier): Define.
2103         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
2104         atomic_read_barrier, atomic_write_barrier): Define.
2106 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
2108         * math/Makefile [$(PERL) != no]
2109         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
2110         dependency on libm-test.stmp below the inclusion of Rules.
2112 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
2114         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
2115         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
2116         and included header.
2117         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
2118         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
2119         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
2120         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
2121         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
2122         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
2123         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
2124         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
2125         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
2126         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
2127         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
2128         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
2129         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
2130         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
2131         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
2132         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
2133         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
2134         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
2135         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
2137 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
2139         [BZ #18371]
2140         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
2141         intermediate but not final result might underflow.
2142         * math/s_csqrtf.c (__csqrtf): Likewise.
2143         * math/s_csqrtl.c (__csqrtl): Likewise.
2144         * math/auto-libm-test-in: Add more tests of csqrt.
2145         * math/auto-libm-test-out: Regenerated.
2146         * sysdeps/i386/fpu/libm-test-ulps: Update.
2148         [BZ #18219]
2149         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
2150         threshold on absolute value of exponent for which scaling is used.
2151         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
2152         * math/auto-libm-test-in: Add more tests of exp2.
2153         * math/auto-libm-test-out: Regenerated.
2155 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
2157         [BZ #17977]
2158         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
2159         when initializing interface list, based on the bug analysis
2160         and the patch proposed by Eric Newton.
2161         * resolv/tst-res_hconf_reorder.c: New test.
2162         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
2163         tst-res_hconf_reorder.
2164         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
2165         and $(shared-thread-library).
2166         (tst-res_hconf_reorder-ENV): New variable.
2168         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
2169         in comment.
2171 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
2173         [BZ #16353]
2174         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
2175         (__expm1): Force underflow exception for arguments with small
2176         absolute value.
2177         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
2178         (__expm1f): Force underflow exception for arguments with small
2179         absolute value.
2180         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
2181         (__expm1): Force underflow exception for arguments with small
2182         absolute value.
2183         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
2184         (__expm1f): Force underflow exception for arguments with small
2185         absolute value.
2186         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2187         Check for small arguments before calling __expm1.
2188         * math/auto-libm-test-in: Do not mark underflow exceptions as
2189         possibly missing for bug 16353.
2190         * math/auto-libm-test-out: Regenerated.
2192 2015-06-22  Andreas Schwab  <schwab@suse.de>
2194         [BZ #18513]
2195         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
2196         PTR queries.
2198 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
2200         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
2202         * string/strcoll_l.c: Remove unused struct element idxnow.
2204 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
2206         [BZ #18569]
2207         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
2208         underflow and return argument in case of subnormal argument.
2209         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2210         Likewise.
2211         * math/auto-libm-test-in: Add more tests of expm1.
2212         * math/auto-libm-test-out: Regenerated.
2214         [BZ #16361]
2215         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
2216         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
2217         tiny results.
2218         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
2219         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
2220         tiny results.
2221         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
2222         mark underflow exceptions as possibly missing for bug 16361.
2223         * math/auto-libm-test-out: Regenerated.
2225 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
2227         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
2228         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
2229         Remove variable.
2230         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2231         (test-xfail-XOPEN2K8/utmpx.h/conform).
2233         * conform/conformtest.pl ($xerrors): New variable.
2234         (note_error): New function.
2235         (compiletest): New argument $xfail.  Use not_error.
2236         (runtest): Likewise.
2237         (top level): Handle xfail- lines.  Update calls to compiletest and
2238         runtest.  Handle xfail- and optional- in headers listed with
2239         allow-header.
2240         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
2241         (O_EXEC): Likewise.
2242         (O_SEARCH): Likewise.
2243         * conform/data/stropts.h-data (ioctl): Likewise.
2244         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
2245         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
2246         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
2247         (msghdr.msg_controllen): Likewise.
2248         (cmsghdr.cmsg_len): Likewise.
2249         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
2250         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
2251         variable.
2252         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2253         (test-xfail-XPG4/stropts.h/conform): Likewise.
2254         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2255         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2256         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2257         (test-xfail-UNIX98/stropts.h/conform): Likewise.
2258         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2259         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2260         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2261         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2262         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2263         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2264         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2265         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2266         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2267         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2268         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2269         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2270         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2271         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2272         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2274 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
2276         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
2277         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
2278         definitions for proper unfolding of __MATHDECL_VEC.
2280 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2282         * benchtests/bench-strcoll.c:
2283         Include string.h.
2284         (main): Remove unused variable res.
2286 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2288         * timezone/Makefile (%/UTC %/Universal):
2289         Generate test-result files for UTC and Universal.
2291 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2293         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2295 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
2297         [BZ #16350]
2298         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
2299         for arguments with small absolute value.
2300         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
2301         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
2302         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
2303         (__asinh): Force underflow exception for arguments with small
2304         absolute value.
2305         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
2306         (__asinhf): Force underflow exception for arguments with small
2307         absolute value.
2308         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
2309         (__asinhl): Force underflow exception for arguments with small
2310         absolute value.
2311         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
2312         (__asinhl): Force underflow exception for arguments with small
2313         absolute value.
2314         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
2315         (__asinhl): Force underflow exception for arguments with small
2316         absolute value.
2317         * math/auto-libm-test-in: Do not mark underflow exceptions as
2318         possibly missing for bug 16350.
2319         * math/auto-libm-test-out: Regenerated.
2321         * include/bits/ipc.h: Remove file.
2322         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
2323         variable.
2324         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2325         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2326         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2327         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2328         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2329         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2330         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2331         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2332         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2334         * math/auto-libm-test-in: Remove spurious underflow allowance for
2335         tests of cexp.
2336         * math/auto-libm-test-out: Regenerated.
2338         [BZ #18558]
2339         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
2340         unconditional definition.
2341         (MCAST_BLOCK_SOURCE): Likewise.
2342         (MCAST_UNBLOCK_SOURCE): Likewise.
2343         (MCAST_LEAVE_GROUP): Likewise.
2344         (MCAST_JOIN_SOURCE_GROUP): Likewise.
2345         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
2346         (MCAST_MSFILTER): Likewise.
2347         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
2348         Remove variable.
2349         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2350         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2351         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2352         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2353         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2355 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
2357         * NEWS: Mention addition of x86_64 vector sincosf.
2358         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
2359         * math/test-float-vlen4.h: Likewise.
2360         * math/test-float-vlen8.h: Likewise.
2361         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2362         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
2363         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2364         * sysdeps/x86_64/fpu/Versions: New versions added.
2365         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2366         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2367         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2368         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
2369         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
2370         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
2371         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
2372         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
2373         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
2374         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
2375         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
2376         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
2377         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
2378         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
2379         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
2380         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
2381         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
2382         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2383         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2384         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2385         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2386         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2387         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2388         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2390         * NEWS: Mention addition of x86_64 vector sincos.
2391         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
2392         * math/math.h (__MATHDECL_VEC): New macro.
2393         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
2394         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
2395         declaration under condition.
2396         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
2397         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
2398         TEST_VEC_LOOP change.
2399         * math/test-double-vlen4.h: Likewise.
2400         * math/test-double-vlen8.h: Likewise.
2401         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
2402         * math/test-float-vlen4.h: Likewise.
2403         * math/test-float-vlen8.h: Likewise.
2404         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2405         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
2406         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2407         * sysdeps/x86_64/fpu/Versions: New versions added.
2408         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2409         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2410         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2411         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
2412         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
2413         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
2414         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
2415         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
2416         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
2417         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
2418         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
2419         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
2420         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
2421         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
2422         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
2423         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
2424         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
2425         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2426         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2427         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2428         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2429         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2430         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2431         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2433         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2434         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2435         redirections for powf.
2436         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2437         * sysdeps/x86_64/fpu/Versions: New versions added.
2438         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2439         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2440         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2441         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
2442         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
2443         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
2444         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
2445         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
2446         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
2447         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
2448         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
2449         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
2450         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
2451         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
2452         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
2453         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
2454         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
2455         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2456         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2457         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2458         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2459         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2460         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2461         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2462         * math/test-float-vlen16.h: Fixed 2 argument macro.
2463         * math/test-float-vlen4.h: Likewise.
2464         * math/test-float-vlen8.h: Likewise.
2465         * NEWS: Mention addition of x86_64 vector powf.
2467 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
2469         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2470         and redefine.
2471         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2472         and redefine.
2473         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
2474         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2475         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2477         [BZ #18553]
2478         * resource/getpriority.c (getpriority): Rename to __getpriority
2479         and define as weak alias of __getpriority.
2480         * resource/setpriority.c (setpriority): Rename to __setpriority
2481         and define as weak alias of __setpriority.
2482         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
2483         __getpriority and define as weak alias of __getpriority.
2484         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
2485         __setpriority and define as weak alias of __setpriority.
2486         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
2487         strong name.
2488         (setpriority): Use __setpriority as strong name.
2489         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
2490         __getpriority and define as weak alias of __getpriority.
2491         * include/sys/resource.h (__getpriority): Declare.  Use
2492         libc_hidden_proto.
2493         (__setpriority): Likewise.
2494         (getpriority): Don't use libc_hidden_proto.
2495         (setpriority): Likewise.
2496         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
2497         getpriority.  Call __setpriority instead of setpriority.
2498         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
2499         Remove variable.
2501         [BZ #18547]
2502         * misc/getttyent.c (getttynam): Rename to __getttynam and define
2503         as weak alias of __getttynam.  Use prototype function definition.
2504         Call __setttyent, __getttyent and __endttyent instead of
2505         setttyent, getttyent and endttyent.
2506         (getttyent): Rename to __getttyent and define as weak alias of
2507         __getttyent.  Call __setttyent instead of setttyent.  Call
2508         __fgets_unlocked instead of fgets_unlocked.
2509         (setttyent): Rename to __setttyent and define as weak alias of
2510         __setttyent.
2511         (endttyent): Rename to __endttyent and define as weak alias of
2512         __endttyent.
2513         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
2514         (__setttyent): Likewise.
2515         (__endttyent): Likewise.
2516         (getttyent): Don't use libc_hidden_proto.
2517         (setttyent): Likewise.
2518         (endttyent): Likewise.
2519         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
2520         __endttyent instead of setttyent, getttyent and endttyent.
2521         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
2522         Remove variable.
2524         [BZ #18546]
2525         * socket/recv.c (__recv): Use libc_hidden_def.
2526         * socket/socket.c (__socket): Likewise.
2527         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
2528         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
2529         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
2530         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
2531         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
2532         libc_hidden_def.
2533         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
2534         libc_hidden_weak.
2535         * include/sys/socket.h (__socket): Do not use attribute_hidden.
2536         Use libc_hidden_proto.
2537         (__recv): Likewise.
2538         * socket/Versions (libc): Export __recv and __socket at version
2539         GLIBC_PRIVATE.
2540         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
2541         instead of recv.
2542         (init_mq_netlink): Call __socket instead of socket.
2543         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
2544         Remove variable.
2546         [BZ #18545]
2547         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
2548         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
2549         hidden_weak.
2550         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
2551         define as alias of __mq_timedsend.  Use hidden_weak.
2552         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
2553         __mq_timedsend as strong name.
2554         (mq_timedreceive): Use __mq_timedreceive as strong name.
2555         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
2556         (__mq_timedreceive): Likewise.
2557         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
2558         __mq_timedreceive instead of mq_timedreceive.
2559         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
2560         instead of mq_timedsend.
2561         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
2562         Remove variable.
2564         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
2565         hidden_def and hidden_weak instead of libc_hidden_def and
2566         libc_hidden_weak.
2567         (top level): Refer to hidden_def in comment.
2568         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
2569         macro.  Use it instead of libc_hidden_def.
2570         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
2571         specify __GI_* name explicitly.
2572         (mq_timedreceive): Likewise.
2573         (mq_setattr): Likewise.
2575         [BZ #18544]
2576         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
2577         __pthread_barrier_init and define as weak alias of
2578         __pthread_barrier_init.
2579         * sysdeps/sparc/nptl/pthread_barrier_init.c
2580         (pthread_barrier_init): Likewise.
2581         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
2582         __pthread_barrier_wait and define as weak alias of
2583         __pthread_barrier_wait.
2584         * sysdeps/sparc/nptl/pthread_barrier_wait.c
2585         (pthread_barrier_wait): Likewise.
2586         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
2587         (pthread_barrier_wait): Likewise.
2588         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
2589         (pthread_barrier_wait): Likewise.
2590         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
2591         (pthread_barrier_wait): Likewise.
2592         * nptl/Versions (libpthread): Export __pthread_barrier_init and
2593         __pthread_barrier_wait at version GLIBC_PRIVATE.
2594         * include/pthread.h (__pthread_barrier_init): Declare.
2595         (__pthread_barrier_wait): Likewise.
2596         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
2597         Call __pthread_barrier_wait instead of pthread_barrier_wait.
2598         (helper_thread): Likewise.
2599         (init_mq_netlink): Call __pthread_barrier_init instead of
2600         pthread_barrier_init.
2602         [BZ #18542]
2603         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
2604         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
2605         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
2606         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
2607         vswscanf.
2608         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
2609         Remove variable.
2611         [BZ #18540]
2612         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
2613         strong alias of _IO_fflush.  Use libc_hidden_def.
2614         * libio/iofflush_u.c (fflush_unlocked): Rename to
2615         __fflush_unlocked and define as weak alias of __fflush_unlocked.
2616         Use libc_hidden_weak.
2617         * include/stdio.h (__fflush_unlocked): Declare.  Use
2618         libc_hidden_proto.
2619         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
2620         fflush_unlocked.
2621         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
2622         Remove variable.
2624         [BZ #18539]
2625         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
2626         define as weak alias of __addseverity.
2627         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
2628         Remove variable.
2629         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
2630         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
2631         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
2633         [BZ #18536]
2634         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
2635         (__tfind): Likewise.
2636         (__tdelete): Likewise.
2637         (__twalk): Likewise.
2638         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
2639         __twalk to GLIBC_PRIVATE.
2640         * include/search.h (__tsearch): Use libc_hidden_proto.
2641         (__tfind): Likewise.
2642         (__tdelete): Likewise.
2643         (__twalk): Likewise.
2644         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
2645         Call __tdelete instead of tdelete.
2646         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
2647         tfind.  Call __tsearch instead of tsearch.
2648         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
2649         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
2650         Remove variable.
2651         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
2653         [BZ #18534]
2654         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
2655         (dprintf): Define as a weak alias of __dprintf, not a strong
2656         alias.
2657         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
2658         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
2659         dprintf.
2660         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
2661         Remove variable.
2662         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
2663         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
2665         [BZ #18533]
2666         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
2667         not a strong alias.
2668         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
2669         Remove variable.
2671         [BZ #18532]
2672         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
2673         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
2674         (in6addr_loopback): Rename to __in6addr_loopback and define as
2675         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
2676         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
2677         libc_hidden_proto.
2678         (__in6addr_any): Likewise.
2679         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
2680         in6addr_any.
2681         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
2682         variable.
2683         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
2685 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
2687         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
2688         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
2689         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2690         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2691         redirections for pow.
2692         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2693         * sysdeps/x86_64/fpu/Versions: New versions added.
2694         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2695         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2696         build of SSE, AVX2 and AVX512 IFUNC versions.
2697         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
2698         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
2699         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
2700         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
2701         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
2702         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
2703         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
2704         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
2705         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
2706         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
2707         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
2708         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
2709         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
2710         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
2711         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2712         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2713         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2714         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2715         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2716         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2717         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2718         * NEWS: Mention addition of x86_64 vector pow.
2720         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2721         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2722         redirections for expf.
2723         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2724         * sysdeps/x86_64/fpu/Versions: New versions added.
2725         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2726         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2727         build of SSE, AVX2 and AVX512 IFUNC versions.
2728         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
2729         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
2730         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
2731         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
2732         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
2733         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
2734         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
2735         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
2736         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
2737         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
2738         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
2739         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
2740         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
2741         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2742         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2743         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2744         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2745         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2746         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2747         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2748         * NEWS: Mention addition of x86_64 vector expf.
2750         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
2751         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
2752         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2753         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2754         redirections for exp.
2755         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2756         * sysdeps/x86_64/fpu/Versions: New versions added.
2757         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2758         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2759         build of SSE, AVX2 and AVX512 IFUNC versions.
2760         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
2761         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
2762         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
2763         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
2764         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
2765         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
2766         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
2767         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
2768         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
2769         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
2770         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
2771         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
2772         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
2773         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2774         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2775         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2776         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2777         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2778         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2779         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2780         * NEWS: Mention addition of x86_64 vector exp.
2782         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2783         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2784         redirections for logf.
2785         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2786         * sysdeps/x86_64/fpu/Versions: New versions added.
2787         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2788         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2789         build of SSE, AVX2 and AVX512 IFUNC versions.
2790         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
2791         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
2792         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
2793         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
2794         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
2795         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
2796         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
2797         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
2798         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
2799         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
2800         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
2801         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
2802         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
2803         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2804         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2805         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2806         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2807         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2808         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2809         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2810         * NEWS: Mention addition of x86_64 vector logf.
2812         * bits/libm-simd-decl-stubs.h: Added stubs for log.
2813         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
2814         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2815         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2816         redirections for log.
2817         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2818         * sysdeps/x86_64/fpu/Versions: New versions added.
2819         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2820         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2821         build of SSE, AVX2 and AVX512 IFUNC versions.
2822         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
2823         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
2824         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
2825         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
2826         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
2827         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
2828         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
2829         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
2830         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
2831         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
2832         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
2833         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
2834         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
2835         test.
2836         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2837         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2838         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2839         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2840         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2841         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2842         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2843         * NEWS: Mention addition of x86_64 vector log.
2845 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2847         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
2848         cfi_adjust_cfa_offset argument.
2849         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
2850         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
2852         [BZ #18034]
2853         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
2854         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
2855         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
2856         ordering using ldar.
2857         (_dl_tlsdesc_dynamic): Likewise.
2858         (_dl_tlsdesc_return_lazy): Likewise.
2859         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
2860         relaxed atomics instead of volatile and synchronize with release store.
2861         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
2862         volatile.
2863         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2865 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
2867         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2868         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
2869         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2870         * sysdeps/x86_64/fpu/Versions: New versions added.
2871         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2872         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2873         build of SSE, AVX2 and AVX512 IFUNC versions.
2874         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
2875         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
2876         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
2877         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
2878         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
2879         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
2880         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
2881         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
2882         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
2883         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
2884         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
2885         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
2886         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
2887         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2888         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2889         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2890         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2891         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2892         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2893         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2894         * NEWS: Mention addition of x86_64 vector sinf.
2896 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
2898         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
2899         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
2900         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
2901         Remove variable.
2902         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
2903         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
2905 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
2907         [BZ #18530]
2908         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
2909         strong alias of _IO_fputs.  Use libc_hidden_def.
2910         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
2911         and define as weak alias of __fputs_unlocked.  Use
2912         libc_hidden_weak.
2913         * include/stdio.h (__fputs_unlocked): Declare.  Use
2914         libc_hidden_proto.
2915         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
2916         fputs_unlocked.
2918         [BZ #18529]
2919         * resolv/netdb.h [__USE_POSIX]: Change condition to
2920         [__USE_XOPEN2K].
2921         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
2922         not expect.
2923         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
2924         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
2925         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
2926         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
2927         [XPG4 || UNIX98] (AI_ALL): Likewise.
2928         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
2929         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
2930         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
2931         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
2932         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
2933         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
2934         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
2935         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
2936         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
2937         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
2938         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
2939         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
2940         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
2941         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
2942         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
2943         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
2944         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
2945         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
2946         [XPG4 || UNIX98] (gai_strerror): Likewise.
2947         [XPG4 || UNIX98] (getaddrinfo): Likewise.
2948         [XPG4 || UNIX98] (getnameinfo): Likewise.
2950         [BZ #18528]
2951         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
2952         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
2953         __USE_XOPEN2K8].
2954         (getgrent): Likewise.
2955         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
2956         expect.
2957         [XPG3 || POSIX2008] (endgrent): Likewise.
2958         [XPG3] (setgrent): Likewise.
2959         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
2960         variable.
2961         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
2963         [BZ #18527]
2964         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
2965         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
2966         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
2967         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
2968         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
2969         * include/unistd.h (__getlogin_r): Declare.  Use
2970         libc_hidden_proto.
2971         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
2972         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
2973         variable.
2974         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
2975         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
2976         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
2978 2015-06-12  Martin Sebor  <msebor@redhat.com>
2980         [BZ #18512]
2981         * Makerules (check-install-supported): New target.
2982         (install): Add check-install-supported as a dependency.
2983         * manual/install.texi (Installing the C Library): Document
2984         that overriding prefix and exec_prefix is not supported.
2985         Mention DESTDIR.
2986         * INSTALL: Regenerate from the above.
2988 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
2990         [BZ #18519]
2991         * posix/Versions (libc): Export __libc_pread at version
2992         GLIBC_PRIVATE.
2993         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
2994         instead of pread.
2995         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
2996         variable.
2998         [BZ #18522]
2999         * misc/efgcvt_r.c
3000         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
3001         (cvt_symbol): Use weak_alias instead of strong_alias.
3002         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
3003         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
3004         Remove variable.
3005         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
3006         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
3008         [BZ #18520]
3009         * inet/herrno.c (h_errno): Rename to __h_errno.
3010         (__libc_h_errno): Define as alias of __h_errno not h_errno.
3011         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
3012         to __h_errno instead of h_errno.
3013         * nptl/herrno.c (h_errno): Rename to __h_errno.
3014         (__h_errno_location): Refer to __h_errno not h_errno.
3015         * resolv/Versions (h_errno): Rename to __h_errno.
3016         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
3017         Remove variable.
3018         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
3020 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
3022         * configure.ac: More strict check for AVX512 assembler support.
3023         * configure: Regenerated.
3025         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
3026         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
3027         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3028         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
3029         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3030         * sysdeps/x86_64/fpu/Versions: New versions added.
3031         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3032         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3033         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3034         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
3035         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
3036         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
3037         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
3038         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
3039         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
3040         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
3041         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
3042         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
3043         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
3044         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
3045         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
3046         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
3047         test.
3048         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3049         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3050         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3051         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3052         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3053         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3054         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3055         * NEWS: Mention addition of x86_64 vector sin.
3057 2015-06-11  Florian Weimer  <fweimer@redhat.com>
3059         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
3060         comment.
3062 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
3064         [BZ #18479]
3065         * nptl/pt-interp.c: New file.
3066         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
3067         Add pt-interp.
3068         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
3069         $(common-objpfx)runtime-linker.h.
3071 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
3073         * Makeconfig (+interp): Remove unused variable.
3074         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
3075         only.  Depend on $(common-objpfx)runtime-linker.h instead of
3076         $(elf-objpfx)runtime-linker.h.
3077         ($(elf-objpfx)runtime-linker.h): Rename to
3078         $(common-objpfx)runtime-linker.h and move ...
3079         * Makerules [$(build-shared) = yes]: ... here.
3080         * elf/interp.c: Include <runtime-linker.h> instead of
3081         <elf/runtime-linker.h>.
3083 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3085         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
3086         (__gettimeofday_syscall): Remove vsyscall fallback.
3087         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
3088         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
3089         Add syscall fallback function.
3090         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
3091         if vDSO is not present.
3092         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
3093         fallback function.
3094         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
3095         present.
3096         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
3097         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
3099 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
3101         [BZ #18497]
3102         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
3103         of wcscmp.
3104         (wcscmp): Define as weak alias of WCSCMP.
3105         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
3106         wcscoll.
3107         (USE_HIDDEN_DEF): Define.
3108         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
3109         __wcscoll.  Don't use libc_hidden_weak.
3110         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
3111         wcscmp.
3112         * sysdeps/i386/i686/multiarch/wcscmp-c.c
3113         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
3114         __GI_wcscmp.
3115         (weak_alias): Undefine and redefine.
3116         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
3117         __wcscmp and define as weak alias of __wcscmp.
3118         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
3119         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
3120         (__wcscoll): Likewise.
3121         (wcscmp): Don't use libc_hidden_proto.
3122         (wcscoll): Likewise.
3123         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
3124         wcscoll.
3125         * posix/regexec.c (check_node_accept_bytes): Likewise.
3126         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
3127         variable.
3128         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
3129         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
3131         [BZ #18507]
3132         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
3133         __fstatvfs and define as weak alias of __fstatvfs.  Use
3134         libc_hidden_weak.
3135         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
3136         and define as weak alias of __statvfs.  Use libc_hidden_weak.
3137         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
3138         Define as alias of __fstatvfs, not fstatvfs.
3139         (fstatvfs64): Likewise.
3140         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
3141         Define as alias of __statvfs, not statvfs.
3142         (statvfs64): Likewise.
3143         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
3144         Remove variable.
3146 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3149         (HAVE_GETCPU_VSYSCALL): Define.
3150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3151         (HAVE_GETCPU_VSYSCALL): Likewise.
3152         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
3153         * sysdeps/unix/sysv/linux/sched_getcpu.c
3154         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
3155         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
3156         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
3157         prototype.
3158         * sysdeps/unix/sysv/linux/x86_64/init-first.c
3159         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
3160         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
3161         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
3162         Define.
3163         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
3164         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3165         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
3166         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3168 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
3170         * sysdeps/x86_64/fpu/Makefile: New file.
3171         * sysdeps/x86_64/fpu/Versions: New file.
3172         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
3173         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
3174         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
3175         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
3176         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
3177         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
3178         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
3179         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
3180         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
3181         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
3182         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
3183         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
3184         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
3185         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3186         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3187         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
3188         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
3189         * sysdeps/x86_64/configure.ac: Options for libmvec build.
3190         * sysdeps/x86_64/configure: Regenerated.
3191         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
3192         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
3193         * manual/install.texi (Configuring and compiling): Document
3194         --disable-mathvec.
3195         * INSTALL: Regenerated.
3196         * NEWS: Mention addition of libmvec and x86_64 vector cos.
3198         * math/Makefile: Added rules for vector tests.
3199         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
3200         declaration under condition.
3201         * math/test-double-vlen2.h: New file.
3202         * math/test-double-vlen4.h: New file.
3203         * math/test-double-vlen8.h: New file.
3204         * math/test-vec-loop.h: Added initialization macro.
3205         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
3206         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
3207         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
3208         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
3209         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
3210         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
3211         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
3212         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
3213         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
3214         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
3215         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
3217         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3218         * sysdeps/x86_64/fpu/Versions: New versions added.
3219         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
3220         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
3221         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
3222         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
3223         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
3224         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
3225         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
3226         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
3227         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
3228         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
3229         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
3230         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
3231         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
3232         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3233         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3234         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3235         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
3236         * NEWS: Mention addition of x86_64 vector cosf.
3238         * math/Makefile: Added CFLAGS for new tests.
3239         * math/test-float-vlen16.h: New file.
3240         * math/test-float-vlen4.h: New file.
3241         * math/test-float-vlen8.h: New file.
3242         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
3243         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
3244         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3245         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
3246         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
3247         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
3248         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
3249         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
3250         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
3251         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
3252         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
3254 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
3256         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
3257         * locale/programs/ld-ctype.c: Likewise.
3259 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
3261         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
3262         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
3263         bit_ZMM16_31_state): New macro.
3264         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3265         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
3267 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
3269         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
3271 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
3273         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
3275 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
3277         [BZ #18498]
3278         * libio/memstream.c (open_memstream): Rename to __open_memstream
3279         and define as weak alias of __open_memstream.
3280         * include/stdio.h (__open_memstream): Declare.  Use
3281         libc_hidden_proto.
3282         (open_memstream): Don't use libc_hidden_proto.
3283         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
3284         open_memstream.
3285         * posix/getopt.c (_getopt_internal_r): Likewise.
3286         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
3287         variable.
3288         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
3289         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
3290         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
3292         [BZ #18496]
3293         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
3294         instead of wcrtomb.
3296         [BZ #18483]
3297         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
3298         [__USE_XOPEN2K8].  Remove redundant #endif.
3299         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
3300         Remove redundant #if.
3301         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
3302         Remove variable.
3303         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
3304         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
3306         [BZ #18495]
3307         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
3308         (__iswlower): Likewise.
3309         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
3310         (__iswlower): Likewise.
3311         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
3312         instead of towlower.
3313         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
3314         instead of iswlower.  Call __towupper instead of towupper.
3315         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
3316         instead of iswalnum.
3318 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3320         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
3321         errors to stderr.
3323 2015-06-05  Florian Weimer  <fweimer@redhat.com>
3325         [BZ #15661]
3326         [BZ #17322]
3327         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
3328         Check for overflow properly.  Check for O_APPEND.  Ignore large
3329         file system block sizes.  Add comments about problems.
3330         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
3331         * manual/filesys.texi (Storage Allocation): New node.
3333 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3335         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
3336         cancellable syscalls.
3337         (SYS_ify): Add guard to no redefine it.
3338         (INLINE_SYSCALL): Likewise.
3339         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
3340         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
3341         SYSCALL_CANCEL instead.
3342         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
3343         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
3344         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
3345         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
3346         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
3347         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
3348         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
3349         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
3350         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
3351         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
3352         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
3353         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
3354         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
3355         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
3356         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
3357         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
3358         Likewise.
3359         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
3360         (__libc_pread64): Likewise.
3361         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
3362         (__libc_preadv): Likewise.
3363         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
3364         (__libc_readv64): Likewise.
3365         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
3366         (__libc_pwrite): Likewise.
3367         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
3368         (__libc_pwrite64): Likewise.
3369         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
3370         (__libc_pwritev): Likewise.
3371         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
3372         (__libc_pwritev64): Likewise.
3373         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
3374         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
3375         (sync_file_range): Likewise.
3376         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
3377         Likewise.
3378         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
3379         Likewise.
3380         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
3381         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
3382         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
3383         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
3384         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
3385         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
3386         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
3387         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
3388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
3389         Likewise.
3390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3391         (__libc_read64): Likewise.
3392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
3393         Likewise.
3394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
3395         Likewise.
3396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
3397         Likewise.
3398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
3399         Likewise.
3400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3401         (__libc_pread64): Likewise.
3402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
3403         Likewise.
3404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
3405         (__libc_pwrite64): Likewise.
3406         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
3407         (sync_file_range): Likewise.
3408         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
3409         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
3410         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
3411         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
3412         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
3413         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
3414         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
3415         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
3416         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
3417         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3418         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
3419         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
3420         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
3421         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
3422         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
3423         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
3424         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
3425         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
3426         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
3427         Likewise.
3428         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
3429         Likewise.
3430         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
3431         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
3432         Likewise.
3433         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
3434         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
3435         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
3436         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
3437         Likewise.
3438         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
3439         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
3440         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
3441         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
3442         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
3444 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
3446         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
3447         Include dl-vdso.
3448         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
3449         Use VDSO routines for gettimeofday, clock_gettime if
3450         available.
3451         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
3452         Declare VDSO symbols.
3453         * sysdeps/unix/sysv/linux/arm/sysdep.h:
3454         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
3455         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3456         * sysdeps/unix/sysv/linux/arm/Versions: Add
3457         __vdso_clock_gettime.
3459 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3461         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
3462         be an inline implementation regardless of library is built within.
3463         (open_not_cancel_2): Likewise.
3464         (__read_nocancel): Likewise.
3465         (__write_nocancel): Likewise.
3466         (openat_not_cancel): Likewise.
3467         (openat_not_cancel_3): Likewise.
3468         (openat64_not_cancel): Likewise.
3469         (openat64_not_cancel_3): Likewise.
3470         (__close_nocancel): Likewise.
3471         (pause_not_cancel): Likewise.
3472         (nanosleep_not_cancel): Likewise.
3473         (sigsuspend_not_cancel): Likewise.
3475 2015-06-04  Torvald Riegel  <triegel@redhat.com>
3477         [BZ #14958]
3478         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
3479         wake-up.
3480         (__pthread_rwlock_rdlock_slow): Likewise.
3481         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3482         Likewise.
3483         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3484         Likewise.
3485         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
3486         * nptl/tst-rwlock16.c: New file.
3487         * nptl/Makefile (tests): Add new test.
3489 2015-06-04  Torvald Riegel  <triegel@redhat.com>
3491         [BZ #18324]
3492         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
3493         missing wake-up of readers.
3494         * nptl/tst-rwlock15.c: New file.
3495         * nptl/Makefile (tests): Add new test.
3497 2015-06-03  Roland McGrath  <roland@hack.frob.com>
3499         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
3500         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
3501         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
3502         and __nacl_supply_interface_rtld.
3503         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
3504         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
3505         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
3506         Add __nacl_supply_interface_rtld.
3507         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
3509 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
3511         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
3512         isfinite.
3513         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3514         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
3516 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
3518         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
3519         __signbit* with standard C99 macros.
3520         * math/e_exp10l.c: Likewise.
3521         * math/e_exp2l.c: Likewise.
3522         * math/e_scalb.c: Likewise.
3523         * math/e_scalbf.c: Likewise.
3524         * math/e_scalbl.c: Likewise.
3525         * math/s_ldexp.c: Likewise.
3526         * math/s_ldexpf.c: Likewise.
3527         * math/s_ldexpl.c: Likewise.
3528         * math/w_atan2.c: Likewise.
3529         * math/w_atan2f.c: Likewise.
3530         * math/w_atan2l.c: Likewise.
3531         * math/w_cosh.c: Likewise.
3532         * math/w_coshf.c: Likewise.
3533         * math/w_coshl.c: Likewise.
3534         * math/w_exp10.c: Likewise.
3535         * math/w_exp10f.c: Likewise.
3536         * math/w_exp10l.c: Likewise.
3537         * math/w_exp2.c: Likewise.
3538         * math/w_exp2f.c: Likewise.
3539         * math/w_exp2l.c: Likewise.
3540         * math/w_fmod.c: Likewise.
3541         * math/w_fmodf.c: Likewise.
3542         * math/w_fmodl.c: Likewise.
3543         * math/w_hypot.c: Likewise.
3544         * math/w_hypotf.c: Likewise.
3545         * math/w_hypotl.c: Likewise.
3546         * math/w_jnl.c: Likewise.
3547         * math/w_lgamma.c: Likewise.
3548         * math/w_lgamma_r.c: Likewise.
3549         * math/w_lgammaf.c: Likewise.
3550         * math/w_lgammaf_r.c: Likewise.
3551         * math/w_lgammal.c: Likewise.
3552         * math/w_lgammal_r.c: Likewise.
3553         * math/w_pow.c: Likewise.
3554         * math/w_powf.c: Likewise.
3555         * math/w_powl.c: Likewise.
3556         * math/w_remainder.c: Likewise.
3557         * math/w_remainderf.c: Likewise.
3558         * math/w_remainderl.c: Likewise.
3559         * math/w_scalb.c: Likewise.
3560         * math/w_scalbf.c: Likewise.
3561         * math/w_scalbl.c: Likewise.
3562         * math/w_scalbln.c: Likewise.
3563         * math/w_scalblnf.c: Likewise.
3564         * math/w_scalblnl.c: Likewise.
3565         * math/w_sinh.c: Likewise.
3566         * math/w_sinhf.c: Likewise.
3567         * math/w_sinhl.c: Likewise.
3568         * math/w_tgamma.c: Likewise.
3569         * math/w_tgammaf.c: Likewise.
3570         * math/w_tgammal.c: Likewise.
3571         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3572         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
3573         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3574         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3575         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3576         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3577         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3578         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3579         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3580         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3581         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3582         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3583         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3584         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3585         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3586         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3587         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3588         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3589         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3590         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3591         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3592         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3593         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3594         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3595         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3596         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3597         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
3598         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3599         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3600         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3601         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
3602         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
3603         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
3604         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
3605         * stdio-common/printf_fp.c: Likewise.
3606         * stdio-common/printf_fphex.c: Likewise.
3607         * stdio-common/printf_size.c: Likewise.
3609 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
3611         [BZ #18470]
3612         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
3613         strnlen.
3614         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
3615         Remove variable.
3616         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
3617         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
3618         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
3619         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
3620         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
3621         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
3622         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
3623         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
3624         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
3625         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
3627         [BZ #18468]
3628         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
3629         weak alias of __wmemchr.  Use libc_hidden_weak.
3630         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
3631         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
3632         instead of wmemchr.
3634 2015-06-02  Roland McGrath  <roland@hack.frob.com>
3636         [BZ #18383]
3637         * elf/tst-tlsalign-extern.c: New file.
3638         * elf/tst-tlsalign-extern-static.c: New file.
3639         * elf/tst-tlsalign-vars.c: New file.
3640         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
3641         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
3642         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
3643         ($(objpfx)tst-tlsalign-extern-static): Likewise.
3644         (test-xfail-tst-tlsalign-extern-static): New variable.
3646 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
3648         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
3649         Use variable name _sc_err instead of err.
3650         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
3651         instead of ret.
3652         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
3653         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
3654         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
3655         (INLINE_SYSCALL): Likewise.
3657         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
3658         * include/string.h (__strnlen): Use libc_hidden_proto.
3659         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
3660         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
3661         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
3662         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
3663         (libc_hidden_def): Undefine and redefine.
3664         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
3665         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
3666         __GI_strnlen.
3667         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
3668         libc_hidden_def.
3669         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
3671         [BZ #18469]
3672         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
3673         weak alias of __towlower.  Use libc_hidden_weak.
3674         (towupper): Rename to __towupper and define as weak alias of
3675         __towupper.  Use libc_hidden_weak.
3676         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
3677         (__towupper): Likewise.
3678         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
3679         __towlower instead of towlower.
3681 2015-06-02  Roland McGrath  <roland@hack.frob.com>
3683         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
3684         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
3686 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3688         * sysdeps/aarch64/libm-test-ulps: Update.
3690 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3692         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
3693         Define.
3694         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3695         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
3696         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
3697         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3698         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
3699         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
3700         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
3702 2015-06-01  Martin Sebor  <msebor@redhat.com>
3704         [BZ #18116]
3705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3706         (__setcontext): Use extended four-operand version of mtsf whenever
3707         possible.
3708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3709         (__novec_swapcontext): Likewise.
3711 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
3713         * benchtests/scripts/compare_bench.py: New file.
3714         * benchtests/scripts/import_bench.py (mean): New function.
3715         (split_list): Likewise.
3716         (do_for_all_timings): Likewise.
3717         (compress_timings): Likewise.
3719         * benchtests/scripts/import_bench.py: New file.
3720         * benchtests/scripts/validate_benchout.py: Import import_bench
3721         instead of jsonschema.
3722         (validate_bench): Remove function.
3723         (main): Use import_bench.
3725 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
3727         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
3728         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
3730 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3732         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3734 2015-05-28  Roland McGrath  <roland@hack.frob.com>
3736         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
3737         set THREAD_SELF->tid to a magic value and futex-wake it.
3738         Pass its address to the thread_exit system call.
3739         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
3740         bit is clear.
3741         * sysdeps/nacl/lowlevellock.h: New file.
3742         * sysdeps/nacl/lll_timedwait_tid.c: New file.
3744         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
3745         Add TIMEOUT to current time, don't subtract it.
3747 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
3749         [BZ #2981]
3750         [BZ #18422]
3751         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
3752         ($(objpfx)tst-audit2.out): Also depend on
3753         $(objpfx)tst-auditmod9b.so.
3754         * elf/tst-audit2.c: Include <dlfcn.h>.
3755         (calloc_called): New.
3756         (calloc): Allow to be called more than once.
3757         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
3759 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
3761         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
3762         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
3764 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
3766         * stdlib/monetary.h: Fix comment.
3768 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
3770         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
3771         Avoid using variables in #defines that might cause shadowing.
3772         (INTERNAL_VSYSCALL_CALL): Likewise.
3774 2015-05-26  Roland McGrath  <roland@hack.frob.com>
3776         * sysdeps/nacl/lll_timedlock_wait.c: New file.
3778         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
3779         * nptl/lll_timedlock_wait.c: ... to this new file.
3780         * nptl/Makefile (libpthread-routines): Add it.
3781         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
3782         * nptl/lll_timedwait_tid.c: ... to this new file.
3783         * nptl/Makefile (libpthread-routines): Add it.
3784         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
3785         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
3786         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
3787         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
3788         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
3789         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
3790         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
3791         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
3792         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
3793         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
3795 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3797         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
3798         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3799         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
3800         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
3801         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
3802         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
3803         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3804         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
3805         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3806         * sysdeps/unix/sysv/linux/tile/sysdep.h
3807         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3808         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
3809         using vDSO syscall macro.
3811 2015-05-26  Andriy Rysin  <arysin@gmail.com>
3813         [BZ #17293]
3814         * uk_UA: Fix sorting order for Ukrainian locale
3816 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
3818         * stdlib/monetary.h: Fix comment.
3820 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3822         [BZ #18234]
3823         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
3824         st_mtim and st_ctim members.
3825         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
3826         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
3827         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
3828         (struct stat64): Likewise.
3829         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
3830         (struct stat64): Likewise.
3831         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
3832         (struct stat64): Likewise.
3834 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3836         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
3837         Define and include sysdep-vdso.h.
3838         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
3839         Likewise.
3840         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
3841         Likewise.
3842         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
3843         Define with VDSO_SYMBOL and use PTR_MANGLE.
3844         (__vdso_clock_gettime): Likewise.
3845         (__vdso_clock_getres): Likewise.
3846         (_libc_vdso_platform_setup): Likewise.
3847         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
3848         Likewise.
3849         (_libc_vdso_platform_setup): Likewise.
3850         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
3851         Likewise.
3852         (__vdso_clock_gettime): Likewise.
3853         (__vdso_clock_getres): Likewise.
3854         (__vdso_get_tbfreq): Likewise.
3855         (__vdso_getcpu): Likewise.
3856         (__vdso_time): Likewise.
3857         (__vdso_sigtramp_rt64): Likewise.
3858         (__vdso_signtramp32): Likewise.
3859         (__vdso_sigtramp_rt32): Likewise.
3860         (_libc_vdso_platform_setup): Likewise.
3861         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
3862         Likewise.
3863         (__vdso_clock_gettime): Likewise.
3864         (__vdso_clock_getres): Likewise.
3865         (_libc_vdso_platform_setup): Likewise.
3866         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
3867         Likewise.
3868         (__vdso_clock_gettime): Likewise.
3869         (_libc_vdso_platform_setup): Likewise.
3870         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
3871         Likewise.
3872         (__vdso_getcpu): Likewise.
3873         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
3874         Use VDSO_SYMBOL macro to define.
3875         (__vdso_clock_gettime): Likewise.
3876         (__vdso_clock_getres): Likewise.
3877         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
3878         Likewise.
3879         (__vdso_clock_gettime): Likewise.
3880         (__vdso_clock_getres): Likewise.
3881         (__vdso_get_tbfreq): Likewise.
3882         (__vdso_getcpu): Likewise.
3883         (__vdso_time): Likewise.
3884         (__vdso_sigtramp_rt64): Likewise.
3885         (__vdso_signtramp32): Likewise.
3886         (__vdso_sigtramp_rt32): Likewise.
3887         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
3888         Likewise.
3889         (__vdso_clock_gettime): Likewise.
3890         (__vdso_clock_getres): Likewise.
3891         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
3892         Likewise.
3893         (__vdso_clock_gettime): Likewise.
3894         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
3895         Likewise.
3896         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
3897         macro.
3898         (INTERNAL_VSYSCALL): Likewise.
3899         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
3900         Remove macro.
3901         (INTERNAL_VSYSCALL): Likewise.
3902         (INTERNAL_VSYSCALL_NCS): Likewise.
3903         (INTERNAL_VSYSCALL_CALL): New macro.
3904         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
3905         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
3906         Likewise.
3907         (INTERNAL_VSYSCALL): Likewise.
3908         (INTERNAL_VSYSCALL_NCS): Likewise.
3909         (INTERNAL_VSYSCALL_CALL): New macro.
3910         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
3911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3912         (INLINE_VSYSCALL): Remove macro.
3913         (INTERNAL_VSYSCALL): Remove macro.
3914         (INTERNAL_VSYSCALL_NCS): Remove macro.
3915         (INTERNAL_VSYSCALL_CALL): New macro.
3916         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
3917         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
3918         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
3919         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
3920         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
3921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3922         (INLINE_VSYSCALL): Remove macro.
3923         (INTERNAL_VSYSCALL): Likewise.
3924         (INTERNAL_VSYSCALL_NCS): Likewise.
3925         (INTERNAL_VSYSCALL_CALL): New macro.
3926         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
3927         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
3928         PTR_DEMANGLE on vDSO pointer.
3929         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
3930         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
3931         macro.
3932         (INTERNAL_SYSCALL): Likewise.
3933         (INTERNAL_VSYSCALL_NCS): Remove macro.
3934         (INTERNAL_VSYSCALL_CALL): New macro.
3935         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
3936         Remove macro.
3937         (INTERNAL_VSYSCALL): Likewise.
3938         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
3939         sysdep-vdso.h instead of libc-vdso.h.
3940         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
3941         definition.
3942         (INLINE_VSYSCALL): Likewise.
3943         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
3944         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
3945         definition.
3946         (INLINE_VSYSCALL): Likewise.
3947         (INTERNAL_VSYSCALL): Likewise.
3948         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3949         * sysdeps/unix/sysv/linux/timespec_get.c
3950         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3951         (timespec_get): Use ANSI prototype.
3952         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
3953         and definition for Linux.
3955 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
3957         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
3958         * include/libc-symbols.h: libmvec_hidden_* macro series added.
3960 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
3962         [BZ #2981]
3963         [BZ #18410]
3964         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
3965         for missing DT_PLTRELSZ.
3967 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
3969         Remove obsolete aliases that broke 'locale -a'
3970         [BZ #18412]
3971         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
3972         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
3973         breaking some applications that use 'locale -a' output.
3974         Change the encoding of this file from Latin-1 to ASCII to avoid
3975         other potential problems with people grepping this file.
3977 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3979         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
3980         -fasynchronous-unwind-tables.
3981         (CFLAGS-sendto.c): Likewise.
3982         (CFLAGS-sendmsg.c): Likewise.
3983         (CFLAGS-connect.c): Likewise.
3984         (CFLAGS-recvmsg.c): Likewise.
3985         (CFLAGS-recvfrom.c): Likewise.
3986         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
3987         (SOCKETCALL): New macro: non-cancellable socketcall.
3988         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
3989         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
3990         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
3991         * sysdeps/unix/sysv/linux/accept.c: New file.
3992         * sysdeps/unix/sysv/linux/bind.c: Likewise.
3993         * sysdeps/unix/sysv/linux/connect.c: Likewise.
3994         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
3995         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
3996         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
3997         * sysdeps/unix/sysv/linux/listen.c: Likewise.
3998         * sysdeps/unix/sysv/linux/recv.c: Likewise.
3999         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
4000         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
4001         * sysdeps/unix/sysv/linux/send.c: Likewise.
4002         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
4003         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
4004         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
4005         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
4006         * sysdeps/unix/sysv/linux/socket.c: Likewise.
4007         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
4008         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
4009         prototype.
4010         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
4011         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4012         instead of __internal_xxx function.
4013         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
4014         prototype.
4015         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
4016         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4017         instead of __internal_xxx function.
4018         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
4019         prototype.
4020         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
4021         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4022         instead of __internal_xxx function.
4023         * sysdeps/unix/sysv/linux/accept.S: Remove file.
4024         * sysdeps/unix/sysv/linux/bind.S: Likewise.
4025         * sysdeps/unix/sysv/linux/connect.S: Likewise.
4026         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
4027         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
4028         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
4029         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
4030         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
4031         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
4032         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
4033         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
4034         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
4035         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
4036         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
4037         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
4038         * sysdeps/unix/sysv/linux/listen.S: Likewise.
4039         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
4040         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
4041         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
4042         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
4043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
4044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
4045         * sysdeps/unix/sysv/linux/recv.S: Likewise.
4046         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
4047         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
4048         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
4049         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4050         * sysdeps/unix/sysv/linux/send.S: Likewise.
4051         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
4052         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
4053         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
4054         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
4055         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
4056         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
4057         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
4058         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
4059         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
4060         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
4061         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
4062         socketcall is implemented in GLIBC.
4064 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
4066         * soft-fp/fmadf4.c: Include <libc-internal.h>.
4067         (__fma): Ignore uninitialized warnings around packing.
4068         * soft-fp/fmasf4.c: Include <libc-internal.h>.
4069         (__fmaf): Ignore uninitialized warnings around packing.
4070         * soft-fp/fmatf4.c: Include <libc-internal.h>.
4071         (__fmal): Ignore uninitialized warnings around packing.
4073         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
4074         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
4075         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
4076         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
4078         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
4079         switch statement into default case.
4080         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
4082         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
4083         a conditional in forcing "inexact".
4084         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4085         Likewise.
4087 2015-05-22  Roland McGrath  <roland@hack.frob.com>
4089         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4090         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
4091         for each INTERNAL_SYSCALL use.
4093 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
4095         [BZ #438]
4096         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
4097         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
4098         variable.
4100         [BZ #18444]
4101         * string/basename.c (basename): Rename to __basename and define as
4102         weak alias of __basename.  Use libc_hidden_weak.
4103         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
4104         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
4105         __basename instead of basename.
4106         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
4107         Remove variable.
4108         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4110 2015-05-18  Florian Weimer  <fweimer@redhat.com>
4112         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
4113         (_IO_JUMPS_FILE_plus): New.
4114         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
4115         _IO_CAST_FIELD_ACCESS.
4116         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
4117         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
4118         * libio/freopen.c (freopen): Likewise.
4119         * libio/freopen64.c (freopen64): Likewise.
4120         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
4121         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
4122         * libio/iofwide.c (_IO_fwide): Likewise.
4123         * libio/memstream.c (open_memstream): Likewise.
4124         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
4125         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
4126         * libio/oldiopopen.c (_IO_old_popen): Likewise.
4128 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
4130         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
4131         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
4132         NADJ.
4133         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
4134         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
4135         NADJ.
4136         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
4137         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
4138         NADJ.
4140         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
4141         (p == 4) case.
4143         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
4144         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
4145         Remove variable.
4146         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4147         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4148         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4150 2015-05-21  Florian Weimer  <fweimer@redhat.com>
4152         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
4153         Adjust jump table label generation macros.
4155 2015-05-21  Florian Weimer  <fweimer@redhat.com>
4157         * stdio-common/vfprintf.c (vfprintf): Move local variables
4158         args_malloced, specs, specs_malloced, and the code after
4159         do_positional to the printf_positional function.
4160         (printf_positional): New function.
4162 2015-05-21  Florian Weimer  <fweimer@redhat.com>
4164         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
4165         function.
4166         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
4167         STEP4_TABLE, process_arg): Move macro definitions
4168         out of the vfprintf function.  (Cosmetic change only.)
4170 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
4172         * benchtests/Makefile (stdio-common-bench): Define.
4173         (benchset): Add stdio-common-bench.
4174         * sprintf-inputs: New file.
4175         * sprintf-source.c: New file.
4177 2015-05-21  Andreas Schwab  <schwab@suse.de>
4179         [BZ #13028]
4180         [BZ #17053]
4181         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
4182         of struct __res_state.
4183         * resolv/res_send.c (__libc_res_nsend): Likewise.
4184         (get_nsaddr): New function.
4185         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
4186         statp directly.
4188 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
4190         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
4191         -D_POSIX_C_SOURCE=199506L.
4193         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
4195         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
4196         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
4197         Do not mention otherwise.
4198         [POSIX] (_XOPEN_VERSION): Do not expect.
4199         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
4200         [POSIX] (_POSIX2_C_BIND): Likewise.
4201         [POSIX] (_POSIX2_VERSION): Likewise.
4202         [POSIX] (_XOPEN_XPG2): Likewise.
4203         [POSIX] (_XOPEN_XPG3): Likewise.
4204         [POSIX] (_XOPEN_XPG4): Likewise.
4205         [POSIX] (_XOPEN_UNIX): Likewise.
4206         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
4207         [POSIX] (_POSIX_BARRIERS): Likewise.
4208         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
4209         [POSIX] (_POSIX_CPUTIME): Likewise.
4210         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
4211         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
4212         [POSIX] (_POSIX_SHELL): Likewise.
4213         [POSIX] (_POSIX_SPAWN): Likewise.
4214         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
4215         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
4216         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
4217         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
4218         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
4219         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
4220         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
4221         [POSIX] (_XBS5_LP64_OFF64): Likewise.
4222         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
4223         [POSIX] (_POSIX_TIMEOUTS): Likewise.
4224         [POSIX] (_POSIX2_PBS): Likewise.
4225         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
4226         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
4227         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
4228         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
4229         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
4230         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
4231         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
4232         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
4233         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
4234         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
4235         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
4236         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
4237         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
4238         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
4239         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
4240         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
4241         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
4242         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
4243         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
4244         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
4245         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
4246         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
4247         [POSIX] (_SC_2_C_BIND): Likewise.
4248         [POSIX] (_SC_2_C_VERSION): Likewise.
4249         [POSIX] (_SC_2_PBS): Likewise.
4250         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
4251         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
4252         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
4253         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
4254         [POSIX] (_SC_2_PBS_TRACK): Likewise.
4255         [POSIX] (_SC_ATEXIT_MAX): Likewise.
4256         [POSIX] (_SC_BARRIERS): Likewise.
4257         [POSIX] (_SC_BASE): Likewise.
4258         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
4259         [POSIX] (_SC_DEVICE_IO): Likewise.
4260         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
4261         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
4262         [POSIX] (_SC_FD_MGMT): Likewise.
4263         [POSIX] (_SC_FIFO): Likewise.
4264         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
4265         [POSIX] (_SC_FILE_LOCKING): Likewise.
4266         [POSIX] (_SC_FILE_SYSTEM): Likewise.
4267         [POSIX] (_SC_IOV_MAX): Likewise.
4268         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
4269         [POSIX] (_SC_NETWORKING): Likewise.
4270         [POSIX] (_SC_PAGE_SIZE): Likewise.
4271         [POSIX] (_SC_PASS_MAX): Likewise.
4272         [POSIX] (_SC_PIPE): Likewise.
4273         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
4274         [POSIX] (_SC_REGEXP): Likewise.
4275         [POSIX] (_SC_SHELL): Likewise.
4276         [POSIX] (_SC_SIGNALS): Likewise.
4277         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
4278         [POSIX] (_SC_SPIN_LOCKS): Likewise.
4279         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
4280         [POSIX] (_SC_USER_GROUPS): Likewise.
4281         [POSIX] (_SC_USER_GROUPS_R): Likewise.
4282         [POSIX] (_SC_STREAMS): Likewise.
4283         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
4284         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
4285         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
4286         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
4287         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
4288         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
4289         [POSIX] (_PC_FILESIZEBITS): Likewise.
4290         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
4291         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
4292         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
4293         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
4294         [POSIX] (uid_t): Likewise.
4295         [POSIX] (gid_t): Likewise.
4296         [POSIX] (off_t): Likewise.
4297         [POSIX] (pid_t): Likewise.
4298         [POSIX] (cuserid): Allow.
4299         (_SC_2_CHAR_TERM): Require constant.
4300         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
4301         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
4302         variable.
4304 2015-05-20  Roland McGrath  <roland@hack.frob.com>
4306         * sysdeps/nacl/pthread-pids.h: New file.
4307         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
4308         (create_thread): Use __nacl_get_tid to initialize PD->tid.
4310         * nptl/pthread-pids.h: New file.
4311         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
4312         * nptl/nptl-init.c: Include <pthread-pids.h>.
4313         (__pthread_initialize_minimal_internal):
4314         Call __pthread_initialize_pids instead of set_tid_address syscall.
4316         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
4317         * sysdeps/posix/usleep.c: ... here.
4319 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4321         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
4322         call_pselect6 object.
4323         [$(subdir) = io]: Remove call_sync_file_range object.
4324         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
4325         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
4326         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
4327         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
4329 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
4331         * math/s_cproj.c: Add include "math_private.h".
4332         * math/s_cprojf.c: Likewise.
4333         * math/s_cprojl.c: Likewise.
4335 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
4337         [BZ #18244]
4338         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
4339         high mantissa bit when testing whether P is a NaN.
4340         * math/libm-test.inc (remainder_test_data): Add more tests.
4341         (remquo_test_data): Likewise.
4343         [BZ #18049]
4344         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
4345         below -32, return the argument, with underflow if subnormal.
4346         * math/auto-libm-test-in: Add more tests of atanh.
4347         * math/auto-libm-test-out: Regenerated.
4349 2015-05-19  Roland McGrath  <roland@hack.frob.com>
4351         [BZ #18434]
4352         * nptl/tst-sem15.c: New file.
4353         * nptl/Makefile (tests): Add it.
4354         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
4355         s/<</>>/ to fix typo in EOVERFLOW check.
4356         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
4358 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4360         * manual/strings.texi (envz_remove): Fix typo in safety
4361         annotations.
4363 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
4364             Steve Ellcey  <sellcey@imgtec.com>
4366         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
4367         in order to avoid strict alias warnings.
4368         (iruserok_af): Ditto for ra.
4370 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
4372         [BZ #17581]
4373         * malloc/hooks.c
4374         (magicbyte): Convert to a function and avoid returning 0x01.
4375         (mem2mem_check): Avoid using a length byte equal to the magic byte.
4376         (mem2chunk_check): Fix unsigned comparisons to zero.
4377         Hoist defs of sz and magic.
4379 2015-05-19  Richard Henderson  <rth@redhat.com>
4381         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
4383         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4385 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4387         [BZ #16159]
4388         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
4389         * malloc/arena.c (arena_lock): Check if arena is corrupt.
4390         (reused_arena): Find a non-corrupt arena.
4391         (heap_trim): Pass arena to unlink.
4392         * malloc/hooks.c (malloc_check_get_size): Pass arena to
4393         malloc_printerr.
4394         (top_check): Likewise.
4395         (free_check): Likewise.
4396         (realloc_check): Likewise.
4397         * malloc/malloc.c (malloc_printerr): Add arena argument.
4398         (unlink): Likewise.
4399         (munmap_chunk): Adjust.
4400         (ARENA_CORRUPTION_BIT): New macro.
4401         (arena_is_corrupt): Likewise.
4402         (set_arena_corrupt): Likewise.
4403         (sysmalloc): Use mmap if there are no usable arenas.
4404         (_int_malloc): Likewise.
4405         (__libc_malloc): Don't fail if arena_get returns NULL.
4406         (_mid_memalign): Likewise.
4407         (__libc_calloc): Likewise.
4408         (__libc_realloc): Adjust for additional argument to
4409         malloc_printerr.
4410         (_int_free): Likewise.
4411         (malloc_consolidate): Likewise.
4412         (_int_realloc): Likewise.
4413         (_int_memalign): Don't touch corrupt arenas.
4414         * malloc/tst-malloc-backtrace.c: New test case.
4416         * Makefile (summarize-tests): Fix return value on success.
4418         * manual/string.texi (Envz Functions): Add envz_remove.
4420 2015-05-18  Roland McGrath  <roland@hack.frob.com>
4422         * sysdeps/posix/opendir.c: Include <stdbool.h>.
4423         (invalid_name): New function, broken out of ...
4424         (__opendirat): ... here.  Call it.
4425         (need_isdir_precheck): New function, broken out of ...
4426         (__opendirat): ... here.  Call it.
4427         Use __fxstatat64, not __xstatat64.
4428         (opendir_oflags): New function, broken out of ...
4429         (__opendirat): ... here.  Call it.
4430         (opendir_tail): New function, broken out of ...
4431         (__opendirat): ... here.  Call it.
4432         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
4433         opendir_tail, rather than punting to __opendirat.
4434         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
4436 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4438         * .gitignore: Ignore generated *.pyc.
4440 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
4442         * include/stdio.h: Define __need_wint_t.
4443         * test-skeleton.c: Avoid `for' loop initial declaration.
4444         * nptl/tst-initializers1.c: Use test-skeleton.c.
4446 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4448         [BZ #18418]
4449         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
4451 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
4453         [BZ #16352]
4454         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
4455         (__ieee754_atanh): Force underflow exception for results with
4456         small absolute value.
4457         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
4458         (__ieee754_atanhf): Force underflow exception for results with
4459         small absolute value.
4460         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
4461         (__ieee754_atanh): Force underflow exception for results with
4462         small absolute value.
4463         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
4464         (__ieee754_atanhf): Force underflow exception for results with
4465         small absolute value.
4466         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
4467         (__ieee754_atanhl): Force underflow exception for results with
4468         small absolute value.
4469         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
4470         (__ieee754_atanhl): Force underflow exception for results with
4471         small absolute value.
4472         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
4473         (__ieee754_atanhl): Force underflow exception for results with
4474         small absolute value.
4475         * math/auto-libm-test-in: Do not allow missing underflow
4476         exceptions from atanh.
4477         * math/auto-libm-test-out: Regenerated.
4479         [BZ #18221]
4480         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
4481         2**-28 as threshold for returning x or +/- 1/x.
4482         * math/auto-libm-test-in: Add more tests of tan.
4483         * math/auto-libm-test-out: Regenerated.
4485         [BZ #18220]
4486         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
4487         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
4488         * math/auto-libm-test-in: Add another test of lgamma.
4489         * math/auto-libm-test-out: Regenerated.
4491 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
4493         * stdio-common/printf_fp.c (___printf_fp): Use abs.
4494         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
4495         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
4496         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
4497         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
4498         (ADD2A): Use fabs.  (SUB2A): Use fabs.
4499         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
4500         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
4501         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
4502         (log1): Use fabs.  (my_log2): Use fabs.
4503         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
4504         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
4505         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
4506         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
4507         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
4508         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
4509         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
4510         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
4511         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
4512         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
4513         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
4515 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
4517         [BZ #18217]
4518         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
4519         as threshold for returning 1 - x.
4520         * math/auto-libm-test-in: Add more tests of erfc.
4521         * math/auto-libm-test-out: Regenerated.
4523 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
4525         [BZ #18196]
4526         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
4527         threshold for large arguments.
4528         * math/auto-libm-test-in: Add another test of atan.
4529         * math/auto-libm-test-out: Regenerated.
4531         [BZ #16339]
4532         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
4533         (__log1p): Force underflow exception for results with small
4534         absolute value.
4535         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
4536         (__log1pf): Force underflow exception for results with small
4537         absolute value.
4538         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
4539         (__log1p): Force underflow exception for results with small
4540         absolute value.
4541         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
4542         (__log1pf): Force underflow exception for results with small
4543         absolute value.
4544         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
4545         (__log1pl): Force underflow exception for results with small
4546         absolute value.
4547         * math/auto-libm-test-in: Do not allow missing underflow
4548         exceptions from log1p.
4549         * math/auto-libm-test-out: Regenerated.
4551 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
4552             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4554         [BZ #16704]
4555         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
4557 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
4559         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
4560         (libmvec): New variable.
4561         * configure.ac: Added option for mathvec build.
4562         * configure: Regenerated.
4563         * mathvec/Depend: New file.
4564         * mathvec/Makefile: New file.
4565         * shlib-versions: Added libmvec.
4566         * math/Makefile: Added rule for libm.so installation.
4568         * bits/math-vector.h: New file.
4569         * bits/libm-simd-decl-stubs.h: New header.
4570         * math/Makefile (headers): Added new header
4571         libm-simd-decl-stubs.h.
4572         * math/math.h (__MATHCALL_VEC): New macro.
4574         * math/gen-libm-have-vector-test.sh: Script generates series of macros
4575         for conditions in testing functions.
4576         * math/Makefile: Added call of libm-have-vector-test.sh.
4577         * math/libm-test.inc (HAVE_VECTOR): New macros.
4579         * math/libm-test.inc: START refactored.
4580         * math/test-double.c (TEST_MATHVEC): Add define.
4581         * math/test-float.c: Likewise.
4582         * math/test-idouble.c: Likewise.
4583         * math/test-ifloat.c: Likewise.
4584         * math/test-ildoubl.c: Likewise.
4585         * math/test-ldouble.c: Likewise.
4586         * sysdeps/generic/math-tests-arch.h
4587         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
4588         architecture check.
4590         * math/test-double.c (FUNC_TEST): New macro.
4591         * math/test-float.c: Likewise.
4592         * math/test-idouble.c: Likewise.
4593         * math/test-ifloat.c: Likewise.
4594         * math/test-ildoubl.c: Likewise.
4595         * math/test-ldouble.c: Likewise.
4596         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
4598 2015-05-13  Roland McGrath  <roland@hack.frob.com>
4600         * sysdeps/nacl/fdopendir.c: New file.
4602         * dirent/scandir-tail.c: New file.
4603         * dirent/scandir64-tail.c: New file.
4604         * dirent/Makefile (routines): Add them.
4605         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
4606         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
4607         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
4608         [!SCANDIR] (SCANDIR_TAIL): New macro.
4609         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
4610         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
4611         (SCANDIRAT): Macro removed.
4612         (SCANDIR_TAIL): New macro.
4613         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
4614         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
4615         (SCANDIRAT): Just call __opendirat and __scandir_tail.
4616         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
4617         (READDIR): Macro removed.
4618         (SCANDIR_TAIL): New macro.
4619         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
4620         (SCANDIR_TAIL): New macro.
4622         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
4623         * dirent/scandir-cancel.c: ... to this new file.
4624         * dirent/Makefile (routines): Add it.
4625         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
4626         * sysdeps/unix/sysv/linux/i386/scandir64.c
4627         (SKIP_SCANDIR_CANCEL): Macro removed.
4628         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
4630         * dirent/tst-scandir.c: New file.
4631         * dirent/tst-scandir64.c: New file.
4632         * dirent/Makefile (tests): Add them.
4634 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
4636         [BZ #18409]
4637         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
4639 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4641         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
4642         list.
4644 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
4646         * benchtests/bench-strcoll.c: New benchmark.
4647         * benchtests/Makefile: Generate locales and run benchmark.
4648         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
4649         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
4650         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
4651         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
4652         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
4653         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
4654         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
4655         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
4656         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
4657         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
4658         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
4659         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
4660         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
4661         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
4662         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
4663         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
4664         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
4665         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
4666         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
4667         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
4668         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
4669         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
4670         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
4671         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
4673 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
4675         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
4676         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4678 2015-05-12  Roland McGrath  <roland@hack.frob.com>
4680         * posix/uname-values.h: New file.
4681         * posix/uname.c: Include that instead of <config-name.h>.
4682         * sysdeps/nacl/uname-values.h: New file.
4683         * sysdeps/arm/nacl/uname-values.h: New file.
4685 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
4687         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
4688         splitting into fields.
4690 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
4692         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
4693         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
4694         * locale/localeinfo.h: Add enum collation_encoding_type.
4695         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
4696         * programs/ld-collate.c (collate_output): Add encoding type info.
4697         * string/strcoll_l.c (STRDIFF): New function.
4698         * (STRCOLL): Use STRDIFF to skip over equal prefix.
4699         * wcsmbs/wcscoll_l.c: Define STRDIFF.
4701 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
4703         [BZ #18397]
4704         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
4705         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
4706         <fpu_control.h> instead of <math/fpu_control.c>.
4707         * sysdeps/mips/mips32/fpu/Makefile: New file.
4709 2015-05-11  Andreas Schwab  <schwab@suse.de>
4711         [BZ #18007]
4712         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
4713         nss_endgrent.
4714         (_nss_compat_endgrent): Call nss_endgrent.
4715         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
4716         nss_endpwent.
4717         (_nss_compat_endpwent): Call nss_endpwent.
4718         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
4719         needent, call nss_setspent only if non-zero.
4720         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
4721         (internal_endspent): Don't call nss_endspent.
4722         (_nss_compat_endspent): Call nss_endspent.
4723         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
4724         Remove.  All uses removed.
4725         (internal_setent): Remove parameter stayopen, add parameter
4726         stream.  Use it instead of global variable.
4727         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
4728         (internal_endent, internal_getent): Add parameter stream.  Use it
4729         instead of global variable.
4730         (CONCAT(_nss_files_end,ENTNAME))
4731         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
4732         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
4733         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
4734         uses removed.
4735         (internal_setent, internal_endent): Add parameter stream.  Use it
4736         instead of global variable.
4737         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
4738         stream.
4739         (get_next_alias): Add parameter stream.
4740         (_nss_files_getaliasent_r): Pass global stream.
4741         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
4742         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
4743         (_nss_files_gethostbyname4_r): Pass local stream to
4744         internal_setent, internal_getent and internal_endent.  Remove
4745         locking.
4747 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4749         * tst-strfmon1.c (tests): Update expected currency symbol.
4751 2015-05-08  Roland McGrath  <roland@hack.frob.com>
4753         * sysdeps/nacl/gethostname.c: New file.
4755 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
4757         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
4758         and sinh.
4759         * math/auto-libm-test-out: Regenerated.
4760         * sysdeps/i386/fpu/libm-test-ulps: Update.
4761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4763 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
4765         [BZ #18125]
4766         * stdlib/tst-setcontext3.c: New file.
4767         * stdlib/tst-setcontext3.sh: New file.
4768         * stdlib/Makefile (tests): Add tst-setcontext3.
4769         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
4770         to verify test program created output file.
4771         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
4772         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
4773         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
4774         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
4776 2015-05-06  Roland McGrath  <roland@hack.frob.com>
4778         [BZ #18383]
4779         * elf/tst-tlsalign.c: New file.
4780         * elf/tst-tlsalign-static.c: New file.
4781         * elf/tst-tlsalign-lib.c: New file.
4782         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
4783         (tests-static): Add tst-tlsalign-static.
4784         (modules-names): Add tst-tlsalign-lib.
4785         (test-xfail-tst-tlsalign): New variable.
4786         (test-xfail-tst-tlsalign-static): New variable.
4788         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
4789         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
4791 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
4793         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
4794         csqrt, erfc, sin and sincos.
4795         * math/auto-libm-test-out: Regenerated.
4796         * sysdeps/i386/fpu/libm-test-ulps: Update.
4797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4799 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4801         * sysdeps/aarch64/libm-test-ulps: Update.
4803 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
4805         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
4806         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
4807         * math/auto-libm-test-out: Regenerated.
4808         * sysdeps/i386/fpu/libm-test-ulps: Update.
4809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4811 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
4813         [BZ #18265]
4814         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
4815         (wcsncpy): Likewise.
4817 2015-05-05  Florian Weimer  <fweimer@redhat.com>
4819         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4820         Assume __ASSUME_FALLOCATE is always true.
4821         * sysdeps/unix/sysv/linux/posix_fallocate64.c
4822         (__posix_fallocate64_l64): Likweise.
4823         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
4824         (posix_fallocate): Likewise.
4825         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
4826         (__posix_fallocate64_l64): Likewise.
4827         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4828         [!__ASSUME_FALLOCATE]: Add comment.
4830 2015-05-05  Florian Weimer  <fweimer@redhat.com>
4832         * sysdeps/unix/sysv/linux/i386/Makefile
4833         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
4834         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
4835         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
4836         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
4837         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
4838         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
4839         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
4841 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
4843         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
4844         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
4845         tgamma.
4846         * math/auto-libm-test-out: Regenerated.
4847         * sysdeps/i386/fpu/libm-test-ulps: Update.
4848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4850 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
4852         * math/auto-libm-test-in: Add more tests of tgamma.
4853         * math/auto-libm-test-out: Regenerated.
4854         * sysdeps/i386/fpu/libm-test-ulps: Update.
4855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4857         * math/auto-libm-test-in: Add more tests of tanh.
4858         * math/auto-libm-test-out: Regenerated.
4859         * sysdeps/i386/fpu/libm-test-ulps: Update.
4860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4862         * math/auto-libm-test-in: Add more tests of tan.
4863         * math/auto-libm-test-out: Regenerated.
4864         * sysdeps/i386/fpu/libm-test-ulps: Update.
4865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4867         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
4868         * math/auto-libm-test-out: Regenerated.
4869         * sysdeps/i386/fpu/libm-test-ulps: Update.
4870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4872         * math/auto-libm-test-in: Add another test of pow.
4873         * math/auto-libm-test-out: Regenerated.
4874         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4876         * math/auto-libm-test-in: Add more tests of lgamma.
4877         * math/auto-libm-test-out: Regenerated.
4878         * sysdeps/i386/fpu/libm-test-ulps: Update.
4879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4881         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
4882         log1p.
4883         * math/auto-libm-test-out: Regenerated.
4884         * sysdeps/i386/fpu/libm-test-ulps: Update.
4885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4887 2015-05-01  Mark Wielaard  <mjw@redhat.com>
4889         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
4890         Elf64_Chdr structs and ELFCOMPRESS constants.
4892 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
4894         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
4895         expm1.
4896         * math/auto-libm-test-out: Regenerated.
4897         * sysdeps/i386/fpu/libm-test-ulps: Update.
4898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4900         * math/auto-libm-test-in: Add more tests of erf and erfc.
4901         * math/auto-libm-test-out: Regenerated.
4902         * sysdeps/i386/fpu/libm-test-ulps: Update.
4903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4905 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4907         * config.h.in (HAVE_AARCH64_BE): Add.
4909 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
4911         * math/auto-libm-test-in: Add more tests of csqrt.
4912         * math/auto-libm-test-out: Regenerated.
4913         * sysdeps/i386/fpu/libm-test-ulps: Update.
4914         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4916         * math/auto-libm-test-in: Add more tests of cosh and sinh.
4917         * math/auto-libm-test-out: Regenerated.
4918         * sysdeps/i386/fpu/libm-test-ulps: Update.
4919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4921         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
4923 2015-04-29  Roland McGrath  <roland@hack.frob.com>
4925         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
4926         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
4928         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
4929         (euidaccess, eaccess): Define as weak aliases.
4931         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
4932         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
4933         but __suseconds_t is often 'long int' so some sources assume that
4934         type is being used (e.g. they use %ld to print tv_usec).
4936 2015-04-29  Florian Weimer  <fweimer@redhat.com>
4938         [BZ #18007]
4939         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
4940         (CVE-2014-8121)
4941         * nss/tst-nss-getpwent.c: New file.
4942         * nss/Makefile (tests): Add new test.
4944 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
4946         [BZ #18346]
4947         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
4948         exponents less than 48 as cases where high part of mantissa needs
4949         examining to determine whether argument is integral.
4950         * math/libm-test.inc (round_test_data): Add more tests.
4952 2015-04-28  Mark Wielaard  <mjw@redhat.com>
4954         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
4956 2015-04-27  David S. Miller  <davem@davemloft.net>
4958         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
4959         __tls_get_addr.
4960         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4962 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
4964         [BZ#18333]
4965         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
4967 2015-04-27  Florian Weimer  <fweimer@redhat.com>
4969         [BZ#18333]
4970         * time/tzset.c (parse_tzname): Return error on memory allocation
4971         failure.
4972         * test-skeleton.c (struct temp_name_list): Change type of name
4973         member to non-const.
4974         (add_temp_file): Create a copy of the file name.
4975         (delete_temp_files): Deallocate memory.
4976         (create_temp_file): Add comment.
4978 2015-04-24  Florian Weimer  <fweimer@redhat.com>
4980         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
4981         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
4983 2015-04-24  Roland McGrath  <roland@hack.frob.com>
4985         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
4986         * sysdeps/arm/configure: Regenerated.
4988 2015-04-24  Florian Weimer  <fweimer@redhat.com>
4990         [BZ #17715]
4991         * time/tzfile.c (__tzfile_read): Check for large values of
4992         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
4993         * time/tzset.c (__tzstring_len): New function, based on the old
4994         __tzstring function.
4995         (__tzstring): Call __tzstring_len.
4996         (parse_tzname): New helper function extracted from
4997         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
4998         the input string.
4999         (parse_offset): New helper function extracted from
5000         __tzset_parse_tz.  Replace switch with fallthrough with
5001         initialization before sscanf.
5002         (parse_rule): Likewise.
5003         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
5004         new-style function definition.
5005         * timezone/Makefile (tests): Add tst-tzset.
5006         (tst-tzset.out): Dependencies on time zone files.
5007         (tst-tzset-ENV): Set TZDIR.
5008         (testdata/XT%): Copy crafted time zone files.
5009         * timezone/README: Mention crafted time zone files.
5010         * timezone/testdata/XT1, timezone/testdata/XT2,
5011         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
5012         files.
5013         * timezone/tst-tzset.c: New test.
5015 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5017         * Makeconfig (+gccwarn): Remove -Winline.
5019 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5021         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
5023 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5025         * NEWS: Mention sysconf() cache information support for s390.
5026         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
5028 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
5030         * math/k_casinh.c (__kernel_casinh): Use __copysign.
5031         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
5032         (__nearbyint): Likewise.
5033         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
5034         (copysignl): Likewise.
5036 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
5038         [BZ #18287]
5039         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
5040         based on padding.  (CVE-2015-1781)
5042 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5044         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
5045         libc-vdso.h.
5046         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
5047         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
5048         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
5049         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
5050         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
5051         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
5052         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
5053         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5054         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
5055         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
5056         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
5057         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
5058         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
5059         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
5060         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
5061         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
5062         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
5063         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
5064         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
5065         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
5066         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
5067         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
5068         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
5070 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
5072         * stdlib/setenv.c (__add_to_environ):
5073         Dump core quickly if setenv (..., NULL, ...) is called.
5074         This time, do it the right way, and pacify GCC with a pragma.
5076 2015-04-17  Roland McGrath  <roland@hack.frob.com>
5078         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
5079         IMAP->l_prev cannot be null, and #if out the code for the contrary
5080         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
5081         believe that NS (&_dl_ns[NSID]) could point outside the array.
5083         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
5084         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
5085         before using NSID as an index.
5087 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
5089         [BZ #17825]
5090         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
5091         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
5092         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5094 2015-04-17  Roland McGrath  <roland@hack.frob.com>
5096         Add preliminary port to Google Native Client on ARM.
5097         * abi-tags (.*-.*-nacl.*): New entry.
5098         * sysdeps/arm/nacl: New directory.
5099         * sysdeps/nacl: New directory.
5101 2015-04-16  David S. Miller  <davem@davemloft.net>
5103         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
5104         lowlevellock-futex.h
5106 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
5108         * sysdeps/tile/configure.ac: New file.
5109         * sysdeps/tile/configure: Regenerated.
5111 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5113         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
5114         conditionals for weak_alias and libc_hidden_weak.
5115         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
5116         libc_hidden_weak and weak_alias.
5117         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
5118         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
5119         and weak_alias for static one.
5121 2015-04-15  David S. Miller  <davem@davemloft.net>
5123         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
5125 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5127         [BZ #18206]
5128         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
5129           Use signed comparision instead of substraction to avoid
5130           overflow bug.
5131         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
5132           Take the sign of ret.
5133         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
5134           Do not expect precise return values. Only the sign matters.
5135         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
5136         * wcsmbs/test-wcsncmp.c: New File.
5137         * string/test-strncmp.c: Add wcsncmp support.
5139 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5141         [BZ #6792]
5142         * math/w_log1p.c: New file.
5143         * math/w_log1pf.c: Likewise.
5144         * math/w_log1pl.c: Likewise.
5145         * math/Makefile (libm-calls): Add w_log1p.
5146         * math/s_log1pl.c (log1pl): Remove weak_alias.
5147         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
5148         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
5149         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
5150         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
5151         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
5152         [NO_LONG_DOUBLE] (log1pl): Likewise.
5153         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
5154         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
5155         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
5156         (log1p): Remove long_double_symbol.
5157         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
5158         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
5159         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
5160         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
5161         remove weak_alias for corresponding log1p function.
5162         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
5163         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
5164         * sysdeps/ia64/fpu/w_log1p.c: New file.
5165         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
5166         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
5167         * math/libm-test.inc (log1p_test_data): Add errno expectations.
5169 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
5171         [BZ #18247]
5172         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
5173         decimal exponent by 1.
5174         * stdlib/tst-strtod-round-data: Add more tests.
5175         * stdlib/tst-strtod-round.c (tests): Regenerated.
5177 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
5179         * math/auto-libm-test-in: Add more tests of clog and clog10.
5180         * math/auto-libm-test-out: Regenerated.
5181         * sysdeps/i386/fpu/libm-test-ulps: Update.
5182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5184 2015-04-09  Roland McGrath  <roland@hack.frob.com>
5186         * Makeconfig (module-cppflags): Exclude all .v.i files.
5187         (skip-module-cppflags): Variable removed.
5189         * configure.ac (libc_config_ok): Initialize before reading
5190         preconfigure scripts, not after.
5191         * configure: Regenerated.
5193         * test-skeleton.c (TIMEOUT): Move #define to top level.
5194         (main): Grok environment variable TEST_DIRECT.  If set, print
5195         test expectation details into that file and then behave as if
5196         given --direct.
5198 2015-04-09  Florian Weimer  <fweimer@redhat.com>
5200         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
5201         warning on 32-bit.
5203 2015-04-08  David S. Miller  <davem@davemloft.net>
5205         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5207 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
5209         * math/auto-libm-test-in: Add more tests of atanh.
5210         * math/auto-libm-test-out: Regenerated.
5211         * sysdeps/i386/fpu/libm-test-ulps: Update.
5212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5214         * math/auto-libm-test-in: Add more tests of atan.
5215         * math/auto-libm-test-out: Regenerated.
5216         * sysdeps/i386/fpu/libm-test-ulps: Update.
5217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5219 2015-04-08  Florian Weimer  <fweimer@redhat.com>
5221         * elf/pldd.c (main): Rewrite to use struct
5222         scratch_buffer instead of extend_alloca.
5223         * elf/pldd-xx.c (find_maps): Likewise.
5224         * grp/initgroups.c: Include <scratch_buffer.h> instead of
5225         <alloca.h>.
5226         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
5227         scratch_buffer instead of extend_alloca.
5228         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
5229         grp/compat-initgroups.c.
5230         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
5231         Rewrite to use struct scratch_buffer instead of extend_alloca.
5232         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
5233         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5235 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
5237         * math/auto-libm-test-in: Add more tests of cbrt.
5238         * math/auto-libm-test-out: Regenerated.
5239         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5241         * math/auto-libm-test-in: Add more tests of cabs.
5242         * math/auto-libm-test-out: Regenerated.
5243         * sysdeps/i386/fpu/libm-test-ulps: Update.
5244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5246         [BZ #18210]
5247         [BZ #18211]
5248         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
5249         (__ieee754_atan2): Set FE_TONEAREST mode for internal
5250         computations.
5251         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
5252         clog10.
5253         * math/auto-libm-test-out: Regenerated.
5254         * sysdeps/i386/fpu/libm-test-ulps: Update.
5255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5257         [BZ #18197]
5258         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
5259         (atan): Set FE_TONEAREST mode for internal computations.
5260         * math/auto-libm-test-in: Add more tests of atan.
5261         * math/auto-libm-test-out: Regenerated.
5263 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
5265         [BZ #17930]
5266         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
5268 2015-04-07  Florian Weimer  <fweimer@redhat.com>
5270         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
5272 2015-04-07  Florian Weimer  <fweimer@redhat.com>
5274         * include/scratch_buffer.h: New file.
5275         * malloc/scratch_buffer_grow.c: Likewise.
5276         * malloc/scratch_buffer_grow_preserve.c: Likewise.
5277         * malloc/scratch_buffer_set_array_size.c: Likewise.
5278         * malloc/tst-scratch_buffer.c: Likewise.
5279         * malloc/Makefile (routines): Add scratch_buffer_grow.
5280         (tests): Add test case.
5281         * malloc/Versions (GLIBC_PRIVATE): Export
5282         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
5283         __libc_scratch_buffer_set_array_size.
5285 2015-04-06  Richard Henderson  <rth@redhat.com>
5287         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
5288         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5290         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
5291         unsigned int before printing.
5293 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5295         [BZ #17596]
5296         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
5297         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5299 2015-04-02  Florian Weimer  <fweimer@redhat.com>
5301         * include/libc-internal.h (libc_max_align_t): Define.
5303 2015-04-02  Andreas Schwab  <schwab@suse.de>
5305         [BZ #16850]
5306         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
5308 2015-04-02  Mel Gorman  <mgorman@suse.de>
5310         [BZ #17195]
5311         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
5312         as well as the main arena.
5314 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5316         [BZ #18185]
5317         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
5318         sharing L2 cache to 2 for Silvermont/Knights Landing.
5320 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5322         [BZ #17711]
5323         * config.make.in (have-protected-data): New.
5324         * configure.ac: Check linker support for protected data symbol.
5325         * configure: Regenerated.
5326         * elf/Makefile (modules-names): Add tst-protected1moda and
5327         tst-protected1modb if $(have-protected-data) is yes.
5328         (tests): Add tst-protected1a and tst-protected1b if
5329         $(have-protected-data) is yes.
5330         ($(objpfx)tst-protected1a): New.
5331         ($(objpfx)tst-protected1b): Likewise.
5332         (tst-protected1modb.so-no-z-defs): Likewise.
5333         * elf/tst-protected1a.c: New file.
5334         * elf/tst-protected1b.c: Likewise.
5335         * elf/tst-protected1mod.h: Likewise.
5336         * elf/tst-protected1moda.c: Likewise.
5337         * elf/tst-protected1modb.c: Likewise.
5339 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5341         [BZ #17711]
5342         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
5343         indicates it is called from do_lookup_x on relocation against
5344         protected data, skip the data definion in the executable from
5345         copy reloc.
5346         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
5347         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
5348         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
5349         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
5350         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
5351         otherwise to 0.
5352         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
5353         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
5354         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
5355         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
5356         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
5357         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
5359 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
5361         * sysdeps/nptl/pthread.h: Remove duplicate definition of
5362         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
5364 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
5366         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
5367         THREAD_SETMEM_NC.
5368         * sysdeps/x86_64/nptl/tls.h: Ditto.
5370 2015-03-27  Roland McGrath  <roland@hack.frob.com>
5372         * dlfcn/tststatic.c (main): Converted to ...
5373         (do_test): ... this.
5374         (TEST_FUNCTION): New macro.
5375         Include test-skeleton.c.
5377 2015-03-26  Alan Modra  <amodra@gmail.com>
5379         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
5380         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
5381         zero for undefined weak.
5382         (elf_machine_plt_conflict): Similarly.
5384 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
5386         * math/auto-libm-test-in: Add more tests of acosh, asinh and
5387         atanh.
5388         * math/auto-libm-test-out: Regenerated.
5389         * sysdeps/i386/fpu/libm-test-ulps: Update.
5390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5392         * math/auto-libm-test-in: Add another test of asin.
5393         * math/auto-libm-test-out: Regenerated.
5394         * sysdeps/i386/fpu/libm-test-ulps: Update.
5395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5397         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
5398         Remove macro.
5399         (LLL_EBX_REG): Likewise.
5400         (LLL_ENTER_KERNEL): Likewise.
5402         * math/auto-libm-test-in: Add more tests of asin.
5403         * math/auto-libm-test-out: Regenerated.
5404         * sysdeps/i386/fpu/libm-test-ulps: Update.
5405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5407         [BZ #18138]
5408         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
5409         libc_do_syscall_args): New structure.
5410         (INTERNAL_SYSCALL_MAIN_0): New macro.
5411         (INTERNAL_SYSCALL_MAIN_1): Likewise.
5412         (INTERNAL_SYSCALL_MAIN_2): Likewise.
5413         (INTERNAL_SYSCALL_MAIN_3): Likewise.
5414         (INTERNAL_SYSCALL_MAIN_4): Likewise.
5415         (INTERNAL_SYSCALL_MAIN_5): Likewise.
5416         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
5417         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
5418         Replace conditional definitions by conditional definitions of ....
5419         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
5420         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
5421         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
5422         (libpthread-sysdep_routines): Add libc-do-syscall.
5423         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
5424         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
5425         to __NR_futex not 240.
5427 2015-03-25  Alan Modra  <amodra@gmail.com>
5429         * NEWS: Advertise TLS optimization.
5430         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
5431         (DT_PPC_NUM): Increment.
5432         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
5433         (CHECK_STATIC_TLS): Use here.
5434         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
5435         TLS descriptors.
5436         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5437         * sysdeps/powerpc/dl-tls.c: New file.
5438         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
5439         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
5440         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
5441         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
5442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
5443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
5444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
5446 2015-03-25  Alan Modra  <amodra@gmail.com>
5448         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
5449         for overlapping .opd entries" to "support...".
5450         * sysdeps/powerpc/powerpc64/configure: Regenerate
5452 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
5454         * math/auto-libm-test-in: Add more tests of acos.
5455         * math/auto-libm-test-out: Regenerated.
5456         * sysdeps/i386/fpu/libm-test-ulps: Update.
5457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5459         * math/auto-libm-test-in: Add more tests of expm1.
5460         * math/auto-libm-test-out: Regenerated.
5461         * sysdeps/i386/fpu/libm-test-ulps: Update.
5462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5464 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
5466         * math/auto-libm-test-in: Add more tests of cosh and sinh.
5467         * math/auto-libm-test-out: Regenerated.
5468         * sysdeps/i386/fpu/libm-test-ulps: Update.
5469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5471         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5474         * math/auto-libm-test-in: Add more tests of log2.
5475         * math/auto-libm-test-out: Regenerated.
5476         * sysdeps/i386/fpu/libm-test-ulps: Update.
5477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5479 2015-03-23  Roland McGrath  <roland@hack.frob.com>
5481         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
5482         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
5483         _IO_IS_APPENDING bit in READ_WRITE instead.
5485 2015-03-23  Florian Weimer  <fweimer@redhat.com>
5487         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
5488         (__determine_cpumask_size): Replace extend_alloca with a
5489         variable-length array.  Do not treat res == 0 as an error.
5491 2015-03-23  Florian Weimer  <fweimer@redhat.com>
5493         [BZ #18100]
5494         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
5495         and integer overflow.
5496         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
5497         (main): Add integer overflow tests.
5498         * manual/pattern.texi (Calling Wordexp): Document additional use
5499         for WRDE_SYNTAX.
5501 2015-03-23  Alan Modra  <amodra@gmail.com>
5503         * config.h.in: Remove HAVE_ASM_PPC_REL16.
5504         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
5505         and false branch of conditional.
5506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5507         Likewise.
5509 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
5511         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
5512         libc-modules.h
5513         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
5514         unused declaration of _hurd_intr_rpc_msg_in_trap.
5515         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
5516         defined instead of whether it is non-zero.
5517         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
5518         input constraint instead of both input and output constraint.  Use ecx
5519         clobber instead of %ecx.
5520         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
5521         mutex_unlock): Use a statement expression instead of an expression list.
5522         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
5523         type to vm_size_t instead of vm_address_t.
5524         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
5525         defined instead of whether it is non-zero.
5526         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
5527         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
5528         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
5529         comparisons with mapaddr.
5530         * nscd/nscd-client.h: Include <time.h>.
5531         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
5532         9th parameter to __vm_region instead of int.
5533         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
5534         * scripts/check-local-headers.sh (exclude): Add device/,
5535         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
5536         cthreads.h.
5538 2015-03-19  Roland McGrath  <roland@hack.frob.com>
5540         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
5541         to account for alignment padding.
5542         * sysdeps/arm/memmove.S: Likewise.
5544 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
5546         * sysdeps/unix/sysv/linux/generic/README: New file.
5548 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
5550         [BZ #18138]
5551         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
5552         (futex_abstimed_wait)
5553         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
5554         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
5555         of lll_futex_timed_wait.
5557 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
5559         [BZ #17542]
5560         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
5562 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
5564         [BZ #17090]
5565         [BZ #17620]
5566         [BZ #17621]
5567         [BZ #17628]
5568         * NEWS: Update.
5569         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
5570         entries with Static TLS too.  Skip entries past the end of the
5571         allocated DTV, from Alan Modra.
5572         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
5573         Static TLS DTV entry set up from...
5574         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
5575         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
5576         * nptl/allocatestack.c (init_one_static_tls): ... and here...
5577         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
5578         for Static TLS.
5579         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
5580         that the slot we find is associated with the given map before
5581         using its generation count.
5582         * nptl_db/db_info.c: Include ldsodefs.h.
5583         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
5584         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
5585         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
5586         (link_map::l_tls_offset): New struct field.
5587         (dtv_t::counter): Likewise.
5588         (rtld_global): New struct.
5589         (_rtld_global): New rtld variable.
5590         (dl_tls_dtv_slotinfo_list): New rtld global field.
5591         (dtv_slotinfo_list): New struct.
5592         (dtv_slotinfo): Likewise.
5593         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
5594         (td_lookup): Rename to...
5595         (td_mod_lookup): ... this.  Use new mod parameter instead of
5596         LIBPTHREAD_SO.
5597         * nptl_db/td_thr_tlsbase.c: Include link.h.
5598         (dtv_slotinfo_list, dtv_slotinfo): New functions.
5599         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
5600         addresses even if the DTV is out of date or missing them.
5601         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
5602         index zero-length arrays.
5603         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
5604         (td_lookup): Make it a macro implemented in terms of...
5605         (td_mod_lookup): ... this declaration.
5606         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
5607         (DB_MAIN_VARIABLE): Likewise.
5609 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
5611         [BZ #18134]
5612         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
5614 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
5616         * stdlib/setenv.c (__add_to_environ): Revert previous change.
5618 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
5620         [BZ #18128]
5621         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
5622         (atomic_add, atomic_increment_and_test)
5623         (atomic_decrement_and_test): Fix 64-bit arithmetic.
5625 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
5627         * stdlib/setenv.c (__add_to_environ):
5628         Dump core quickly if setenv (..., NULL, ...) is called.
5630 2015-03-13  Roland McGrath  <roland@hack.frob.com>
5632         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
5633         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
5634         all the necessary asm magic in one place.
5635         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
5636         using those.
5638 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
5640         [BZ #14906]
5641         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
5642         traced file mtime. Use consistent log message.
5643         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
5644         (register_traced_file): Call install_watches. Always set mtime.
5645         (invalidate_cache): Iterate over all trace files. Call install_watches.
5646         (inotify_check_files): Don't inline. Handle watching parent
5647         directories and configuration file movement in and out.
5648         (handle_inotify_events): New function.
5649         (main_loop_poll): Call handle_inotify_events.
5650         (main_loop_epoll): Likewise.
5651         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
5652         (struct traced_file): Use array of inotify fds. Add parent directory,
5653         and basename.
5654         (struct database_dyn): Remove unused file_mtime.
5655         (init_traced_file): New inline function.
5656         (define_traced_file): New macro.
5657         * nss/nss_db/db-init.c: Use define_traced_file.
5658         (_nss_db_init): Use init_traced_file.
5659         * nss/nss_files/files-init.c: Use define_traced_file.
5660         (_nss_files_init): Use init_traced_file.
5662 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
5664         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
5665         [_LIBC]: Do not include <stdlib.h>.
5666         [!_LIBC] (abort): Remove declaration.
5667         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
5668         _FP_STATIC_ASSERT instead of conditionally calling abort.
5669         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
5670         (_FP_EXTEND_CNAN): Likewise.
5671         (FP_TRUNC): Likewise.
5672         (__FP_CLZ): Likewise.
5673         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
5675 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
5677         * manual/string.texi (XPG basename): Fix prototype.
5679 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
5681         [BZ #18080]
5682         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
5683         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
5684         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
5685         (__setcontext): Likewise.
5686         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
5687         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
5688         Call rt_sigprocmask syscall one time to set new signal mask
5689         and retrieve the current signal mask instead of two calls.
5690         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
5691         (__swapcontext): Likewise.
5692         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
5693         * stdlib/tst-setcontext2.c: New file.
5695 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
5697         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5699 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
5701         [BZ #18093]
5702         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
5703         the wrong size.
5705 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
5707         [BZ #18043]
5708         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
5710 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5712         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
5713         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
5714         Remove define.
5715         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
5716         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
5717         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
5718         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
5719         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
5720         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
5721         define.
5722         * nptl_db/td_symbol_list.c (td_lookup): Remove
5723         HAVE_ASM_GLOBAL_DOT_NAME code.
5724         * sysdeps/powerpc/powerpc64/configure.ac: Remove
5725         HAVE_ASM_GLOBAL_DOT_NAME check.
5726         * sysdeps/powerpc/powerpc64/configure: Regenerate.
5727         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
5728         (DOT_LABEL): Remove define.
5729         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
5730         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
5731         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
5732         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
5733         (__TLS_GET_ADDR): Likewise.
5734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
5735         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
5737 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
5739         [BZ #18111]
5740         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
5741         (_FPU_SETCW): Initialize cw from fpsr before storing.
5742         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
5743         (fesetexceptflag): Rewrite using fpu_control.h.
5744         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
5746 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
5748         [BZ #18110]
5749         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
5750         asms.
5751         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
5753 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
5755         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
5756         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
5757         abort.
5758         (_FP_FMA): Likewise.
5759         (_FP_DIV): Likewise.
5761 2015-03-10  Roland McGrath  <roland@hack.frob.com>
5763         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
5764         with 0 in that case.
5765         * Makefile (summarize-tests): New canned sequence, factored out of
5766         commands for targets tests and xtests.  Display summary lines that
5767         don't start with PASS: or XFAIL: rather than ones that do start with
5768         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
5769         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
5770         do start with ERROR: or FAIL:.
5771         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
5772         (except for [$(build-shared) = yes]).
5773         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
5774         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
5775         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
5776         * nptl/Makefile: Revert 2015-03-04 changes.
5777         [$(CXX) empty] (tests-unsupported): New variable.
5778         * debug/Makefile: Likewise.
5780         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
5781         gnulib file.  Replace __attribute with __attribute__ throughout.
5783 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
5785         * sysdeps/hppa/fpu/libm-test-ulps: Update.
5787 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
5789         [BZ #18104]
5790         * math/auto-libm-test-in: Add another test of pow.
5791         * math/auto-libm-test-out: Regenerated.
5793 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5795         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
5796         $(config-cflags-nofma).
5798 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
5800         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
5801         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
5802         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
5803         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
5804         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
5805         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
5806         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
5807         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
5808         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
5809         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
5810         Add comment on closing #endif.
5812 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5814         * posix/wordexp.c (CHAR_IN_SET): New macro.
5815         (parse_param): Use it.
5817 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5819         * sysdeps/powerpc/fpu/libm-test-ulps: update.
5821 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5823         [BZ #18043]
5824         * posix/wordexp.c (parse_param): Fix buffer overflow.
5825         * posix/wordexp-test.c (test_case): Add test case.
5827 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5829         [BZ #18042]
5830         * posix/wordexp.c (parse_backtick): Fix off-by-one.
5831         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
5833 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5835         [BZ #18043]
5836         * posix/wordexp-test.c (test_case): Add test for BZ #18043
5837         (do_bz18043): Delete.
5838         (at_page_end): New.
5839         (testit): Refactor to have words at the edge of unreadable page.
5841 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
5843         [BZ #16734]
5844         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
5845         Cleanup read-only streams as well.
5846         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
5848 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5850         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
5851         <bits/libc-lockP.h>
5853 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
5855         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
5856         on [__KERNEL__].
5857         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
5858         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
5859         * soft-fp/op-common.h (_FP_DECL): Likewise.
5861 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
5863         * elf/ifuncdep2.c (global): Replace
5864         __attribute__((visibility("protected"))) with
5865         asm (".protected global").
5866         * elf/ifuncmod1.c (global): Likewise.
5867         * elf/ifuncmod5.c (global): Likewise.
5869 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
5871         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
5872         <asm/sfp-machine.h> instead of <sfp-machine.h>.
5874 2015-03-06  Roland McGrath  <roland@hack.frob.com>
5876         * manual/install.texi (Configuring and compiling):
5877         Document test-wrapper-env-only.
5878         * INSTALL: Regenerated.
5880 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
5882         [BZ #18043]
5883         * posix/wordexp.c (parse_param): Fix buffer overflow.
5884         * posix/wordexp-test.c (do_bz18043): Add test case.
5886 2015-03-06  Vincent Bernat  <vincent@bernat.im>
5888         * time/tst-strptime2.c (do_test): Ensure failing tests are
5889         reported correctly.
5890         * time/tst-strptime3.c (do_test): Likewise.
5892 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
5894         Fix aio_error thread-safety.
5895         * sysdeps/pthread/aio_error.c: New file
5896         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
5897         synchronization.
5899 2015-03-06  Florian Weimer  <fweimer@redhat.com>
5901         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
5902         (group_number, vfprintf): Use it.
5903         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
5904         (JUMP, REF): Use it.
5905         (WORK_BUFFER_SIZE): New enum constant.
5906         (process_arg, vfprintf): Use it.
5908 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
5910         * manual/errno.texi (Error Messages): Complete example function
5911         by adding missing #define.
5912         (program_invocation_name): Add statement indicating GNU
5913         extension and reference which header file declares the variable.
5914         (program_invocation_short_name): Likewise.
5916 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
5918         * manual/errno.texi (Error Messages): Delete strerror ISO C89
5919         compatibility note.
5921 2015-03-05  Roland McGrath  <roland@hack.frob.com>
5923         * Makeconfig (test-wrapper-env-only): New variable.
5924         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
5925         then use that with $(test-wrapper-env-only) rather than using
5926         $(test-wrapper-env) $(run-program-env) $($*-ENV).
5928 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
5930         [BZ #18082]
5931         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
5932         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
5933         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
5934         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
5935         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
5936         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
5937         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
5938         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
5939         Likewise.
5940         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
5941         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
5942         Likewise.
5943         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
5944         Likewise.
5945         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
5946         Likewise.
5947         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
5948         Likewise.
5949         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
5950         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
5951         Likewise.
5952         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
5953         Likewise.
5954         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
5955         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
5957 2015-03-04  Roland McGrath  <roland@hack.frob.com>
5959         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
5960         (ETH_ALEN): New macro.
5961         (struct ether_addr): Use it for length of ether_addr_octet.
5963         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
5964         (setdb): Don't call __nss_configure_lookup for "rpc".
5965         (do_test): Don't call test_rpc.
5966         (output_rpcent, test_rpc): Functions moved ...
5967         * sunrpc/test-rpcent.c: ... to this new file.
5968         * sunrpc/Makefile (tests): Add it.
5970         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
5971         __xpg_sigpause.
5972         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
5973         * nptl/tst-signal6.c: Likewise.
5974         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
5975         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
5977         * configure.ac (libc_cv_cxx_link_ok): New check.
5978         Reset CXX to empty if it fails to link.
5979         * configure: Regenerated.
5980         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
5981         bug-atexit3-lib only if $(CXX) is nonempty.
5982         * nptl/Makefile (tests): Likewise for tst-cancel24.
5983         (tests, tests-static): Likewise for tst-cancel24-static.
5984         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
5985         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
5986         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
5987         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
5989 2015-03-04  Andreas Schwab  <schwab@suse.de>
5991         [BZ #17631]
5992         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
5993         for non-GCC compilers.
5994         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5995         Likewise.
5997 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5999         [BZ #17776]
6000         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
6001         integer before bitwise and assembly operations.
6002         (feclearexcept): Likewise.
6003         * math/test-fenvinline.c: New file.
6004         * math/Makefile: Add test-fenvinline test.
6006 2015-03-03  Alan Modra  <amodra@gmail.com>
6008         [BZ #16512]
6009         * scripts/localplt.awk: Strip off symbol version.
6010         * NEWS: Mention bug fix.
6012 2015-03-02  Roland McGrath  <roland@hack.frob.com>
6014         * sysdeps/pthread/timer_routines.c
6015         (timer_free_list, thread_free_list, thread_active_list): Make static.
6017 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
6019         [BZ #17779]
6020         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6021         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6022         Undefine.
6023         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6024         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6025         Likewise.
6026         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6027         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6028         Likewise.
6030 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
6032         [BZ #18036]
6033         * posix/fnmatch_loop.c (END): Detect invalid pattern.
6034         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
6036 2015-03-02  Andreas Schwab  <schwab@suse.de>
6038         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
6039         variable name.
6041 2015-03-02  Florian Weimer  <fweimer@redhat.com>
6043         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
6044         Return error status.
6046 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
6048         [BZ #15969]
6049         * locale/findlocale.c (_nl_find_locale): Introduce const
6050         version of loc_name and drop unsafe type casts.
6052 2015-02-27  Roland McGrath  <roland@hack.frob.com>
6054         * dlfcn/tststatic2.c (main): Converted to ...
6055         (do_test): ... this.
6056         (TEST_FUNCTION): New macro.
6057         Include test-skeleton.c.
6059 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
6061         [BZ #17711]
6062         * elf/Makefile (tests): Add vismain only if PIE is enabled.
6063         (tests-pie): Add vismain.
6064         (CFLAGS-vismain.c): New.
6065         * elf/vismain.c: Add comments for PIE requirement.
6067 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
6069         [BZ #18046]
6070         [BZ #18047]
6071         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
6072         0x1p-56L as threshold for just returning the argument.
6073         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
6074         0x1p-32L as threshold for just returning the argument.
6075         * math/auto-libm-test-in: Add more tests of atanh.
6076         * math/auto-libm-test-out: Regenerated.
6077         * sysdeps/i386/fpu/libm-test-ulps: Update.
6078         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
6080 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
6082         * string/bcopy.c (bcopy): Call memmove for performance.
6084 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
6086         * string/bzero.c (__bzero): Call memset for performance.
6088 2015-02-27  John David Anglin  <dave.anglin@bell.net>
6090         [BZ #18068]
6091         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
6092         to 00100000.
6094 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
6096         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
6098 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
6100         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
6101         (__kernel_standard): Use CSTR macro when setting exc.name.
6102         * sysdeps/ieee754/Makefile [$(subdir) = math]
6103         (CFLAGS-k_standard.c): Remove variable.
6105         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
6106         setting p and q from "else if" to "else".
6107         (qzero): Likewise.
6108         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
6109         (qone): Likewise.
6110         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
6111         (qzerof): Likewise.
6112         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
6113         (qonef): Likewise.
6114         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
6115         (qzero): Likewise.
6116         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
6117         (qone): Likewise.
6119         [BZ #18038]
6120         [BZ #18039]
6121         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
6122         return pi/2 for arguments below 0x1p-113L.
6123         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
6124         return pi/2 for arguments below 0x1p-106L.
6125         * math/auto-libm-test-in: Add more tests of acos.
6126         * math/auto-libm-test-out: Regenerated.
6128         [BZ #16351]
6129         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
6130         (MO): New macro.
6131         (__ieee754_asin): Force underflow exception for results with small
6132         absolute value.
6133         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
6134         (MO): New macro.
6135         (__ieee754_asinf): Force underflow exception for results with
6136         small absolute value.
6137         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
6138         (__ieee754_asin): Force underflow exception for results with small
6139         absolute value.
6140         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
6141         (__ieee754_asinf): Force underflow exception for results with
6142         small absolute value.
6143         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
6144         (__ieee754_asinl): Force underflow exception for results with
6145         small absolute value.
6146         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
6147         (__ieee754_asinl): Force underflow exception for results with
6148         small absolute value.
6149         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
6150         (__ieee754_asinl): Force underflow exception for results with
6151         small absolute value.
6152         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
6153         Include <math.h>.
6154         * math/auto-libm-test-in: Do not mark underflow exceptions as
6155         possibly missing for bug 16351.
6156         * math/auto-libm-test-out: Regenerated.
6158         [BZ #18030]
6159         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
6160         of power of 2 down when low part has opposite sign.
6161         * math/libm-test.inc (logb_test_data): Add more tests.
6163 2015-02-26  Andreas Schwab  <schwab@suse.de>
6165         [BZ #18032]
6166         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
6167         over collating symbol inside a bracket expression.  Minor cleanup.
6168         * posix/tst-fnmatch3.c (do_test): Add test case.
6170 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
6172         [BZ #18029]
6173         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
6174         Adjust exponent of power of 2 down when low part has opposite
6175         sign.
6176         * math/libm-test.inc (ilogb_test_data): Add more tests.
6178 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
6180         [BZ #15969]
6181         * locale/findlocale.c (_nl_find_locale): Fix constness error in
6182         the previous change.
6184         [BZ #15969]
6185         * locale/findlocale.c (_nl_find_locale): Retry archive search
6186         after alias expansion.
6188 2015-02-25  Roland McGrath  <roland@hack.frob.com>
6190         * iconv/tst-iconv3.c (main): Converted to ...
6191         (do_test): ... this.
6192         (TEST_FUNCTION): New macro.
6193         Include test-skeleton.c.
6195         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
6196         (convert): Make function static.
6197         (test_unalign): Likewise.  Add const to argument pointee types.
6198         (main): Replace with static function do_test.
6199         Print "Succeeded." only if RET is zero.
6200         (TEST_FUNCTION): New macro.
6201         Include test-skeleton.c.
6203         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
6204         returns a null pointer.
6206 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6208         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
6209         to __memcpy_ppc only for static builds.
6211 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
6213         [BZ #18020]
6214         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
6215         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
6216         * math/auto-libm-test-in: Add more tests of asinh.
6217         * math/auto-libm-test-out: Regenerated.
6218         * sysdeps/i386/fpu/libm-test-ulps: Update.
6219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6221 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
6223         [BZ #15850]
6224         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
6225         and ip6_mtuinfo definitions here.
6226         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
6227         in this define too.  Update comment.
6229 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
6231         * elf/sprof.c (load_shobj): Tweak error message to match others.
6233 2015-02-24  Kevin Easton  <kevin@guarana.org>
6235         [BZ #16145] (partial fix)
6236         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
6237         to reduce lock contention.
6239 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
6241         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
6242         (struct timex): Update time comment.
6243         (ADJ_SETOFFSET): Define.
6245 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
6247         [BZ #18019]
6248         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6249         2**56 not 2**28 as threshold for log (2x) formula.
6250         * math/auto-libm-test-in: Add more tests of acosh.
6251         * math/auto-libm-test-out: Regenerated.
6252         * sysdeps/i386/fpu/libm-test-ulps: Update.
6253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6255 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
6257         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
6258         parenthesis around the buf assignment.
6259         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
6261 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
6263         [BZ #16783]
6264         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
6265         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
6266         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
6267         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6268         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6269         * math/libm-test.inc (scalb_test_data): Add more tests.
6271 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6273         [BZ #17916]
6274         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
6275         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
6277 2015-02-24  Eric Rannaud  <e@nanocritical.com>
6279         [BZ #17523]
6280         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
6281         * io/bits/fcntl2.h (open): Use it.
6282         (openat): Likewise.
6283         * io/open.c (__libc_open): Likewise.
6284         * io/open64.c (__libc_open64): Likewise.
6285         * io/open64_2.c (__open64_2): Likewise.
6286         * io/open_2.c (__open_2): Likewise.
6287         * io/openat.c (__openat): Likewise.
6288         * io/openat64.c (__openat64): Likewise.
6289         * io/openat64_2.c (__openat64_2): Likewise.
6290         * io/openat_2.c (__openat_2): Likewise.
6291         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
6292         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
6293         * sysdeps/posix/open64.c (__libc_open64): Likewise.
6294         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
6295         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
6296         (__open_nocancel): Likewise.
6297         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
6298         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
6299         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
6301 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6303         [BZ #14841]
6304         * resolv/gethnamaddr.c (getanswer): Skip logging if
6305         RES_USE_DNSSEC is set.
6306         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
6308 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
6310         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
6312 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
6314         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
6315         201304L, for Unicode 7.
6317 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
6319         [BZ #17836]
6320         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
6321         shared library.  Add gmon-start.os otherwise.
6322         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
6323         $(objpfx)gmon-start.os if builing shared library.
6324         ($(objpfx)g$(static-start-installed-name)): Likewise.
6326 2015-02-23  Andreas Schwab  <schwab@suse.de>
6328         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
6330 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
6332         [BZ #17269]
6333         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
6334         (enlarge_userbuf): Likewise.
6336 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
6338         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
6339         * math/atest-exp.c (TIMEOUT): Adjust to 200.
6340         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
6341         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
6343 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
6345         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
6346         expression inside statement expression.
6348 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6350         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
6351         <sysdeps/nptl/lowlevellock.h> and remove macros and
6352         functions that are now defined there.
6353         (SYS_futex): Remove.
6354         (lll_compare_and_swap): Remove.
6355         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
6357 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
6359         [BZ #17999]
6360         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
6361         instead of scandirat.
6362         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
6363         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
6364         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
6365         __scandirat.
6366         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
6367         (__scandirat): Declare.  Use libc_hidden_proto.
6368         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
6369         Remove variable.
6370         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
6372 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
6374         [BZ #15319]
6375         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
6376         (MO): New macro.
6377         (__ieee754_atan2): For results with small absolute value, force
6378         underflow exception and remove excess range and precision from
6379         return value.
6380         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
6381         (MO): New macro.
6382         (__ieee754_atan2f): For results with small absolute value, force
6383         underflow exception and remove excess range and precision from
6384         return value.
6385         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
6386         (MO): New macro.
6387         (__atan): For results with small absolute value, force underflow
6388         exception and remove excess range and precision from return value.
6389         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
6390         (MO): New macro.
6391         (__atanf): For results with small absolute value, force underflow
6392         exception and remove excess range and precision from return value.
6393         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
6394         <math.h>.
6395         (__ieee754_atan2): Force underflow exception for results with
6396         small absolute value.
6397         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
6398         <math_private.h>.
6399         (atan): Force underflow exception for results with small absolute
6400         value.
6401         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
6402         (__atanf): Force underflow exception for results with small
6403         absolute value.
6404         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
6405         <math.h>.
6406         (__atanl): Force underflow exception for results with small
6407         absolute value.
6408         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
6409         (__atanl): Force underflow exception for results with small
6410         absolute value.
6411         * sysdeps/x86/fpu/bits/mathinline.h
6412         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
6413         (__ieee754_atan2): Only define inline for long double.
6414         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
6415         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
6416         * math/auto-libm-test-in: Do not mark underflow exceptions as
6417         possibly missing for bug 15319.  Add more tests of atan2.
6418         * math/auto-libm-test-out: Regenerated.
6419         * math/libm-test.inc (casin_test_data): Do not mark underflow
6420         exceptions as possibly missing for bug 15319.
6421         (casinh_test_data): Likewise.
6422         * sysdeps/i386/fpu/libm-test-ulps: Update.
6424 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
6426         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
6427         * sysdeps/mips/bits/endian.h: Fix comments.
6429 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
6431         [BZ #17996]
6432         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
6433         (hdestroy_r): Likewise.
6434         (hsearch_r): Likewise.
6435         (__hcreate_r): Declare and use libc_hidden_proto.
6436         (__hdestroy_r): Likewise.
6437         (__hsearch_r): Likewise.
6438         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
6439         (hcreate): Call __hcreate_r instead of hcreate_r.
6440         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
6441         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
6442         as weak alias of __hcreate_r.
6443         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
6444         __hdestroy_r.
6445         (hsearch_r): Rename to __hsearch_r and define as weak alias of
6446         __hsearch_r.
6447         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
6448         Remove variable.
6449         (test-xfail-XPG4/search.h/linknamespace): Likewise.
6450         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
6451         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
6452         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
6454 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
6456         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
6457         arena_lock into a single arena_get.
6459 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
6461         * dl-reloc.c: Inlucde libc-internal.h.
6462         (_dl_try_allocate_static_tls): Call ALIGN_UP.
6463         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
6464         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
6465         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
6466         (grow_heap): Likewise.
6467         * malloc/malloc.c: Include libc-internal.h.
6468         (do_check_malloc): Call powerof2.
6469         (sysmalloc): Use pagesize. Call ALIGN_UP.
6470         (systrim): Use pagesize.
6471         (mremap_chunk): Use pagesize. Call ALIGN_UP.
6472         (__libc_valloc): Use pagesize.
6473         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
6475 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
6477         [BZ #17991]
6478         * include/sys/resource.h (__getrlimit64): Declare.  Use
6479         libc_hidden_proto.
6480         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
6481         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
6482         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
6483         getrlimit64.
6484         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
6485         __getrlimit64.
6486         [!getrlimit64] (getrlimit64): Define as weak alias of
6487         __getrlimit64.  Use libc_hidden_weak.
6488         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
6489         using __getrlimit64 not __new_getrlimit64.
6490         (__GI_getrlimit64): Likewise.
6491         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
6492         Likewise.
6493         (__GI_getrlimit64): Likewise.
6494         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
6495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
6496         (getrlimit): Add __getrlimit64 alias.
6497         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
6498         Likewise.
6499         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
6500         Remove variable.
6501         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
6502         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
6504 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
6506         * libio/fileops.c: Add missing sys/mman.h
6507         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
6509 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
6511         * manual/math.texi (Errors in Math Functions): Clarify goals
6512         regarding inexact and underflow exceptions.
6514 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
6516         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
6517         * sysdeps/mips/memset.S: Ditto.
6519 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
6521         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
6523 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6525         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
6526         (__v1longjmp): Remove versioned symbol.
6527         (__v1siglongjmp): Remove alias and versioned symbol.
6528         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
6529         (__v2siglongjmp): Likewise.
6531 2015-02-16  Torvald Riegel  <triegel@redhat.com>
6533         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
6535 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
6537         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
6539 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
6541         [BZ #17987]
6542         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
6543         zero result does not depend on the sign resulting from
6544         subtraction.
6545         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
6546         Likewise.
6547         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
6548         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
6549         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6550         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
6551         * math/libm-test.inc (remquo_test_data): Add more tests.
6553 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
6555         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
6556         Problem reported by J William Piggott.
6558 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
6560         [BZ #17978]
6561         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
6562         products 4 * y and 2 * y where those would overflow.
6563         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
6564         Likewise.
6565         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
6566         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
6567         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6568         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
6569         * math/libm-test.inc (remquo_test_data): Add more tests.
6571         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
6573         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
6574         [defined _COMPILING_NEWLIB].
6575         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
6576         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
6578         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
6579         [!defined __mips_isa_rev || __mips_isa_rev < 6].
6581 2015-02-16  Torvald Riegel  <triegel@redhat.com>
6583         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
6584         acquired.
6586 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
6588         [BZ #17792]
6589         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
6590         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
6591         HOST_STACK_END_ADDR): Likewise.
6593 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
6595         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
6596         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
6597         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
6599 2015-02-13  Roland McGrath  <roland@hack.frob.com>
6601         * sysdeps/generic/c++-types.data: New file.
6602         * sysdeps/generic/ld.abilist: New file.
6603         * sysdeps/generic/libBrokenLocale.abilist: New file.
6604         * sysdeps/generic/libanl.abilist: New file.
6605         * sysdeps/generic/libc.abilist: New file.
6606         * sysdeps/generic/libcrypt.abilist: New file.
6607         * sysdeps/generic/libdl.abilist: New file.
6608         * sysdeps/generic/libm.abilist: New file.
6609         * sysdeps/generic/libpthread.abilist: New file.
6610         * sysdeps/generic/libresolv.abilist: New file.
6611         * sysdeps/generic/librt.abilist: New file.
6613 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
6615         [BZ #17569]
6616         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
6617         Compute absolute value of x as modified by fmod, not original
6618         value of x.
6619         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
6620         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
6621         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
6622         RUN_TEST_ffI_f1_mod8.
6623         (remquo_test_data): Add more tests.
6625 2015-02-13  Roland McGrath  <roland@hack.frob.com>
6627         * sysdeps/init_array/pt-crti.S: New file.
6629 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
6631         [BZ #17967]
6632         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
6633         __builtin_fmaf instead of relying on contraction of a * b + c.
6635 2015-02-12  J William Piggott  <elseifthen@gmx.com>
6637         [BZ #17969]
6638         * manual/time.texi: correct the zoneinfo path in the TZ Variable
6639         node.
6641 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
6643         [BZ #17964]
6644         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
6645         __builtin_fma instead of relying on contraction of a * b + c.
6647 2015-02-12  Roland McGrath  <roland@hack.frob.com>
6649         * Makeconfig (ASFLAGS): Add -Werror=undef.
6650         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
6651         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
6652         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
6654         * Makeconfig (after-link): New variable.
6655         (+link-pie, +link-pie-tests): Use it.
6656         (+link-static, +link-static-tests): Likewise.
6657         (+link, +link-tests): Likewise.
6658         * Makerules (build-module, build-module-asneeded): Likewise.
6659         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
6660         Likewise.
6661         * elf/Makefile ($(objpfx)ld.so): Likewise.
6663 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
6665         [BZ #17965]
6666         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
6667         both struct timeval and struct timespec.
6669 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
6671         [BZ #16560]
6672         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6673         and redefine.
6674         (__ieee754_exp2l): Do not multiply small fractional parts by
6675         M_LN2l.
6676         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
6677         small argument.
6678         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6679         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
6680         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
6681         * math/auto-libm-test-in: Add more tests of exp2.
6682         * math/auto-libm-test-out: Regenerated.
6684 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6686         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
6687         unaligned path.
6689 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6691         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
6692         little endian.
6694 2015-02-12  Andreas Schwab  <schwab@suse.de>
6696         [BZ #15790]
6697         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
6698         Filter out elision flags from value returned in kind.
6699         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
6700         * nptl/tst-pthread-mutexattr.c: New file.
6702 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6704         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
6705         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
6706         into gnu-gnu, and update comment to refer to abi-tags.
6708 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
6710         [BZ #15467]
6711         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
6712         (__sincos): Set errno to EDOM for infinite argument.
6713         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
6714         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
6715         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
6716         (__sincosl): Set errno to EDOM for infinite argument.
6717         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
6718         (__sincosl): Set errno to EDOM for infinite argument.
6719         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
6720         (__sincosl): Set errno to EDOM for infinite argument.
6721         * math/libm-test.inc (sincos_test_data): Test errno setting.
6723 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
6725         * string/strxfrm_l.c: Remove #define STRCMP.
6726         * string/strcoll_l.c: Remove #define STRLEN.
6727         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
6728         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
6730 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
6732         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
6733         * sysdeps/mips/mips32/sfp-machine.h: ... here.
6734         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
6735         * sysdeps/mips/mips64/Makefile: ... here.
6736         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
6737         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
6738         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
6739         * sysdeps/mips/mips64/sfp-machine.h: ... here.
6740         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
6741         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
6742         * sysdeps/mips/mips64/n64/Implies: Likewise.
6744 2015-02-10  Roland McGrath  <roland@hack.frob.com>
6746         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
6747         <sys/time.h>, <string.h>, and <errno.h>.
6748         (dest_offset, dest_address, value, zero): Remove unused variables.
6749         (ldouble): Remove typedef.
6750         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
6751         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
6752         1).  Fix code style.
6753         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
6754         (check): Function removed.
6755         (CHECK): New macro.
6756         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
6757         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
6758         Don't call set_sigaction_FP and remove_sigaction_FP here.
6759         (ldouble_test): Just use 'long double' as macro argument, no need for
6760         the 'ldouble' typedef.
6761         (do_test): Set up SIGFPE handler at start, using plain signal rather
6762         than sigaction.  Fix code style.
6764 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
6766         [BZ #17949]
6767         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
6768         jump label.
6770 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6772         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
6773         * sysdeps/powerpc/powerpc32/configure: Regenerated.
6775         * sysdeps/powerpc/configure.ac: Remove file.
6776         * sysdeps/powerpc/configure: Likewise.
6778         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
6779         [sysdep_routines]: Remove wordcopy-power6 object.
6780         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
6781         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
6782         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
6783         (__memmove_ppc32): Likewise.
6784         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
6785         file.
6786         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
6787         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
6788         Remove preprocessor.
6790         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
6791         [sysdep_routines]: Remove wide chars objects.
6792         [wcsmbs]: New rule for wide char objects.
6794         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6795         Remove wordcopy-power6 obejct.
6796         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
6797         Use local call for wordcopy and memcpy symbols.
6798         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
6799         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
6800         implementation for loader.
6801         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
6803         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6804         Remove wordcopy-power7 object.
6805         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
6806         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
6807         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
6808         (_wordcopy_fwd_dest_aligned): Likewise.
6809         (_wordcopy_bwd_aligned): Likewise.
6810         (_wordcopy_bwd_dest_aligned): Likewise.
6812         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
6813         Rewrite to call __memmove_ppc instead of include default
6814         implementation.
6816         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6817         Remove wide chars objects.
6818         [wcsmbs]: New rule for wide char objects.
6820 2015-02-09  Andreas Schwab  <schwab@suse.de>
6822         [BZ #17912]
6823         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
6824         in terms of __O_DIRECTORY.
6826 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6828         * time/getdate.c: Include <stdbool.h>.
6829         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
6830         call PTR_MANGLE.
6831         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
6832         PTR_DEMANGLE.
6834 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
6836         Add ersatz _Static_assert on older C hosts
6837         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
6838         pre-C11 C platform that is not known to support _Static_assert.
6840 2015-02-07  Richard Braun  <rbraun@sceen.net>
6842         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
6843         sigstate.
6844         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
6846 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6848         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
6849         priority against unexistent AIO_PRIO_DELTA_MAX.
6850         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
6851         instead of int.
6852         * misc/fchflags.c (fchflags): Likewise.
6853         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
6854         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
6855         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
6856         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
6857         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
6858         Declare macros.
6859         [__USE_MISC] (chflags, fchflags): Declare functions.
6860         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
6861         EINVAL when nfds is greater than FD_SETSIZE.
6862         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
6863         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
6864         45.
6865         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
6866         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
6867         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
6868         MACH_RCV_TIMED_OUT.
6869         * hurd/hurd/signal.h (_hurd_self_sigstate,
6870         _hurd_critical_section_lock, _hurd_critical_section_unlock):
6871         Explicit casts from void *.
6872         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
6873         * abi-tags: Rename gnu-gnu os into gnu.
6875         [BZ #4719]
6876         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
6877         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
6878         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
6879         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
6880         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
6881         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
6883         [BZ #17944]
6884         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
6885         duplicates ADDR->sun_path with sockaddr LEN limitation.
6886         * sysdeps/mach/hurd/connect.c: Include <string.h>
6887         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
6888         * sysdeps/mach/hurd/sendmsg.c: Likewise.
6889         * sysdeps/mach/hurd/sendto.c: Likewise.
6890         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
6891         implementing it by hand.
6893 2015-02-06  Roland McGrath  <roland@hack.frob.com>
6895         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
6896         Use sfi_breg on ldr.
6897         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
6898         Likewise.
6900         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
6901         it's defined.
6902         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
6903         Test SIGSETXID only if it's defined.
6905         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
6907         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
6908         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
6910         * nptl/tst-align2.c: Moved ...
6911         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
6912         * nptl/Makefile (tests): Remove tst-align2.
6913         * sysdeps/unix/sysv/linux/Makefile
6914         [$(subdir) = nptl] (tests): Add tst-align-clone.
6915         * nptl/tst-getpid1.c: Moved ...
6916         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
6917         * nptl/tst-getpid2.c: Moved ...
6918         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
6919         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
6920         * sysdeps/unix/sysv/linux/Makefile
6921         [$(subdir) = nptl] (tests): ... here.
6922         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
6923         * sysdeps/unix/sysv/linux/Makefile
6924         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
6926         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
6927         Drop trailing \n from perror argument.  Use return rather than exit.
6929         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
6930         on [SA_SIGINFO].
6931         * nptl/tst-cancel21.c (do_test): Likewise.
6932         * debug/tst-backtrace6.c: Include <signal.h> first thing.
6933         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
6934         [!SA_SIGINFO]: Make it a stub test.
6936         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
6937         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
6939         * posix/tst-getlogin.c: Move to ...
6940         * login/tst-getlogin.c: ... here.
6941         * posix/Makefile (tests): Move tst-getlogin to ...
6942         * login/Makefile (tests): ... here.
6944         * libio/tst-atime.c (do_test): Move local variables SV and E
6945         inside [ST_NOATIME] conditional.
6947         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
6949         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
6951         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
6952         (wait_code): New function replaces macro.
6953         Call nanosleep rather than syscall.
6955         * nptl/pt-system.c: Rewritten.  Put everything under
6956         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6957         Use IFUNC to redirect when possible.
6959         * nptl/pt-longjmp.c: Rewritten.  Put everything under
6960         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6961         Use IFUNC to redirect when possible.
6963         * nptl/pt-fork.c: Rewritten.  Put everything under
6964         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6965         Use IFUNC to redirect when possible.
6966         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
6968         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
6969         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
6970         unconditionally nowadays.  This included the only reference to
6971         __vdso_clock_gettime that appears outside libc proper.
6972         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
6973         Remove version set (containing only __vdso_clock_gettime).
6974         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
6975         Add attribute_hidden.
6976         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
6977         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
6978         libc_hidden_data_def.
6979         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6980         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6982         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
6983         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
6984         setrpcent, and getrpcport to ...
6985         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
6986         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
6987         getrpcbynumber_r, and getrpcent_r to ...
6988         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
6989         * inet/getrpcbyname.c: Moved ...
6990         * sunrpc/getrpcbyname.c: ... here.
6991         * inet/getrpcbyname_r.c: Moved ...
6992         * sunrpc/getrpcbyname_r.c: ... here.
6993         * inet/getrpcbynumber.c: Moved ...
6994         * sunrpc/getrpcbynumber.c: ... here.
6995         * inet/getrpcbynumber_r.c: Moved ...
6996         * sunrpc/getrpcbynumber_r.c: ... here.
6997         * inet/getrpcent.c: Moved ...
6998         * sunrpc/getrpcent.c: ... here.
6999         * inet/getrpcent_r.c: Moved ...
7000         * sunrpc/getrpcent_r.c: ... here.
7001         * inet/Makefile (routines): Move those to ...
7002         * sunrpc/Makefile (routines): ... here.
7003         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
7004         the $(subdirs) list.
7005         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
7006         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
7007         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
7008         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
7010         * elf/Makefile (routines): Include $(all-dl-routines), not just
7011         $(dl-routines).
7012         (rtld-routines): Likewise.  Use = rather than :=.
7013         * sysdeps/aarch64/Makefile [$(subdir) = elf]
7014         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
7015         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
7016         * sysdeps/arm/Makefile: Likewise.
7017         * sysdeps/i386/Makefile: Likewise.
7018         * sysdeps/x86_64/Makefile: Likewise.
7019         * sysdeps/hppa/Makefile [$(subdir) = elf]
7020         (sysdep_routines, sysdep-rtld-routines): Don't add
7021         $(sysdep-dl-routines) to these.
7022         * sysdeps/ia64/Makefile: Likewise.
7023         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
7024         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
7025         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
7026         Don't add dl-static to these; sysdep-dl-routines alone is enough.
7027         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
7028         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
7029         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
7030         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
7031         * sysdeps/powerpc/Makefile [$(subdir) = elf]
7032         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
7033         these; sysdep-dl-routines alone is enough.
7035 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
7037         [BZ #17932]
7038         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
7039         where multiplication results in zero and third argument is finite
7040         and nonzero.
7041         * math/auto-libm-test-in: Add more tests of fma.
7042         * math/auto-libm-test-out: Regenerated.
7044         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
7045         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
7046         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
7047         (_FP_CMP_EQ): Likewise.
7048         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
7050         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
7051         extra argument CHECK_NAN.  Redefine as wrapper around
7052         _FP_EXTEND_CNAN.
7054 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
7056         * version.h (RELEASE): Set to "stable".
7057         (VERSION): Set to "2.21"
7058         * include/features.h (__GLIBC_MINOR__): Set to 21.
7060         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
7062 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
7063             Paul Eggert  <eggert@cs.ucla.edu>
7065         [BZ #16618]
7066         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
7067         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
7068         size in bytes. Store needed elements in wpmax. Use needed size
7069         in bytes for extend_alloca.
7071 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
7073         * manual/install.texi: Latest tested versions are GCC 4.9.2,
7074         binutls 2.25, and texinfo 5.2.
7075         * INSTALL: Regenerate.
7076         * sysdeps/nios2/configure: Regenerate.
7077         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
7078         * manual/contrib.texi: Update.
7079         * po/be.po: Update.
7080         * po/bg.po: Update.
7081         * po/ca.po: Update.
7082         * po/cs.po: Update.
7083         * po/da.po: Update.
7084         * po/de.po: Update.
7085         * po/el.po: Update.
7086         * po/eo.po: Update.
7087         * po/es.po: Update.
7088         * po/fi.po: Update.
7089         * po/fr.po: Update.
7090         * po/gl.po: Update.
7091         * po/hr.po: Update.
7092         * po/hu.po: Update.
7093         * po/ia.po: Update.
7094         * po/id.po: Update.
7095         * po/it.po: Update.
7096         * po/ja.po: Update.
7097         * po/ko.po: Update.
7098         * po/lt.po: Update.
7099         * po/nb.po: Update.
7100         * po/nl.po: Update.
7101         * po/pl.po: Update.
7102         * po/pt_BR.po: Update.
7103         * po/ru.po: Update.
7104         * po/rw.po: Update.
7105         * po/sk.po: Update.
7106         * po/sl.po: Update.
7107         * po/sv.po: Update.
7108         * po/tr.po: Update.
7109         * po/uk.po: Update.
7110         * po/vi.po: Update.
7111         * po/zh_CN.po: Update.
7112         * po/zh_TW.po: Update.
7114         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
7115         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
7116         * sysdeps/hppa/dl-irel.h: Remove #warning.
7117         * sysdeps/hppa/entry.h: Provide prototype for
7118         __canonicalize_funcptr_for_compare and cast argument.
7119         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
7120         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
7121         * sysdeps/hppa/sotruss-lib.c: New file.
7122         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
7123         (atomic_compare_and_exchange_val_acq): Use __typeof__.
7124         (atomic_compare_and_exchange_bool_acq): Likewise.
7125         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
7126         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
7128         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
7129         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
7130         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
7132 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
7134         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
7135         called function in non-PIC case.
7137 2015-01-31  David S. Miller  <davem@davemloft.net>
7139         * sysdeps/sparc/sparc32/bits/atomic.h
7140         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
7141         unlock not after it.
7142         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
7143         volatile register usage warnings from the compiler.
7145         * sysdeps/sparc/nptl/sem_init.c: Delete.
7146         * sysdeps/sparc/nptl/sem_post.c: Delete.
7147         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
7148         * sysdeps/sparc/nptl/sem_wait.c: Delete.
7149         * sysdeps/sparc/sparc32/sem_init.c: New file.
7150         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
7151         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
7152         padding explicitly initialized.
7153         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
7154         padding for in-semaphore spinlock.
7155         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
7156         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
7157         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
7158         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
7159         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
7160         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
7161         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
7162         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
7163         version.
7164         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
7165         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
7167 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
7169         [BZ #17801]
7170         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7171         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
7172         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
7173         New.
7174         (index_AVX_Fast_Unaligned_Load): Likewise.
7175         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
7176         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
7177         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
7178         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
7179         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
7180         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
7181         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
7182         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
7183         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
7185 2015-01-29  Andreas Schwab  <schwab@suse.de>
7187         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
7189 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
7191         [BZ #17892]
7192         * nscd/nscd_stat.c (send_stats): Initialize DATA.
7194 2015-01-28  Martin Sebor  <msebor@redhat.com>
7196         * math/README.libm-test: Clarify. Add "How to read the test output."
7198 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
7200         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
7201         Define to 0.
7203 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
7205         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
7206         (__HAVE_64B_ATOMICS): Define to 0.
7208 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7210         [BZ #17885]
7211         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
7212         value to set as new flag.
7214         [BZ #16576]
7215         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
7216         and use _ARCH_PPCSQ instead.
7217         (__ieee754_sqrt): Likewise.
7218         (__ieee754_sqrtf): Likewise.
7219         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
7220         _ARCH_PPCSQ is defined.
7221         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
7222         fsqrt instruction.
7223         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
7224         _ARCH_PPCSQ is defined.
7225         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
7226         fsqrts instruction.
7227         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
7229 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7231         * iconv/loop.c: Suppress array out of bound warning caused by GCC
7232         bug (GCC BZ #64739).
7234 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
7236         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
7237         Mark _retval as used.
7238         (lll_futex_wake_unlock): Likewise.
7239         (lll_futex_timed_wait_requeue_pi): Likewise.
7241         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
7242         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
7243         register variables.
7245         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
7246         libm_hidden_def.
7248         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
7249         (__bswap_64): Mark as __always_inline.
7251 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
7253         [BZ #15378]
7254         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
7255         when none of the search directories exist.
7257 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7259         [BZ #17869]
7260         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
7261         power8 in .machine directive.
7263         [BZ #17868]
7264         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
7265         set dependency from opd value.
7267 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
7269         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7270         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
7271         architecture.
7273 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
7275         [BZ #17870]
7276         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
7277         with uint64_t.
7278         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
7279         (uint64_t) 1.
7280         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
7281         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
7282         Replace 1UL with (uint64_t) 1.
7283         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
7284         int with uint64_t.
7286 2015-01-23  Roland McGrath  <roland@hack.frob.com>
7288         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
7289         (if_freenameindex): Likewise.
7291         * resource/getrlimit64.c: Add missing libc_hidden_def.
7293 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
7295         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
7296         __label__.
7297         (_FP_FMA): Likewise.
7298         (_FP_TO_INT_ROUND): Likewise.
7299         (_FP_FROM_INT): Likewise.
7301 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7303         [BZ #16418]
7304         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
7305         Make code racy and cancel safe.
7307 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
7309         * sysdeps/arm/unwind-resume.h: Fix copyright year.
7310         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
7311         attribution.
7313         * pwd/tst-getpw.c: Rewrite.
7315         [BZ #17702]
7316         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
7317         (modules-names): Add moddummy1 and moddummy2.
7318         ($(objpfx)tst-rec-dlopen): Define.
7319         * dlfcn/moddummy1.c: New file.
7320         * dlfcn/moddummy2.c: New file.
7321         * dlfcn/tst-rec-dlopen.c: New file.
7322         * elf/dl-cache.c (_dl_load_cache_lookup):
7323         Return char*. Copy result with alloca/strcpy/strdup.
7324         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
7325         returns char*. Free cached. If not saving realname
7326         free cached.
7327         * elf/dl-open.c (dl_open_worker): Do not assert that
7328         _r_debug->r_state is RT_CONSISTENT.
7329         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
7330         returns char*.
7332 2015-01-21  Torvald Riegel  <triegel@redhat.com>
7333             Carlos O'Donell  <carlos@redhat.com>
7335         [BZ #12674]
7336         * nptl/sem_waitcommon.c: New file.
7337         * nptl/sem_wait.c: Include sem_waitcommon.c.
7338         (__sem_wait_cleanup, do_futex_wait): Remove.
7339         (__new_sem_wait): Adapt.
7340         (__new_sem_trywait): New function.
7341         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
7342         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
7343         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
7344         (sem_timedwait): Adapt.
7345         * nptl/sem_post.c (__new_sem_post): Adapt.
7346         (futex_wake): New function.
7347         (__old_sem_post): Add release MO fence.
7348         * nptl/sem_open.c (sem_open): Adapt.
7349         * nptl/sem_init.c (__new_sem_init): Adapt.
7350         (futex_private_if_supported): New function.
7351         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
7352         (__old_sem_getvalue): Add using previous code.
7353         * sysdeps/nptl/internaltypes.h: Adapt.
7354         * nptl/tst-sem13.c (do_test): Adapt.
7355         * nptl/tst-sem11.c (main): Adapt.
7356         * nptl/sem_trywait.c: Remove.
7357         * nptl/DESIGN-sem.txt: Remove.
7358         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
7359         (gen-as-const-headers): Remove structsem.sym.
7360         * nptl/structsem.sym: Remove.
7361         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
7362         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
7363         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
7364         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
7365         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
7366         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
7367         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
7368         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
7369         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
7370         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
7371         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
7372         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
7373         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
7374         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
7375         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
7376         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
7377         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
7378         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
7379         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
7380         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
7381         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
7382         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
7384 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
7386         * INSTALL: Regenerated.
7388         * po/libc.pot: Regenerated.
7390 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
7391             Sandra Loosemore  <sandra@codesourcery.com>
7392             Andrew Jenner  <andrew@codesourcery.com>
7393             Joseph Myers  <joseph@codesourcery.com>
7394             Nathan Sidwell  <nathan@codesourcery.com>
7396         * NEWS: Mention new Nios II port.
7397         * sysdeps/nios2/Implies: New file.
7398         * sysdeps/nios2/Makefile: New file.
7399         * sysdeps/nios2/Subdirs: New file.
7400         * sysdeps/nios2/Versions: New file.
7401         * sysdeps/nios2/__longjmp.S: New file.
7402         * sysdeps/nios2/abort-instr.h: New file.
7403         * sysdeps/nios2/backtrace.c: New file.
7404         * sysdeps/nios2/bits/endian.h: New file.
7405         * sysdeps/nios2/bits/fenv.h: New file.
7406         * sysdeps/nios2/bits/link.h: New file.
7407         * sysdeps/nios2/bits/setjmp.h: New file.
7408         * sysdeps/nios2/bsd-_setjmp.S: New file.
7409         * sysdeps/nios2/bsd-setjmp.S: New file.
7410         * sysdeps/nios2/configure: New generated file.
7411         * sysdeps/nios2/configure.ac: New file.
7412         * sysdeps/nios2/crti.S: New file.
7413         * sysdeps/nios2/crtn.S: New file.
7414         * sysdeps/nios2/dl-init.c: New file.
7415         * sysdeps/nios2/dl-machine.h: New file.
7416         * sysdeps/nios2/dl-sysdep.h: New file.
7417         * sysdeps/nios2/dl-tls.h: New file.
7418         * sysdeps/nios2/dl-trampoline.S: New file.
7419         * sysdeps/nios2/gccframe.h: New file.
7420         * sysdeps/nios2/gmp-mparam.h: New file.
7421         * sysdeps/nios2/jmpbuf-offsets.h: New file.
7422         * sysdeps/nios2/jmpbuf-unwind.h: New file.
7423         * sysdeps/nios2/ldsodefs.h: New file.
7424         * sysdeps/nios2/libc-tls.c: New file.
7425         * sysdeps/nios2/libm-test-ulps: New file.
7426         * sysdeps/nios2/machine-gmon.h: New file.
7427         * sysdeps/nios2/math-tests.h: New file.
7428         * sysdeps/nios2/math_private.h: New file.
7429         * sysdeps/nios2/memusage.h: New file.
7430         * sysdeps/nios2/nptl/Makefile: New file.
7431         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
7432         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
7433         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
7434         * sysdeps/nios2/nptl/pthreaddef.h: New file.
7435         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
7436         * sysdeps/nios2/nptl/tls.h: New file.
7437         * sysdeps/nios2/preconfigure: New file.
7438         * sysdeps/nios2/s_fma.c: New file.
7439         * sysdeps/nios2/s_fmaf.c: New file.
7440         * sysdeps/nios2/setjmp.S: New file.
7441         * sysdeps/nios2/sfp-machine.h: New file.
7442         * sysdeps/nios2/sotruss-lib.c: New file.
7443         * sysdeps/nios2/stackguard-macros.h: New file.
7444         * sysdeps/nios2/stackinfo.h: New file.
7445         * sysdeps/nios2/start.S: New file.
7446         * sysdeps/nios2/sysdep.h: New file.
7447         * sysdeps/nios2/tls-macros.h: New file.
7448         * sysdeps/nios2/tst-audit.h: New file.
7449         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
7450         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
7451         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
7452         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
7453         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
7454         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
7455         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
7456         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
7457         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
7458         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
7459         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
7460         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
7461         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
7462         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
7463         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
7464         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
7465         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
7466         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
7467         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
7468         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
7469         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
7470         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
7471         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
7472         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
7473         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
7474         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
7475         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
7476         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
7477         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
7478         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
7479         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
7480         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
7481         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
7482         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
7483         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
7484         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
7485         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
7486         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
7487         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
7488         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
7489         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
7490         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
7491         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
7492         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
7494 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7496         [BZ #17844]
7497         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
7498         (getutent): Use weak_alias in non SHARED case
7499         and default_symbol_version in SHARED case.
7500         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
7501         (getutent_r, pututline): Likewise.
7502         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
7503         (getutid): Likewise.
7504         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
7505         (getutid_r): Likewise.
7506         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
7507         (getutline): Likewise.
7508         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
7509         (getutline_r): Likewise.
7510         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
7511         (updwtmp): Likewise.
7513 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7515         [BZ #17848]
7516         * sysdeps/s390/s390-32/memcmp.S
7517         (memcmp_g5): Rename to __memcmp_g5.
7518         * sysdeps/s390/s390-32/memcpy.S
7519         (memcpy_g5): Rename to __memcpy_g5.
7520         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7521         (memcpy_mvcle) Rename to __memcpy_mvcle.
7522         * sysdeps/s390/s390-32/memset.S
7523         (memset_g5): Rename to __memset_g5.
7524         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7525         (IFUNC_RESOLVE): Prefix ifunc-resolve function
7526         and use prefixed functions.
7527         * sysdeps/s390/s390-32/multiarch/memcmp.S
7528         (memcmp_z196): Rename to __memcmp_z196.
7529         (memcmp_z10): Rename to __memcmp_z10.
7530         (memcmp): Set alias to __memcmp_g5.
7531         (bcmp): Set alias to __memcmp_g5.
7532         * sysdeps/s390/s390-32/multiarch/memcpy.S
7533         (memcpy_z196): Rename to __memcpy_z196.
7534         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7535         (memcpy_z10): Rename to __memcpy_z10.
7536         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7537         (memcpy): Set alias to __memcpy_g5.
7538         * sysdeps/s390/s390-32/multiarch/memset.S
7539         (memset_z196): Rename to __memset_z196.
7540         Jump to __memset_mvcle instead of memset_mvcle.
7541         (memset_z10): Rename to __memset_z10.
7542         Jump to __memset_mvcle instead of memset_mvcle.
7543         (memset_mvcle) Rename to __memset_mvcle.
7544         (memset): Set alias to __memset_g5.
7545         * sysdeps/s390/s390-64/memcmp.S
7546         (memcmp_z900): Rename to __memcmp_z900.
7547         * sysdeps/s390/s390-64/memcpy.S
7548         (memcpy_z900): Rename to __memcpy_z900.
7549         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7550         (memcpy_mvcle) Rename to __memcpy_mvcle.
7551         * sysdeps/s390/s390-64/memset.S
7552         (memset_z900): Rename to __memset_z900.
7553         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
7554         (IFUNC_RESOLVE): Prefix ifunc-resolve function
7555         and use prefixed functions.
7556         * sysdeps/s390/s390-64/multiarch/memcmp.S
7557         (memcmp_z196): Rename to __memcmp_z196.
7558         (memcmp_z10): Rename to __memcmp_z10.
7559         (memcmp): Set alias to __memcmp_z900.
7560         (bcmp): Set alias to __memcmp_z900.
7561         * sysdeps/s390/s390-64/multiarch/memcpy.S
7562         (memcpy_z196): Rename to __memcpy_z196.
7563         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7564         (memcpy_z10): Rename to __memcpy_z10.
7565         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7566         (memcpy): Set alias to __memcpy_z900.
7567         * sysdeps/s390/s390-64/multiarch/memset.S
7568         (memset_z196): Rename to __memset_z196.
7569         Jump to __memset_mvcle instead of memset_mvcle.
7570         (memset_z10): Rename to __memset_z10.
7571         Jump to __memset_mvcle instead of memset_mvcle.
7572         (memset_mvcle) Rename to __memset_mvcle.
7573         (memset): Set alias to __memset_z900.
7575 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
7577         [BZ #17748]
7578         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
7579         __fesetenv instead of fesetenv.
7581 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7583         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
7584         macro.
7586 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7588         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
7589         regression on LE.
7591         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
7592         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
7593         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7594         strncmp-power8 object.
7595         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7596         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
7597         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
7598         * NEWS: Update.
7600 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7601             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7603         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
7604         trailing byte check.
7606 2015-01-13  David S. Miller  <davem@davemloft.net>
7608         * include/signal.h (__sigreturn): Guard with __USE_MISC.
7610 2015-01-13  Roland McGrath  <roland@hack.frob.com>
7612         * login/logout.c (logout): Use memset rather than bzero.
7613         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
7614         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
7615         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
7616         (_gethtbyaddr): Likewise.
7617         * locale/programs/simple-hash.c (bcopy): Macro removed.
7619 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7621         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7622         Add strcmp-power8 object.
7623         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7624         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
7625         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
7626         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
7627         __strcmp_power8 implementation.
7628         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
7629         * NEWS: Update.
7631         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7632         Add strncpy-power8 and stpncpy-power8 objects.
7633         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7634         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
7635         implementations.
7636         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
7637         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
7638         __stpncpy_power8 implementation.
7639         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
7640         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
7641         __strncpy_power8 implementation.
7642         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
7643         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
7644         * NEWS: Update.
7646         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
7647         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
7648         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
7650         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7651         strncat-power8 object.
7652         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
7653         __strcat_power8 implementation.
7654         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7655         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
7656         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
7657         optimized strcat for power8.
7659         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7660         strcpy-power8 and stpcpy-power8 objects.
7661         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7662         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
7663         implementations.
7664         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
7665         multiarch stpcpy implementation for POWER8.
7666         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
7667         multiarch strcpy implementation for POWER8.
7668         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
7669         __strcpy_power8 function.
7670         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
7671         stpcpy for POWER8.
7672         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
7673         strcpy for POWER8.
7674         * NEWS: Update.
7676 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
7678         [BZ #16009]
7679         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
7680         weights and rules. Use do_xfrm_cached if data fits in cache,
7681         do_xfrm otherwise.  Moved former main loop to...
7682         * (do_xfrm_cached): New function.
7683         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
7684         find_idx, find_position and stack_push.
7685         * (find_idx): New function.
7686         * (find_position): Likewise.
7687         * localedata/sort-test.sh: Added test run for do_xfrm.
7688         * localedata/xfrm-test.c (main): Added command line option
7689         -nocache to run the test with strings that are too large for
7690         the STRXFRM cache.
7692 2015-01-13  Torvald Riegel  <triegel@redhat.com>
7694         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
7695         variable to lll_futex_wake call, not the value itself.
7697 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
7699         [BZ #17803]
7700         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
7701         twom64.  Adjust value to 0x1p-64L.
7702         (__scalblnl): Only return standard underflowing result for K <=
7703         -64 not K <= -63; adjust exponent for underflowing result by 64
7704         not 63.
7705         * math/libm-test.inc (scalbn_test_data): Add more tests.
7706         (scalbln_test_data): Likewise.
7708         [BZ #17834]
7709         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
7710         0x1p63L.
7711         (__scalblnl): Get new exponent of adjusted subnormal value from ES
7712         not HX.
7713         * math/libm-test.inc (scalbn_test_data): Add more tests.
7714         (scalbln_test_data): Likewise.
7716 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7717             Stefani Seibold  <stefani@seibold.net>
7719         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
7720         (sysdep_routines): Add dl-vdso here, ...
7721         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
7722         (sysdep_routines): ... not here.
7723         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
7724         fallback when vDSO is not presented.
7725         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
7726         Define with libc_hidden_proto/libc_hidden_data_def definitions.
7727         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
7728         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
7729         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
7730         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
7731         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
7732         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
7733         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
7734         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
7735         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
7736         fallback configurable symbol when vDSO is not available.
7737         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
7738         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
7739         be able to redefine fallback symbol when vDSO is not available.
7740         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
7741         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
7743 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7745         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
7746         (TLS_INIT_TP): Add tm_capable initialization.
7747         (TLS_DEFINE_INIT_TP): Likewise.
7748         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
7749         TCB.
7750         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
7751         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
7752         calculation.
7753         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
7754         transactoion is lock elision is built and TCB tm_capable is set.
7755         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
7756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7757         (INTERNAL_SYSCALL_NCS): Likewise.
7758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7759         (INTERNAL_SYSCALL_NCS): Likewise.
7760         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
7762         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
7763         for powerpc.
7764         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7765         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
7766         and remove it for 32 bits case.
7767         [pthread_rwlock_t] (__rwelision): New field for lock elision.
7768         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
7769         initialization.
7770         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
7771         Disable lock elision with rdlocks if elision is not available.
7773         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
7774         (sysdep_routines): Add lock elision objects.
7775         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7776         [pthread_mutex_t] (__spins): Rework to add lock elision field.
7777         [pthread_mutex_t] (__elision): Add field.
7778         [__PTHREAD_SPINS]: Adjust to init lock elision field.
7779         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
7780         elision definitions for powerpc.
7781         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
7782         implementation of lock elision for powerpc.
7783         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
7784         implementation of timed lock elision for powerpc.
7785         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
7786         implementation of trylock with lock elision for powerpc.
7787         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
7788         implementaion of unlock for lock elision for powerpc.
7789         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
7790         automatic enable lock elision for mutexes.
7791         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
7792         transaction execution definitions for powerpc.
7793         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
7794         definitions.
7795         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
7796         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
7797         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
7798         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
7799         * NEWS: Update.
7801 2015-01-09  Roland McGrath  <roland@hack.frob.com>
7803         * sysdeps/posix/shm-directory.c: Use <> rather than ""
7804         for #include of <shm-directory.h>.
7806 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
7808         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
7809         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
7811 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
7813         [BZ #17791]
7814         * NEWS: Mention bug fix.
7815         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
7816         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
7817         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
7819 2015-01-09  Torvald Riegel <triegel@redhat.com>
7821         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
7823 2015-01-09  Torvald Riegel <triegel@redhat.com>
7825         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
7827 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
7829         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
7830         pointer and cast to uintptr_t.
7832 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
7834         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
7835         removed.
7836         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
7838 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
7840         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
7841         of 0.
7843 2015-01-08  Roland McGrath  <roland@hack.frob.com>
7845         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
7846         <nptl/pthreadP.h> instead.
7847         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
7849         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
7850         already defined.
7851         [__SIGRTMIN] (init): Function removed.
7852         [__SIGRTMIN] (initialized): Variable removed.
7853         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
7854         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
7855         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
7856         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
7857         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
7858         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
7859         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
7860         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
7861         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
7862         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
7863         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
7864         * sysdeps/nptl/allocrtsig.c: New file.
7865         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
7866         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
7867         * sysdeps/generic/testrtsig.h: File removed.
7869         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
7870         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
7872         * nptl/nptl-init.c (pthread_functions): Conditionalize
7873         .ptr__nptl_setxid initialization on [SIGSETXID].
7875         * sysdeps/nptl/sys/procfs.h: New file.
7876         * nptl_db/Makefile (headers): Add it.
7877         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
7879         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
7880         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
7881         * nptl/pthread_attr_setaffinity.c: Include it.
7882         * nptl/pthread_setattr_default_np.c: Likewise.
7883         * nptl/check-cpuset.h: New file.
7885 2015-01-08  Richard Henderson  <rth@redhat.com>
7887         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
7888         (CFLAGS-tst-execstack-prog.c): Likewise.
7889         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
7891 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
7892             Sandra Loosemore  <sandra@codesourcery.com>
7893             Andrew Jenner  <andrew@codesourcery.com>
7894             Joseph Myers  <joseph@codesourcery.com>
7895             Nathan Sidwell  <nathan@codesourcery.com>
7897         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
7898         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
7899         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
7900         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
7901         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
7902         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
7903         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
7904         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
7905         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
7906         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
7907         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
7908         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
7909         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
7910         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
7911         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
7912         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
7913         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
7915 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7917         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
7918         timespec struct member in syscall macro.
7919         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
7920         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
7921         first timeval struct member in syscall macro.
7922         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
7924 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
7926         [BZ #17748]
7927         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
7928         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
7929         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
7930         __feupdateenv and define as weak alias of __feupdateenv.  Use
7931         libm_hidden_weak.
7932         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
7933         libm_hidden_def.
7934         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
7935         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
7936         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
7937         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
7938         libm_hidden_def.
7939         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
7940         __feupdateenv and define as weak alias of __feupdateenv.  Use
7941         libm_hidden_weak.
7942         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
7943         libm_hidden_def.
7944         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
7945         __feupdateenv and define as weak alias of __feupdateenv.  Use
7946         libm_hidden_weak.
7947         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
7948         libm_hidden_def.
7949         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7950         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
7951         (__feupdateenv): Likewise.
7952         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
7953         __feupdateenv and define as weak alias of __feupdateenv.  Use
7954         libm_hidden_weak.
7955         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7956         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
7957         libm_hidden_def.
7958         * sysdeps/tile/math_private.h (__feupdateenv): New inline
7959         function.
7960         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
7961         libm_hidden_def.
7962         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
7963         __feupdateenv instead of feupdateenv.
7964         (default_libc_feupdateenv_test): Likewise.
7965         (libc_feresetround_ctx): Likewise.
7967 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7969         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
7970         prototype.
7972 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
7974         * posix/regcomp.c (parse_bracket_exp): Initialize type to
7975         COLL_SYM in a couple of places to avoid uninitialized variable
7976         wanings on tilegx gcc 4.8.2.
7978 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
7980         * sysdeps/aarch64/strcpy.S: New file.
7981         * sysdeps/aarch64/stpcpy.S: New file.
7982         * NEWS: Updated.
7984 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
7986         * sysdeps/aarch64/strrchr.S: New file.
7987         * NEWS: Updated.
7989 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
7991         [BZ #17658]
7992         * stdlib/setenv.c: Fix memory leak when setting large,
7993         duplicate string.
7995 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
7997         [BZ #17273]
7998         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
7999         and tabs from buffer before parsing fstab entry.
8000         * misc/tst-mntent.c (main): Add test for mount entry with
8001         trailing spaces and tabs.
8003 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
8005         [BZ #17748]
8006         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
8007         * math/fesetround.c (fesetround): Rename to __fesetround and
8008         define as weak alias of __fesetround.  Use libm_hidden_weak.
8009         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
8010         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
8011         * sysdeps/arm/fesetround.c (fesetround): Likewise.
8012         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
8013         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
8014         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
8015         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
8016         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
8017         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
8018         __fesetround_inline.
8019         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
8020         __fesetround_inline instead of __fesetround.
8021         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
8022         __fesetround and define as weak alias of __fesetround.  Use
8023         libm_hidden_weak.  Call __fesetround_inline instead of
8024         __fesetround.
8025         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
8026         __fesetround and define as weak alias of __fesetround.  Use
8027         libm_hidden_weak.
8028         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
8029         Likewise.
8030         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
8031         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8032         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
8033         * sysdeps/tile/math_private.h (__fesetround): New inline function.
8034         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
8035         __fesetround and define as weak alias of __fesetround.  Use
8036         libm_hidden_weak.
8037         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
8038         __fesetround instead of fesetround.
8039         (default_libc_feholdexcept_setround): Likewise.
8040         (libc_feholdsetround_ctx): Likewise.
8041         (libc_feholdsetround_noex_ctx): Likewise.
8043         [BZ #17748]
8044         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
8045         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
8046         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
8047         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
8048         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8049         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
8050         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8051         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
8052         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8053         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8054         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8055         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8056         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8057         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8058         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
8059         libm_hidden_def.
8060         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
8061         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
8062         Likewise.
8063         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8064         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8065         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
8066         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8067         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
8068         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
8069         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
8070         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
8071         __fesetenv instead of fesetenv.
8072         (libc_feresetround_noex_ctx): Likewise.
8073         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
8074         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
8075         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
8076         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
8077         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
8078         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
8079         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8080         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
8081         (__feupdateenv): Likewise.
8082         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8083         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8084         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8085         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
8087 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
8089         [BZ #17806]
8090         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
8091         addresses have been freed.
8093 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
8095         * resolv/res_init.c (__res_vinit): Improve comments about nserv
8096         and nservall.
8098 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
8100         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
8101         Clean up check_pf allocation pattern. addresses
8103 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8105         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
8106         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
8107         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
8108         * nptl/pthread_exit.c (__pthread_exit): Likewise.
8109         * nptl/pthread_join.c (pthread_join): Likewise.
8110         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
8111         * sysdeps/posix/waitid.c (__waitid): Likewise.
8112         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
8113         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
8114         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
8115         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
8116         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
8117         Likewise.
8118         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
8119         (__libc_pread64): Likewise.
8120         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
8121         (__libc_pwrite): Likewise.
8122         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
8123         (__libc_pwrite64): Likewsie.
8124         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
8125         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
8126         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
8127         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
8128         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
8129         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
8130         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
8131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
8132         Likewise.
8133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8134         (__libc_pread64): Likewise.
8135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
8136         Likewise.
8137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
8138         (__libc_pwrite64): Likewise.
8139         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
8140         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
8141         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
8142         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
8143         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
8144         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
8145         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
8146         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
8147         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
8148         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
8149         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
8150         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
8151         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
8152         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
8153         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
8154         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
8155         Likewise.
8157 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
8159         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
8160         (CFLAGS-test-double.c): Likewise.
8161         (CFLAGS-test-ldouble.c): Likewise.
8162         (CPPFLAGS-test-ifloat.c): Likewise.
8163         (CPPFLAGS-test-idouble.c): Likewise.
8164         (CPPFLAGS-test-ildoubl.c): Likewise.
8165         (CFLAGS-test-test-fenv.c): Remove variable.
8166         (CFLAGS-test-misc.c): Likewise.
8168 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
8170         [BZ #17797]
8171         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
8172         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
8173         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
8174         CLOCKS_PER_SEC == 1000000.
8175         * time/clocktest.c (main): Replace %ld with %jd and cast to
8176         intmax_t.
8178 2015-01-05  Roland McGrath  <roland@hack.frob.com>
8180         * sysdeps/generic/unwind-resume.h: New file.
8181         * sysdeps/gnu/unwind-resume.c: Include it.
8182         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
8183         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
8184         argument list.
8185         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
8186         global rather than static.
8187         (_Unwind_Resume): Update user.
8188         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
8189         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
8190         rather than static.  Add __attribute__ ((cold)).
8191         (_Unwind_Resume, __gcc_personality_v0): Update callers.
8192         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
8193         * sysdeps/arm/arm-unwind-resume.S: New file.
8194         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
8195         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
8196         * sysdeps/arm/Makefile [$(subdir) = csu]
8197         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
8198         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8199         Add rt-arm-unwind-resume.
8200         [$(subdir) = nptl]
8201         (libpthread-sysdep_routines, libpthread-shared-only-routines):
8202         Add pt-arm-unwind-resume.
8203         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
8204         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
8206 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8208         [BZ #17748]
8209         * include/fenv.h (__feholdexcept): Declare.  Use
8210         libm_hidden_proto.
8211         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
8212         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
8213         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8214         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
8215         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
8216         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
8217         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
8218         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8219         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
8220         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
8221         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8222         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
8223         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
8224         (feholdexcept): Likewise.
8225         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
8226         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
8227         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8228         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8229         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
8230         __feholdexcept instead of feholdexcept.
8231         (default_libc_feholdexcept_setround): Likewise.
8233 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8235         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
8236         to avoid using stl/str to align destination.
8238 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8240         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
8242 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8244         [BZ #17796]
8245         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
8246         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
8247         Define as weak alias not strong alias.
8249 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8251         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
8252         bltzal with addiupc.
8253         (RTLD_START): Ditto.
8255 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
8257         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
8258         for __vdso_* functions in declarations.
8259         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
8260         definitions.
8261         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
8262         INTERNAL_VSYSCALL): Use struct return types to check for error.
8264         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
8265         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
8266         function with cast from llround().
8267         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
8268         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
8269         Define.
8271 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8273         [BZ #17793]
8274         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
8275         Define as weak alias not strong alias.
8277         [BZ #17635]
8278         * ctype/ctype-c99.c: New file.  isblank implementation moved from
8279         ...
8280         * ctype/ctype-extn.c: ... here.
8281         (__isblank_l): Move to ...
8282         * ctype/ctype-c99_l.c: ... here.  New file.
8283         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
8284         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
8285         Remove variable.
8286         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
8287         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
8288         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
8289         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
8290         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
8292         [BZ #17777]
8293         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
8294         (posix_fadvise64): Define as weak alias not strong alias.
8295         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8296         (posix_fallocate64): Likewise.
8297         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
8298         Remove variable.
8299         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
8300         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
8301         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
8302         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
8303         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
8305 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
8307         [BZ #16191]
8308         * NEWS: Mention bug fix.
8309         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
8310         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
8311         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
8312         (HOST_STACK_END_ADDR): Likewise.
8314 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
8316         [BZ #17748]
8317         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
8318         * math/fegetround.c (fegetround): Rename to __fegetround and
8319         define as weak alias of __fegetround.  Use libm_hidden_weak.
8320         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
8321         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
8322         * sysdeps/arm/fegetround.c (fegetround): Likewise.
8323         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
8324         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
8325         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
8326         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
8327         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
8328         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
8329         Undefine after rather than before function definition; use
8330         parentheses around function name in definition.
8331         (__fegetround): Also undefine macro after function definition.
8332         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
8333         __fegetround and define as weak alias of __fegetround.  Use
8334         libm_hidden_weak.  Do not undefine as macro.
8335         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
8336         Likewise.
8337         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
8338         __fegetround and define as weak alias of __fegetround.  Use
8339         libm_hidden_weak.
8340         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8341         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
8342         * sysdeps/tile/math_private.h (__fegetround): New inline function.
8343         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
8344         __fegetround and define as weak alias of __fegetround.  Use
8345         libm_hidden_weak.
8346         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
8347         __fegetround instead of fegetround.
8349         [BZ #17782]
8350         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
8351         Condition macro definition on [__USE_MISC].
8353         [BZ #17781]
8354         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
8355         (struct sigaction): Change type of sa_flags field to int.
8357         [BZ #17780]
8358         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
8359         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
8360         __glibc_reserved0.
8362         * nptl/version.c (banner): Use single year in copyright notice.
8364         * NEWS: Update copyright dates.
8365         * catgets/gencat.c (print_version): Likewise.
8366         * csu/version.c (banner): Likewise.
8367         * debug/catchsegv.sh: Likewise.
8368         * debug/pcprofiledump.c (print_version): Likewise.
8369         * debug/xtrace.sh (do_version): Likewise.
8370         * elf/ldconfig.c (print_version): Likewise.
8371         * elf/ldd.bash.in: Likewise.
8372         * elf/pldd.c (print_version): Likewise.
8373         * elf/sotruss.sh: Likewise.
8374         * elf/sprof.c (print_version): Likewise.
8375         * iconv/iconv_prog.c (print_version): Likewise.
8376         * iconv/iconvconfig.c (print_version): Likewise.
8377         * locale/programs/locale.c (print_version): Likewise.
8378         * locale/programs/localedef.c (print_version): Likewise.
8379         * login/programs/pt_chown.c (print_version): Likewise.
8380         * malloc/memusage.sh (do_version): Likewise.
8381         * malloc/memusagestat.c (print_version): Likewise.
8382         * malloc/mtrace.pl: Likewise.
8383         * manual/libc.texinfo: Likewise.
8384         * nptl/version.c (banner): Likewise.
8385         * nscd/nscd.c (print_version): Likewise.
8386         * nss/getent.c (print_version): Likewise.
8387         * nss/makedb.c (print_version): Likewise.
8388         * posix/getconf.c (main): Likewise.
8389         * scripts/test-installation.pl: Likewise.
8390         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8392 2015-01-02  Will Newton  <will.newton@linaro.org>
8394         * sysdeps/arm/armv7/configure: Removed.
8395         * sysdeps/arm/armv7/configure.ac: Likewise.
8397 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
8399         * All files with FSF copyright notices: Update copyright dates
8400         using scripts/update-copyrights.
8401         * intl/plural.c: Regenerated.
8402         * locale/programs/charmap-kw.h: Likewise.
8403         * locale/programs/locfile-kw.h: Likewise.
8405 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8407         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
8409 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
8411         [BZ #17748]
8412         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
8413         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
8414         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
8415         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
8416         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8417         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
8418         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8419         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
8420         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8421         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8422         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8423         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8424         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8425         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8426         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
8427         libm_hidden_def.
8428         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
8429         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
8430         Likewise.
8431         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8432         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8433         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
8434         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8435         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
8436         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
8437         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
8438         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
8439         __fegetenv instead of fegetenv.
8440         (libc_feholdsetround_noex_ctx): Likewise.
8442 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
8444         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
8445         (Elf_MIPS_ABIFlags_v0): New structure.
8446         (EF_MIPS_FP64): Define.
8447         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
8448         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
8449         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
8450         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
8451         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
8452         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
8453         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
8454         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
8455         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
8456         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
8457         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
8458         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
8459         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
8460         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
8461         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
8462         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
8463         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
8464         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
8465         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
8466         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
8467         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
8468         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
8469         field.
8470         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
8471         EF_MIPS_FP64.
8472         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
8473         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
8474         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
8475         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
8476         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
8477         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
8478         * sysdeps/mips/tst-abi-interlink.c: Likewise.
8479         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
8480         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
8481         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
8482         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
8483         record the current FP ABI extension.
8484         (mips-mode-switch): Define to show if kernel headers support mode
8485         switching.
8486         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8487         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
8488         supported SYSV ABI version to 3.
8489         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
8490         feature.
8492 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8493             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8495         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
8496         path.
8497         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
8499 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
8501         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
8502         __fegetround and redefine to call __fegetround.  Remove condition
8503         on [!__NO_MATH_INLINES].
8504         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
8505         function.
8506         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
8507         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8508         Remove macro.
8509         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
8510         instead of <fenv_libc.h>.
8511         (__llrintl): Call fegetround instead of __fegetround.
8512         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
8513         instead of <fenv_libc.h>.
8514         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8515         (__lrintl): Call fegetround instead of __fegetround.
8516         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
8517         instead of <fenv_libc.h>.
8518         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8519         (__rintl): Call fegetround instead of __fegetround.
8521 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
8523         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
8524         arrays.
8526 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
8528         [BZ #17775]
8529         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
8530         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
8531         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
8533 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
8535         * sysdeps/i386/tls-macros.h: Include <features.h>.
8536         (TLS_LE): Use non-PIC version for GCC >= 5.0.
8537         (TLS_IE): Likewise.
8538         (TLS_LD): Likewise.
8539         (TLS_GD): Likewise.
8540         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
8541         define for GCC >= 5.0.
8543 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
8545         * math/test-fenv.c (test_single_exception, set_single_exc,
8546         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
8547         feexcp_mask_test, feenable_test, fe_single_test): Add
8548         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
8549         case where they are not used.
8550         * math/libm-test.inc: Likewise.
8551         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
8552         unused in the absence of FP rounding/exception support.
8553         * stdio-common/tst-printf-round.c: Likewise.
8554         * stdlib/tst-strtod-round.c: Likewise.
8555         * stdlib/tst-strtod-underflow.c: Likewise.
8557 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
8559         [BZ #17723]
8560         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
8561         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
8562         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8563         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
8564         libm_hidden_weak.
8565         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
8566         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
8567         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
8568         libm_hidden_def.
8569         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8570         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
8571         libm_hidden_weak.
8572         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
8573         Likewise.
8574         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
8575         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8576         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
8577         libm_hidden_weak.
8578         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
8579         libm_hidden_def.
8580         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8581         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
8582         (__feraiseexcept): Likewise.
8583         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8584         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
8585         libm_hidden_weak.
8586         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
8587         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
8588         libm_hidden_def.
8589         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
8590         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
8591         Use libm_hidden_def.
8592         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
8593         libm_hidden_def.
8594         (feraiseexcept): Define as weak not strong alias.  Use
8595         libm_hidden_weak.
8596         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
8597         New inline function.  Factored out of ...
8598         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
8599         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
8600         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
8601         feraiseexcept.
8602         * math/w_acos.c (__acos): Likewise.
8603         * math/w_asin.c (__asin): Likewise.
8604         * math/w_ilogb.c (__ilogb): Likewise.
8605         * math/w_j0.c (y0): Likewise.
8606         * math/w_j1.c (y1): Likewise.
8607         * math/w_jn.c (yn): Likewise.
8608         * math/w_log.c (__log): Likewise.
8609         * math/w_log10.c (__log10): Likewise.
8610         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
8611         * sysdeps/aarch64/fpu/math_private.h
8612         (libc_feupdateenv_test_aarch64): Likewise.
8613         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
8614         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
8615         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
8616         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
8617         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
8618         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
8619         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
8620         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8621         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8622         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8624 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
8626         [BZ #17732]
8627         * io/test-utime.c (main): Replace %ld with %jd and cast to
8628         intmax_t.
8629         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
8630         * nptl/tst-mutex5.c: Include <stdint.h>.
8631         (do_test): Replace %ld with %jd and cast to intmax_t.
8632         * posix/tst-regex.c (run_test): Likewise.
8633         (run_test_backwards): Likewise.
8634         * rt/tst-clock.c: Include <stdint.h>.
8635         (clock_test): Replace %ld with %jd and cast to intmax_t.
8636         * rt/tst-cpuclock1.c: Include <stdint.h>.
8637         (do_test): Replace %lu with %ju and cast to uintmax_t.
8638         * rt/tst-cpuclock2.c: Include <stdint.h>.
8639         (do_test): Replace %lu with %ju and cast to uintmax_t.
8640         * rt/tst-mqueue1.c: Include <stdint.h>.
8641         (check_attrs): Replace %ld with %jd and cast to intmax_t.
8642         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
8643         intmax_t.
8644         * rt/tst-mqueue4.c (do_test): Likewise.
8645         * rt/tst-timer4.c: Include <stdint.h>.
8646         (check_ts): Replace %ld with %jd and cast to intmax_t.
8647         (do_test): Likewise.
8648         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
8649         and cast to intmax_t.
8650         * sysdeps/pthread/tst-timer.c (main): Likewise.
8651         * time/clocktest.c (main): Likewise.
8652         * time/tst-posixtz.c (do_test): Likewise.
8653         * timezone/tst-timezone.c (main): Likewise.
8655 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
8656             H.J. Lu  <hongjiu.lu@intel.com>
8658         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
8659         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
8660         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
8661         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
8662         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
8663         version if bit_Fast_Unaligned_Load is set.
8664         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8665         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8666         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8667         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8668         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8669         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8670         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8671         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
8672         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
8673         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
8674         to 4.
8675         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
8676         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
8677         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
8678         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
8680 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
8682         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
8683         instead of #if to avoid a Wundef warning.
8684         * stdlib/tst-limits.c (do_test): Likewise.
8686         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
8687         parallel other exception macros.
8688         (fegetenv): Convert from macro to extern inline so that it applies
8689         retroactively to inline functions already seen by the compiler.
8690         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
8692         * posix/Makefile (before-compile): Use $(objpfx) for
8693         posix-conf-vars-def.h.
8695 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8697         * posix/getconf.c (main): Use size_t for type of I.
8698         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
8699         NSPEC.
8701         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
8702         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
8703         * posix/posix-envs.def: Likewise.
8704         * sysdeps/posix/sysconf.c: Likewise.
8705         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
8706         (specs): Remove array.
8707         * scripts/gen-posix-conf-vars.awk: Support generation of specs
8708         array.
8710         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
8711         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
8712         (__sysconf): Use CONF_IS_* macros.
8714         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
8715         ($(objpfx)posix-conf-vars-def.h): New target.
8716         * posix/posix-conf-vars.list: New file.
8717         * posix/posix-conf-vars.h: New file.
8718         * posix/confstr.c: Include posix-conf-vars.h.
8719         (confstr): Use CONF_IS_* macros.
8720         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
8721         CONF_IS_* macros.
8722         * scripts/gen-posix-conf-vars.awk: New file.
8724 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
8726         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
8727         fegetround): Add no-op macros to avoid linknamespace issues.
8729         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
8730         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
8732         * sysdeps/unix/sysv/linux/tile/sysdep.h
8733         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
8734         assembly-specific section to avoid a redefinition warning.
8736         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
8737         long before casting to pointer to avoid a cast warning.
8739 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
8741         * sysdeps/tile/tilegx/Implies: New file.
8743 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
8745         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
8747 2014-12-23  Florian Weimer  <fweimer@redhat.com>
8749         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
8751 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
8753         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
8754         not define.
8755         * sysdeps/unix/sysv/linux/utimes.c: Do not include
8756         <kernel-features.h>.
8757         (__utimes) [__NR_utimes]: Make code unconditional.
8758         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
8759         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8760         (__ASSUME_UTIMES): Do not undefine.
8761         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8762         (__ASSUME_UTIMES): Likewise.
8763         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8764         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
8765         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
8766         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
8768 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
8770         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
8772 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
8774         [BZ #17747]
8775         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
8776         alias to weak alias for j0l, y0l.
8777         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
8778         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
8780         [BZ #17746]
8781         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
8782         conversion.
8784 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
8786         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
8787         to zero if not already defined.
8789 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
8791         [BZ #17724]
8792         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
8793         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
8794         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
8795         (char *) casts added.
8796         * sysdeps/ieee754/k_standardf.c: New file.
8797         * sysdeps/ieee754/k_standardl.c: Likewise.
8798         * math/Makefile (libm-support): Remove k_standard.
8799         (libm-calls): Add k_standard.
8801 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8803         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
8804         Optimize to avoid an unnecessary FPCR read.
8806 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8808         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
8809         Optimize to reduce FPCR/FPSR accesses.
8811 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8813         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
8814         Call libc_fetestexcept_aarch64.
8816 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8818         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
8819         Call libc_fesetround_aarch64.
8821 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
8823         [BZ #17733]
8824         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
8825         (__bind): Do not define as weak alias.
8826         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
8827         define.
8828         (__getsockname): Do not define as weak alias.
8830 2014-12-22  Will Newton  <will.newton@linaro.org>
8832         * manual/install.texi: Document that we require bison 2.7
8833         or above.
8834         * INSTALL: Regenerate.
8835         * configure.ac: Use AC_CHECK_PROG_VER instead of
8836         AC_PATH_PROG when checking for bison and check for
8837         version 2.7 or above.
8838         * configure: Regenerate.
8840 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
8842         [BZ #17745]
8843         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
8844         * sysdeps/tile/ffsll.c (ffsll): To here.
8846         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
8848 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
8850         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
8851         if not defined.
8852         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
8853         definition.
8854         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
8855         hidden ___tls_get_addr.
8856         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
8857         hidden __tls_get_addr.
8858         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
8859         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
8860         Likewise.
8862 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
8864         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
8865         _dl_init call.
8867 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
8869         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
8870         from "call _dl_init@PLT".
8871         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
8873 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
8875         * manual/search.texi: (Array Sort Function): Clarify stable sorting
8876         guarantees.
8878 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
8880         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
8882 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
8884         [BZ #17744]
8885         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
8886         strnlen.
8888 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
8890         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
8891         of multu on MIPSr6.
8892         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
8893         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
8894         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
8895         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
8896         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
8898 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
8900         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
8901         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
8902         (PTR_SUBU): Use subu for mips32r6/mips64r6.
8903         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
8904         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
8905         mips32r6/mips64r6.
8906         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
8908 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
8910         * string/strncat.c (STRNCAT): Simplify implementation.
8912 2014-12-19  David S. Miller  <davem@davemloft.net>
8914         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
8915         access the quad as both a long double and as a series of 4 words.
8917         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
8918         link_map->l_info array access.
8920 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
8922         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
8924         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
8925         * math/atest-exp2.c (TIMEOUT): Likewise.
8926         * math/atest-sincos.c (TIMEOUT): Likewise.
8928 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
8930         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
8931         -Wno-error with -fno-builtin-lround.
8933 2014-12-19  Torvald Riegel  <triegel@redhat.com>
8935         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
8936         Contains futex constants and functions moved over from ...
8937         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
8938         <lowlevellock-futex.h>.
8939         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
8940         (lll_timedwait_tid): Add comments and parentheses around macro
8941         arguments.
8943 2014-12-19  Torvald Riegel  <triegel@redhat.com>
8945         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
8946         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
8947         (__lll_private_flag): Remove.
8948         (lll_futex_wait): Likewise.
8949         (lll_futex_timed_wait): Likewise.
8950         (lll_futex_wake): Likewise.
8951         (lll_futex_requeue): Likewise.
8952         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
8953         (__lll_timedwait_tid): Spell out argument names.
8954         (lll_timedwait_tid): Add comments and parentheses around macro
8955         arguments.
8956         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
8957         LLL_SHARED and LLL_PRIVATE usable from assembly code.
8959 2014-12-19  Torvald Riegel  <triegel@redhat.com>
8961         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
8962         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
8963         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8964         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
8965         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
8966         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
8967         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
8968         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
8969         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
8970         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
8971         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
8972         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
8973         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
8974         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
8975         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
8976         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
8977         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
8978         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
8979         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
8981 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
8983         * sysdeps/x86_64/x32/Makefile: New file.
8985 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
8987         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
8988         1L with (mp_limb_t) 1.
8990 2014-12-17  Roland McGrath  <roland@hack.frob.com>
8992         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
8993         * nptl/libc_pthread_init.c: ... here.
8994         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
8995         * nptl/register-atfork.c: ... here.
8997         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
8998         Use pthread_sigmask rather than INTERNAL_SYSCALL.
8999         Use assert_perror to check its return value.
9000         (__gai_create_helper_thread): Likewise.
9002         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
9004         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
9006 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
9008         [BZ #17725]
9009         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
9010         __profil_counter.
9011         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
9012         Likewise.
9013         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
9014         Likewise.
9015         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
9016         Likewise.
9017         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
9018         (profil_counter): Likewise.
9019         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
9020         (profil_counter): Likewise.
9021         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
9022         Likewise.
9023         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
9024         Likewise.
9025         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
9026         (profil_counter): Likewise.
9027         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
9028         Likewise.
9029         [!__profil_counter] (profil_counter): Define as weak alias of
9030         __profil_counter.
9031         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
9032         (profil_counter): Rename to __profil_counter.
9033         [!__profil_counter] (profil_counter): Define as weak alias of
9034         __profil_counter.
9035         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
9036         (profil_counter): Rename to __profil_counter.
9037         [!__profil_counter] (profil_counter): Define as weak alias of
9038         __profil_counter.
9039         * sysdeps/posix/profil.c: Update comment referring to
9040         profil_counter.
9041         (__profil): Use __profil_counter instead of profil_counter.
9042         * sysdeps/posix/sprofil.c (profil_counter): Rename to
9043         __profil_counter.  Use __profil_counter_ushort and
9044         __profil_counter_uint in definitions.
9045         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
9046         instead of profil_counter_uint and profil_counter_ushort.
9048         [BZ #17722]
9049         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
9050         define as weak alias of __inet_makeaddr.
9051         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
9052         as weak alias of __inet_addr.
9053         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
9054         as weak alias of __inet_pton.  Use libc_hidden_weak.
9055         * include/arpa/inet.h (__inet_pton): Declare.  Use
9056         libc_hidden_proto.
9057         (inet_makeaddr): Don't use libc_hidden_proto.
9058         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
9059         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
9060         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
9061         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
9062         Remove variable.
9063         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
9064         (test-xfail-POSIX/time.h/linknamespace): Likewise.
9066 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
9068         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
9070 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9072         * stdio-common/bug-vfprintf-nargs.c (do_test):
9073         Cast value to intptr_t to avoid format warning
9074         for usage with PRIdPTR printing macro.
9076 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9078         * libio/tst-widetext.c (do_test):
9079         Use format type %td instead of %Zd for ptrdiff_t
9080         in order to avoid format warning.
9082 2014-12-17  Andreas Schwab  <schwab@suse.de>
9084         * nscd/mem.c (gc): Add size_t cast to match printf format.
9086 2014-12-16  Roland McGrath  <roland@hack.frob.com>
9088         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
9089         (init): Apply PTR_MANGLE to pointers before storing them.
9090         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
9091         before using them.
9093 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
9095         [BZ #17719]
9096         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
9097         define as weak alias of __memrchr.
9098         (__memrchr): Do not define as strong alias of memrchr.
9099         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
9100         Remove variable.
9101         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
9102         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
9103         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
9105         [BZ #17717]
9106         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
9107         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
9108         (if_indextoname): Rename to __if_indextoname and define as weak
9109         alias of __if_indextoname.  Use libc_hidden_weak.
9110         (if_freenameindex): Rename to __if_freenameindex and define as
9111         weak alias of __if_freenameindex.
9112         (if_nameindex): Rename to __if_nameindex and define as weak alias
9113         of __if_nameindex.
9114         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
9115         __if_nametoindex and define as weak alias of __if_nametoindex.
9116         Use libc_hidden_weak.
9117         (if_freenameindex): Rename to __if_freenameindex and define as
9118         weak alias of __if_freenameindex.
9119         (if_nameindex): Rename to __if_nameindex and define as weak alias
9120         of __if_nameindex.
9121         (if_indextoname): Rename to __if_indextoname and define as weak
9122         alias of __if_indextoname.  Use libc_hidden_weak.
9123         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
9124         __if_nametoindex and define as weak alias of __if_nametoindex.
9125         Use libc_hidden_weak.
9126         (if_freenameindex): Rename to __if_freenameindex and define as
9127         weak alias of __if_freenameindex.  Use libc_hidden_weak.
9128         (if_nameindex_netlink): Use __if_freenameindex instead of
9129         if_freenameindex.
9130         (if_nameindex): Rename to __if_nameindex and define as weak alias
9131         of __if_nameindex.  Use libc_hidden_weak.
9132         (if_indextoname): Rename to __if_indextoname and define as weak
9133         alias of __if_indextoname.  Use libc_hidden_weak.
9134         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
9135         libc_hidden_proto.
9136         [!_ISOMAC] (__if_freenameindex): Likewise.
9137         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
9138         if_nametoindex.
9139         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
9140         variable.
9141         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
9142         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
9143         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
9144         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
9145         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
9146         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
9147         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
9149         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
9150         Remove variable.
9151         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
9152         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
9154 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9156         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
9157         subscript above bounds'
9159         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
9160         bounds.
9162 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
9164         * libio/tst-fopenloc.c: Use test-skeleton.c.
9166         * stdlib/tst-bsearch.c: Use test-skeleton.c.
9167         (entry): Rename to ITEM.
9168         (do_test, comp): Adjust.
9170         * stdio-common/tst-fseek.c: Use test-skeleton.c.
9172 2014-12-16  Torvald Riegel  <triegel@redhat.com>
9174         * string/tester.c: Include <libc-internal.h>.
9175         (test_memset): Ignore -Wmemset-transposed-args.
9177 2014-12-16  Torvald Riegel  <triegel@redhat.com>
9179         * misc/tst-mntent2.c (do_test): Fix warning.
9181 2014-12-16  Torvald Riegel  <triegel@redhat.com>
9183         * elf/tst-unique4lib.cc(a): Mark as used.
9185 2014-12-16  Florian Weimer  <fweimer@redhat.com>
9187         [BZ #17630]
9188         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
9189         names.
9191 2014-12-16  Allan McRae  <allan@archlinux.org>
9193         * stdio-common/Makefile (tests): Re-add bug26.
9195 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
9197         [BZ #17657]
9198         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
9199         static array.
9201 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
9203         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
9204         (__lll_lock_wait): Likewise.
9205         (__lll_timedlock_wait): Likewise.
9206         (__lll_timedwait_tid): Likewise.
9207         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
9208         (__lll_robust_timedlock_wait): Likewise.
9209         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
9210         (lll_cond_trylock): Likewise.
9211         (__lll_lock): Likewise.
9212         (__lll_robust_lock): Likewise.
9213         (__lll_cond_lock): Likewise.
9214         (lll_robust_cond_lock): Likewise.
9215         (__lll_timedlock): Likewise.
9216         (__lll_robust_timedlock): Likewise.
9217         (__lll_unlock): Likewise.
9218         (__lll_robust_unlock): Likewise.
9219         (lll_wait_tid): Likewise.
9220         (lll_timedwait_tid): Likewise.
9222 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9224         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
9226 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9228         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
9230 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
9232         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
9233         * stdio-common/tst-sprintf.c: Likewise.
9235 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9237         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
9239 2014-12-15  Jeff Law  <law@redhat.com>
9241         [BZ #16617]
9242         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
9243         on the heap.  (CVE-2012-3406)
9244         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
9245         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
9246         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
9248 2014-12-15  Will Newton  <will.newton@linaro.org>
9250         * manual/install.texi: Bump required version of texinfo
9251         to 4.7 from 4.5.
9252         * INSTALL: Regenerated.
9253         * configure.ac: Check for makeinfo version 4.7 and above.
9254         * configure: Regenerated.
9256 2014-12-12  Roland McGrath  <roland@hack.frob.com>
9258         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
9259         PREFIX, string constant to insert between directory and name.
9260         * sysdeps/posix/shm_open.c: Update caller.
9261         * sysdeps/posix/shm_unlink.c: Likewise.
9262         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
9263         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
9264         (SEM_SHM_PREFIX): New macro.
9265         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
9266         [$(have-thread-library) = no].
9267         * nptl/Makefile (libpthread-routines): Add shm-directory.
9268         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
9269         * sysdeps/nptl/shm-directory.h: New file.
9270         * sysdeps/posix/shm-directory.c
9271         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
9272         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
9273         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
9274         INTERNAL_SYSCALL.
9275         (__where_is_shmfs): Function removed.
9276         (mountpoint, defaultmount, defaultdir, __namedsem_once):
9277         Variables removed.
9278         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
9279         Use SHM_GET_NAME.
9280         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
9282         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
9283         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
9284         unconditional for use inside libpthread.
9285         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
9287 2014-12-12  Roland McGrath  <roland@hack.frob.com>
9289         * nptl/pthread_getaffinity.c: New file.
9290         * nptl/pthread_setaffinity.c: New file.
9291         * nptl/pthread_getname.c: New file.
9292         * nptl/pthread_setname.c: New file.
9294         * nptl/pthread_create.c (START_THREAD_DEFN)
9295         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
9297 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9298             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9300         * resolv/res_send.c (send_vc): Disable warning resplen may
9301         be used uninitialized.
9303 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9305         * nptl/tst-mutex6.c
9306         (ATTR_NULL): New define checks ATTR against NULL.
9307         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
9308         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
9310 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
9312         [BZ #17581]
9313         * malloc/hooks.c
9314         (mem2mem_check): Revert my previous change.
9315         (malloc_check_get_size): Revert my previous change.
9316         (mem2chunk_check): Revert my previous change.
9318 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9320         * sysdeps/posix/shm-directory.c: New file.
9321         * sysdeps/posix/shm-directory.h: New file.
9322         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
9323         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
9324         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
9325         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
9326         Transmute EPERM to EACCES.
9327         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
9328         from ...
9329         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
9330         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
9332 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9334         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
9335         pointer and cast to uintptr_t.
9336         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
9337         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
9338         Add cast to avoid warning.
9339         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
9341 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
9343         * nptl/semaphore.h: Move to ...
9344         * sysdeps/pthread/semaphore.h: ... here.
9345         * Makefile (installed-headers): Change nptl/semaphore.h to
9346         sysdeps/pthread/semaphore.h.
9348 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9350         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
9351         generated error format strings.
9353         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
9354         -Wformat-extra-args warnings for scanf formats.
9355         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
9356         test of zero-length format (duh).
9357         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
9358         corner-case scanf format test.
9359         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
9360         generated fprintf format string.
9361         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
9362         corner-case sprintf format tests.
9363         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
9364         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
9365         -Wformat-extra-args warnings throughout.
9366         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
9367         (CFLAGS-scanf4.c): Likewise.
9368         (CFLAGS-scanf7.c): Likewise.
9369         (CFLAGS-tst-sprintf.c): Likewise.
9370         (CFLAGS-tst-printf.c): Likewise.
9371         (CFLAGS-tst-printfsz.c): Likewise.
9373 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
9375         * include/cpio.h: New file.
9376         * include/fmtmsg.h: Likewise.
9378         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
9379         corresponding format argument to size_t.
9380         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
9381         arguments.
9382         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
9383         corresponding format argument to size_t.
9384         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
9385         arguments.
9386         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
9387         corresponding format argument to size_t.
9388         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
9389         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
9390         (CFLAGS-tst-mbswcs2.c): Likewise.
9391         (CFLAGS-tst-mbswcs3.c): Likewise.
9392         (CFLAGS-tst-mbswcs4.c): Likewise.
9393         (CFLAGS-tst-mbswcs5.c): Likewise.
9394         (CFLAGS-tst-trans.c): Likewise
9396 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9398         * posix/regexbug1.c (main): Use "%s" format with regerror results,
9399         rather than assuming they won't contain any '%'s.
9401 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
9403         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
9404         inhibit_loop_to_libcall to avoid recursive calls.
9405         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
9406         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
9408 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
9410         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
9411         prototype.
9413 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
9415         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
9416         integer value instead of boolean.
9418 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
9420         * malloc/malloc.c: Fix powerof2 check.
9422 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9424         * locale/programs/locfile.h (maybe_swap_uint32):
9425         Remove inline and add unused attribute.
9427 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9429         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
9430         Truncating assembler expression to a .long expression.
9432 2014-12-11  Andreas Schwab  <schwab@suse.de>
9434         * elf/rtld.c (struct map_args): Constify str member.
9435         (do_preload): Constify fname argument.
9437 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9439         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
9440         constants definition.
9442 2014-12-11  Andreas Schwab  <schwab@suse.de>
9444         [BZ #16657]
9445         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
9446         FORCE_ELISION instead of DO_ELISION.
9447         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
9448         Remove.
9449         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
9450         Likewise.
9452         * iconvdata/gconv-modules: Remove duplicate entry.
9454 2014-12-11  Will Newton  <will.newton@linaro.org>
9456         Merge gettext 0.19.3 into intl/.
9458         This involves a number of cosmetic changes to comments
9459         and ANSI function definitions and prototypes throughout
9460         all the files. The gettext copyright header is used but
9461         with the date ranges taken from the glibc copy.
9463         * NEWS: Add gettext merge to 2.21.
9464         * intl/bindtextdom.c: Switch to gettext copyright.
9465         Use ANSI definitions and prototypes.
9466         Use gl_* locking primitives rather than __libc_* ones.
9467         Use __builtin_expect rather than __glibc_likely/unlikely.
9468         * intl/dcgettext.c: Switch to gettext copyright.
9469         Use ANSI definitions and prototypes.
9470         * intl/dcigettext.c: Switch to gettext copyright.
9471         Use ANSI definitions and prototypes.
9472         (INTDIV0_RAISES_SIGFPE): New define.
9473         Use gl_* locking primitives rather than __libc_* ones.
9474         Include eval-plural.h instead of plural-eval.c.
9475         Use __builtin_expect rather than __glibc_likely/unlikely.
9476         * intl/dcngettext.c: Switch to gettext copyright.
9477         Use ANSI definitions and prototypes.
9478         * intl/dgettext.c: Likewise.
9479         * intl/dngettext.c: Likewise.
9480         * intl/plural-eval.c: Renamed to...
9481         * intl/eval-plural.h: ...this.
9482         * intl/explodename.c: Switch to gettext copyright.
9483         Use ANSI definitions and prototypes.
9484         (_nl_explode_name): Use strchr instead of __rawmemchr.
9485         * intl/finddomain.c: Switch to gettext copyright.
9486         Use ANSI definitions and prototypes.
9487         Use gl_* locking primitives rather than __libc_* ones.
9488         (_nl_find_domain): Use malloc rather than alloca for
9489         allocation of temporary locale name.
9490         * intl/gettext.c: Switch to gettext copyright.
9491         Use ANSI definitions and prototypes.
9492         * intl/gettextP.h: Switch to gettext copyright.
9493         Use ANSI definitions and prototypes.
9494         Use gl_* locking primitives rather than __libc_* ones.
9495         * intl/gmo.h: Switch to gettext copyright.
9496         (struct sysdep_string): Move struct segment_pair outside of
9497         struct definition.
9498         * intl/hash-string.c: Use ANSI definitions and prototypes.
9499         * intl/hash-string.h: Switch to gettext copyright.
9500         Use ANSI definitions and prototypes.
9501         * intl/l10nflist.c: Switch to gettext copyright.
9502         Use ANSI definitions and prototypes.
9503         (_nl_normalize_codeset): Avoid integer overflow.
9504         * intl/loadinfo.h: Switch to gettext copyright.
9505         Use ANSI definitions and prototypes.
9506         (LIBINTL_DLL_EXPORTED): New define.
9507         (PATH_SEPARATOR): New define.
9508         * intl/loadmsgcat.c: Switch to gettext copyright.
9509         * intl/localealias.c: Switch to gettext copyright.
9510         Use ANSI definitions and prototypes.
9511         (_nl_expand_alias): Use PATH_SEPARATOR.
9512         * intl/ngettext.c: Switch to gettext copyright.
9513         Use ANSI definitions and prototypes.
9514         * intl/plural-exp.c: Likewise.
9515         * intl/plural-exp.h: Switch to gettext copyright.
9516         Use ANSI definitions and prototypes.
9517         (struct expression): Move definition of enum operator outside
9518         of struct definition.
9519         * intl/plural.c: Regenerate.
9520         * intl/plural.y: Switch to gettext copyright.
9521         Use ANSI definitions and prototypes.
9522         Port to bison 3.0.
9523         * intl/textdomain.c: Switch to gettext copyright.
9524         Use ANSI definitions and prototypes.
9525         Use gl_* locking primitives rather than __libc_* ones.
9527 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
9529         * debug/warning-nop.c: Add used atrribute.
9531 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
9533         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
9535         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
9536         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
9537         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
9539 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
9540             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9542         [BZ #17634]
9543         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
9544         Undefine after defining function.  Define as weak alias of
9545         __wcschr.  Use libc_hidden_weak.
9546         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
9547         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
9548         (libc_hidden_def): Also define __GI___wcschr alias.
9549         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
9550         __wcschr and define as weak alias of __wcschr.
9551         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
9552         __wcschr.
9553         [!WCSCHR] (DEFAULT_WCSCHR): Define.
9554         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
9555         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
9556         libc_hidden_weak.  Do not use libc_hidden_def.
9557         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
9558         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
9559         __GI___wcschr alias.
9560         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
9561         [IS_IN (libc)] (wcschr): Define as macro expanding to
9562         __redirect_wcschr.
9563         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
9564         [IS_IN (libc)] (__wcschr_power6): Likewise.
9565         [IS_IN (libc)] (__wcschr_power7): Likewise.
9566         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
9567         instead of wcschr.
9568         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
9569         __libc_wcschr.
9570         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
9571         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
9572         __wcschr and define as weak alias of __wcschr.  Use
9573         libc_hidden_builtin_def.
9574         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
9575         as weak alias of __wcschr.  Use libc_hidden_weak.
9576         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
9577         wcschr.
9578         * time/era.c (_nl_init_era_entries): Likewise.
9579         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
9580         variable.
9581         (test-xfail-XPG3/time.h/linknamespace): Likewise.
9582         (test-xfail-XPG4/time.h/linknamespace): Likewise.
9584 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
9586         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
9587         format for long int variable.
9589 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
9591         [BZ #10672]
9592         * manual/search.texi: (Array Sort Function): Remove claim how to make
9593         qsort stable.
9595 2014-12-10  Andreas Schwab  <schwab@suse.de>
9597         [BZ #12847]
9598         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
9599         user-controlled locks.
9601 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
9603         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
9604         register.
9606 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
9608         * configure.ac (--disable-werror): New configure option.
9609         (enable_werror): New AC_SUBST.
9610         * configure: Regenerated.
9611         * config.make.in (enable-werror): New variable.
9612         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
9613         -Wno-error=undef.
9614         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
9615         * manual/install.texi (Configuring and compiling): Document
9616         --disable-werror.
9617         * INSTALL: Regenerated.
9618         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
9619         (CFLAGS-tst-chk2.c): Likewise.
9620         (CFLAGS-tst-chk3.c): Likewise.
9621         (CFLAGS-tst-chk4.cc): Likewise.
9622         (CFLAGS-tst-chk5.cc): Likewise.
9623         (CFLAGS-tst-chk6.cc): Likewise.
9624         (CFLAGS-tst-lfschk1.c): Likewise.
9625         (CFLAGS-tst-lfschk2.c): Likewise.
9626         (CFLAGS-tst-lfschk3.c): Likewise.
9627         (CFLAGS-tst-lfschk4.cc): Likewise.
9628         (CFLAGS-tst-lfschk5.cc): Likewise.
9629         (CFLAGS-tst-lfschk6.cc): Likewise.
9631         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
9632         (main): Disable -Wdeprecated-declarations around calls to
9633         register_printf_function.
9635         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
9636         (do_test): Disable -Wdiv-by-zero around some calls to
9637         fwrite_unlocked and fread_unlocked.
9639         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
9640         (DIAG_POP_NEEDS_COMMENT): Likewise.
9641         (_DIAG_STR1): Likewise.
9642         (_DIAG_STR): Likewise.
9643         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
9644         * stdio-common/bug21.c: Include <libc-internal.h>.
9645         (do_test): Disable -Wformat around call to sscanf.
9646         * stdio-common/scanf14.c: Include <libc-internal.h>.
9647         (main): Disable -Wformat around some calls to scanf functions.
9649 2014-12-09  Torvald Riegel  <triegel@redhat.com>
9651         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
9653 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9655         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
9656         stack variable alignment.
9658 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
9660         [BZ #17682]
9661         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
9662         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
9663         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
9664         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
9665         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
9666         __getrlimit instead of getrlimit.
9667         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
9668         __gettimeofday instead of gettimeofday.
9669         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9670         Likewise.
9671         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
9672         Likewise.
9673         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9674         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
9675         Remove variable.
9676         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
9677         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
9679 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9681         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
9682         for wide-character tests.
9684 2014-12-04  Roland McGrath  <roland@hack.frob.com>
9686         * io/openat64.c: #include <libc-internal.h>
9687         (__openat64): Prototypify.  Use ignore_value on MODE.
9688         * io/openat.c: Likewise.
9689         * misc/reboot.c: #include <libc-internal.h>
9690         (reboot): Prototypify.  Use ignore_value on HOWTO.
9691         * misc/ptrace.c: #include <libc-internal.h>
9692         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
9694 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
9696         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
9697         XPG4, UNIX98 and XOPEN2K.
9698         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
9699         Remove variable.
9700         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
9702 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9704         * libio/fileops.c: Use ISO C style for function definitions.
9705         * libio/iofopen.c: Likewise.
9706         * libio/wfileops.c: Likewise.
9708         [BZ #17653]
9709         * libio/fileops.c (_IO_new_file_underflow): Unset cached
9710         offset on EOF.
9711         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
9712         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
9713         (fgets_func): Function pointer to fgets and fgetws.
9714         (do_ftell_test): Add test to verify ftell value after read
9715         EOF.
9716         (do_test): Set fgets_func.
9718         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
9719         O_TRUNC flag for w and w+ modes.
9720         (do_rewind_test): Likewise.
9721         (do_ftell_test): Likewise.
9722         (do_write_test): Likewise.
9724         [BZ #17647]
9725         * libio/fileops.c (do_ftell): Seek only when there are
9726         unflushed writes.
9727         * libio/wfileops.c (do_ftell_wide): Likewise.
9728         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
9729         test case.
9730         (do_one_test): Call it.
9732 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
9734         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
9735         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
9736         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
9737         Remove variable.
9738         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
9739         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
9740         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
9742 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
9744         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
9745         Remove variable.
9746         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
9748         [BZ #17668]
9749         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
9750         as weak alias of __getifaddrs.  Use libc_hidden_weak.
9751         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9752         __freeifaddrs.  Use libc_hidden_weak.
9753         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
9754         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
9755         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9756         __freeifaddrs.  Use libc_hidden_weak.
9757         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
9758         __getifaddrs and define as weak alias of __getifaddrs.  Use
9759         libc_hidden_weak.
9760         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9761         __freeifaddrs.  Use libc_hidden_weak.
9762         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
9763         Remove variable.
9764         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
9765         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
9767 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
9769         [BZ #17601]
9770         * sysdeps/mips/start.S (__start): Use indirect jump to call
9771         __libc_start_main.
9773 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
9775         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
9777         * nptl/tst-mutex1.c: Include <stdbool.h>.
9778         [!ATTR] (ATTR_NULL): New macro.
9779         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
9780         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
9781         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
9783         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
9784         to char *.
9786         [BZ #17665]
9787         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
9788         Change conditional to [__USE_MISC].
9790         [BZ #17664]
9791         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
9792         fgets_unlocked.
9793         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
9794         __fgets_unlocked.
9795         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
9796         fgets_unlocked.
9797         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
9798         Remove variable.
9799         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
9800         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
9801         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
9802         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
9803         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
9804         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
9805         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
9806         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
9807         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
9809         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
9811 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9813         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9814         Remove strpbrk objects.
9815         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9816         (__libc_ifunc_impl_list): Remove strpbrk implementation.
9817         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
9818         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
9819         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
9820         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
9822         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9823         Remove strcspn objects.
9824         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9825         (__libc_ifunc_impl_list): Remove strcspn implementation.
9826         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
9827         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
9828         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
9829         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
9831         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9832         Remove strspn objetcs.
9833         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9834         (__libc_ifunc_impl_list): Remove strspn implementation.
9835         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
9836         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
9837         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
9838         * sysdeps/powerpc/powerpc64/strspn.S: New file.
9840 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
9842         [BZ #17581]
9843         * malloc/hooks.c
9844         (mem2mem_check): Add a terminator to the chain of checking blocks.
9845         (malloc_check_get_size): Use it here.
9846         (mem2chunk_check): Ditto.
9848 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9850         * sysdeps/powerpc/powerpc64/strtok.S: New file.
9851         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
9853 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
9855         * bits/ioctl-types.h: Indent preprocessor directives correctly.
9857         * nptl/nptl-init.c: Include libc-internal.h.
9858         (__pthread_initialize_minimal_internal): Use ROUND_UP.
9860         * elf/ldconfig.c (search_dir): Expand comment.
9862 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
9864         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
9865         variable.
9866         (linknamespace-symlist-stdlibs-tests): Likewise.
9867         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
9868         instead of $(objpfx)symlist-stdlibs.
9869         (linknamespace-libs-isoc): New variable.
9870         (linknamespace-libs): Use $(linknamespace-libs-isoc).
9871         (linknamespace-libs-ISO): New variable.
9872         (linknamespace-libs-ISO99): Likewise.
9873         (linknamespace-libs-ISO11): Likewise.
9874         (linknamespace-libs-XPG3): Likewise.
9875         (linknamespace-libs-XPG4): Likewise.
9876         (linknamespace-libs-POSIX): Likewise.
9877         (linknamespace-libs-UNIX98): Likewise.
9878         (linknamespace-libs-XOPEN2K): Likewise.
9879         (linknamespace-libs-POSIX2008): Likewise.
9880         (linknamespace-libs-XOPEN2K8): Likewise.
9881         ($(objpfx)symlist-stdlibs): Replace by
9882         $(linknamespace-symlist-stdlibs-tests).  Use
9883         $(linknamespace-libs-$*) as set of libraries.
9884         ($(linknamespace-header-tests)): Update dependencies.  Use
9885         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
9886         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
9887         * conform/linknamespace.pl: Remove comment about considering
9888         definitions of symbols from irrelevant libraries.
9890 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
9892         [BZ #13862]
9893         * elf/dl-tls.c: Include <atomic.h>.
9894         (oom): Remove #ifdef SHARED/#endif.
9895         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
9896         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
9897         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
9898         big enough.
9899         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
9900         * nptl/Makefile (tests): Add tst-stack4.
9901         (modules-names): Add tst-stack4mod.
9902         ($(objpfx)tst-stack4): New.
9903         (tst-stack4mod.sos): Likewise.
9904         ($(objpfx)tst-stack4.out): Likewise.
9905         ($(tst-stack4mod.sos)): Likewise.
9906         (clean): Likewise.
9907         * nptl/tst-stack4.c: New file.
9908         * nptl/tst-stack4mod.c: Likewise.
9910 2014-11-27  J. Brown  <jb999@gmx.de>
9912         * sysdeps/x86/bits/string.h: Add recent CPUs.
9914 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
9916         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
9917         sigblock.
9919         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
9920         feof.
9922         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
9923         variable.
9925 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
9927         * nscd/connections.c: Include libc-internal.h because of macro
9928         usage ignore_value.
9930 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9932         * string/bits/string3.h (__warn_memset_zero_len): Don't
9933         declare for gcc newer than 5.0.
9934         (memset): Don't test for zero-length __LEN for gcc newer than
9935         5.0.
9937 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
9939         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
9940         size_t for %zu format.
9942         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
9943         difference, not %ju.
9945 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
9947         * include/libc-internal.h (ignore_value): New macro.
9948         * nscd/connections.c (restart): Wrap calls to setuid and setgid
9949         with ignore_value.
9951         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
9952         definition.
9954         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
9955         pthread_cleanup_push to void *.
9957         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
9958         Undefine.
9960         [BZ #16619]
9961         [BZ #16740]
9962         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
9963         instead of 1L << 52.
9965         * libio/bug-rewind.c (do_test): Check fwscanf return values.
9966         * libio/bug-rewind2.c (do_test): Likewise.
9968         * debug/test-stpcpy_chk-ifunc.c: Remove file.
9969         * debug/test-strcpy_chk-ifunc.c: Likewise.
9970         * wcsmbs/test-wcschr-ifunc.c: Likewise.
9971         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
9972         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
9973         * wcsmbs/test-wcslen-ifunc.c: Likewise.
9974         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
9975         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
9976         * Rules [$(multi-arch) = no] (tests): Do not filter out
9977         $(tests-ifunc).
9978         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
9979         * debug/Makefile (tests-ifunc): Remove variable.
9980         (tests): Do not add $(tests-ifunc).
9981         * wcsmbs/Makefile (tests-ifunc): Remove variable.
9982         (tests): Do not add $(tests-ifunc).
9983         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
9984         [TEST_IFUNC]: Remove conditionals.
9985         * string/test-string.h (TEST_IFUNC): Remove macro.
9986         [TEST_IFUNC]: Remove conditionals.
9988         * string/test-strchr.c [!WIDE] (L): New macro.
9989         [WIDE] (L): Likewise.
9990         (check1): Use CHAR instead of char.  Use L on string and character
9991         constants.
9993 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
9995         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
9996         tests.
9997         * sysdeps/powerpc/bits/atomic.h
9998         (__arch_atomic_exchange_and_add_32_acq): Add definition.
9999         (__arch_atomic_exchange_and_add_32_rel): Likewise.
10000         (atomic_exchange_and_add_acq): Likewise.
10001         (atomic_exchange_and_add_rel): Likewise.
10002         * sysdeps/powerpc/powerpc32/bits/atomic.h
10003         (__arch_atomic_exchange_and_add_64_acq): Add definition.
10004         (__arch_atomic_exchange_and_add_64_rel): Likewise.
10005         * sysdeps/powerpc/powerpc64/bits/atomic.h
10006         (__arch_atomic_exchange_and_add_64_acq): Add definition.
10007         (__arch_atomic_exchange_and_add_64_rel): Likewise.
10009 2014-11-26  Torvald Riegel  <triegel@redhat.com>
10011         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
10012         Change synchronization of __sched_fifo_min_prio and
10013         __sched_fifo_max_prio.
10014         * nptl/pthread_mutexattr_getprioceiling.c
10015         (pthread_mutexattr_getprioceiling): Likewise.
10016         * nptl/pthread_mutexattr_setprioceiling.c
10017         (pthread_mutexattr_setprioceiling): Likewise.
10018         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
10019         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
10020         Likewise.
10022 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
10024         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
10025         void.
10027 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
10029         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
10030         third argument const.
10032 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
10034         fnmatch: work around GCC compiler warning bug with uninit var
10035         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
10036         This works around a bug with x86-64 GCC 4.9.2 and earlier
10037         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
10038         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
10039         used uninitialized in this function [-Wmaybe-uninitialized]".
10041 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
10043         * posix/bug-regex31.c (main): Return RES not 0.
10045 2014-11-25  Anton Blanchard <anton@samba.org>
10047         * sysdeps/powerpc/bits/atomic.h
10048         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
10050 2014-11-24  Sterling Augustine  <saugustine@google.com>
10052         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
10054 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
10056         [BZ #17608]
10057         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
10059 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
10061         [BZ #17633]
10062         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
10063         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
10064         variable.
10065         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
10066         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
10068 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
10070         * string/strncpy.c (strncpy): Improve performance by using memset.
10072 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
10074         * string/strcpy.c (strcpy):
10075         Improve performance by using strlen and memcpy.
10077 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
10079         * string/strcoll_l.c (get_next_seq): __always_inline.
10080         * string/strcoll_l.c (do_compare): __always_inline.
10082 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10084         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
10085         defined.
10086         * include/mqueue.h: Likewise.
10087         * include/stdlib.h: Likewise.
10089         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
10090         (get_null_defines): Adjust.
10091         * sunrpc/Makefile: Adjust comment.
10092         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
10093         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
10094         (CFLAGS-interp.c): Likewise.
10095         (CFLAGS-ldconfig.c): Likewise.
10096         (CPPFLAGS-.os): Likewise.
10097         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10098         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
10099         * extra-modules.mk (extra-modules.mk): Likewise.
10100         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
10101         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
10102         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
10103         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
10104         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
10105         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
10106         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
10107         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
10108         * iconvdata/Makefile (CPPFLAGS): Likewise.
10109         (cpp-srcs-left): Add libof for all iconvdata routines.
10110         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
10111         * include/assert.h: Likewise.
10112         * include/ctype.h: Likewise.
10113         * include/errno.h: Likewise.
10114         * include/libc-symbols.h: Likewise.
10115         * include/math.h: Likewise.
10116         * include/netdb.h: Likewise.
10117         * include/resolv.h: Likewise.
10118         * include/stdio.h: Likewise.
10119         * include/stdlib.h: Likewise.
10120         * include/string.h: Likewise.
10121         * include/sys/stat.h: Likewise.
10122         * include/wctype.h: Likewise.
10123         * intl/l10nflist.c: Likewise.
10124         * libidn/idn-stub.c: Likewise.
10125         * libio/libioP.h: Likewise.
10126         * nptl/libc_multiple_threads.c: Likewise.
10127         * nptl/pthreadP.h: Likewise.
10128         * posix/regex_internal.h: Likewise.
10129         * resolv/res_hconf.c: Likewise.
10130         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
10131         * sysdeps/arm/memmove.S: Likewise.
10132         * sysdeps/arm/sysdep.h: Likewise.
10133         * sysdeps/generic/_itoa.h: Likewise.
10134         * sysdeps/generic/symbol-hacks.h: Likewise.
10135         * sysdeps/gnu/errlist.awk: Likewise.
10136         * sysdeps/gnu/errlist.c: Likewise.
10137         * sysdeps/i386/i586/memcpy.S: Likewise.
10138         * sysdeps/i386/i586/memset.S: Likewise.
10139         * sysdeps/i386/i686/memcpy.S: Likewise.
10140         * sysdeps/i386/i686/memmove.S: Likewise.
10141         * sysdeps/i386/i686/mempcpy.S: Likewise.
10142         * sysdeps/i386/i686/memset.S: Likewise.
10143         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10144         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10145         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
10146         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
10147         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10148         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10149         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
10150         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10151         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10152         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10153         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10154         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10155         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10156         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10157         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10158         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10159         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
10160         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
10161         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
10162         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10163         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10164         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10165         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10166         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10167         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10168         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10169         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
10170         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10171         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
10172         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10173         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10174         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10175         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10176         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10177         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10178         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10179         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10180         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10181         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10182         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10183         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10184         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10185         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10186         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10187         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10188         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10189         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
10190         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
10191         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10192         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10193         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10194         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
10195         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
10196         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10197         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10198         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
10199         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10200         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
10201         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
10202         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10203         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10204         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10205         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
10206         * sysdeps/nptl/bits/libc-lock.h: Likewise.
10207         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
10208         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
10209         * sysdeps/posix/closedir.c: Likewise.
10210         * sysdeps/posix/opendir.c: Likewise.
10211         * sysdeps/posix/readdir.c: Likewise.
10212         * sysdeps/posix/rewinddir.c: Likewise.
10213         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
10214         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
10215         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
10216         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10217         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10218         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
10219         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
10220         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
10221         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
10222         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
10223         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
10224         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
10225         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
10226         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
10227         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
10228         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
10229         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
10230         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
10231         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
10232         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
10233         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
10234         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
10235         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
10236         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
10237         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
10238         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
10239         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
10240         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
10241         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
10242         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
10243         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
10244         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
10245         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
10246         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
10247         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
10248         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
10249         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10250         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10251         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
10252         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
10253         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
10254         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
10255         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
10256         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
10257         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
10258         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
10259         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
10260         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
10261         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
10262         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
10263         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
10264         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
10265         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
10266         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
10267         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
10268         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
10269         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
10270         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
10271         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
10272         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
10273         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
10274         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
10275         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
10276         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
10277         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
10278         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
10279         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
10280         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
10281         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
10282         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
10283         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
10284         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
10285         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
10286         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
10287         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
10288         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
10289         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
10290         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
10291         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
10292         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
10293         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
10294         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10295         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
10296         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
10297         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
10298         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
10299         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
10300         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
10301         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
10302         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10303         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
10304         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
10305         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
10306         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
10307         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10308         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
10309         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
10310         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10311         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
10312         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
10313         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10314         * sysdeps/unix/alpha/sysdep.S: Likewise.
10315         * sysdeps/unix/alpha/sysdep.h: Likewise.
10316         * sysdeps/unix/make-syscalls.sh: Likewise.
10317         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10318         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10319         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10320         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
10321         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10322         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
10323         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
10324         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10325         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10326         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
10327         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10328         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10329         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10330         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
10331         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10332         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10333         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10334         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10335         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
10336         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10337         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
10338         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10339         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10340         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10341         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10342         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10343         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
10345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
10346         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
10347         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10348         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10349         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10350         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10351         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10352         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10353         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10354         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10355         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10356         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
10357         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10358         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10359         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10360         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
10361         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10362         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10363         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10364         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10365         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10366         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10367         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10368         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10369         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10370         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10371         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
10372         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10373         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10374         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10375         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
10376         * sysdeps/x86_64/memcpy.S: Likewise.
10377         * sysdeps/x86_64/memmove.c: Likewise.
10378         * sysdeps/x86_64/memset.S: Likewise.
10379         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
10380         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10381         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
10382         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
10383         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
10384         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10385         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10386         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10387         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10388         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10389         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10390         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10391         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
10392         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10393         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10394         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
10395         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10396         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
10397         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10398         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
10399         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
10400         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10401         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10402         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10403         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
10404         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
10405         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10406         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
10407         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
10408         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
10409         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
10410         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
10411         * sysdeps/x86_64/strcmp.S: Likewise.
10413         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
10415         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
10416         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
10417         * elf/rtld-Rules: Likewise.
10418         * elf/setup-vdso.h: Likewise.
10419         * include/assert.h: Likewise.
10420         * include/bits/stdlib-float.h: Likewise.
10421         * include/errno.h: Likewise.
10422         * include/sys/stat.h: Likewise.
10423         * include/unistd.h: Likewise.
10424         * sysdeps/aarch64/setjmp.S: Likewise.
10425         * sysdeps/alpha/setjmp.S: Likewise.
10426         * sysdeps/arm/__longjmp.S: Likewise.
10427         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
10428         * sysdeps/arm/setjmp.S: Likewise.
10429         * sysdeps/arm/sysdep.h: Likewise.
10430         * sysdeps/generic/_itoa.h: Likewise.
10431         * sysdeps/generic/dl-sysdep.h: Likewise.
10432         * sysdeps/generic/ldsodefs.h: Likewise.
10433         * sysdeps/i386/dl-tls.h: Likewise.
10434         * sysdeps/i386/setjmp.S: Likewise.
10435         * sysdeps/m68k/setjmp.c: Likewise.
10436         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
10437         * sysdeps/mach/hurd/opendir.c: Likewise.
10438         * sysdeps/posix/getcwd.c: Likewise.
10439         * sysdeps/posix/opendir.c: Likewise.
10440         * sysdeps/posix/profil.c: Likewise.
10441         * sysdeps/powerpc/dl-procinfo.h: Likewise.
10442         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10443         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10444         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10445         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10446         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
10447         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
10448         * sysdeps/s390/dl-tls.h: Likewise.
10449         * sysdeps/s390/s390-32/setjmp.S: Likewise.
10450         * sysdeps/s390/s390-64/setjmp.S: Likewise.
10451         * sysdeps/sh/sh3/setjmp.S: Likewise.
10452         * sysdeps/sh/sh4/setjmp.S: Likewise.
10453         * sysdeps/unix/alpha/sysdep.h: Likewise.
10454         * sysdeps/unix/arm/sysdep.S: Likewise.
10455         * sysdeps/unix/i386/sysdep.S: Likewise.
10456         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10457         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10458         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10459         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10460         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10461         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
10462         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
10463         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10464         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10465         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
10466         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
10467         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10468         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10471         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10472         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10473         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10474         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10475         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10476         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10477         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10478         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10479         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10480         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10481         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10482         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10483         * sysdeps/unix/x86_64/sysdep.S: Likewise.
10484         * sysdeps/x86_64/setjmp.S: Likewise.
10486         * include/math.h: Use IS_IN instead of IS_IN_libm.
10487         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
10488         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10489         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10490         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10491         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10492         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10493         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10494         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10495         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10496         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10497         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
10498         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
10499         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
10500         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
10501         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
10502         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
10503         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
10504         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
10505         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
10506         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
10507         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
10508         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
10509         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
10510         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
10511         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
10512         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
10513         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
10514         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
10515         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
10516         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
10517         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
10518         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
10519         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
10520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
10521         Likewise.
10522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
10523         Likewise.
10524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
10525         Likewise.
10526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
10527         Likewise.
10528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
10529         Likewise.
10530         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
10531         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
10532         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
10533         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10534         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10535         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10536         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
10537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
10538         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
10539         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
10540         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
10541         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
10542         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
10543         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
10544         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
10545         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
10546         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
10547         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
10548         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
10549         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
10550         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
10551         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
10552         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
10553         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
10554         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
10555         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
10556         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
10558         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
10559         * nptl/pthreadP.h: Likewise.
10560         * nptl_db/structs.def: Likewise.
10561         * sysdeps/arm/sysdep.h: Likewise.
10562         * sysdeps/nptl/bits/libc-lock.h: Likewise.
10563         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
10564         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
10565         * sysdeps/unix/alpha/sysdep.h: Likewise.
10566         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10567         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10568         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10569         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10570         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10571         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10572         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10573         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10574         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10575         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10576         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10577         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10578         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10579         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
10581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
10582         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10583         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10584         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10585         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10586         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10587         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10588         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10589         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10590         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
10591         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10593         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
10594         * nptl/pthreadP.h: Likewise.
10595         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10596         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10597         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10598         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10599         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10600         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10601         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10602         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10603         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10604         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10605         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10606         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
10608         Likewise.
10609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
10610         Likewise.
10611         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10612         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10613         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10614         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10615         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10616         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10617         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10618         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10620         * dlfcn/dladdr.c: Use IS_IN.
10621         * dlfcn/dladdr1.c: Likewise.
10622         * dlfcn/dlclose.c: Likewise.
10623         * dlfcn/dlerror.c: Likewise.
10624         * dlfcn/dlinfo.c: Likewise.
10625         * dlfcn/dlmopen.c: Likewise.
10626         * dlfcn/dlopen.c: Likewise.
10627         * dlfcn/dlsym.c: Likewise.
10628         * dlfcn/dlvsym.c: Likewise.
10630         * include/ifaddrs.h: Use IS_IN.
10631         * inet/check_pf.c: Likewise.
10632         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10633         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
10635         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
10636         IS_IN_ldconfig.
10637         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
10638         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
10640         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
10641         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
10642         IS_IN (libc).
10644         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
10646         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
10647         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10648         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
10649         * include/libc-symbols.h (IS_IN_LIB): New macro.
10650         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
10651         * include/netdb.h: Likewise.
10652         * include/stap-probe.h: Remove all uses of IN_LIB.
10654         * Makeconfig (module-cppflags-real): Define MODULE_NAME
10655         instead of IN_MODULE.
10656         * include/libc-symbols.h (IN_MODULE): Define using
10657         MODULE_NAME.
10658         (PASTE_NAME, PASTE_NAME1): New macros.
10659         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
10660         of IN_LIB.
10661         (STAP_PROBE_ASM): Likewise.
10663 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10665         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
10666         __mach_init in dlopened libc.
10668 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
10670         * sysdeps/arm/preconfigure.ac: Delete EABI check.
10671         * sysdeps/arm/preconfigure: Regenerate.
10673 2014-11-21  Roland McGrath  <roland@hack.frob.com>
10675         * nptl/pthread_create.c (__pthread_create_2_1): Set
10676         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
10677         when copying values from IATTR into PD.
10679 2014-11-21  Will Newton  <will.newton@linaro.org>
10680             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
10682         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
10683         Refactor inline-asm.  Also add comment.
10685         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
10686         ElfW macro instead of hardcoded Elf64 types.
10687         (la_aarch64_gnu_pltenter): Likewise.
10688         * sysdeps/aarch64/dl-machine.h
10689         (elf_machine_runtime_setup): Use ElfW(Addr).
10691         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
10692         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
10693         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
10694         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
10695         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
10696         (R_AARCH64_TLS_DTPMOD64): Rename to ..
10697         (R_AARCH64_TLS_DTPMOD): This.
10698         (R_AARCH64_TLS_DTPREL64): Rename to ...
10699         (R_AARCH64_TLS_DTPREL): This.
10700         (R_AARCH64_TLS_TPREL64): Rename to ...
10701         (R_AARCH64_TLS_TPREL): This.
10702         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
10703         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
10704         R_AARCH64_TLS_TPREL64.
10705         (elf_machine_rela): Likewise.
10707 2014-11-21  Torvald Riegel  <triegel@redhat.com>
10709         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
10710         by setting it to 0.  64b atomics are not supported currently.
10712 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10714         [BZ #16469]
10715         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
10716         search domain names.
10718 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10720         [BZ #16469]
10721         * NEWS: Update.
10722         * resolv/res_query.c (__libc_res_nquerydomain): Retain
10723         trailing dot.
10724         * posix/tst-getaddrinfo5.c: New.
10725         * posix/Makefile (tests): Add it.
10727 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10729         [BZ #14498]
10730         * NEWS: Fixed.
10731         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
10732         after parsing line but before break_if_match.
10733         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
10734         if there is a protocol mismatch.
10736 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
10738         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
10739         because the potential race is on the user-supplied stream.
10741 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10743         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
10744         string literal if not passed a buffer.
10745         * manual/job.texi (ctermid): Update reasoning, note deviation
10746         from posix, suggest mtasurace when not passed a buffer, for
10747         future non-preliminary safety notes.
10749 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10751         * manual/users.texi (cuserid): Fix MT-Safety note for the case
10752         of not passing it a buffer.
10753         Reported by Peng Haitao.
10755 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10757         * manual/Makefile ($(objpfx)stamp-summary): Require
10758         check-safety.sh to pass.
10759         * manual/check-safety.sh: Wish for verification that every
10760         @deftypefn and @deftypefun is followed by a @safety remark.
10762 2014-11-20  Roland McGrath  <roland@hack.frob.com>
10764         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
10766         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
10767         PTHREAD_CANCEL_ASYNCHRONOUS.
10768         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
10769         send SIGCANCEL.
10771         * nptl/default-sched.h: New file.
10772         * sysdeps/unix/sysv/linux/default-sched.h: New file.
10773         * nptl/pthread_create.c: Include it.
10774         (__pthread_create_2_1): Use collect_default_sched instead of making
10775         Linux syscalls here directly.
10777 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10779         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
10780         __pthread_once): Use C11 atomics.
10782 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10784         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
10786 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10788         * include/atomic.h (__atomic_link_error, __atomic_check_size,
10789         atomic_thread_fence_acquire, atomic_thread_fence_release,
10790         atomic_thread_fence_seq_cst, atomic_load_relaxed,
10791         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
10792         atomic_compare_exchange_weak_relaxed,
10793         atomic_compare_exchange_weak_acquire,
10794         atomic_compare_exchange_weak_release,
10795         atomic_exchange_acquire, atomic_exchange_release,
10796         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
10797         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
10798         atomic_fetch_and_acquire,
10799         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
10801 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10803         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
10804         USE_ATOMIC_COMPILER_BUILTINS): Define.
10805         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
10806         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10807         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
10808         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10809         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
10810         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10811         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
10812         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10813         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
10814         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10815         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
10816         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10817         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
10818         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10819         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
10820         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10821         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
10822         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10823         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
10824         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10825         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
10826         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10827         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
10828         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10829         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
10830         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10831         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
10832         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10833         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
10834         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10835         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
10836         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10837         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
10838         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10839         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
10840         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10841         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
10842         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10843         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
10844         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10846 2014-11-19  Roland McGrath  <roland@hack.frob.com>
10848         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
10849         the sched_priority value here.  It was already checked when the user
10850         called pthread_attr_setschedparam.
10852         * nptl/tst-bad-schedattr.c: New file.
10853         * nptl/Makefile (tests): Add it.
10855 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
10856             Florian Weimer  <fweimer@redhat.com>
10857             Joseph Myers  <joseph@codesourcery.com>
10858             Adam Conrad  <adconrad@0c3.net>
10859             Andreas Schwab  <schwab@suse.de>
10860             Brooks  <bmoses@google.com>
10862         [BZ #17625]
10863         * wordexp-test.c (__dso_handle): Add prototype.
10864         (__register_atfork): Likewise.
10865         (__app_register_atfork): New function.
10866         (registered_forks): New global.
10867         (register_fork): New function.
10868         (test_case): Add 3 new tests for WRDE_CMDSUB.
10869         (main): Call __app_register_atfork.
10870         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
10871         fork count is non-zero fail the test.
10872         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
10873         is set.
10874         (parse_dollars): Remove check for WRDE_NOCMD.
10875         (parse_dquote): Likewise.
10877 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10879         * Makeconfig (built-modules): List non-library modules to be
10880         built.
10881         (module-cppflags): Include libc-modules.h for
10882         everything except shlib-versions.v.i.
10883         (CPPFLAGS): Use it.
10884         (before-compile): Add libc-modules.h.
10885         ($(common-objpfx)libc-modules.h,
10886         $(common-objpfx)libc-modules.stmp): New targets.
10887         (common-generated): Add libc-modules.h and libc-modules.stmp.
10888         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
10889         * include/libc-symbols.h: Don't include libc-modules.h.
10890         * include/libc-modules.h: Remove file.
10891         * scripts/gen-libc-modules.awk: New script to generate
10892         libc-modules.h.
10893         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
10894         Depend on libc-modules.stmp.
10896         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
10898         * Makeconfig (in-module): Get value of libof set for the
10899         translation unit.
10900         (CPPFLAGS): Use $(in-module).
10901         * Makerules: Don't suffix routine names for nonlib.
10902         * include/libc-modules.h: New file.
10903         * include/libc-symbols.h: Include libc-modules.h
10904         (IS_IN): New macro to replace IS_IN_* macros.
10905         * elf/Makefile: Set libof-* for each routine.
10906         * elf/rtld-Rules: Likewise.
10907         * extra-modules.mk: Likewise.
10908         * iconv/Makefile: Likewise.
10909         * iconvdata/Makefile: Likewise.
10910         * locale/Makefile: Likewise.
10911         * malloc/Makefile: Likewise.
10912         * nss/Makefile: Likewise.
10913         * sysdeps/gnu/Makefile: Likewise.
10914         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
10915         * sysdeps/unix/sysv/linux/Makefile: Likewise.
10916         * sysdeps/s390/s390-64/Makefile: Likewise.
10917         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
10918         CPPFLAGS for nscd instead of nonlib.
10920 2014-11-18  Roland McGrath  <roland@hack.frob.com>
10922         * nptl/createthread.c: New file.
10924         * nptl/createthread.c: Moved ...
10925         * sysdeps/unix/sysv/linux/createthread.c: ... here.
10927         * nptl/createthread.c: Add proper top-line comment.
10928         (do_clone): Folded into ...
10929         (create_thread): ... here.  Take new arguments STOPPED_START and
10930         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
10931         increment __nptl_threads, do event-reporting logic, do
10932         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
10933         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
10934         resource cleanup if sched_setaffinity or sched_setscheduler fails,
10935         just send SIGCANCEL.
10936         * nptl/pthread_create.c: Forward-declare create_thread before
10937         including createthread.c.
10938         (start_thread): Use new macro START_THREAD_DEFN to replace defining
10939         declaration, and new macro START_THREAD_SELF to replace argument.
10940         Remove return statement.
10941         (report_thread_creation): New function.
10942         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
10943         synchronization logic, and __nptl_nthreads increment here, around
10944         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
10945         PD->parent_cancelhandling here, before create_thread.  When
10946         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
10947         __deallocate_stack, and ENOMEM translation here.
10949 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
10951         [BZ #17616]
10952         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
10953         (mptwo): Rename to __mptwo.
10954         (__inv): Use __mptwo instead of mptwo.
10955         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
10956         (mptwo): Rename to __mptwo.
10957         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
10958         of mpone and __mptwo instead of mptwo.
10959         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
10960         instead of mpone.
10961         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10962         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
10963         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
10964         of mpone and __mptwo instead of mptwo.
10965         (__mpranred): Use __mpone instead of mpone.
10966         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
10967         variable.
10968         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
10969         (test-xfail-ISO99/math.h/linknamespace): Likewise.
10970         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
10971         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
10972         (test-xfail-ISO11/math.h/linknamespace): Likewise.
10973         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
10974         (test-xfail-XPG3/math.h/linknamespace): Likewise.
10975         (test-xfail-XPG4/math.h/linknamespace): Likewise.
10976         (test-xfail-POSIX/math.h/linknamespace): Likewise.
10977         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
10978         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
10979         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
10980         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
10981         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
10982         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
10983         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
10984         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
10985         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
10986         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
10988 2014-11-18  Tom de Vries  <tom@codesoucery.com>
10990         * manual/signal.texi (Primitives Interrupted by Signals): In section,
10991         replace BSD Handler xref with BSD Signal Handling.
10993 2014-11-17  Richard Henderson  <rth@redhat.com>
10995         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
10996         (_FP_PACK_RAW_2): Remove.
10997         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
10998         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
10999         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
11000         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
11001         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
11002         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
11003         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
11004         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
11005         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
11006         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
11007         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
11008         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
11009         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
11010         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
11011         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
11012         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
11014 2014-11-14  Roland McGrath  <roland@hack.frob.com>
11016         * signal/signal.h [__USE_MISC]
11017         (struct sigvec): Remove type.
11018         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
11019         (sigvec): Remove declaration.
11020         * sysdeps/posix/sigvec.c: Moved ...
11021         * signal/sigvec.c: ... here, replacing old file.
11022         (struct sigvec): New type, copied from old signal.h definition.
11023         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
11024         (__sigvec): Convert definition to prototype.
11025         (sigvec): Replace weak_alias with compat_symbol.
11026         * signal/Versions (libc: GLIBC_2.21): New version set.
11027         * include/signal.h: Remove __sigvec declaration.
11028         * sysdeps/unix/bsd/sigvec.c: Remove file.
11029         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
11030         * manual/signal.texi (BSD Handler): Remove subsection.
11031         Move siginterrupt up to ...
11032         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
11033         (Blocking in BSD): Fold subsection into its parent.
11034         * NEWS: Mention sigvec removal.
11036 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
11038         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
11039         (DLA_FMS): Make definition conditional only on [__FMA4__].
11040         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
11041         definition.
11043         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
11044         Make definition conditional only on [PROF].
11045         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
11046         definition.
11047         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
11048         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
11050         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
11051         !__GNUC__].
11052         * include/signal.h (__sigpause): Move declaration above call to
11053         libc_hidden_proto.
11054         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
11055         variable.
11056         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
11057         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
11059 2014-11-14  David S. Miller  <davem@davemloft.net>
11061         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
11062         Define before including <string/memcpy.c> and <string/mempcpy.c>.
11064 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
11066         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
11067         * configure: Regenerated.
11068         * manual/install.texi (Tools for Compilation): Document a
11069         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
11070         compiler verified to work.
11071         * INSTALL: Regenerated.
11073         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
11074         redeclare with asm name.
11075         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
11076         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
11077         including <string.h>.
11078         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11079         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
11080         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11081         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
11082         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11083         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
11084         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11086 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
11088         * stdlib/strtol.c (__strtol): Use prototype definition.
11090         [BZ #17594]
11091         * stdlib/strtol.c (SYM__): New macro.
11092         (SYM__1): Likewise.
11093         (__strtol): Likewise.
11094         (strtol): Rename to __strtol and define as weak alias of
11095         __strtol.  Use libc_hidden_weak.
11097 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11099         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
11100         Use numbered labels in inline assembly.
11102 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11104         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
11105         Add setjmp LIBC_PROBE.
11106         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
11107         Likewise.
11108         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
11109         Add longjmp, longjmp_target LIBC_PROBE.
11110         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
11111         Likewise.
11113 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11115         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
11116         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
11117         to get rid of unused variable warning.
11119 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11121         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
11122         Check for unwind_backtrace ==  NULL only in SHARED case.
11123         (__backchain_backtrace): Compile only in SHARED case.
11124         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
11125         Likewise.
11126         (__backchain_backtrace): Declare as static.
11128 2014-11-12  Roland McGrath  <roland@hack.frob.com>
11130         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
11131         (__libc_multiple_threads_ptr): Variable moved ...
11132         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
11134 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
11136         * conform/GlibcConform.pm: New file.
11137         * conform/conformtest.pl: Use GlibcConform module.
11138         * conform/linknamespace.pl: New file.
11139         * conform/list-header-symbols.pl: Likewise.
11140         * conform/Makefile (linknamespace-symlists-base): New variable.
11141         (linknamespace-symlists-tests): Likewise.
11142         (linknamespace-header-base): Likewise.
11143         (linknamespace-header-tests): Likewise.
11144         (tests-special): Add new tests.
11145         ($(linknamespace-symlists-tests)): New rule.
11146         (linknamespace-libs): New variable.
11147         ($(objpfx)symlist-stdlibs): New rule.
11148         ($(linknamespace-header-tests)): Likewise.
11149         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
11150         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
11151         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
11152         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
11153         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
11154         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
11155         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
11156         (test-xfail-ISO/math.h/linknamespace): Likewise.
11157         (test-xfail-ISO/signal.h/linknamespace): Likewise.
11158         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
11159         (test-xfail-ISO/time.h/linknamespace): Likewise.
11160         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
11161         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
11162         (test-xfail-ISO99/math.h/linknamespace): Likewise.
11163         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
11164         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
11165         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
11166         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
11167         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
11168         (test-xfail-ISO11/math.h/linknamespace): Likewise.
11169         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
11170         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
11171         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
11172         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
11173         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
11174         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
11175         (test-xfail-XPG3/math.h/linknamespace): Likewise.
11176         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
11177         (test-xfail-XPG3/search.h/linknamespace): Likewise.
11178         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
11179         (test-xfail-XPG3/time.h/linknamespace): Likewise.
11180         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
11181         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
11182         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
11183         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
11184         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
11185         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
11186         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
11187         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
11188         (test-xfail-XPG4/math.h/linknamespace): Likewise.
11189         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
11190         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
11191         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
11192         (test-xfail-XPG4/search.h/linknamespace): Likewise.
11193         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
11194         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
11195         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
11196         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
11197         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
11198         (test-xfail-XPG4/time.h/linknamespace): Likewise.
11199         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
11200         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
11201         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
11202         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
11203         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
11204         (test-xfail-POSIX/math.h/linknamespace): Likewise.
11205         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
11206         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
11207         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
11208         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
11209         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
11210         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
11211         (test-xfail-POSIX/time.h/linknamespace): Likewise.
11212         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
11213         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
11214         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
11215         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
11216         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
11217         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
11218         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
11219         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
11220         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
11221         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
11222         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
11223         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
11224         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
11225         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
11226         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
11227         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
11228         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
11229         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
11230         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
11231         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
11232         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
11233         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
11234         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
11235         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
11236         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
11237         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
11238         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
11239         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
11240         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
11241         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
11242         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
11243         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
11244         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
11245         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
11246         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
11247         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
11248         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
11249         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
11250         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
11251         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
11252         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
11253         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
11254         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
11255         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
11256         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
11257         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
11258         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
11259         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
11260         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
11261         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
11262         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
11263         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
11264         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
11265         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
11266         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
11267         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
11268         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
11269         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
11270         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
11271         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
11272         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
11273         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
11274         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
11275         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
11276         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
11277         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
11278         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
11279         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
11280         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
11281         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
11282         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
11283         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
11284         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
11285         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
11286         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
11287         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
11288         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
11289         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
11290         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
11291         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
11292         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
11293         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
11294         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
11295         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
11296         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
11297         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
11298         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
11299         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
11300         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
11301         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
11302         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
11303         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
11304         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
11305         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
11306         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
11307         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
11308         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
11309         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
11311         [BZ #17589]
11312         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
11313         of fgets_unlocked.
11315         [BZ #17585]
11316         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
11317         (memmem): Rename to __memmem and define as weak alias of
11318         __memmem.  Use libc_hidden_weak.
11319         (__memmem): Use libc_hidden_def.
11320         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
11321         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
11322         memmem.
11324         [BZ #17582]
11325         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
11326         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
11327         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
11328         and define as weak alias of __fgets_unlocked.  Use
11329         libc_hidden_weak.
11330         (__fgets_unlocked): Use libc_hidden_def.
11331         * include/stdio.h (__fgets_unlocked): Declare.  Use
11332         libc_hidden_proto.
11333         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
11334         __fgets_unlocked instead of fgets_unlocked.
11335         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
11336         (GET_NPROCS_CONF_PARSER): Likewise.
11337         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
11338         (GET_NPROCS_CONF_PARSER): Likewise.
11340         [BZ #17574]
11341         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
11342         weak alias of __wmemset.  Use libc_hidden_weak.
11343         (__wmemset): Use libc_hidden_def.
11344         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
11345         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
11346         of wmemset.
11348         [BZ #17573]
11349         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
11350         with asm name __mempcpy.
11351         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
11353         [BZ #17572]
11354         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
11355         and define as weak alias of __rawmemchr.
11356         (__rawmemchr): Do not define as strong alias of rawmemchr.
11358         [BZ #17571]
11359         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
11360         alias of __qsort_r.
11361         (qsort): Call __qsort_r instead of qsort_r.
11362         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
11363         (__qsort_r): Declare.  Call libc_hidden_proto.
11364         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
11365         instead of qsort_r.
11366         * nscd/gai.c (__qsort_r): Define to qsort_r.
11367         * posix/tst-rfc3484.c (__qsort_r): Likewise.
11368         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
11369         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
11371         [BZ #17570]
11372         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
11373         define as weak alias of __malloc_info.
11375         [BZ #17584]
11376         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
11377         as weak alias of __rewinddir.  Don't use libc_hidden_def.
11378         (__rewinddir): Use libc_hidden_def.
11379         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
11380         as weak alias of __rewinddir.  Don't use libc_hidden_def.
11381         (__rewinddir): Use libc_hidden_def.
11382         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
11383         weak alias of __rewinddir.  Don't use libc_hidden_def.
11384         (__rewinddir): Use libc_hidden_def.
11385         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
11386         (__rewinddir): Use libc_hidden_proto.
11387         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
11388         rewinddir.
11389         (__getcwd): Use __rewinddir instead of rewinddir.
11391         [BZ #17583]
11392         * libio/fileno.c (fileno): Rename to __fileno and define as weak
11393         alias of __fileno.  Use libc_hidden_weak.
11394         (__fileno): Use libc_hidden_def.
11395         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
11396         * libio/ftello.c (ftello): Rename to __ftello and define as weak
11397         alias of __ftello.
11398         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
11399         __ftello.
11400         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
11401         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
11402         libc_hidden_def.
11403         (fread_unlocked): Don't use libc_hidden_ver.
11404         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
11405         and define as weak alias of __fread_unlocked.  Don't use
11406         libc_hidden_def.
11407         (__fread_unlocked): Use libc_hidden_def.
11408         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
11409         (ftello): Don't use libc_hidden_proto.
11410         (__ftello): Declare.  Use libc_hidden_proto.
11411         (fread_unlocked): Don't use libc_hidden_proto.
11412         (__fread_unlocked): Declare.  Use libc_hidden_proto.
11413         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
11414         and __ftello instead of fileno, fread_unlocked and ftello.
11416 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11418         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
11419         GOT12.
11420         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
11421         Likewise.
11422         (_dl_start_user): Likewise.
11423         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
11425 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
11426             Siddhesh Poyarekar  <siddhesh@redhat.com>
11428         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
11429         Move argv and envp down instead of moving argc up.
11430         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
11432 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
11434         [BZ #17506]
11435         * test-skeleton.c (main): Return successful if one of
11436         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
11437         * string/tst-strcoll-overflow.c: Define expected status.
11439 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
11441         [BZ #17475]
11442         * locale/iso-639.def: Define Bhili and Tulu language codes.
11444 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
11446         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
11448 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
11450         [BZ #17555]
11451         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
11453 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
11455         * configure.ac: Updated check of minimal required version to
11456         2.22.
11457         * manual/install.texi (Tools for Compilation): Updated version
11458         number.
11459         * configure: Regenerated.
11460         * INSTALL: Likewise.
11462 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
11464         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
11465         __tls_get_addr.
11467 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
11469         * include/sys/wait.h (__libc_waitpid): Remove declaration.
11470         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
11471         (__waitpid): Don't define as alias.  Use libc_hidden_def not
11472         libc_hidden_weak.
11473         (waitpid): Define as alias of __waitpid.
11474         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
11475         __waitpid.
11476         (__waitpid): Don't define as alias.  Use libc_hidden_def not
11477         libc_hidden_weak.
11478         (waitpid): Define as alias of __waitpid.
11479         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
11480         __libc_waitpid alias.
11481         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
11482         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
11483         Likewise.
11484         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
11485         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
11486         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
11487         alias.
11488         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
11489         __waitpid.
11490         (__waitpid): Don't define as alias.  Use libc_hidden_def not
11491         libc_hidden_weak.
11492         (waitpid): Define as alias of __waitpid.
11494 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
11496         * manual/llio.texi: Add comment that write safety has been
11497         fixed in Linux.
11499         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
11500         (localplt-build-dso): Add elf/ld.so.
11501         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
11502         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
11503         and free for ld.so.
11504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
11505         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
11506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
11507         Likewise.
11508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
11509         Likewise.
11510         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
11511         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
11512         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
11513         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
11514         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
11515         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
11516         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
11517         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
11518         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
11519         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
11520         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
11522 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
11524         [BZ #14132]
11525         * include/libc-symbols.h (INTUSE): Remove macro.
11526         (INTDEF): Likewise.
11527         (INTVARDEF): Likewise.
11528         (_INTVARDEF): Likewise.
11529         (INTDEF2): Likewise.
11530         (INTVARDEF2): Likewise.
11531         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
11532         rtld_hidden_def instead of INTVARDEF.
11533         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
11534         (_dl_starting_up_internal): Remove declaration.
11535         (_dl_starting_up): Use rtld_hidden_proto.
11536         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
11537         declaration.
11538         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
11539         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
11540         _dl_starting_up.
11541         * elf/dl-writev.h (_dl_writev): Likewise.
11542         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
11543         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
11544         _dl_starting_up_internal.
11546 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11548         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
11549         test-skeleton.c.
11551 2014-11-05  Will Newton  <will.newton@linaro.org>
11553         * benchtests/Makefile: (bench-malloc): Add malloc thread
11554         scalability benchmark.
11555         * benchtests/bench-malloc-threads.c: New file.
11557 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
11559         * sysdeps/aarch64/strchrnul.S: New file.
11561 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11563         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
11564         definition.
11565         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
11566         Likwise.
11567         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
11568         Likewise.
11569         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
11570         Likewise.
11571         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
11572         Likewise.
11573         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
11574         Likewise.
11576 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
11578         * catgets/test-gencat.c: Use test-skeleton.c.
11579         * catgets/tst-catgets.c: Likewise.
11580         * csu/tst-empty.c: Likewise.
11581         * elf/tst-audit2.c: Likewise.
11582         * elf/tst-global1.c: Likewise.
11583         * elf/tst-pathopt.c: Likewise.
11584         * elf/tst-piemod1.c: Likewise.
11585         * elf/tst-tls10.c: Likewise.
11586         * elf/tst-tls11.c: Likewise.
11587         * elf/tst-tls12.c: Likewise.
11588         * gnulib/tst-gcc.c: Likewise.
11589         * iconvdata/tst-e2big.c: Likewise.
11590         * iconvdata/tst-loading.c: Likewise.
11591         * iconv/tst-iconv1.c: Likewise.
11592         * iconv/tst-iconv2.c: Likewise.
11593         * inet/test-inet6_opt.c: Likewise.
11594         * inet/tst-gethnm.c: Likewise.
11595         * inet/tst-network.c: Likewise.
11596         * inet/tst-ntoa.c: Likewise.
11597         * intl/tst-codeset.c: Likewise.
11598         * intl/tst-gettext2.c: Likewise.
11599         * intl/tst-gettext3.c: Likewise.
11600         * intl/tst-ngettext.c: Likewise.
11601         * intl/tst-translit.c: Likewise.
11602         * io/test-stat.c: Likewise.
11603         * libio/test-fmemopen.c: Likewise.
11604         * libio/tst-freopen.c: Likewise.
11605         * libio/tst-sscanf.c: Likewise.
11606         * libio/tst-ungetwc1.c: Likewise.
11607         * libio/tst-ungetwc2.c: Likewise.
11608         * libio/tst-widetext.c: Likewise.
11609         * localedata/tst-ctype.c: Likewise.
11610         * localedata/tst-digits.c: Likewise.
11611         * localedata/tst-leaks.c: Likewise.
11612         * localedata/tst-mbswcs1.c: Likewise.
11613         * localedata/tst-mbswcs2.c: Likewise.
11614         * localedata/tst-mbswcs3.c: Likewise.
11615         * localedata/tst-mbswcs4.c: Likewise.
11616         * localedata/tst-mbswcs5.c: Likewise.
11617         * localedata/tst-setlocale.c: Likewise.
11618         * localedata/tst-trans.c: Likewise.
11619         * localedata/tst-wctype.c: Likewise.
11620         * localedata/tst-xlocale1.c: Likewise.
11621         * login/tst-grantpt.c: Likewise.
11622         * malloc/tst-calloc.c: Likewise.
11623         * malloc/tst-malloc.c: Likewise.
11624         * malloc/tst-mallocstate.c: Likewise.
11625         * malloc/tst-mcheck.c: Likewise.
11626         * malloc/tst-mtrace.c: Likewise.
11627         * malloc/tst-obstack.c: Likewise.
11628         * math/atest-exp2.c: Likewise.
11629         * math/atest-exp.c: Likewise.
11630         * math/atest-sincos.c: Likewise.
11631         * math/test-matherr.c: Likewise.
11632         * math/test-misc.c: Likewise.
11633         * math/test-powl.c: Likewise.
11634         * math/tst-definitions.c: Likewise.
11635         * misc/tst-dirname.c: Likewise.
11636         * misc/tst-efgcvt.c: Likewise.
11637         * misc/tst-fdset.c: Likewise.
11638         * misc/tst-hsearch.c: Likewise.
11639         * misc/tst-mntent2.c: Likewise.
11640         * nptl/tst-sem7.c: Likewise.
11641         * nptl/tst-sem8.c: Likewise.
11642         * nptl/tst-sem9.c: Likewise.
11643         * nss/test-netdb.c: Likewise.
11644         * posix/tst-fnmatch.c: Likewise.
11645         * posix/tst-getlogin.c: Likewise.
11646         * posix/tst-gnuglob.c: Likewise.
11647         * posix/tst-mmap.c: Likewise.
11648         * pwd/tst-getpw.c: Likewise.
11649         * resolv/tst-inet_ntop.c: Likewise.
11650         * rt/tst-timer.c: Likewise.
11651         * stdio-common/test-fseek.c: Likewise.
11652         * stdio-common/test-popen.c: Likewise.
11653         * stdio-common/test-vfprintf.c: Likewise.
11654         * stdio-common/tst-cookie.c: Likewise.
11655         * stdio-common/tst-fileno.c: Likewise.
11656         * stdio-common/tst-gets.c: Likewise.
11657         * stdio-common/tst-obprintf.c: Likewise.
11658         * stdio-common/tst-perror.c: Likewise.
11659         * stdio-common/tst-sprintf2.c: Likewise.
11660         * stdio-common/tst-sprintf3.c: Likewise.
11661         * stdio-common/tst-sprintf.c: Likewise.
11662         * stdio-common/tst-swprintf.c: Likewise.
11663         * stdio-common/tst-tmpnam.c: Likewise.
11664         * stdio-common/tst-unbputc.c: Likewise.
11665         * stdio-common/tst-wc-printf.c: Likewise.
11666         * stdlib/tst-environ.c: Likewise.
11667         * stdlib/tst-fmtmsg.c: Likewise.
11668         * stdlib/tst-limits.c: Likewise.
11669         * stdlib/tst-rand48-2.c: Likewise.
11670         * stdlib/tst-rand48.c: Likewise.
11671         * stdlib/tst-random2.c: Likewise.
11672         * stdlib/tst-random.c: Likewise.
11673         * stdlib/tst-strtol.c: Likewise.
11674         * stdlib/tst-strtoll.c: Likewise.
11675         * stdlib/tst-tls-atexit.c: Likewise.
11676         * stdlib/tst-xpg-basename.c: Likewise.
11677         * string/test-ffs.c: Likewise.
11678         * string/tst-bswap.c: Likewise.
11679         * string/tst-inlcall.c: Likewise.
11680         * string/tst-strtok.c: Likewise.
11681         * string/tst-strxfrm.c: Likewise.
11682         * sysdeps/x86_64/tst-audit10.c: Likewise.
11683         * sysdeps/x86_64/tst-audit3.c: Likewise.
11684         * sysdeps/x86_64/tst-audit4.c: Likewise.
11685         * sysdeps/x86_64/tst-audit5.c: Likewise.
11686         * time/tst-ftime_l.c: Likewise.
11687         * time/tst-getdate.c: Likewise.
11688         * time/tst-mktime3.c: Likewise.
11689         * time/tst-mktime.c: Likewise.
11690         * time/tst-posixtz.c: Likewise.
11691         * time/tst-strptime2.c: Likewise.
11692         * time/tst-strptime3.c: Likewise.
11693         * wcsmbs/tst-btowc.c: Likewise.
11694         * wcsmbs/tst-mbrtowc.c: Likewise.
11695         * wcsmbs/tst-mbsrtowcs.c: Likewise.
11696         * wcsmbs/tst-wchar-h.c: Likewise.
11697         * wcsmbs/tst-wcpncpy.c: Likewise.
11698         * wcsmbs/tst-wcrtomb.c: Likewise.
11699         * wcsmbs/tst-wcsnlen.c: Likewise.
11700         * wcsmbs/tst-wcstof.c: Likewise.
11702 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
11704         [BZ #14132]
11705         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
11706         INTDEF.
11707         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
11708         declaration.
11709         (_dl_mcount): Use rtld_hidden_proto.
11710         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
11711         _dl_mcount.
11712         * elf/rtld.c (_rtld_global_ro): Likewise.
11714         [BZ #14132]
11715         * elf/dl-init.c (_dl_init): Don't use INTDEF.
11716         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
11717         of _dl_init_internal.
11718         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
11719         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
11720         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
11721         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
11722         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
11723         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
11724         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
11725         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
11726         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
11727         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
11728         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
11729         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
11730         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11731         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11732         * sysdeps/tile/dl-start.S (_start): Likewise.
11733         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
11734         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
11736         [BZ #14132]
11737         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
11738         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
11739         (rtld_progname): Make macro definition unconditional.
11740         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
11741         INTDEF.
11742         (dlmopen_doit): Do not use INTUSE with _dl_argv.
11743         (dl_main): Likewise.
11744         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11745         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
11746         instead of _dl_argv_internal.
11747         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
11748         __GI__dl_argv instead of INTUSE(_dl_argv).
11749         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
11750         __GI__dl_argv instead of _dl_argv_internal.
11752         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
11753         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
11754         macro.
11755         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
11756         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
11757         New macro.
11758         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
11759         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
11760         macro.
11761         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
11762         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
11764 2014-11-04  Andreas Schwab  <schwab@suse.de>
11766         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
11768 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11770         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
11771         mtvsrd instruction in binary form.
11773 2014-11-03  Andreas Schwab  <schwab@suse.de>
11775         [BZ #17522]
11776         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
11777         for less than MB_LEN_MAX use a local buffer of that size.
11778         * libio/tst-fputws.c: New file.
11779         * libio/Makefile (tests): Add tst-fputws.
11781 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
11783         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
11784         the size of the fpu_fr.fpu_dregs[] array.
11786 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
11788         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
11789         (__nanosleep): Do not define as alias.
11790         (nanosleep): Define as alias of __nanosleep.
11791         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
11792         __libc_nanosleep name.
11794 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
11796         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
11797         install.texi in comment.
11799 2014-10-31  Torvald Riegel  <triegel@redhat.com>
11801         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
11802         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
11803         ... add here and use lwsync or sync ...
11804         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
11805         ... and add here using lwsync.
11807 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
11809         * elf/dl-machine-reject-phdr.h: New file.
11810         * elf/dl-load.c: #include that.
11811         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
11812         if that returned true.
11814 2014-10-31  Roland McGrath  <roland@hack.frob.com>
11816         [BZ #17496]
11817         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
11818         gen-as-const-headers chunk.  Add a big scare comment after the last
11819         safe place to touch before-compile.
11821 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
11823         * manual/install.texi (Tools for Compilation): Update autoconf
11824         version requirements.
11825         * INSTALL: Regenerated.
11827         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
11828         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
11829         (__libc_pselect): Likewise.
11831         [BZ #14138]
11832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
11833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11837 2014-10-31  Torvald Riegel  <triegel@redhat.com>
11839         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
11840         correct barrier instruction.
11841         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
11842         Likewise.
11843         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
11844         Likewise.
11846 2014-10-30  Roland McGrath  <roland@hack.frob.com>
11848         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
11849         after defining inlines.  Instead, just use parens to defeat macro
11850         expansion of __isctype in its declaration.
11852 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
11854         * include/sys/uio.h (__libc_readv): Remove declaration.
11855         (__libc_writev): Likewise.
11856         * misc/readv.c (__libc_readv): Rename to __readv.
11857         (__readv): Do not define as alias.
11858         (readv): Define as alias of __readv.
11859         * misc/writev.c (__libc_writev): Rename to __writev.
11860         (__writev): Do not define as alias.
11861         (writev): Define as alias of __writev.
11862         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
11863         (__readv): Do not define as alias.
11864         (readv): Define unconditionally as alias of __readv.
11865         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
11866         (__writev): Do not define as alias.
11867         (writev): Define unconditionally as alias of __writev.
11868         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
11869         name.
11870         (writev): Do not define __libc_writev name.
11872 2014-10-30  Roland McGrath  <roland@hack.frob.com>
11874         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
11875         (convert_charseq): New function, broken out of ...
11876         (use_from_charmap): ... here.  Call it.
11877         (use_to_charmap): Use convert_charseq and free instead of duplicating
11878         its code with a variable-length stack struct.
11880 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
11882         * include/fcntl.h (__libc_creat): Remove declaration.
11883         * io/creat.c (__libc_creat): Rename to creat.
11884         (creat): Do not define as alias.
11885         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
11886         of creat instead of __libc_creat.
11887         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
11888         to creat.
11889         (creat): Do not define as alias.
11890         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
11891         __libc_creat.
11892         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
11893         __libc_creat name.
11894         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
11895         Likewise.
11897 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
11899         * manual/llio.texi: Add comments discussing why write() may be
11900         considered MT-unsafe on Linux.
11902 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
11904         * dl-load.c (local_strdup): Remove.
11905         (expand_dynamic_string_token): Use __strdup.
11906         (decompose_rpath): Likewise.
11907         (_dl_map_object): Likewise.
11909 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
11911         [BZ #14132]
11912         * sysdeps/generic/unwind-dw2-fde.c
11913         (__register_frame_info_bases_internal): Do not declare.
11914         (__register_frame_info_table_bases_internal): Likewise.
11915         (__deregister_frame_info_bases_internal): Likewise.
11916         (__register_frame_info_bases): Declare and use hidden_proto before
11917         definition.  Use hidden_def instead of INTDEF.
11918         (__register_frame_info_table_bases): Likewise.
11919         (__deregister_frame_info_bases): Likewise.
11920         (__register_frame_info): Do not use INTUSE.
11921         (__register_frame): Likewise.
11922         (__register_frame_info_table): Likewise.
11923         (__register_frame_table): Likewise.
11924         (__deregister_frame_info): Likewise.
11925         (__deregister_frame): Likewise.
11927 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
11929         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11930         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
11931         not undefine.
11932         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
11933         Likewise.
11934         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
11935         Likewise.
11937 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
11939         [BZ #14138]
11940         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
11941         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
11942         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
11943         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
11944         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
11945         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
11946         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
11947         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
11948         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
11949         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
11950         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
11951         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
11952         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
11953         syscall.
11954         (setfsuid): Likewise.
11955         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
11956         (setfsuid): Likewise.
11957         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
11958         (setfsuid): Likewise.
11959         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
11960         Likewise.
11961         (setfsuid): Likewise.
11962         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
11963         (setfsuid): Likewise.
11964         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
11965         Likewise.
11966         (setfsuid): Likewise.
11968 2014-10-27  Andreas Schwab  <schwab@suse.de>
11970         [BZ #17501]
11971         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
11972         check for Slow_SSE4_2 feature bit.
11973         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
11974         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11975         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
11976         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
11978 2014-10-24  Roland McGrath  <roland@hack.frob.com>
11980         * configure.ac: Validate compiler version with a empirical test of
11981         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
11982         $CC -v output.
11983         * configure: Regenerated.
11985         * inet/htons.c (htons): Prototypify.
11986         * inet/htonl.c (htonl): Likewise.
11988 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11990         * string/strncat.c (strncat): Improve performance by using strlen.
11992 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11994         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
11996 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11998         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
11999         Call libc_fetestexcept_aarch64.
12001 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12003         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
12004         Call libc_feholdexcept_aarch64.
12006 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12008         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
12009         Call get_rounding_mode.
12011 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12013         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
12014         Simplify logic.
12016 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12018         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
12019         Simplify logic.
12021 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
12023         [BZ #14138]
12024         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
12025         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
12026         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
12027         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
12028         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
12029         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
12030         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
12031         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
12032         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
12033         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
12034         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
12035         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
12036         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
12037         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
12038         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
12039         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
12040         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
12041         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
12042         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
12043         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
12044         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
12045         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
12046         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
12047         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
12048         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
12049         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
12050         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
12051         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
12052         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
12053         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
12054         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
12055         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
12056         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
12057         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
12058         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
12059         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
12060         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
12061         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
12062         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
12063         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
12064         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
12065         syscall.
12066         (geteuid): Likewise.
12067         (getgid): Likewise.
12068         (getuid): Likewise.
12069         (getresgid): Likewise.
12070         (getresuid): Likewise.
12071         (getgroups): Likewise.
12072         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
12073         (geteuid): Likewise.
12074         (getgid): Likewise.
12075         (getuid): Likewise.
12076         (getresgid): Likewise.
12077         (getresuid): Likewise.
12078         (getgroups): Likewise.
12079         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
12080         (geteuid): Likewise.
12081         (getgid): Likewise.
12082         (getuid): Likewise.
12083         (getresgid): Likewise.
12084         (getresuid): Likewise.
12085         (getgroups): Likewise.
12086         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
12087         Likewise.
12088         (geteuid): Likewise.
12089         (getgid): Likewise.
12090         (getuid): Likewise.
12091         (getresgid): Likewise.
12092         (getresuid): Likewise.
12093         (getgroups): Likewise.
12094         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
12095         (geteuid): Likewise.
12096         (getgid): Likewise.
12097         (getuid): Likewise.
12098         (getresgid): Likewise.
12099         (getresuid): Likewise.
12100         (getgroups): Likewise.
12101         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
12102         Likewise.
12103         (geteuid): Likewise.
12104         (getgid): Likewise.
12105         (getuid): Likewise.
12106         (getgroups): Likewise.
12108         [BZ #14138]
12109         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
12110         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
12111         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
12112         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12113         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
12114         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
12115         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
12116         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
12117         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
12118         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
12119         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
12120         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
12121         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
12122         __chown.
12123         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
12124         (lchown): Likewise.
12125         (fchown): Likewise.
12126         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
12127         Likewise.
12128         (lchown): Likewise.
12129         (fchown): Likewise.
12130         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
12131         (lchown): Likewise.
12132         (fchown): Likewise.
12133         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
12134         Likewise.
12135         (lchown): Likewise.
12136         (fchown): Likewise.
12138 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12140         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
12141         Simplify logic.
12143 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12145         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
12146         Cleanup logic.
12148 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12150         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
12151         Remove unused include.
12153 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12155         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
12156         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
12157         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
12158         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
12160 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
12161             Helge Deller <deller@gmx.de>
12163         [BZ #17508]
12164         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
12165         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
12166         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
12168 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
12170         [BZ #14132]
12171         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
12172         Remove macro definition.
12173         (__ashrdi3_v_glibc20): Likewise.
12174         (__lshrdi3_v_glibc20): Likewise.
12175         (__cmpdi2_v_glibc20): Likewise.
12176         (__ucmpdi2_v_glibc20): Likewise.
12177         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
12178         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12179         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12180         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12181         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12182         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
12184 2014-10-22  Roland McGrath  <roland@hack.frob.com>
12186         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
12187         old GNU extension [0] syntax.
12188         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
12189         alloca rather than an array member with variable length.
12190         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
12191         * nscd/nscd.c (invalidate_db): New function, broken out of ...
12192         (parse_opt): ... here.  Likewise use alloca there.
12193         Validate the -i argument before checking for rootness.
12194         (send_shutdown): New function, broken out of ...
12195         (parse_opt): ... here.
12197 2014-10-22  Roland McGrath  <roland@hack.frob.com>
12199         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
12200         macro to get at the _rt_local_ro field.
12201         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
12202         ([PIC] case) or _dl_hwcap ([!PIC] case).
12203         * sysdeps/arm/setjmp.S: Likewise.
12205         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
12206         * sysdeps/arm/configure.ac: New check to define it.
12207         * sysdeps/arm/configure: Regenerated.
12208         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
12209         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
12210         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
12211         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
12212         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
12213         Use move/movt pair instead of a load.
12214         (LDST_GLOBAL): Macro removed.
12215         (LDR_GLOBAL): New macro replaces it.
12216         (LDR_HIDDEN): New macro.
12217         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
12218         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
12220         * setjmp/tst-setjmp-static.c: New file.
12221         * setjmp/Makefile (tests): Add it.
12222         (tests-static): New variable.
12224 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
12226         [BZ #17485]
12227         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
12229 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
12231         [BZ #14132]
12232         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
12234 2014-10-21  Roland McGrath  <roland@hack.frob.com>
12236         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
12238 2014-10-20  Roland McGrath  <roland@hack.frob.com>
12240         * io/fts.c (dirent_not_directory): New function.
12241         (fts_build): Call it.
12243 2014-10-20  Roland McGrath  <roland@hack.frob.com>
12245         * nptl/version.c (__nptl_main): Use normal __write rather than
12246         INTERNAL_SYSCALL.
12247         (banner): Update copyright years.
12249         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
12250         gettimeofday.
12251         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
12252         * nptl/pthread_cond_timedwait.c: Likewise.
12253         * nptl/pthread_mutex_timedlock.c: Likewise.
12254         * nptl/sem_timedwait.c: Likewise.
12256         * sysdeps/nptl/bits/libc-lock.h
12257         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12258         (__libc_lock_init_recursive): Return void, not 0.
12259         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
12260         (__libc_rwlock_init): Likewise.
12261         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
12263 2014-10-20  Torvald Riegel  <triegel@redhat.com>
12265         [BZ #15215]
12266         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
12267         (__pthread_once_slow): ... here.
12268         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
12269         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
12271 2014-10-20  Torvald Riegel  <triegel@redhat.com>
12273         [BZ #15215]
12274         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
12275         __PTHREAD_ONCE_FORK_GEN_INCR): New.
12276         * sysdeps/nptl/fork.c (__libc_fork): Use them.
12277         * nptl/pthread_once.c (__pthread_once): Likewise.
12278         Update comments.
12280 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
12282         [BZ #14138]
12283         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
12284         name.
12285         (writev): Use __libc_writev as strong name.
12286         * sysdeps/unix/sysv/linux/readv.c: Remove file.
12287         * sysdeps/unix/sysv/linux/writev.c: Likewise.
12289 2014-10-17  Roland McGrath  <roland@hack.frob.com>
12291         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
12293         * sysdeps/i386/nptl/tls.h
12294         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
12295         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
12296         New macros.
12297         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
12298         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
12299         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
12300         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
12301         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
12302         Call CHECK_THREAD_SYSINFO instead of doing an assert.
12304         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
12305         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
12306         on [__NR_futex].
12307         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
12308         broken out of ...
12309         (__pthread_mutex_init): ... here.  Call it.
12310         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
12311         Conditionalize PI cases on [__NR_futex].
12312         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
12313         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
12314         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
12316         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
12317         conditional on [SIGSETXID].
12318         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
12319         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
12320         is defined.  Likewise for SIGSETXID.
12321         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
12322         Conditionalize definitions on [SIGSETXID].
12323         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
12324         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
12325         unblocking on [SIGCANCEL].
12327         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
12328         [__NR_set_robust_list].
12330 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
12332         * string/strcoll_l.c (get_next_seq): Fix up formatting.
12333         (do_compare): Likewise.
12335 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
12337         [BZ #15884]
12338         * string/strcoll_l.c: Don't include stdio.h.
12339         (coll_seq): Remove members idxarr and rulearr.
12340         (get_next_seq_cached): Remove function.
12341         (get_next_seq): Likewise.
12342         (get_next_seq_nocache): Rename to get_next_seq.
12343         (do_compare): Remove function.
12344         (do_compare_nocache): Rename to do_compare.
12345         (STRCOLL): Remove weight and rules cache.
12347 2014-10-16  Roland McGrath  <roland@hack.frob.com>
12349         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
12350         * sysdeps/arm/sfp-machine.h: ... to here.
12351         * sysdeps/arm/Implies: Remove arm/soft-fp.
12353 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
12355         * conform/data/sys/utsname.h-data (*_t): Allow.
12356         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
12357         [POSIX] (WEXITED): Do not expect constant.
12358         [POSIX] (WSTOPPED): Likewise.
12359         [POSIX] (WNOHANG): Likewise.
12360         [POSIX] (WNOWAIT): Likewise.
12361         [POSIX] (siginfo_t): Do not expect type or elements.
12362         [POSIX] (pid_t): Do not expect type.
12363         [POSIX] (signal.h): Do not allow header.
12364         [POSIX] (sys/resource.h): Likewise.
12365         [POSIX] (si_*): Do not allow pattern.
12366         [POSIX] (W*): Likewise.
12367         [POSIX] (P_*): Likewise.
12368         [POSIX] (BUS_*): Likewise.
12369         [POSIX] (CLD_*): Likewise.
12370         [POSIX] (FPE_*): Likewise.
12371         [POSIX] (ILL_*): Likewise.
12372         [POSIX] (POLL_*): Likewise.
12373         [POSIX] (SEGV_*): Likewise.
12374         [POSIX] (SI_*): Likewise.
12375         [POSIX] (TRAP_*): Likewise.
12376         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
12377         variable.
12379 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
12381         [BZ #12926]
12382         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
12383         infinite loop when __recvmsg returns 0.
12385 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
12387         * CANCEL-FCT-WAIVE: Remove file.
12388         * CANCEL-FILE-WAIVE: Likewise.
12390         [BZ #14132]
12391         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
12392         instead of INTVARDEF.
12393         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
12394         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
12395         rtld_hidden_data_def instead of INTVARDEF.
12396         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
12397         * elf/dl-deps.c (expand_dst): Likewise.
12398         * elf/dl-load.c (_dl_dst_count): Likewise.
12399         (_dl_dst_substitute): Likewise.
12400         (decompose_rpath): Likewise.
12401         (_dl_init_paths): Likewise.
12402         (open_path): Likewise.
12403         (_dl_map_object): Likewise.
12404         * elf/rtld.c (dl_main): Likewise.
12405         (process_dl_audit): Likewise.
12406         (process_envvars): Likewise.
12407         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
12408         Remove declaration.
12409         (__libc_enable_secure): Use rtld_hidden_proto.
12411 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12413         * elf/dl-load.c
12414         (add_path): New function broken out of _dl_rtld_di_serinfo.
12415         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
12417 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
12419         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
12420         parentheses around macro arguments.
12421         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
12422         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
12423         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
12424         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
12425         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
12426         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
12427         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
12428         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
12429         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
12430         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
12431         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
12432         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
12433         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
12434         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
12435         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
12436         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
12437         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
12438         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
12439         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
12440         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
12441         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
12442         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
12443         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
12444         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
12445         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
12446         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
12447         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
12448         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
12449         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
12450         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
12451         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
12452         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
12453         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
12454         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
12455         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
12456         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
12457         Likewise.
12458         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
12459         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
12460         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
12461         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
12462         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
12463         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
12464         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
12465         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
12466         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
12467         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
12468         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
12469         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
12470         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
12471         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
12472         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
12473         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
12474         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
12475         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
12476         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
12477         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
12478         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
12479         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
12480         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
12481         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
12482         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
12483         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
12484         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
12485         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
12486         (_FP_FRAC_SRS_1): Likewise.
12487         (_FP_FRAC_CLZ_1): Likewise.
12488         (_FP_MUL_MEAT_1_imm): Likewise.
12489         (_FP_MUL_MEAT_1_wide): Likewise.
12490         (_FP_MUL_MEAT_1_hard): Likewise.
12491         (_FP_SQRT_MEAT_1): Likewise.
12492         (_FP_FRAC_ASSEMBLE_1): Likewise.
12493         (_FP_FRAC_DISASSEMBLE_1): Likewise.
12494         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
12495         (__FP_CLZ_2): Likewise.
12496         (_FP_MUL_MEAT_2_wide): Likewise.
12497         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
12498         (_FP_MUL_MEAT_2_gmp): Likewise.
12499         (_FP_MUL_MEAT_2_120_240_double): Likewise.
12500         (_FP_SQRT_MEAT_2): Likewise.
12501         (_FP_FRAC_ASSEMBLE_2): Likewise.
12502         (_FP_FRAC_DISASSEMBLE_2): Likewise.
12503         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
12504         (_FP_FRAC_CLZ_4): Likewise.
12505         (_FP_MUL_MEAT_4_wide): Likewise.
12506         (_FP_MUL_MEAT_4_gmp): Likewise.
12507         (_FP_SQRT_MEAT_4): Likewise.
12508         (_FP_FRAC_ASSEMBLE_4): Likewise.
12509         (_FP_FRAC_DISASSEMBLE_4): Likewise.
12510         * soft-fp/op-common.h (_FP_CMP): Likewise.
12511         (_FP_CMP_EQ): Likewise.
12512         (_FP_CMP_UNORD): Likewise.
12513         (_FP_TO_INT): Likewise.
12514         (_FP_FROM_INT): Likewise.
12515         [!__FP_CLZ] (__FP_CLZ): Likewise.
12516         (_FP_DIV_HELP_imm): Likewise.
12517         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
12518         Likewise.
12519         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
12520         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
12521         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
12522         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
12523         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
12524         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
12525         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
12526         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
12527         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
12528         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
12529         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
12530         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
12531         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
12532         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
12533         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
12534         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
12535         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
12536         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
12537         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
12538         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
12539         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
12540         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
12541         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
12542         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
12543         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
12544         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
12545         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
12546         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
12547         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
12548         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
12549         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
12550         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
12551         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
12552         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
12553         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
12554         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
12555         (FP_UNPACK_RAW_SP): Likewise.
12556         (FP_PACK_RAW_S): Likewise.
12557         (FP_PACK_RAW_SP): Likewise.
12558         (FP_UNPACK_S): Likewise.
12559         (FP_UNPACK_SP): Likewise.
12560         (FP_UNPACK_SEMIRAW_S): Likewise.
12561         (FP_UNPACK_SEMIRAW_SP): Likewise.
12562         (FP_PACK_S): Likewise.
12563         (FP_PACK_SP): Likewise.
12564         (FP_PACK_SEMIRAW_S): Likewise.
12565         (FP_PACK_SEMIRAW_SP): Likewise.
12566         (_FP_SQRT_MEAT_S): Likewise.
12567         (FP_CMP_S): Likewise.
12568         (FP_CMP_EQ_S): Likewise.
12569         (FP_CMP_UNORD_S): Likewise.
12570         (FP_TO_INT_S): Likewise.
12571         (FP_FROM_INT_S): Likewise.
12573         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
12575         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
12576         (FP_EX_INVALID_IMZ): Likewise.
12577         (FP_EX_INVALID_IMZ_FMA): Likewise.
12578         (FP_EX_INVALID_ISI): Likewise.
12579         (FP_EX_INVALID_ZDZ): Likewise.
12580         (FP_EX_INVALID_IDI): Likewise.
12581         (FP_EX_INVALID_SQRT): Likewise.
12582         (FP_EX_INVALID_CVI): Likewise.
12583         (FP_EX_INVALID_VC): Likewise.
12584         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
12585         "invalid" exceptions.
12586         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
12587         (_FP_ADD_INTERNAL): Likewise.
12588         (_FP_MUL): Likewise.
12589         (_FP_FMA): Likewise.
12590         (_FP_DIV): Likewise.
12591         (_FP_CMP_CHECK_NAN): Likewise.
12592         (_FP_SQRT): Likewise.
12593         (_FP_TO_INT): Likewise.
12594         (FP_EXTEND): Likewise.
12596 2014-10-09  Allan McRae  <allan@archlinux.org>
12598         * po/fr.po: Update French translation from translation project.
12600 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
12602         [BZ #14132]
12603         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
12604         of INTDEF.
12605         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
12606         (__cxa_atexit): Use libc_hidden_proto.
12607         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
12609         [BZ #14132]
12610         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
12611         declaration.
12612         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
12613         [!_ISOMAC] (__iswspace_l_internal): Likewise.
12614         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
12615         [!_ISOMAC] (__iswctype_internal): Likewise.
12616         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
12617         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
12618         alias.
12619         (fcntl): Remove __fcntl_internal alias.
12620         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
12621         __connect_internal alias.
12622         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
12623         Likewise.
12625         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
12626         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
12627         FP_DENORM_ZERO.
12628         (_FP_CHECK_FLUSH_ZERO): New macro.
12629         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
12630         (_FP_CMP): Likewise.
12631         (_FP_CMP_EQ): Likewise.
12632         (_FP_TO_INT): Do not set inexact for subnormal arguments if
12633         FP_DENORM_ZERO.
12634         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
12635         (FP_TRUNC): Likewise.
12637         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
12638         treated as invalid conversion, not as normal exponent.
12640         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
12641         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
12642         (_FP_CMP_EQ): Likewise.
12643         (_FP_CMP_UNORD): Likewise.
12644         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
12645         (FP_CMP_EQ_D): Likewise.
12646         (FP_CMP_UNORD_D): Likewise.
12647         * soft-fp/extended.h (FP_CMP_E): Likewise.
12648         (FP_CMP_EQ_E): Likewise.
12649         (FP_CMP_UNORD_E): Likewise.
12650         * soft-fp/quad.h (FP_CMP_Q): Likewise.
12651         (FP_CMP_EQ_Q): Likewise.
12652         (FP_CMP_UNORD_Q): Likewise.
12653         * soft-fp/single.h (FP_CMP_S): Likewise.
12654         (FP_CMP_EQ_S): Likewise.
12655         (FP_CMP_UNORD_S): Likewise.
12656         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
12657         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
12658         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
12659         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
12660         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
12661         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
12662         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
12663         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
12664         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
12665         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
12666         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
12667         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
12668         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
12669         to FP_CMP_Q.
12670         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
12671         FP_CMP_Q.
12672         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
12673         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
12674         FP_CMP_EQ_Q.
12675         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
12676         FP_CMP_Q.
12677         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
12678         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
12679         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
12680         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
12681         FP_CMP_EQ_Q.
12682         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
12683         FP_CMP_Q.
12684         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
12685         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
12686         FP_CMP_EQ_Q.
12687         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
12688         FP_CMP_Q.
12689         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
12690         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
12691         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
12692         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
12693         FP_CMP_EQ_Q.
12695         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
12696         a subnormal result, set the underflow exception if trapping on
12697         underflow is enabled.
12698         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
12699         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
12700         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
12701         redefine to 0.
12702         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
12703         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
12704         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
12705         * soft-fp/extendxftf2.c (__extendxftf2): Use
12706         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
12708         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
12709         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
12710         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12711         FP_HANDLE_EXCEPTIONS.
12712         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
12713         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12714         FP_HANDLE_EXCEPTIONS.
12715         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
12716         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12717         FP_HANDLE_EXCEPTIONS.
12718         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
12719         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12720         FP_HANDLE_EXCEPTIONS.
12722 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
12724         [BZ #14132]
12725         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
12726         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
12727         use INTUSE.
12728         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
12729         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
12730         Remove alias.
12731         (__adjtimex): Define using libc_hidden_ver.
12732         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
12733         Remove declaration.
12734         (ntp_gettime): Call __adjtimex directly.
12735         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
12736         Remove declaration.
12737         (ntp_gettimex): Call __adjtimex directly.
12738         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
12739         __adjtimex_internal alias.
12741 2014-10-08  Roland McGrath  <roland@hack.frob.com>
12743         [BZ #17460]
12744         * nscd/nscd.c (more_help): Rewrite list of tables collection
12745         using xstrdup and asprintf.
12747         * nscd/nscd_conf.c: Remove local xstrdup declaration.
12749 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12750             Roland McGrath  <roland@hack.frob.com>
12752         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
12753         (do_lookup_unique): ... local function 'enter' here; update callers.
12755 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
12757         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
12758         compat_symbol calls on [SHARED].
12759         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
12760         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
12761         Remove.
12762         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12763         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
12764         (oldsetrlimit): Remove.
12765         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
12767         (lchown): New syscall entry.
12768         (oldsetrlimit): Remove.
12769         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12770         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
12771         (oldsetrlimit): Remove.
12772         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12774         [BZ #14138]
12775         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
12776         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
12777         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
12778         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
12779         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
12780         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
12781         (fchown): Likewise.
12782         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
12783         (fchown): Likewise.
12784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
12785         Likewise.
12787 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12789         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
12790         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
12791         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
12792         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
12793         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
12794         Likewise.
12795         (__old_sem_post): Likewise.
12797 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
12799         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
12800         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
12801         HAVE_CLOCK_GETTIME_VSYSCALL macros.
12802         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
12803         Use INLINE_VSYSCALL macro.
12804         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
12805         __vdso_clock_gettime.
12806         * sysdeps/unix/sysv/linux/tile/init-first.c
12807         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
12808         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
12809         __vdso_clock_gettime.
12811         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
12812         to set up frame more cleanly.
12814         * sysdeps/tile/memcmp.c: New file.
12816         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
12818         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
12819         * sysdeps/tile/tilegx/strcasestr.c: New file.
12820         * sysdeps/tile/tilegx/strnlen.c: New file.
12821         * sysdeps/tile/tilegx/strstr.c: New file.
12823         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
12825 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
12827         * nptl/tst-setuid3.c: Write errors to stdout.
12829 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12831         * elf/dl-deps.c
12832         (preload): New functions broken out of _dl_map_object_deps.
12833         (_dl_map_object_deps):  Remove a nested function. Update call sites.
12835 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
12837         [BZ #14138]
12838         * sysdeps/unix/sysv/linux/execve.c: Remove file.
12839         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
12841 2014-10-01  Steve Ellcey  <sellcey@mips.com>
12843         * sysdeps/mips/strcmp.S: New.
12845 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
12847         [BZ #14138]
12848         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
12849         (linkat): Likewise.
12850         (mkdirat): Likewise.
12851         (readlinkat): Likewise.
12852         (renameat): Likewise.
12853         (symlinkat): Likewise.
12854         (unlinkat): Likewise.
12855         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
12856         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
12857         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
12858         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
12859         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
12860         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
12861         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
12863 2014-09-30  Will Newton  <will.newton@linaro.org>
12865         * math/math.h: Define long double math functions if
12866         _LIBC_TEST is defined.
12867         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
12869         * localedata/Makefile: Move assignment to tests-special
12870         into an ifdef testing run-built-tests.
12871         * timezone/Makefile: Likewise.
12873 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
12875         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
12876         with $(BASH) not $(SHELL).
12878 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
12879             Matthew LeGendre  <legendre1@llnl.gov>
12881         [BZ #17411]
12882         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
12883         l_reloc_result.
12885 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12887         * stdio-common/printf_fp.c
12888         (hack_digit): New function, broken out of ...
12889         (__printf_fp): ... local function here.  Update call sites.
12890         hack_digit now takes an additional parameter that is a pointer
12891         to a struct of the referenced locals.  Those locals moved inside
12892         the struct and references updated.
12894 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
12896         * aclocal.m4: Require autoconf 2.69.
12897         * configure: Regenerated.
12898         * sysdeps/aarch64/configure: Likewise.
12899         * sysdeps/alpha/configure: Likewise.
12900         * sysdeps/arm/armv7/configure: Likewise.
12901         * sysdeps/arm/configure: Likewise.
12902         * sysdeps/ia64/configure: Likewise.
12903         * sysdeps/mach/configure: Likewise.
12904         * sysdeps/mips/configure: Likewise.
12905         * sysdeps/s390/configure: Likewise.
12906         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
12907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
12909         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
12910         file.
12911         * sysdeps/ia64/configure.ac: Likewise.
12913 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
12915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
12916         specify symbol version for ld.so.  Do not include entry for
12917         libpthread.
12918         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12919         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
12920         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12922         [BZ #14171]
12923         * Makeconfig [$(build-shared) = yes]
12924         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
12925         makefiles.
12926         [$(build-shared) = yes && $(soversions.mk-done) = t]
12927         ($(common-objpfx)gnu/lib-names.h): Remove rule.
12928         [$(build-shared) = yes && $(soversions.mk-done) = t]
12929         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
12930         to Makerules.
12931         [$(build-shared) = yes && $(soversions.mk-done) = t]
12932         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
12933         here.
12934         [$(build-shared) = yes && $(soversions.mk-done) = t]
12935         (common-generated): Don't append gnu/lib-names.h and
12936         gnu/lib-names.stmp here.
12937         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
12938         (lib-names-h-abi): New variable.
12939         [$(build-shared) = yes && $(soversions.mk-done) = t]
12940         (lib-names-stmp-abi): Likewise.
12941         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12942         abi-variants] (before-compile): Append
12943         $(common-objpfx)$(lib-names-h-abi).
12944         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12945         abi-variants] (common-generated): Append gnu/lib-names.h.
12946         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12947         abi-variants] (install-others-nosubdir): Depend on
12948         $(inst_includedir)/$(lib-names-h-abi).
12949         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12950         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
12951         [$(build-shared) = yes && $(soversions.mk-done) = t]
12952         ($(common-objpfx)$(lib-names-h-abi)): New rule.
12953         [$(build-shared) = yes && $(soversions.mk-done) = t]
12954         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
12955         [$(build-shared) = yes && $(soversions.mk-done) = t]
12956         (common-generated): Append $(lib-names-h-abi) and
12957         $(lib-names-stmp-abi).
12958         * scripts/lib-names.awk: Do not handle multi being set.
12959         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
12960         Remove variable.
12961         (abi-lp64_be-ld-soname): Likewise.
12962         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
12963         Likewise.
12964         (abi-hard-ld-soname): Likewise.
12965         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
12966         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
12967         Remove variable.
12968         (abi-o32_hard-ld-soname): Likewise.
12969         (abi-o32_soft_2008-ld-soname): Likewise.
12970         (abi-o32_hard_2008-ld-soname): Likewise.
12971         (abi-n32_soft-ld-soname): Likewise.
12972         (abi-n32_hard-ld-soname): Likewise.
12973         (abi-n32_soft_2008-ld-soname): Likewise.
12974         (abi-n32_hard_2008-ld-soname): Likewise.
12975         (abi-n64_soft-ld-soname): Likewise.
12976         (abi-n64_hard-ld-soname): Likewise.
12977         (abi-n64_soft_2008-ld-soname): Likewise.
12978         (abi-n64_hard_2008-ld-soname): Likewise.
12979         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
12980         Likewise.
12981         (abi-64-v2-ld-soname): Likewise.
12982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
12983         ld.so entries.
12984         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
12985         variable.
12986         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
12987         entry.
12988         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
12989         variable.
12990         (abi-64-ld-soname): Likewise.
12991         (abi-x32-ld-soname): Likewise.
12992         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
12993         entry.
12994         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12996 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
12998         [BZ #14138]
12999         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
13000         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
13001         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
13002         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
13003         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
13004         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
13005         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
13006         syscall entry for GLIBC_2.2 symbol version.
13007         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
13008         Likewise.
13009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
13010         (setrlimit): Likewise.
13011         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
13012         Likewise.
13014 2014-09-23  Will Newton  <will.newton@linaro.org>
13016         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
13017         _LINUX_ARM_SYSDEP_H include guard too.
13018         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
13019         define.
13021 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
13023         * sysdeps/unix/sysv/linux/eventfd.c:
13024         Make first argument unsigned.
13025         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
13026         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
13028 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
13030         * socket/recvmmsg.c (recvmmsg): Drop const argument.
13031         * socket/sys/socket.h: Likewise
13032         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
13034 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13036         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
13038 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
13040         * time/tst-ftime.c: New test.
13041         * time/Makefile (tests): Add tst-ftime.
13043 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
13045         * soft-fp/extended.h: Fix comment formatting.
13046         * soft-fp/op-1.h: Likewise.
13047         * soft-fp/op-2.h: Likewise.
13048         * soft-fp/op-4.h: Likewise.
13049         * soft-fp/op-8.h: Likewise.
13050         * soft-fp/op-common.h: Likewise.
13051         * soft-fp/soft-fp.h: Likewise.
13053         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
13055 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
13057         [BZ #6652]
13058         * Makeconfig (soversions-default-setname): Remove variable.
13059         ($(common-objpfx)soversions.i): Don't pass default_setname to
13060         soversions.awk.
13061         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
13062         oldest_abi to abi-versions.awk.
13063         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
13064         * config.make.in (oldest-abi): Remove variable.
13065         * configure.ac (--enable-oldest-abi): Remove configure option.
13066         * configure: Regenerated.
13067         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
13068         text.
13069         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
13070         * scripts/soversions.awk: Do not handle default_setname variable.
13071         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
13072         variable.
13073         * sysdeps/mach/hurd/configure: Regenerated.
13074         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
13075         variable.
13076         * sysdeps/unix/sysv/linux/configure: Regenerated.
13078 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13080         * elf/Makefile (CFLAGS-interp.c): Remove.
13081         ($(elf-objpfx)runtime-linker.h): Generate header with linker
13082         path string.
13083         * elf/interp.c: Include generated runtime-linker.h
13085         * Makerules (lib%.so): Don't include $(+interp) in
13086         prerequisites.
13087         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
13088         * dlfcn/eval.c: Remove file.
13090         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
13091         macros.
13093         [BZ #17266]
13094         * misc/sys/cdefs.h: Define __extern_always_inline for clang
13095         4.2 and newer.
13097         [BZ #17370]
13098         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
13100 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13101             Jakub Jelinek  <jakub@redhat.com>
13103         [BZ #17266]
13104         * libio/stdio.h: Check definition of __fortify_function
13105         instead of __extern_always_inline to include bits/stdio2.h.
13106         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
13107         check if __extern_always_inline is defined.
13108         [__USE_MISC || __USE_XOPEN]: Likewise.
13109         [__USE_ISOC99] Likewise.
13110         * misc/sys/cdefs.h (__fortify_function): Define only if
13111         __extern_always_inline is defined.
13112         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
13113         __extern_always_inline and __extern_inline only for g++-4.3
13114         and newer or a compatible gcc.
13116 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
13118         [BZ #17371]
13119         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
13120         last change to handle zero prefix length.
13122 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13124         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
13125         _SC_REGEX_VERSION.
13127         * posix/getconf.c (vars): Add _POSIX_IPV6 and
13128         _POSIX_RAW_SOCKETS.
13130 2014-09-13  Allan McRae  <allan@archlinux.org>
13132         * po/ru.po: Update Russian translation from translation project.
13134 2014-09-12  Roland McGrath  <roland@hack.frob.com>
13136         * locale/programs/locale.c (show_locale_vars): Inline local function
13137         into its sole call site.  Clean up some style nits.
13138         (print_item): New function, broken out of ...
13139         (show_info): ... local function here.  Clean up style nits.
13141         * locale/programs/ld-ctype.c (set_one_default): New function, broken
13142         out of ...
13143         (set_class_defaults): ... local function set_default here.
13144         Define set_default as a macro locally to pass constant parameters.
13145         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
13146         rather than a shared local.
13148         * stdlib/rpmatch.c (try): New function, broken out of ...
13149         (rpmatch): ... local function here.  Also, prototypify definition.
13151 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
13153         * scripts/soversions.awk: Do not handle configuration names.
13154         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
13155         vendor and os variables to soversions.awk.
13156         * configure.ac: Do not modify gnu-* host_os.
13157         * configure: Regenerated
13158         * shlib-versions: Remove first column with configuration names.
13159         * nptl/shlib-versions: Likewise.
13160         * nptl_db/shlib-versions: Likewise.
13161         * sysdeps/hppa/shlib-versions: Likewise.
13162         * sysdeps/m68k/shlib-versions: Likewise.
13163         * sysdeps/mach/hurd/shlib-versions: Likewise.
13164         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
13165         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
13166         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
13167         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
13168         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
13169         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
13170         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
13171         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
13172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
13173         Likewise.
13174         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13175         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
13176         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
13177         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
13178         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
13179         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
13180         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
13181         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
13184         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
13185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
13186         Regenerated.
13187         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
13188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
13189         Condition symbol version definitions on [HAVE_ELFV2_ABI].
13191         * shlib-versions: Remove OS-specific entries.  Moved to files in
13192         sysdeps.
13193         * sysdeps/mach/hurd/shlib-versions: New file.
13194         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
13196         * nptl/shlib-versions: Remove architecture-specific entries.
13197         Moved to files in sysdeps.
13198         * shlib-versions: Likewise.
13199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
13200         file.
13201         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13202         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
13203         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
13204         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
13206         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
13207         (UDP_NO_CHECK6_RX): Likewise.
13209 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13211         * sysdeps/posix/sysconf.c (__sysconf): Spell
13212         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
13214 2014-08-12  Florian Weimer  <fweimer@redhat.com>
13216         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
13217         loading.
13218         * iconv/Versions (__gconv_transliterate): Export for use from
13219         gconv modules.
13220         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
13221         (struct __gconv_trans_data, __gconv_trans_fct,
13222         __gconv_trans_context_fct, __gconv_trans_query_fct,
13223         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
13224         definitions.
13225         (struct __gconv_step_data): Remove __trans member.
13226         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
13227         longer hidden.  Remove unused trans_data argument.
13228         * iconv/gconv_int.h (struct trans_struct): Remove definition.
13229         (__gconv_translit_find): Remove declaration.
13230         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
13231         prototype.
13232         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
13233         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
13234         trans_data argument.  Add hidden definition.
13235         (__gconv_translit_find): Remove.
13236         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
13237         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
13238         * iconv/skeleton.c: Remove transliteration initialization.
13239         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
13240         __gconv_step_data initialization.
13241         * libio/iofwide.c (__libio_translit_): Remove.
13242         (_IO_fwide): Adjust struct __gconv_step_data initialization.
13243         * wcsmbs/btowc.c (__btowc): Likewise.
13244         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13245         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13246         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
13247         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
13248         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
13249         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
13250         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
13251         * wcsmbs/wctob.c (wctob): Likewise.
13253 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13255         [BZ #16194]
13256         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
13257         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
13258         register usage.
13259         * sysdeps/x86/Makefile: Adjust.
13261 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13262             Roland McGrath  <roland@hack.frob.com>
13264         * locale/weight.h: Add include guard.
13265         (findidx): Make static rather than auto; take new parameters
13266         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
13267         * locale/weightwc.h: Likewise.
13268         * posix/fnmatch_loop.c
13269         (FCT): Change type of EXTRA from int32_t to wint_t.
13270         Don't include either header inside the function.
13271         Call FINDIDX rather than findidx, and pass new arguments.
13272         #undef FINDIDX at the end of the file.
13273         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
13274         FINDIDX before including fnmatch_loop.c for the non-wide version.
13275         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
13276         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
13277         for the wide version.
13278         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
13279         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
13280         Pass new arguments to findidx.
13281         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
13282         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
13283         Don't #include it inside the function.  Pass new arguments to findidx.
13284         * posix/regex_internal.h
13285         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
13286         (re_string_elem_size_at): Don't #include it inside the function.
13287         Pass new arguments to findidx.
13288         * string/strcoll_l.c: #include WEIGHT_H at top level.
13289         (get_next_seq): Don't #include it inside the function.
13290         Pass new arguments to findidx.
13291         (get_next_seq_nocache): Likewise.
13292         * string/strxfrm_l.c: #include WEIGHT_H at top level.
13293         (STRXFRM): Don't #include it inside the function.
13294         Pass new arguments to findidx.
13296 2014-09-11  Florian Weimer  <fweimer@redhat.com>
13298         [BZ #17344]
13299         * malloc/malloc.c (unlink): Turn asserts into a call to
13300         malloc_printerr.
13302 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
13304         [BZ #17370]
13305         * libio/wfileops (do_ftell_wide): Free OUT.
13307 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
13309         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
13311 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13313         [BZ #17363]
13314         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
13315         group if the current group is empty.
13317 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13319         * benchtests/bench-memset.c (test_main): Add more test from size
13320         from 32 to 512 bytes.
13321         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13322         Add POWER8 memset object.
13323         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13324         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
13325         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
13326         implementation.
13327         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
13328         Likewise.
13329         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
13330         multiarch POWER8 memset optimization.
13331         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
13332         POWER8 memset optimization.
13334         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13335         Remove bzero multiarch objects.
13336         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
13337         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
13338         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
13339         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
13340         Remove define.
13341         [__bzero]: Redefine to specific name.
13342         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
13343         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
13344         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
13345         define.
13346         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13347         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13349 2014-09-10  Florian Weimer  <fweimer@redhat.com>
13351         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
13352         warnings into errors.
13354         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
13355         __cxa_thread_atexit_impl prototype.
13357 2014-09-09  Steve Ellcey  <sellcey@mips.com>
13359         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
13360         Fix capitalization of error message.
13362 2014-09-09  Steve Ellcey  <sellcey@mips.com>
13364         * sysdeps/mips/preconfigure: Modify ABI tests.
13366 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
13368         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
13370 2014-09-07  Roland McGrath  <roland@hack.frob.com>
13371             Carlos O'Donell  <carlos@systemhalted.org>
13373         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
13374         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
13375         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
13376         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
13377         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
13378         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
13379         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
13380         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
13381         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
13382         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
13383         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
13384         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
13385         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
13386         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
13387         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
13388         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
13389         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
13390         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
13391         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
13392         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
13393         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
13394         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
13395         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
13396         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
13397         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
13398         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
13399         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
13400         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
13401         Deconditionalize the code that was previously under [RESET_PID].
13402         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
13403         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
13404         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
13405         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
13406         include sysdep.h.
13408 2014-09-08  Allan McRae  <allan@archlinux.org>
13410         * version.h (RELEASE): Set to "development".
13411         (VERSION): Set to "2.20.90"
13413 2014-09-07  Allan McRae  <allan@archlinux.org
13415         * version.h (RELEASE): Set to "stable".
13416         (VERSION): Set to "2.20"
13417         * include/features.h (__GLIBC_MINOR__): Set to 20.
13419         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
13420         Liebler.
13422         * po/ko.po: Update Korean translation from translation project.
13424 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
13426         [BZ #17354]
13427         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
13428         macro for handling signed relocations.
13430 2014-09-03  Florian Weimer  <fweimer@redhat.com>
13432         [BZ #17325]
13433         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
13434         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
13435         assert.
13436         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
13437         * iconvdata/ibm935.c (BODY): Likewise.
13438         * iconvdata/ibm937.c (BODY): Likewise.
13439         * iconvdata/ibm939.c (BODY): Likewise.
13440         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
13441         assert.
13442         * iconvdata/Makefile (iconv-test.out): Pass module list to test
13443         script.
13444         * iconvdata/run-iconv-test.sh: New test loop for checking for
13445         decoder crashers.
13447 2014-09-02  Khem Raj  <raj.khem@gmail.com>
13449         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
13450         libm_hidden_ver.
13452 2014-09-01  Allan McRae  <allan@archlinux.org>
13454         * po/eo.po: Update Esperanto translation from translation project.
13456         * po/ca.po: Update Catalan translation from translation project.
13458 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13460         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
13461         __proc_dostop call.
13463 2014-08-27  Mark Wielaard  <mjw@redhat.com>
13465         [BZ #17319]
13466         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
13467         to call set_thread_area instead of hand written asm.
13468         (__NR_set_thread_area): Removed define.
13469         (TLS_FLAG_WRITABLE): Likewise.
13470         (__ASSUME_SET_THREAD_AREA): Remove check.
13471         (TLS_EBX_ARG): Remove define.
13472         (TLS_LOAD_EBX): Likewise.
13474 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13476         Simplify atomicity of socket creation in bind.
13478         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
13479         looking up the name after linking the file.
13481 2014-08-27  Allan McRae  <allan@archlinux.org>
13483         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13485 2014-08-26  Florian Weimer  <fweimer@redhat.com>
13487         [BZ #17187]
13488         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
13489         trans_compare, open_translit, __gconv_translit_find):
13490         Remove module loading code.
13492 2014-08-26  Allan McRae  <allan@archlinux.org>
13494         * po/vi.po: Update Vietnamese translation from translation project.
13496         * po/uk.po: Update Ukrainian translation from translation project.
13498         * po/fr.po: Update French translation from translation project.
13500         * po/ru.po: Update Russian translation from translation project.
13502         * po/pl.po: Update Polish translation from translation project.
13504         * po/cs.po: Update Czech translation from translation project.
13506         * po/de.po: Update German translation from translation project.
13508         * po/bg.po: Update Bulgarian translation from translation project.
13510         * po/sv.po: Update Sweedish translation from translation project.
13512         * po/nl.po: Update Dutch translation from translation project.
13514         * po/es.po: Update Spanish translation from translation project.
13516 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13518         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
13520         * catgets/Makefile (CPPFLAGS-gencat): Remove.
13521         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
13522         (CPPFLAGS-iconvconfig): Likewise.
13523         * timezone/Makefile (CPPFLAGS-zic): Likewise.
13525         * include/libc-symbols.h: Remove unnecessary check for
13526         NOT_IN_libc.
13527         * nptl/pthreadP.h: Likewise.
13528         * sysdeps/aarch64/setjmp.S: Likewise.
13529         * sysdeps/alpha/setjmp.S: Likewise.
13530         * sysdeps/arm/sysdep.h: Likewise.
13531         * sysdeps/i386/setjmp.S: Likewise.
13532         * sysdeps/m68k/setjmp.c: Likewise.
13533         * sysdeps/posix/getcwd.c: Likewise.
13534         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13535         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
13536         * sysdeps/s390/s390-32/setjmp.S: Likewise.
13537         * sysdeps/s390/s390-64/setjmp.S: Likewise.
13538         * sysdeps/sh/sh3/setjmp.S: Likewise.
13539         * sysdeps/sh/sh4/setjmp.S: Likewise.
13540         * sysdeps/unix/alpha/sysdep.h: Likewise.
13541         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13542         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13543         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
13544         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13547         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13548         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13549         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13550         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13551         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13552         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13553         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13554         * sysdeps/x86_64/setjmp.S: Likewise.
13556 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
13558         [BZ #17263]
13559         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
13560         <stdint.h>.
13561         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
13562         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
13564 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13566         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
13568         [BZ #17262]
13569         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
13570         and __x86_64__ when disabling x87 inline functions.
13572 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
13574         [BZ #17259]
13575         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
13576         asm statement with __cpuid_count.
13578 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
13580         * configure.ac: Change __ehdr_start code to dereference the struct.
13581         Run readelf on the output to look for relocations.
13582         * configure: Regenerated.
13584 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
13586         [BZ #17261]
13587         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
13588         value to 0.
13589         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
13591 2014-08-12  Roland McGrath  <roland@hack.frob.com>
13593         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
13595 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
13597         [BZ #16892]
13598         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
13599         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
13601 2014-08-12  Sean Anderson  <seanga2@gmail.com>
13603         * malloc/malloc.c: Fix typo in comment.
13605 2014-08-09  Allan McRae  <allan@archlinux.org>
13607         * Regenerate libc.po.
13609 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
13611         * intl/tst-gettext2.sh: Check every lang file for creation.
13613 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
13615         * sysdeps/aarch64/fpu/math_private.h
13616         (libc_feholdsetround_noex_aarch64_ctx): New function.
13618 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
13620         * sysdeps/arm/armv6/strcpy.S (strcpy):
13621         Fix performance issue in misaligned cases.
13623 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13625         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
13626         Move definition from termios.h.
13627         (struct termio): Likewise.
13628         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13629         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
13630         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
13631         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
13632         Likewise.
13633         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
13634         Move definition to ioctl-types.h
13635         (struct termio): Likewise.
13636         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13637         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
13638         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
13639         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
13640         Likewise.
13642 2014-08-05  Richard Henderson  <rth@redhat.com>
13644         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
13645         exceptions.
13646         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
13647         Add fraiseexcpt.
13648         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
13649         Use __feraiseexcept.
13650         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
13651         Protect libm symbols with IS_IN_libm.
13653         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
13655 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
13657         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
13659 2014-08-04  Will Newton  <will.newton@linaro.org>
13661         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
13662         file.
13664 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
13666         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
13667         variants for each function.
13669 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13671         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
13672         appended ...
13673         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
13674         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
13675         appended ...
13676         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
13677         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
13678         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
13679         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
13680         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
13681         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
13682         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
13683         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
13684         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
13685         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
13686         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
13687         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
13688         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
13689         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
13690         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
13691         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
13692         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
13693         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
13694         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
13695         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
13696         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
13697         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
13698         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
13699         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
13700         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
13701         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
13702         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
13703         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
13704         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
13705         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
13706         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
13707         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
13708         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
13709         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
13710         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
13711         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
13712         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
13713         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
13714         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
13715         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
13716         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
13717         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
13718         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
13719         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
13720         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
13721         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
13722         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
13723         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
13724         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
13725         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
13726         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
13727         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
13728         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
13729         Update #include.
13730         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
13731         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
13733 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13735         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
13736         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
13737         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
13738         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
13739         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
13740         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
13742 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13744         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
13745         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
13746         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13747         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
13749 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13751         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
13752         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
13753         (__libc_vfork): Define function under this name.
13754         (__vfork): Define as an alias.
13755         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
13756         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
13758 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13760         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
13761         that was previously under [RESET_PID].
13762         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
13764 2014-08-04  Andreas Schwab  <schwab@suse.de>
13766         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
13768 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
13770         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
13771         (main): Likewise.
13773 2014-08-01  Roland McGrath  <roland@hack.frob.com>
13775         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
13777 2014-08-01  Richard Henderon  <rth@redhat.com>
13779         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
13780         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
13781         typo in exact zero test.
13782         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13783         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13784         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13786 2014-08-01  Roland McGrath  <roland@hack.frob.com>
13788         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
13789         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
13790         * sysdeps/arm/sysdep.h: ... here.
13791         [!__ASSEMBLER__]: Include <stdint.h>.
13793 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
13795         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
13796         (HAVE_WCTYPE_H): Likewise.
13797         (HAVE_ISWCTYPE): Likewise.
13798         (ENABLE_NLS): Likewise.
13799         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
13800         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
13802         * posix/regex_internal.c: Check if DEBUG is defined and is
13803         set.
13805         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
13806         (HAVE_MBSRTOWCS): Likewise.
13807         * posix/fnmatch.c: Include string.h unconditionally.
13809 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
13811         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
13812         reversal.
13814 2014-07-31  Roland McGrath  <roland@hack.frob.com>
13816         * sysdeps/generic/safe-fatal.h: New file.
13817         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
13818         * nptl/forward.c: Include it.
13819         (__pthread_unwind): Use __safe_fatal as default action, rather
13820         than a bogus use of INTERNAL_SYSCALL that could never work.
13822         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
13823         * configure.ac (libc_cv_builtin_trap): New test.
13824         * configure: Regenerated.
13825         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
13826         (ABORT_INSTRUCTION): Define using __builtin_trap.
13828         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
13829         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
13830         * sysdeps/nptl/nptl-signals.h: New file.
13831         * nptl/pthreadP.h: Include <nptl-signals.h>.
13833 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
13835         * sysdeps/s390/s390-64/utf16-utf32-z9.c
13836         (ONE_DIRECTION): Define.
13837         * sysdeps/s390/s390-64/utf8-utf16-z9.c
13838         (ONE_DIRECTION): Define.
13839         * sysdeps/s390/s390-64/utf8-utf32-z9.c
13840         (ONE_DIRECTION): Define.
13842 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
13844         * sysdeps/s390/Makefile: Delete file.
13845         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
13846         * sysdeps/s390/__longjmp.c: Delete file.
13847         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
13848         Remove fields __flags and __reserved.
13849         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
13850         and add versioning.
13851         * sysdeps/s390/rtld-__longjmp.c: Delete file.
13852         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
13853         * sysdeps/s390/rtld-setjmp.S: Likewise.
13854         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
13855         * sysdeps/s390/s390-32/__longjmp.c: ... here.
13856         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
13857         * sysdeps/s390/s390-32/setjmp.S: ... here.
13858         Add versioning.
13859         (__sigsetjmp): Remove setting __flags field.
13860         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
13861         * sysdeps/s390/s390-64/__longjmp.c: ... here.
13862         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
13863         * sysdeps/s390/s390-64/setjmp.S: ... here.
13864         Add versioning.
13865         (__sigsetjmp): Remove setting __flags field.
13866         * sysdeps/s390/setjmp.S: Delete file.
13867         * sysdeps/s390/sigjmp.c: Likewise.
13868         * sysdeps/s390/v1-longjmp.c: Likewise.
13869         * sysdeps/s390/v1-setjmp.h: Likewise.
13870         * sysdeps/s390/v1-sigjmp.c: Likewise.
13871         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
13872         Remove v1-longjmp_chk.
13873         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
13874         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
13875         Include debug/longjmp_chk.c and add versioning.
13876         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
13877         Include nptl/pt-longjmp.c and add versioning.
13878         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
13879         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
13880         Include __longjmp.c.
13881         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
13882         Move to ...
13883         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
13884         (__getcontext): Remove setting __flags field.
13885         Add versioning.
13886         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
13887         Don't restore upper high grps.
13888         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
13889         Likewise.
13890         (__swapcontext): Remove setting uc_flags field.
13891         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
13892         Delete file.
13893         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
13894         Include __longjmp.c.
13895         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
13896         Move to ...
13897         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
13898         (__getcontext): Remove setting __flags field.
13899         Add versioning.
13900         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
13901         (__swapcontext): Remove setting uc_flags field.
13902         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
13903         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
13904         Remove fields uc_high_gprs and __reserved.
13905         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
13906         New file with reverted content.
13907         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
13908         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
13909         Regenerated.
13910         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
13911         Regenerated.
13913 2014-07-31  Andreas Schwab  <schwab@suse.de>
13915         * config.h.in (HAVE_IFUNC): Define to 0.
13916         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
13917         definedness.
13919 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
13921         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13922         memmove-avx-unaligned, memcpy-avx-unaligned and
13923         mempcpy-avx-unaligned.
13924         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13925         Add tests for AVX memcpy functions.
13926         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
13927         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
13928         memcpy_chk.
13929         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
13930         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
13931         memmove_chk.
13932         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
13933         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
13934         mempcpy_chk.
13935         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
13936         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
13937         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
13939 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13941         [BZ #17213]
13942         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
13943         powerpc64le.
13945 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
13947         [BZ #16839]
13948         * manual/llio.texi: Add section about open file description locks.
13949         * manual/examples/ofdlocks.c: Example of open file description
13950         lock usage.
13951         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
13952         F_OFD_SETLK, and F_OFD_SETLKW.
13954 2014-07-23  Allan McRae  <allan@archlinux.org>
13956         * po/es.po: Update Spanish translation from translation project.
13958 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
13960         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
13962 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
13964         [BZ #17078]
13965         * sysdeps/arm/dl-machine.h (elf_machine_rela)
13966         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
13967         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
13969 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
13971         [BZ #17088]
13972         * math/fesetenv.c (__fesetenv)
13973         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
13974         * math/feupdateenv.c (__feupdateenv)
13975         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
13977         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
13978         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
13979         (__ASSUME_SOCKETCALL): Do not define.
13981         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
13982         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
13983         (__ASSUME_SOCKETCALL): Do not define.
13984         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
13985         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
13986         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13987         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
13988         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13989         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
13990         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13991         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13993         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
13994         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
13995         (__ASSUME_SOCKETCALL): Do not define.
13996         (__ASSUME_IPC64): Define unconditionally.
13997         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
13998         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13999         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
14000         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14001         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
14002         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14003         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
14004         Likewise.
14006         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
14007         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
14008         (__ASSUME_SOCKETCALL): Do not define.
14009         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
14010         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14011         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14012         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
14013         (__ASSUME_REQUEUE_PI): Define unconditionally.
14014         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
14015         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
14016         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14017         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
14018         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14019         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14021         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
14022         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
14023         (__ASSUME_SOCKETCALL): Do not define.
14024         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
14025         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14026         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14027         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
14028         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14029         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14031         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
14032         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
14033         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14034         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
14035         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14036         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
14037         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14038         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
14039         (__ASSUME_GETCPU_SYSCALL): Likewise.
14041         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
14042         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
14043         cases for individual architectures.
14044         * sysdeps/gnu/configure: Regenerated.
14045         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
14046         LIBC_SLIBDIR_RTLDDIR.
14047         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
14048         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
14049         LIBC_SLIBDIR_RTLDDIR.
14050         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
14051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
14052         LIBC_SLIBDIR_RTLDDIR.
14053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
14054         Regenerated.
14055         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
14056         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
14057         file.
14058         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
14059         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
14060         file.
14061         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
14062         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
14063         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
14064         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
14066         * sysdeps/aarch64/shlib-versions: Move to ...
14067         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
14068         * sysdeps/alpha/shlib-versions: Move to ...
14069         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
14070         * sysdeps/arm/shlib-versions: Move to ...
14071         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
14072         * sysdeps/hppa/shlib-versions: Move all contents except for
14073         libgcc_s entry to ...
14074         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
14075         entry from ...
14076         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
14077         * sysdeps/ia64/shlib-versions: Move to ...
14078         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
14079         entry from ...
14080         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
14081         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
14082         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
14083         * sysdeps/microblaze/shlib-versions: Move to ...
14084         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
14085         * sysdeps/mips/shlib-versions: Move to ...
14086         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
14087         entry from ...
14088         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
14089         * sysdeps/tile/shlib-versions: Move to ...
14090         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
14091         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
14092         from ...
14093         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
14094         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
14095         entry from ...
14096         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
14098 2014-07-17  Will Newton  <will.newton@linaro.org>
14100         * sysdeps/arm/bits/atomic.h
14101         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
14102         (__arch_compare_and_exchange_bool_16_int): Likewise.
14103         (__arch_compare_and_exchange_bool_64_int): Likewise.
14105         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
14106         into an #else block.
14108 2014-07-16  Roland McGrath  <roland@hack.frob.com>
14110         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
14111         just Linux configurations.  Test empirically that the compiler sets
14112         __ARM_EABI__, rather than using the tuple to decide.
14113         * sysdeps/arm/preconfigure: Regenerated.
14114         * sysdeps/unix/sysv/linux/arm/configure: File removed.
14115         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
14116         contents appended ...
14117         * sysdeps/arm/configure.ac: ... here.
14118         * sysdeps/arm/configure: Regenerated.
14120 2014-07-15  Roland McGrath  <roland@hack.frob.com>
14122         * nptl/pthread_kill.c: New file.
14123         * nptl/pthread_sigmask.c: New file.
14124         * nptl/pthread_sigqueue.c: New file.
14126         * sysdeps/nptl/lowlevellock.h: New file.
14127         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
14128         * sysdeps/nptl/lowlevellock-futex.h: New file.
14130         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
14131         Remove dead declarations.
14133 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
14135         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
14136         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
14137         config-cflags-avx2.
14138         * sysdeps/x86_64/configure.ac: Likewise.
14139         * sysdeps/i386/configure: Regenerated.
14140         * sysdeps/x86_64/configure: Likewise.
14141         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14142         memset-avx2 only if config-cflags-avx2 is yes.
14143         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14144         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
14145         defined.
14146         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
14147         only if HAVE_AVX2_SUPPORT is defined.
14148         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14150 2014-07-14  Alan Modra  <amodra@gmail.com>
14152         [BZ #17153]
14153         * elf/elf.h (DT_PPC64_NUM): Correct value.
14154         * NEWS: Add to fixed bug list.
14156 2014-07-13  Jim Meyering  <meyering@fb.com>
14158         [BZ 17150]
14159         regex: don't deref NULL upon heap allocation failure
14160         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
14161         failure in one more place.
14162         To trigger the segfault, configure grep -with-included-regex,
14163         build it, and run these commands:
14164         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
14166 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
14168         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
14170 2014-07-11  Richard Henderson  <rth@redhat.com>
14172         * sysdeps/aarch64/libm-test-ulps: Update.
14174 2014-07-10  Florian Weimer  <fweimer@redhat.com>
14176         [BZ #17135]
14177         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
14178         * nptl/allocatestack.c (__nptl_setxid_error): New function.
14179         (__nptl_setxid): Initialize error member.  Call
14180         __nptl_setxid_error.
14181         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
14182         * nptl/descr.h (struct xid_command): Add error member.
14183         * nptl/tst-setuid3.c: New file.
14184         * nptl/Makefile (tests): Add it.
14186 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14188         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
14189         New define.
14190         (__lll_trylock): Use __lll_base_trylock.
14191         (__lll_cond_trylock): Likewise.
14193 2014-07-10  Roland McGrath  <roland@hack.frob.com>
14195         * nptl/pthread_create.c (start_thread): Use atomic_or and
14196         lll_futex_wake directly rather than lll_robust_dead.
14197         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
14198         (lll_robust_dead): Macro removed.
14199         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
14200         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
14201         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
14202         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
14203         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
14204         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
14205         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
14206         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
14207         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
14208         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
14209         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
14210         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14211         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
14212         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
14213         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
14215         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
14216         Use atomic_compare_and_exchange_val_acq directly rather than
14217         lll_robust_trylock.
14218         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
14219         (__lll_robust_trylock, lll_robust_trylock): Removed.
14220         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
14221         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
14222         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
14223         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
14224         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
14225         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
14226         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
14227         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
14228         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
14229         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
14230         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14231         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
14232         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
14233         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
14235 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14237         * manual/locale.texi (Locale Names): New section documenting
14238         locale name syntax.  Adjust menu and node chaining accordingly.
14239         (Choosing Locale): Reference Locale Names, Locale Categories.
14240         Mention setting LC_ALL=C.  Reflect that name syntax is now
14241         documented.
14242         (Locale Categories): New section title.  Reference Locale Names.
14243         LC_ALL is an environment variable, but not a category.
14244         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
14245         description, now in Locale Name.  Reference that section.  Locale
14246         name syntax is now documented.
14248 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14250         [BZ #17137]
14251         * locale/findlocale.c (name_present, valid_locale_name): New
14252         functions.
14253         (_nl_find_locale): Use the loc_name variable to store name
14254         candidates.  Call name_present and valid_locale_name to check and
14255         validate locale names.  Return an error if the locale is invalid.
14257 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14259         * locale/setlocale.c (setlocale): Use strdup for allocating
14260         composite name copy.
14262 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14264         Sync up with gnulib.
14265         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
14266         [!_LIBC && ENABLE_NLS]: Include gettext.h.
14267         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
14268         and _GL_ARG_NONNULL.
14269         [USE_UNLOCKED_IO]: Include unlocked-io.h.
14270         [!_LIBC]: Include code for Windows and Cygwin.
14271         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
14272         Include prototype for int strerror_r.
14273         [!_LIBC] (is_open): New function.
14274         (flush_stdout): New function.
14275         (print_errno_message): Use it.
14276         (error): Likewise.
14277         (error_at_line): Likewise.
14278         (error_tail) Add function attribute macros.  Use
14279         __builtin_expect.
14281         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
14283         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
14285         * io/ftw.c: Include sys/param.h unconditionally.
14287         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
14289         [BZ #17125]
14290         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
14291         libc_freeres_ptr.
14292         (freecache): New function to free CACHE on exit.
14294         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
14295         initialization.
14297 2014-07-09  David S. Miller  <davem@davemloft.net>
14299         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14301         * sysdeps/sparc/nptl/internaltypes.h: Delete.
14302         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
14303         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
14304         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
14305         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
14306         * sysdeps/sparc/nptl/sem_init.c: Likewise.
14307         * sysdeps/sparc/nptl/sem_post.c: Likewise.
14308         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
14309         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
14310         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
14311         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
14312         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
14313         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
14315 2014-07-09  Andreas Schwab  <schwab@suse.de>
14317         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
14318         output.
14319         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
14320         (do_test): Likewise.
14322         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14324 2014-07-09  Will Newton  <will.newton@linaro.org>
14326         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
14327         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
14328         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
14329         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
14330         * sysdeps/hppa/start.S (_start): Likewise.
14332 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
14334         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
14336         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
14337         defined.
14339 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14341         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
14342         after checking that it is non-NULL.
14344         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
14346 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14348         * sysdeps/powerpc/memmove.c: Remove file.
14349         * sysdeps/powerpc/powerpc32/power4/memcopy.h
14350         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
14351         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
14352         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
14353         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
14354         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
14355         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
14356         string memmove instead of removed powerpc one.
14358         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14359         [weak_alias]: Fix compiler warning due trailing data.
14360         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
14361         [weak_alias]: Likewise.
14362         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
14363         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
14365         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14366         (__libc_ifunc_impl_list): Add memmove functions.
14368 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14370         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
14371         Remove code.
14372         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
14373         Likewise
14374         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
14375         Likewise
14376         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
14377         Likewise
14378         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
14379         Likewise
14380         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
14381         Likewise
14382         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
14383         Likewise
14384         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
14385         Likewise
14386         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
14387         Likewise
14388         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
14389         Likewise
14390         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
14391         Likewise
14392         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
14393         Likewise
14394         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
14395         Likewise
14396         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
14397         Likewise
14398         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
14399         Likewise
14400         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
14401         Likewise
14402         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
14403         Likewise
14405 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14407         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
14408         to avoid alignment traps in non-cacheable memory.
14409         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14411         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
14412         multiarch objects.
14413         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
14414         file: multiarch power7 memmove.
14415         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
14416         multiarch default memmove.
14417         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
14418         multiarch memove for powerpc32/power4.
14420         * string/bcopy.c: Use full path to include memmove.c.
14421         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
14422         multiarch objects.
14423         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
14424         bcopy for powerpc64.
14425         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
14426         bcopy for powerpc64.
14427         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
14428         and memmove implementations.
14429         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
14430         optimized multiarch memmove for POWER7/powerpc64.
14431         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
14432         default multiarch memmove for powerpc64.
14433         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
14434         multiarch for powerpc64.
14435         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
14436         for POWER7/powerpc64.
14437         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
14438         memmove for POWER7/powerpc64.
14440         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
14441         glibc default one.
14443         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
14444         __ELF_NATIVE_CLASS equal to 64.
14446 2014-07-07  Roland McGrath  <roland@hack.frob.com>
14448         * sysdeps/nptl/lowlevellock.h: File removed.
14450         * NEWS: NPTL is no longer an add-on!
14451         * nptl/internaltypes.h: Moved ...
14452         * sysdeps/nptl/internaltypes.h: ... here.
14453         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
14454         * sysdeps/nptl/fork.c: Likewise.
14455         * sysdeps/nptl/gai_misc.h: Likewise.
14456         * sysdeps/nptl/librt-cancellation.c: Likewise.
14457         * sysdeps/nptl/jmp-unwind.c: Likewise.
14458         * sysdeps/nptl/setxid.h: Likewise.
14459         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
14460         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
14461         * sysdeps/unix/sysv/linux/arm/Implies: New file.
14462         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
14463         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
14464         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
14465         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
14466         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
14467         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
14468         * sysdeps/unix/sysv/linux/mips/Implies: New file.
14469         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
14470         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
14471         * sysdeps/unix/sysv/linux/sh/Implies: New file.
14472         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
14473         * sysdeps/unix/sysv/linux/tile/Implies: New file.
14474         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
14475         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
14476         * nptl/Makeconfig: Moved ...
14477         * sysdeps/nptl/Makeconfig: ... here.
14478         * nptl/configure: File removed.
14479         * nptl/ANNOUNCE: File removed.
14480         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
14481         * sysdeps/unix/sysv/linux/configure: Regenerated.
14483         * nptl/Makefile (routines): Add libc_pthread_init,
14484         libc_multiple_threads, register-atfork and unregister-atfork.
14485         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
14486         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
14487         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
14488         pthread-pi-defines.sym, structsem.sym.
14489         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
14490         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
14491         [$(subdir) = nptl] (tests): Add tst-setgetname.
14492         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
14493         * sysdeps/unix/sysv/linux/sigaction.c: Just include
14494         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
14495         [!LIBC_SIGACTION]: Remove aliases.
14496         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
14497         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14498         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14499         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
14500         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14501         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
14502         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14503         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14504         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14505         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
14506         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
14507         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
14508         __libc_allocate_rtsig_private.
14509         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
14510         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
14511         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
14512         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
14513         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
14514         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
14515         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
14516         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
14517         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
14518         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
14519         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
14520         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
14521         * nptl/internaltypes.h: ... here.
14522         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
14523         * sysdeps/nptl/jmp-unwind.c: ... here.
14524         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
14525         * nptl/libc-lowlevellock.c: ... here.
14526         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
14527         * nptl/libc_multiple_threads.c: ... here.
14528         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
14529         * nptl/libc_pthread_init.c: ... here.
14530         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
14531         * nptl/lowlevelbarrier.sym: ... here.
14532         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
14533         * nptl/lowlevelcond.sym: ... here.
14534         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
14535         * nptl/lowlevellock.c: ... here.
14536         * nptl/lowlevellock.h: Moved ...
14537         * sysdeps/nptl/lowlevellock.h: ... here.
14538         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
14539         * nptl/lowlevelrobustlock.c: ... here.
14540         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
14541         * nptl/lowlevelrobustlock.sym: ... here.
14542         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
14543         * nptl/lowlevelrwlock.sym: ... here.
14544         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
14545         * nptl/pt-fork.c: ... here.
14546         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
14547         * nptl/pthread-pi-defines.sym: ... here.
14548         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
14549         * nptl/pthread_attr_getaffinity.c: ... here.
14550         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
14551         * nptl/pthread_attr_setaffinity.c: ... here.
14552         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
14553         * nptl/pthread_mutex_cond_lock.c: ... here.
14554         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
14555         Update #include.
14556         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
14557         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
14558         * nptl/pthread_once.c: ... here, replacing old file.
14559         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
14560         * nptl/pthread_yield.c: ... here.
14561         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
14562         * nptl/register-atfork.c: ... here.
14563         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
14564         * nptl/sem_post.c: ... here.
14565         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
14566         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
14567         * nptl/sem_timedwait.c: ... here.
14568         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
14569         * nptl/sem_trywait.c: ... here.
14570         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
14571         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
14572         * nptl/sem_wait.c: ... here.
14573         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
14574         * nptl/structsem.sym: ... here.
14575         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
14576         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
14577         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
14578         * nptl/unregister-atfork.c: ... here.
14579         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
14580         * nptl/unwindbuf.sym: ... here.
14581         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
14582         * sysdeps/nptl/fork.c: ... here.
14583         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
14584         * sysdeps/nptl/fork.h: ... here.
14585         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
14586         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
14587         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
14588         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
14589         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
14590         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
14591         * sysdeps/unix/sysv/linux/getpid.c: ... here.
14592         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
14593         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
14594         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
14595         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
14596         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
14597         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
14598         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
14599         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
14600         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
14601         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
14602         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
14603         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
14604         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
14605         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
14606         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
14607         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
14608         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
14609         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
14610         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
14611         * sysdeps/unix/sysv/linux/raise.c: ... here.
14612         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
14613         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
14614         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
14615         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
14616         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
14617         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
14618         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
14619         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
14620         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
14621         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
14622         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
14623         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
14624         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
14625         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
14626         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
14628 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14630         * sysdeps/generic/memcopy.h: Add comment for
14631         MEMCPY_OK_FOR_FWD_MEMMOVE.
14633 2014-07-04  Will Newton  <will.newton@linaro.org>
14635         * string/memchr.c: Merge from gnulib.
14636         [_LIBC]: Remove conditionals.
14637         (__ptr_t): Remove define.
14638         (LONG_MAX_32_BITS): Likewise.
14639         (LONG_MAX): Likewise.
14640         (MEMCHR): Use ANSI prototype and optimize algorithm.
14642         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
14644 2014-07-03  Roland McGrath  <roland@hack.frob.com>
14646         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
14647         (lll_futex_timed_wait_bitset): Fix syscall argument count.
14649         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
14650         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
14651         in a bare environment with no <stdlib.h> installed.
14652         * sysdeps/nptl/configure: Regenerated.
14654         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
14656         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
14657         AC_EGREP_CPP for kernel header checks, so they only succeed if
14658         including <linux/version.h> actually works right.
14659         * sysdeps/unix/sysv/linux/configure: Regenerated.
14661         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
14662         value so it's not diagnosed as unused.
14664         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
14665         thing) with "ifeq ($(subdir),rt)".
14667 2014-07-03  Richard Henderson  <rth@redhat.com>
14669         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
14670         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
14671         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
14673         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
14674         (math_force_eval): New.
14676         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
14677         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
14679         * sysdeps/alpha/fpu/s_round.c: Remove file.
14680         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
14682         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
14683         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
14684         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
14685         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
14686         (_dl_start, print_statistics): Likewise.
14687         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
14688         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
14690         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14691         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14692         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14693         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14694         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14695         (HP_SMALL_TIMING_AVAIL): Define.
14696         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14697         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
14698         (HP_SMALL_TIMING_AVAIL): Define.
14699         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14700         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14702         * sysdeps/aarch64/hp-timing.h: New file.
14704         * sysdeps/generic/hp-timing.h: Remove dead comment.
14705         * sysdeps/generic/hp-timing-common.h: New file.
14706         * sysdeps/alpha/hp-timing.h: Include it.
14707         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
14708         * sysdeps/i386/i686/hp-timing.h: Likewise.
14709         * sysdeps/ia64/hp-timing.h: Likewise.
14710         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14711         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14712         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
14713         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
14714         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
14715         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
14716         (hp_timing_t): New.
14718         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
14719         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
14720         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
14721         * elf/rtld.c (_dl_start_final): Likewise.
14722         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
14723         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14724         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14725         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14726         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14727         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14728         (HP_TIMING_DIFF_INIT): Remove.
14729         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14730         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
14731         (HP_TIMING_DIFF_INIT): Remove.
14732         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14733         * sysdeps/i386/i686/hp-timing.c: Remove file.
14734         * sysdeps/x86_64/hp-timing.c: Remove file.
14735         * sysdeps/ia64/hp-timing.c: Remove file.
14736         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
14737         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
14738         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
14739         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
14741         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
14742         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
14743         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
14744         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14745         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14746         (HP_TIMING_ACCUM): Remove.
14747         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14748         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
14749         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14751         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
14752         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
14753         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
14754         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
14755         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
14756         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
14757         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
14758         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
14760         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
14762 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
14764         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
14766 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14768         Sync up with gettext.
14769         * intl/loadmsgcat.c: Define O_BINARY if not defined.
14770         [_MSC_VER]: Include malloc.h
14771         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
14772         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
14773         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
14774         TEMP_FAILURE_RETRY.  Cast return of alloca.
14775         [!_LIBC] Call gl_rwlock_init.
14776         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
14778 2014-07-02  Roland McGrath  <roland@hack.frob.com>
14780         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
14781         before checking its value.
14783 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14785         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
14787         * debug/memcpy_chk.c: Don't include pagecopy.h.
14788         * debug/mempcpy_chk.c: Likewise.
14789         * string/memcpy.c: Likewise.
14790         * string/memmove.c: Likewise.
14791         * sysdeps/powerpc/memmove.c: Likewise.
14792         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
14793         definition of PAGE_COPY_FWD_MAYBE here...
14794         * sysdeps/generic/pagecopy.h: ... from here.
14795         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
14797 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14798             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14800         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
14801         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
14802         optimizations.
14803         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14804         (__libc_ifunc_impl_list): Likewise.
14805         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
14806         multiarch strcat for PPC64.
14807         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
14808         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
14810 2014-07-02  Roland McGrath  <roland@hack.frob.com>
14812         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
14814 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14816         * intl/loadmsgcat.c: Remove declaration of
14817         get_sysdep_segment_value.
14818         (get_sysdep_segment_value): Use ISO C style.
14819         (_nl_load_domain): Use ISO C style.  Get rid of redundant
14820         semicolon.  Fix typo and formatting in comment.
14821         (_nl_unload_domain): Use ISO C style.
14823         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
14825 2014-07-02  Will Newton  <will.newton@linaro.org>
14827         * malloc/obstack.c: Merge from gnulib master.
14828         [HAVE_CONFIG_H]: Remove conditional code.
14829         [!_LIBC]: Include config.h.
14830         [!ELIDE_CODE]: Don't include inttypes.h, include
14831         stdint.h unconditionally.
14832         (print_and_abort): Mark as _Noreturn.
14833         (_obstack_allocated_p): Mark as __attribute_pure__.
14834         (obstack_free): Rename to __obstack_free.
14835         [!__attribute__]: Remove conditional code.
14836         * malloc/obstack.h: Merge from gnulib master.
14837         [__cplusplus]: Move conditional down.
14838         [!__attribute_pure__]: Define __attribute_pure__ here
14839         if it is not already defined.
14840         (_obstack_memory_used): Mark as __attribute_pure__.
14841         [!__obstack_free]: Define as obstack_free.
14842         [__GNUC__]: Remove check for ancient NeXT gcc.
14844 2014-07-02  Will Newton  <will.newton@linaro.org>
14845             Paul Eggert  <eggert@cs.ucla.edu>
14847         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
14849 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14851         * resolv/gethnamaddr.c: Add comment warning that the file is
14852         not maintained.
14854 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
14856         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
14857         entries.
14859         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
14860         entry for aio_cancel and aio_cancel64.
14861         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
14862         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
14863         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
14864         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
14865         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
14866         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
14867         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
14868         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
14869         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
14870         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
14871         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
14872         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
14873         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
14875 2014-07-01  Roland McGrath  <roland@hack.frob.com>
14877         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
14878         * nptl/pthread_mutex_lock.c: Likewise.
14879         * nptl/pthread_mutex_timedlock.c: Likewise.
14880         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
14882 2014-07-01  Richard henderson  <rth@redhat.com>
14884         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
14885         (__isnan, __isnanl): Remove.
14886         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
14888         * sysdeps/alpha/fpu/libm-test-ulps: Update.
14890 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
14892         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14894 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
14896         * resolv/nss_dns/dns-host.c (getanswer_r)
14897         [MULTI_PTRS_ARE_ALIASES]: Remove code.
14899 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
14901         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14902         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
14903         undefine.
14904         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
14905         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
14907 2014-07-01  Roland McGrath <roland@hack.frob.com>
14909         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
14910         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
14912         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
14913         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
14915         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
14916         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
14917         ... here.
14918         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
14919         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
14921         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
14922         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
14923         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
14924         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
14926         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
14927         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
14928         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
14929         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
14930         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
14931         Moved ...
14932         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
14933         ... here.
14934         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
14935         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
14936         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
14937         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
14938         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
14939         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
14940         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
14941         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
14942         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
14943         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
14944         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
14945         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
14946         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
14947         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
14948         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
14949         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
14950         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
14951         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
14952         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
14953         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
14954         ... here.
14955         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
14956         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
14957         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
14958         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
14959         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
14960         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
14961         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
14962         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
14964 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
14966         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
14967         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
14968         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
14969         Add sysdep.
14971 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14973         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14975 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
14977         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14978         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14980         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14982         * sysdeps/arm/libm-test-ulps: Regenerated.
14984 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
14985             Roland McGrath <roland@hack.frob.com>
14987         * test-skeleton.c (signal_handler): Kill the whole process group
14988         before killing the child individually.
14989         (main): Report any failure on `setpgid'.
14991 2014-06-30  Roland McGrath  <roland@hack.frob.com>
14993         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
14994         from _TLS_H to _ARM_NPTL_TLS_H.
14995         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
14996         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
14998 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
15000         [BZ #16539]
15001         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
15002         (__expm1l): Return argument unchanged when small but not
15003         subnormal.
15005         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
15006         include macro name.
15007         (_FP_UNPACK_RAW_1_P): Likewise.
15008         (_FP_PACK_RAW_1): Likewise.
15009         (_FP_PACK_RAW_1_P): Likewise.
15010         (_FP_MUL_MEAT_1_wide): Likewise.
15011         (_FP_MUL_MEAT_DW_1_hard): Likewise.
15012         (_FP_MUL_MEAT_1_hard): Likewise.
15013         (_FP_DIV_MEAT_1_imm): Likewise.
15014         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
15015         (_FP_DIV_MEAT_1_udiv): Likewise.
15016         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
15017         (_FP_UNPACK_RAW_2): Likewise.
15018         (_FP_UNPACK_RAW_2_P): Likewise.
15019         (_FP_PACK_RAW_2): Likewise.
15020         (_FP_PACK_RAW_2_P): Likewise.
15021         (_FP_MUL_MEAT_DW_2_wide): Likewise.
15022         (_FP_MUL_MEAT_2_wide): Likewise.
15023         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
15024         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
15025         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
15026         (_FP_MUL_MEAT_2_gmp): Likewise.
15027         (_FP_DIV_MEAT_2_udiv): Likewise.
15028         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
15029         (_FP_FRAC_SRL_4): Likewise.
15030         (_FP_FRAC_SRST_4): Likewise.
15031         (_FP_FRAC_SRS_4): Likewise.
15032         (_FP_UNPACK_RAW_4): Likewise.
15033         (_FP_UNPACK_RAW_4_P): Likewise.
15034         (_FP_PACK_RAW_4): Likewise.
15035         (_FP_PACK_RAW_4_P): Likewise.
15036         (_FP_MUL_MEAT_DW_4_wide): Likewise.
15037         (_FP_MUL_MEAT_4_wide): Likewise.
15038         (_FP_MUL_MEAT_4_gmp): Likewise.
15039         (umul_ppppmnnn): Likewise.
15040         (_FP_DIV_MEAT_4_udiv): Likewise.
15041         (__FP_FRAC_ADD_4): Likewise.
15042         (__FP_FRAC_SUB_3): Likewise.
15043         (__FP_FRAC_SUB_4): Likewise.
15044         (__FP_FRAC_DEC_3): Likewise.
15045         (__FP_FRAC_DEC_4): Likewise.
15046         (__FP_FRAC_ADDI_4): Likewise.
15047         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
15048         (_FP_FRAC_SRL_8): Likewise.
15049         (_FP_FRAC_SRS_8): Likewise.
15051         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
15052         include macro name.
15053         (FP_UNPACK_RAW_EP): Likewise.
15054         (FP_PACK_RAW_E): Likewise.
15055         (FP_PACK_RAW_EP): Likewise.
15056         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
15057         (_FP_ISSIGNAN): Likewise.
15058         (_FP_ADD_INTERNAL): Likewise.
15059         (_FP_FMA): Likewise.
15060         (_FP_CMP): Likewise.
15061         (_FP_SQRT): Likewise.
15062         (_FP_TO_INT): Likewise.
15063         (_FP_FROM_INT): Likewise.
15064         (FP_EXTEND): Likewise.
15065         (_FP_DIV_MEAT_N_loop): Likewise.
15067 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
15069         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
15070         throughout.
15072 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
15074         [BZ #17097]
15075         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
15076         result with correct sign in case of exponents that produce
15077         overflow except for X very close to 1.
15079 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
15081         mktime: merge #if/#ifdef usage from glibc
15082         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
15083         as that works with both Glibc's and Gnulib's style.
15084         See thread starting at Siddhesh Poyarekar's bug report at:
15085         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
15087 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15089         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
15090         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
15091         * sysdeps/tile/tilegx/memmove.c: Remove file.
15093 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
15095         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
15096         abi-name definition.
15097         * scripts/soversions.awk: Do not handle or generate ABI lines.
15098         * shlib-versions: Remove ABI entries.
15099         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
15100         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
15102 2014-06-27  Roland McGrath  <roland@hack.frob.com>
15104         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
15105         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
15106         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
15107         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
15108         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
15109         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
15110         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
15111         Moved ...
15112         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
15113         ... here.
15114         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
15115         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
15116         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
15117         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
15118         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
15119         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
15120         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
15121         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
15122         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
15123         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
15124         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
15125         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
15126         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
15127         Moved ...
15128         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
15129         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
15130         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
15131         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
15132         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
15133         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
15134         Moved ...
15135         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
15136         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
15137         Moved ...
15138         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
15139         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
15140         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
15141         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
15142         Moved ...
15143         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
15144         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
15145         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
15146         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
15147         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
15148         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
15149         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
15150         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
15151         Moved ...
15152         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
15153         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
15154         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
15155         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
15156         Moved ...
15157         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
15158         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
15159         Moved ...
15160         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
15161         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
15162         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
15163         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
15164         Moved ...
15165         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
15166         ... here.
15167         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
15168         Identical file removed.
15169         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
15170         Moved ...
15171         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
15172         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
15173         Identical file removed.
15174         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
15175         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
15176         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
15177         Moved ...
15178         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
15179         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
15180         Identical file removed.
15181         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
15182         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
15183         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
15184         Identical file removed.
15185         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
15186         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
15187         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
15188         Identical file removed.
15189         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
15190         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
15191         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
15192         Identical file removed.
15193         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
15194         Moved ...
15195         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
15196         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
15197         Identical file removed.
15198         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
15199         Moved ...
15200         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
15201         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
15202         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
15203         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
15204         Identical file removed.
15205         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
15206         Moved ...
15207         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
15208         ... here.
15209         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
15210         Identical file removed.
15211         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
15212         Moved ...
15213         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
15214         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
15215         Identical file removed.
15216         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
15217         Moved ...
15218         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
15219         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
15220         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
15221         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
15222         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
15223         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
15224         Moved ...
15225         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
15226         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
15227         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
15229         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
15230         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
15231         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
15232         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
15233         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
15235 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
15237         [BZ #17092]
15238         * nscd/nscd.c (monitor_child): Return exit status of child
15239         instead of return value from wait syscall.
15241 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
15243         * configure.ac (libc_commonpagesize): Remove variable.
15244         (libc_relro_required): Likewise.
15245         (libc_cv_z_relro): Remove configure test.
15246         * configure: Regenerated.
15247         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
15248         variable.
15249         (libc_relro_required): Likewise.
15250         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
15251         (libc_relro_required): Likewise.
15252         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
15253         (libc_relro_required): Likewise.
15254         * sysdeps/arm/preconfigure: Regenerated.
15255         * sysdeps/ia64/preconfigure: Remove file.
15256         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
15257         variable.
15258         (libc_relro_required): Likewise.
15260         [BZ #16561]
15261         [BZ #16562]
15262         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
15263         (__ieee754_yn): Set FE_TONEAREST mode internally and then
15264         recompute overflowing results in original rounding mode.
15265         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
15266         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
15267         recompute overflowing results in original rounding mode.
15268         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
15269         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15270         recompute overflowing results in original rounding mode.
15271         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
15272         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15273         recompute overflowing results in original rounding mode.
15274         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
15275         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15276         recompute overflowing results in original rounding mode.
15277         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
15278         (libc_feholdsetround_ctx): New macro.
15279         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
15280         * sysdeps/i386/fpu/libm-test-ulps: Update.
15281         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
15283 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15285         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
15286         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
15287         corresponding .cpsetup call.
15289 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15291         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
15292         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
15293         * sysdeps/arm/Makefile [$(subdir) = csu]
15294         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
15295         (static-only-routines): Add aeabi_read_tp here.
15296         (shared-only-routines): Add libc-aeabi_read_tp here.
15297         (CFLAGS-libc-start.c): Add -fexceptions here.
15298         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
15299         (sysdep_routines, static-only-routines, shared-only-routines):
15300         Don't add to these here.
15301         (CFLAGS-libc-start.c): Likewise.
15303         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
15304         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
15305         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
15306         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
15307         * sysdeps/arm/Makefile [$(subdir) = rt]
15308         (librt-sysdep_routines, librt-shared-only-routines):
15309         Append rt-aeabi_unwind_cpp_pr1 here.
15310         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
15311         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
15312         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
15313         (libpthread-sysdep_routines, libpthread-shared-only-routines):
15314         Append nptl-aeabi_unwind_cpp_pr1 here.
15315         (tests): Filter out tst-cleanupx4 here.
15316         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
15317         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
15318         Don't do those here.
15320 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15322         * scripts/list-sources.sh: Do not handle ports specially.
15324 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15326         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
15327         * sysdeps/arm/feupdateenv.c: Likewise.
15329         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
15331 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15333         * manual/texinfo.tex: Update to version 2014-05-05.10 with
15334         trailing whitespace removed.
15335         * scripts/config.guess: Update to version 2014-03-23.
15336         * scripts/config.sub: Update to version 2014-05-01
15337         * scripts/install-sh: Update to version 2013-12-25.23.
15338         * scripts/move-if-change: Update from gnulib.
15340 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15342         * debug/memmove_chk.c: Remove pagecopy.h include.
15344 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
15346         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
15347         identical to gnulib mktime.
15349 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15351         * configure.ac: Do not test for machine being rs6000.  Do not test
15352         for powerpc*-*soft.
15353         * configure: Regenerated.
15355         [BZ #11505]
15356         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
15357         test.
15358         * configure: Regenerated.
15359         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
15360         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
15361         Remove configure test.
15362         * sysdeps/arm/configure: Regenerated.
15363         * sysdeps/nptl/configure.ac: Do not check
15364         libc_cv_asm_cfi_directives.
15365         * sysdeps/nptl/configure: Regenerated.
15366         * sysdeps/x86_64/nptl/configure.ac: Remove file.
15367         * sysdeps/x86_64/nptl/configure: Remove generated file.
15368         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
15369         unconditional.
15370         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
15372 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15374         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
15375         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
15376         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
15377         it is defined.
15379         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
15380         instead of whether it is defined.
15381         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
15382         * sysdeps/hppa/dl-machine.h: Likewise.
15383         * sysdeps/ia64/dl-machine.h: Likewise.
15384         * sysdeps/m68k/dl-machine.h: Likewise.
15385         * sysdeps/microblaze/dl-machine.h: Likewise.
15386         * sysdeps/mips/dl-machine.: Likewise.
15387         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15388         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15389         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15390         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15391         * sysdeps/sh/dl-machine.h: Likewise.
15392         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15393         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15394         * sysdeps/tile/dl-machine.h: Likewise.
15395         * sysdeps/x86_64/dl-machine.h: Likewise.
15397         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
15398         code.
15399         (verify_persistent_db): Likewise.
15401 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15403         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
15404         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
15405         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
15406         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
15407         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15408         Moved ...
15409         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
15410         ... here.
15411         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
15412         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
15413         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
15414         Identical file removed.
15415         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
15416         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
15417         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
15418         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
15419         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
15420         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
15421         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
15422         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
15423         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
15424         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
15425         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15426         Moved ...
15427         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
15428         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
15429         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
15430         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
15431         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
15432         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15433         Moved ...
15434         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
15435         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
15436         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
15437         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
15438         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
15439         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15440         Identical file removed.
15441         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
15442         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
15443         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
15444         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
15445         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15446         Moved ...
15447         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
15448         ... here.
15449         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
15450         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
15451         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
15452         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
15453         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
15454         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
15455         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
15456         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
15457         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
15458         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
15459         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15460         Moved ...
15461         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
15462         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
15463         Moved ...
15464         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
15465         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
15466         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
15467         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15468         Moved ...
15469         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
15470         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
15471         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
15473         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
15474         folded into ...
15475         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
15476         * sysdeps/unix/sysv/linux/s390/Versions
15477         (libpthread: GLIBC_2.19): New version set.
15478         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
15479         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
15480         (librt: GLIBC_2.3.3): New version set.
15481         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
15482         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
15483         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
15484         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
15485         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
15486         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
15487         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
15488         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
15489         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
15490         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
15491         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
15492         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
15493         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
15494         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
15495         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
15496         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
15497         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
15498         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
15499         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
15500         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
15501         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
15502         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
15503         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
15504         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
15505         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
15506         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
15507         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
15508         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
15509         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
15510         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
15511         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
15512         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
15513         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
15514         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
15515         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
15516         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
15517         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
15518         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
15519         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
15520         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
15521         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
15522         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
15523         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
15524         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
15525         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
15527         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
15528         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
15529         (__libc_vfork): Define the function under this name.
15530         [!NOT_IN_libc] (__vfork): Make this an alias.
15531         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
15532         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
15533         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
15534         (__libc_vfork): Define the function under this name.
15535         [!NOT_IN_libc] (__vfork): Make this an alias.
15536         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
15537         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
15538         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
15539         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
15540         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
15541         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
15543         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
15544         code that was previously under [RESET_PID].
15545         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
15546         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
15547         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
15549         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
15550         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
15551         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
15552         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
15553         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
15554         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
15555         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
15556         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
15557         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
15558         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
15559         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
15560         Moved ...
15561         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
15562         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
15563         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
15564         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
15565         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
15566         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
15567         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
15568         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
15569         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
15570         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
15571         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
15572         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
15573         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
15574         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
15575         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
15576         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
15577         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
15578         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
15579         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
15580         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
15581         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
15582         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
15583         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
15584         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
15585         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
15586         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
15587         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
15588         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
15589         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
15591 2014-06-25  Roland McGrath  <roland@hack.frob.com>
15593         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
15594         that was previously under [RESET_PID].
15595         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
15597 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
15599         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
15600         not undefine and redefine.
15601         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
15602         [O_CLOEXEC]: Make code unconditional.
15603         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
15604         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
15605         <kernel-features.h>.
15606         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
15607         conditional variable definition.
15608         (shm_open) [O_CLOEXEC]: Make code unconditional.
15609         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
15610         code.
15612         * configure.ac (USE_REGPARMS): Don't define here.
15613         * configure: Regenerated.
15614         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
15615         * sysdeps/i386/configure: Regenerated.
15617         * nptl/createthread.c: Don't include kernel-features.h.
15618         * nptl/pthread_cancel.c: Likewise.
15619         * nptl/pthread_condattr_setclock.c: Likewise.
15620         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
15621         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
15622         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
15623         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
15624         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
15625         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
15626         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
15627         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
15628         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
15629         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
15630         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
15631         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
15632         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
15633         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
15634         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
15635         * nscd/gai.c: Likewise.
15636         * nss/nss_db/db-open.c: Likewise.
15637         * sysdeps/generic/ldsodefs.h: Likewise.
15638         * sysdeps/sh/nptl/tls.h: Likewise.
15639         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
15640         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
15641         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
15642         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
15643         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
15644         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15645         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
15646         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15647         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
15648         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
15649         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
15650         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
15651         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
15652         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
15653         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
15654         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
15655         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
15656         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
15657         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
15658         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
15659         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
15660         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
15661         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
15662         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
15663         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
15664         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
15665         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
15666         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
15667         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
15668         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
15669         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
15670         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
15671         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
15672         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15673         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15674         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15675         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15676         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
15677         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
15678         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
15679         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15680         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
15681         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
15682         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15683         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
15684         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
15685         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
15686         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
15687         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
15688         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
15689         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
15690         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
15691         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
15692         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15693         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
15694         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15695         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
15696         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
15697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
15699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
15700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
15701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
15702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
15703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
15704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
15705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
15706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
15707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
15708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
15709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
15710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
15711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
15713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
15714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
15715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
15716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
15717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
15718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
15719         * sysdeps/unix/sysv/linux/pread.c: Likewise.
15720         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
15721         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
15722         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
15723         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
15724         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
15725         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
15726         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
15727         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
15728         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
15729         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
15730         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
15731         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
15732         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
15733         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
15734         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
15735         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
15736         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
15737         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
15738         * sysdeps/unix/sysv/linux/system.c: Likewise.
15739         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
15740         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
15741         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
15742         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
15743         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
15744         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15745         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15747         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
15748         * configure: Regenerated.
15749         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
15751         * configure.ac (base_machine): Do not set specially for particular
15752         machines here.
15753         * configure: Regenerated.
15754         * sysdeps/powerpc/preconfigure: Move machine and base_machine
15755         settings from configure.ac.
15756         * sysdeps/i386/preconfigure: New file.
15757         * sysdeps/s390/preconfigure: Likewise.
15758         * sysdeps/sh/preconfigure: Likewise.
15759         * sysdeps/sparc/preconfigure: Likewise.
15761 2014-06-25  Roland McGrath  <roland@hack.frob.com>
15763         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
15764         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
15765         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
15766         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
15767         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
15768         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
15769         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
15770         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
15771         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
15772         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
15773         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
15774         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
15775         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
15776         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
15777         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
15778         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
15779         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
15780         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
15781         * sysdeps/sparc/sparc64/Makefile: ... appended here.
15783         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
15784         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
15785         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
15786         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
15787         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
15788         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
15789         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
15790         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
15791         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
15792         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
15793         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
15794         * sysdeps/sparc/sparc32/sem_post.c: ... here.
15795         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
15796         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
15797         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
15798         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
15799         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
15800         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
15801         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
15802         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
15803         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
15804         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
15805         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
15806         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
15807         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
15808         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
15809         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
15810         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
15811         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
15812         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
15813         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
15814         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
15815         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
15816         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
15817         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
15818         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
15819         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
15820         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
15822         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
15823         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
15824         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
15825         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
15826         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15827         Moved ...
15828         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
15829         ... here.
15830         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
15831         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
15832         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
15833         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
15834         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
15835         Moved ...
15836         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
15837         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
15838         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
15839         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
15840         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
15841         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
15842         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
15843         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15844         Moved ...
15845         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
15846         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15847         Moved ...
15848         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
15849         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
15850         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
15851         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15852         Moved ...
15853         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
15854         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
15855         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
15856         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
15857         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
15858         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
15859         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
15860         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
15861         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
15862         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15863         Moved ...
15864         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
15865         ... here.
15866         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
15867         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
15868         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
15869         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
15870         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
15871         Moved ...
15872         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
15873         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
15874         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
15875         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
15876         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
15877         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
15878         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
15879         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15880         Moved ...
15881         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
15882         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15883         Moved ...
15884         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
15885         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
15886         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
15887         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15888         Moved ...
15889         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
15890         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
15891         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
15892         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
15893         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
15895 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
15897         * timezone/checktab.awk: Update from tzcode 2014e.
15898         * timezone/private.h: Likewise.
15899         * timezone/tzfile.h: Likewise.
15900         * timezone/zdump.c: Likewise.
15901         * timezone/zic.c: Likewise.
15903         * sysdeps/unix/sysv/linux/kernel-features.h
15904         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
15905         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
15906         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
15907         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15908         Remove conditional code.
15910 2014-06-25  Will Newton  <will.newton@linaro.org>
15912         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
15913         (_dl_arm_cap_flags): Add HWCAP2 values.
15914         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
15915         (_DL_HWCAP_COUNT): Increase to 37.
15916         (_DL_HWCAP_LAST): New define.
15917         (_DL_HWCAP2_LAST): New define.
15918         (_dl_procinfo): Add support for printing
15919         AT_HWCAP2 entries.
15920         (_dl_string_hwcap): Use _dl_hwcap_string.
15922 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15924         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15926 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
15928         * README: Do not mention ports directory.
15930         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
15931         Remove macro.
15932         * sysdeps/unix/sysv/linux/futimes.c: Do not include
15933         <kernel-features.h>.
15934         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
15935         conditional variable definition.
15936         (__futimes): Update comment.
15937         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
15938         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
15940         [BZ #16560]
15941         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
15942         arguments close to 0.
15943         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
15944         Likewise.
15945         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
15946         Likewise.
15947         * math/auto-libm-test-in: Add more tests of exp10.
15948         * math/auto-libm-test-out: Regenerated.
15949         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15951         * sysdeps/unix/sysv/linux/kernel-features.h
15952         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
15953         * sysdeps/unix/sysv/linux/readv.c: Do not include
15954         <kernel-features.h>.
15955         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
15956         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
15957         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
15958         unconditional.
15959         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
15960         conditional code.
15961         * sysdeps/unix/sysv/linux/writev.c: Do not include
15962         <kernel-features.h>.
15963         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
15964         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
15965         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
15966         unconditional.
15967         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
15968         conditional code.
15970 2014-06-25  Will Newton  <will.newton@linaro.org>
15972         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
15973         comment changes throughout the file.  Remove checks
15974         for HAVE_*_H definitions that are not required.
15975         (__gen_tempname): Call abort if an unknown kind value is
15976         passed.
15978 2014-06-25  Andreas Schwab  <schwab@suse.de>
15980         [BZ #17086]
15981         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
15982         scalbln, scalblnf, scalblnl in libc.
15984 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15986         [BZ #17086]
15987         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
15988         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
15989         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
15991 2014-06-24  Roland McGrath  <roland@hack.frob.com>
15993         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
15994         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
15995         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
15996         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
15997         Update #include.
15998         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
15999         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
16000         Update #include.
16001         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
16002         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
16003         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
16004         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
16005         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
16006         * sysdeps/x86/bits/pthreadtypes.h: ... here.
16007         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
16008         * sysdeps/x86/bits/semaphore.h: ... here.
16009         * sysdeps/x86/nptl/elide.h: Moved ...
16010         * sysdeps/x86/elide.h: ... here.
16011         * sysdeps/x86_64/nptl/Implies: File removed.
16012         * sysdeps/i386/nptl/Implies: File removed.
16014 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
16016         [BZ #16539]
16017         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
16018         return the argument for normal arguments with exponent below -64.
16019         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16020         Likewise.
16021         * math/auto-libm-test-in: Add another test of expm1.
16022         * math/auto-libm-test-out: Regenerated.
16024         [BZ #16287]
16025         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
16026         calling __erfcl for arguments at least 16.
16027         * math/auto-libm-test-in: Add more tests of erf.
16028         * math/auto-libm-test-out: Regenerated.
16030         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
16031         individual architectures.
16032         * sysdeps/unix/sysv/linux/configure: Regenerated.
16033         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
16034         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
16035         * sysdeps/unix/sysv/linux/powerpc/configure.ac
16036         (ldd_rewrite_script): Define variable.
16037         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
16038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
16039         file.
16040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
16041         generated file.
16042         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
16043         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
16044         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
16045         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
16046         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
16047         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
16048         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
16049         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
16051 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16053         [BZ #17084]
16054         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
16055         Rename member __data.d to __data.__elision_data.
16057 2014-06-24  Wilco  <wdijkstr@arm.com>
16059         * NEWS: Add 16918 to fixed bug list.
16061 2014-06-24  Wilco  <wdijkstr@arm.com>
16063         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
16065 2014-06-24  Wilco  <wdijkstr@arm.com>
16067         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
16068         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
16069         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
16070         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
16071         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
16072         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
16073         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
16074         Use _FPU_MASK_RM.
16076 2014-06-24  Wilco  <wdijkstr@arm.com>
16078         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
16080 2014-06-24  Wilco  <wdijkstr@arm.com>
16082         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
16083         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
16084         * sysdeps/arm/fesetround.c (fesetround): Remove space.
16085         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
16087 2014-06-24  Wilco  <wdijkstr@arm.com>
16089         [BZ #16918]
16090         * sysdeps/arm/feupdateenv.c (feupdateenv):
16091         Rewrite to reduce FPSCR accesses and fix return value.
16093 2014-06-24  Wilco  <wdijkstr@arm.com>
16095         * sysdeps/arm/fclrexcpt.c (feclearexcept):
16096         Optimize to avoid unnecessary FPSCR writes.
16097         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
16098         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
16099         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
16100         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
16102 2014-06-24  Wilco  <wdijkstr@arm.com>
16104         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
16105         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
16106         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
16107         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
16108         Call libc_fetestexcept_vfp.
16109         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
16110         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
16111         __SOFTFP__ ifdef so that they can be built for softfp.
16113 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16115         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
16116         argument type signed char.
16118         * Makerules (check-abi): Dump diff of symlist if the test
16119         fails.
16121 2014-06-23  Roland McGrath  <roland@hack.frob.com>
16123         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
16124         using abort.
16126         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
16127         Remove unused variable ST.
16129 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
16131         [BZ #16354]
16132         [BZ #17061]
16133         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
16134         small arguments before calling __expm1.
16135         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
16136         small arguments before calling __expm1f.
16137         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
16138         small arguments before calling __expm1l.
16139         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
16140         Likewise.
16141         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
16142         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
16143         spurious underflow for some cosh tests.
16144         * math/auto-libm-test-out: Regenerated.
16145         * sysdeps/i386/fpu/libm-test-ulps: Update.
16147         [BZ #17050]
16148         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
16149         (__ieee754_y1): Set errno if return value overflows.
16150         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
16151         (__ieee754_y1f): Set errno if return value overflows.
16152         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
16153         (__ieee754_y1l): Set errno if return value overflows.
16154         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
16155         (__ieee754_y1l): Set errno if return value overflows.
16156         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
16157         * math/auto-libm-test-out: Regenerated.
16159         * math/gen-auto-libm-tests.c: Document use of
16160         ignore-zero-inf-sign.
16161         (input_flag_type): Add value flag_ignore_zero_inf_sign.
16162         (input_flags): Add ignore-zero-inf-sign.
16163         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
16164         * math/gen-libm-test.pl (generate_testfile): Handle
16165         ignore-zero-inf-sign.
16166         * math/auto-libm-test-in: Mark some cpow tests with
16167         ignore-zero-inf-sign and some with xfail-rounding.
16168         * math/auto-libm-test-out: Regenerated.
16169         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
16170         * sysdeps/i386/fpu/libm-test-ulps: Update.
16171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16173         [BZ #16315]
16174         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
16175         overflowing or underflowing operations take place with sign of
16176         result.
16177         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16178         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
16179         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
16180         (__ieee754_pow): Recompute overflowing and underflowing results in
16181         original rounding mode.
16182         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
16183         (__powl_helper): Allow negative argument X and scale negated value
16184         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
16185         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
16186         overflowing or underflowing operations take place with sign of
16187         result.
16188         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
16189         Include <math.h>.
16190         * math/auto-libm-test-in: Add more tests of pow.
16191         * math/auto-libm-test-out: Regenerated.
16192         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
16193         (pow_tonearest_test_data): Remove.
16194         (pow_test_tonearest): Likewise.
16195         (pow_towardzero_test_data): Likewise.
16196         (pow_test_towardzero): Likewise.
16197         (pow_downward_test_data): Likewise.
16198         (pow_test_downward): Likewise.
16199         (pow_upward_test_data): Likewise.
16200         (pow_test_upward): Likewise.
16201         (main): Don't call removed functions.
16202         * sysdeps/i386/fpu/libm-test-ulps: Update.
16203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16205 2014-06-23  Roland McGrath  <roland@hack.frob.com>
16207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
16208         Moved ...
16209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
16210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16211         Moved ...
16212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
16213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16214         Moved ...
16215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
16216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16217         Moved ...
16218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
16219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16220         File removed.
16221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16222         File removed.
16223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
16224         File removed.
16225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
16226         File removed.
16227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
16228         File removed.
16229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
16230         File removed.
16231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
16232         File removed.
16233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16234         File removed.
16235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
16236         File removed.
16237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16238         File removed.
16239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
16240         File removed.
16241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
16242         File removed.
16243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
16244         Moved ...
16245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
16246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
16247         Moved ...
16248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
16249         ... here.
16250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
16251         Moved ...
16252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
16253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
16254         Moved ...
16255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
16256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
16257         Moved ...
16258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
16259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
16260         Moved ...
16261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
16262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
16263         Moved ...
16264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
16265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
16266         Moved ...
16267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
16268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
16269         Moved ...
16270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
16271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
16272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
16273         ... here.
16274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
16275         Moved ...
16276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
16277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16278         Moved ...
16279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16280         ... here.
16281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
16282         Moved ...
16283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16284         ... here.
16285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16286         Moved ...
16287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
16288         ... here.
16289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16290         Moved ...
16291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
16292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
16293         Moved ...
16294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
16295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
16296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
16297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
16298         Moved ...
16299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
16300         ... here.
16301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16302         Moved ...
16303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
16304         ... here.
16305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
16306         Moved ...
16307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
16308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16309         Moved ...
16310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
16311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
16312         Moved ...
16313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
16314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16315         Moved ...
16316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
16317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
16318         Moved ...
16319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
16320         ... here.
16321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16322         Moved ...
16323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
16324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
16325         Moved ...
16326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
16327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16328         Moved ...
16329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
16330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
16331         Moved ...
16332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
16333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
16334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
16335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
16336         Moved ...
16337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
16338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16339         Moved ...
16340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
16341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
16342         Moved ...
16343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
16344         ... here.
16345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16346         Moved ...
16347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
16348         ... here.
16349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
16350         Moved ...
16351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
16352         ... here.
16353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16354         Moved ...
16355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
16356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
16357         Moved ...
16358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
16359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16360         Moved ...
16361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
16362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
16363         Moved ...
16364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
16365         ... here.
16366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16367         Moved ...
16368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
16369         ... here.
16370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
16371         Moved ...
16372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
16373         ... here.
16374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16375         Moved ...
16376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
16377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16378         Moved ...
16379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
16381 2014-06-23  Will Newton  <will.newton@linaro.org>
16382             Wilco  <wdijkstr@arm.com>
16384         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
16385         implementation.  Include get-rounding-mode.h.
16386         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
16387         [!libc_feholdsetround_noex_ctx]: Define
16388         libc_feholdsetround_noex_ctx.
16389         [!libc_feholdsetround_noexf_ctx]: Define
16390         libc_feholdsetround_noexf_ctx.
16391         [!libc_feholdsetround_noexl_ctx]: Define
16392         libc_feholdsetround_noexl_ctx.
16393         (libc_feholdsetround_ctx): New function.
16394         (libc_feresetround_ctx): New function.
16395         (libc_feholdsetround_noex_ctx): New function.
16396         (libc_feresetround_noex_ctx): New function.
16398 2014-06-23  Roland McGrath  <roland@hack.frob.com>
16400         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
16401         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
16402         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
16403         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
16404         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
16405         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
16407         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
16408         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
16409         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
16410         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
16411         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
16412         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
16413         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
16414         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
16415         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
16416         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
16417         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
16418         Moved ...
16419         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
16420         ... here.
16421         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
16422         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
16423         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
16424         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
16425         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
16426         Moved ...
16427         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
16428         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
16429         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
16430         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
16431         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
16432         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
16433         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
16434         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
16435         Moved ...
16436         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
16437         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
16438         Moved ...
16439         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
16440         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
16441         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
16442         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
16443         Moved ...
16444         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
16445         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
16446         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
16447         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
16448         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
16449         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
16450         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
16451         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
16452         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
16453         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
16454         Moved ...
16455         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
16456         ... here.
16457         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
16458         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
16459         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
16460         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
16461         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
16462         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
16463         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
16464         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
16465         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
16466         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
16467         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
16468         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
16469         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
16470         Moved ...
16471         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
16472         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
16473         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
16474         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
16475         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
16476         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
16477         Moved ...
16478         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
16479         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
16480         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
16481         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
16482         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
16484         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
16485         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
16486         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
16487         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
16488         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
16489         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
16490         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
16491         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
16492         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
16493         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
16494         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
16495         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
16496         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
16497         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
16498         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
16499         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
16500         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
16501         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
16502         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
16503         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
16504         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
16505         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
16506         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
16507         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
16508         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
16509         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
16510         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
16511         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
16513 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
16515         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
16516         (FALLOC_FL_COLLAPSE_RANGE): New macro.
16517         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
16518         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
16519         (IPV6_PMTUDISC_INTERFACE): Likewise.
16520         (IPV6_PMTUDISC_OMIT): Likewise.
16522 2014-06-23  Andreas Schwab  <schwab@suse.de>
16524         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
16525         Remove unused errout label.
16527 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16529         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
16530         macro: hardware supports Vector Crypto instructions.
16532 2014-06-23  Will Newton  <will.newton@linaro.org>
16534         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
16535         rather than __builtin_expect.
16537         * elf/dl-lookup.c (undefined_msg): Remove variable.
16538         (_dl_lookup_symbol_x): Replace undefined_msg with string
16539         literal.
16541         * elf/dl-lookup.c (do_lookup_unique): New function.
16542         (do_lookup_x): Move STB_GNU_UNIQUE handling code
16543         to a separate function.
16545 2014-06-23  Andreas Schwab  <schwab@suse.de>
16547         [BZ #17079]
16548         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
16549         before reading the next line.
16551 2014-06-23  Will Newton  <will.newton@linaro.org>
16553         * test-skeleton.c (signal_handler): Use printf and %m
16554         rather than perror.  Use printf rather than fprintf to
16555         stderr.  Use puts rather than fputs to stderr.
16556         (main): Likewise.
16558 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
16560         * nscd/nscd.c (thread_info_t): Remove typedef.
16561         (thread_info): Remove variable.
16563 2014-06-21  Allan McRae  <allan@archlinux.org>
16565         * NEWS: Mention CVE-2014-4043.
16567 2014-06-20  Roland McGrath  <roland@hack.frob.com>
16569         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
16570         * nptl/smp.h: ... here.
16572         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
16574         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
16575         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
16576         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
16577         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
16579         * nptl/allocatestack.c: Include <stack-aliasing.h>.
16580         * nptl/stack-aliasing.h: New file.
16581         * sysdeps/i386/i686/stack-aliasing.h: New file.
16582         * sysdeps/i386/i686/nptl/Makefile: File removed.
16583         * sysdeps/x86_64/stack-aliasing.h: New file.
16584         * sysdeps/x86_64/nptl/Makefile
16585         (CFLAGS-pthread_create.c): Variable removed.
16587         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
16588         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
16589         old file.
16590         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
16591         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
16592         old file.
16594 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
16596         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16597         (__ASSUME_SIGFRAME_V2): Remove macro.
16598         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
16599         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
16600         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
16601         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
16602         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
16603         Declare as function.  Remove conditional macro definitions.
16604         (__default_rt_sa_restorer): Likewise.
16605         (__default_sa_restorer_v1): Remove declaration.
16606         (__default_sa_restorer_v2): Likewise.
16607         (__default_rt_sa_restorer_v1): Likewise.
16608         (__default_rt_sa_restorer_v2): Likewise.
16609         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
16610         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
16611         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
16613 2014-06-20  Roland McGrath  <roland@hack.frob.com>
16615         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
16616         (libpthread-routines): Add sysdep.
16617         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
16618         * sysdeps/unix/sysv/linux/sparc/Versions
16619         (libpthread: GLIBC_2.3.3): New version set.
16620         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
16621         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
16622         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
16623         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
16624         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
16625         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
16626         Moved ...
16627         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
16628         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
16629         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
16630         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
16631         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
16632         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
16633         * sysdeps/sparc/nptl/sem_init.c: ... here.
16634         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
16635         * sysdeps/sparc/nptl/sem_post.c: ... here.
16636         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
16637         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
16638         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
16639         * sysdeps/sparc/nptl/sem_wait.c: ... here.
16640         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
16641         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
16642         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
16643         (libpthread-routines): Add cpu_relax.
16644         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
16645         File removed.
16646         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
16647         (librt: GLIBC_2.3.3): New version set.
16648         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
16649         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
16650         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
16651         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
16652         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
16653         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
16654         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
16655         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
16656         Moved ...
16657         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
16658         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
16659         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
16660         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
16661         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
16662         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
16663         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
16664         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
16665         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
16666         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
16667         Moved ...
16668         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
16669         Update #include.
16670         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
16671         Moved ...
16672         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
16673         Update #include.
16674         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
16675         Moved ...
16676         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
16677         Update #include.
16678         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
16679         Moved ...
16680         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
16681         Update #include.
16682         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
16683         Moved ...
16684         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
16685         Update #include.
16686         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
16687         Moved ...
16688         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
16689         Update #include.
16690         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
16691         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
16692         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
16693         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
16694         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
16695         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
16696         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
16697         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
16698         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
16699         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
16700         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
16701         Moved ...
16702         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
16703         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
16704         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
16705         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
16706         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
16708 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
16710         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
16711         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
16712         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
16713         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
16714         * nscd/nscd.c: Likewise.
16715         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
16716         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
16717         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
16718         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
16720         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
16721         <kernel-features.h>.
16722         (init_mq_netlink): Remove conditional have_sock_cloexec
16723         definitions.  Remove code conditional on have_sock_cloexec < 0.
16724         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
16725         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
16726         * sysdeps/unix/sysv/linux/opensock.c: Do not include
16727         <kernel-features.h>.
16728         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
16729         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
16731 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
16733         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16734         Add tests for memset_chk and memset.
16736         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
16737         with AVX2_Usable.
16739 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
16741         [BZ #16046]
16742         * elf/tst-dl-iter-static.c: New file.
16743         * elf/Makefile (tests-static): Add tst-dl-iter-static.
16745         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
16746         error.
16748 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
16750         * sysdeps/unix/sysv/linux/kernel-features.h
16751         (__ASSUME_F_GETOWN_EX): Remove macro.
16752         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
16753         <kernel-features.h>.
16754         (miss_F_GETOWN_EX): Remove variable or macro.
16755         (do_fcntl): Do not check miss_F_GETOWN_EX.
16756         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
16758         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
16759         Remove macro.
16760         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
16761         [!__ASSUME_AT_RANDOM]: Remove conditional code.
16762         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
16764         * sysdeps/unix/sysv/linux/kernel-features.h
16765         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
16766         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
16767         [ADJ_OFFSET_SS_READ]: Make code unconditional.
16768         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
16770 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
16772         [BZ #17075]
16773         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
16774         Fix calculation of the symbol's value.
16775         * sysdeps/arm/tst-armtlsdescloc.c: New file.
16776         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
16777         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
16778         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
16779         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
16780         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
16781         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
16782         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
16783         (modules-names): Add `tst-armtlsdescmod',
16784         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
16785         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
16786         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
16787         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
16788         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
16789         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
16790         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
16791         ($(objpfx)tst-armtlsdescloc): New dependency.
16792         ($(objpfx)tst-armtlsdescextnow): Likewise.
16793         ($(objpfx)tst-armtlsdescextlazy): Likewise.
16794         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
16795         TLS scheme support.
16796         * sysdeps/arm/configure: Regenerate.
16798 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
16800         * include/fcntl.h (__atfct_seterrno): Remove prototype.
16801         (__atfct_seterrno_2): Likewise.
16802         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
16803         <kernel-features.h>.
16804         (__ASSUME_ATFCTS): Do not undefine and redefine.
16805         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
16806         (__have_atfcts): Remove conditional definition.
16807         (__fxstatat([__NR_fstatat64]: Make code unconditional.
16808         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
16809         unreachable if [__ASSUME_ATFCTS].
16810         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
16811         not undefine and redefine.
16812         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
16813         <kernel-features.h>.
16814         (faccessat) [__NR_faccessat]: Make code unconditional.
16815         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
16816         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
16817         <kernel-features.h>.
16818         (fchmodat) [__NR_fchmodat]: Make code unconditional.
16819         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
16820         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
16821         <kernel-features.h>.
16822         (fchownat) [__NR_fchownat]: Make code unconditional.
16823         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
16824         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
16825         <kernel-features.h>.
16826         (futimesat) [__NR_futimesat]: Make code unconditional.
16827         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
16828         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
16829         <kernel-features.h>.
16830         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
16831         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16832         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
16833         <kernel-features.h>.
16834         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
16835         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
16836         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
16837         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
16838         <kernel-features.h>.
16839         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
16840         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16841         * sysdeps/unix/sysv/linux/linkat.c: Do not include
16842         <kernel-features.h>.
16843         (linkat) [__NR_linkat]: Make code unconditional.
16844         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16845         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
16846         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
16847         <kernel-features.h>.
16848         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
16849         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
16850         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
16851         <kernel-features.h>.
16852         (mkdirat) [__NR_mkdirat]: Make code unconditional.
16853         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
16854         * sysdeps/unix/sysv/linux/openat.c: Do not include
16855         <kernel-features.h>.
16856         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
16857         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
16858         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
16859         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
16860         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
16861         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
16862         <kernel-features.h>.
16863         (readlinkat) [__NR_readlinkat]: Make code unconditional.
16864         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
16865         result of INLINE_SYSCALL directly, not via int variable.
16866         * sysdeps/unix/sysv/linux/renameat.c: Do not include
16867         <kernel-features.h>.
16868         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
16869         (renameat) [__NR_renameat]: Make code unconditional.
16870         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
16871         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
16872         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
16873         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
16874         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
16875         (__ASSUME_ATFCTS): Do not undefine and redefine.
16876         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
16877         <kernel-features.h>.
16878         (symlinkat) [__NR_symlinkat]: Make code unconditional.
16879         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16880         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
16881         <kernel-features.h>.
16882         (unlinkat) [__NR_unlinkat]: Make code unconditional.
16883         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16884         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
16885         (__ASSUME_ATFCTS): Do not undefine and redefine.
16886         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
16887         <kernel-features.h>.
16888         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
16889         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16890         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
16891         <kernel-features.h>.
16892         (__xmknodat) [__NR_mknodat]: Make code unconditional.
16893         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
16895 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
16897         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
16899 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
16901         [BZ #17069]
16902         * posix/regcomp.c (parse_reg_exp): Deallocate partially
16903         constructed tree before returning error.
16904         * posix/bug-regexp36.c: Expand test case.
16906 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
16908         [BZ #6803]
16909         * math/libm-test.inc (scalbln_test_date):
16910         Add errno expectations.
16911         * math/w_scalblnf.c: New File.
16912         Add wrapper which checks for setting errno to ERANGE.
16913         Add weak_alias for corresponding scalbln function.
16914         * math/w_scalbln.c: Likewise.
16915         * math/w_scalblnl.c: Likewise.
16916         * math/Makefile (libm-calls): Add w_scalbln.
16917         * sysdeps/ieee754/flt-32/s_scalblnf.c:
16918         Remove weak_alias for corresponding scalbln function.
16919         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16920         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
16921         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16922         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16923         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
16924         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
16925         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
16926         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
16927         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
16928         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
16929         Remove long_double_symbol for scalblnl function in libm, libc.
16930         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
16931         Add wrapper which checks for setting errno to ERANGE.
16932         Add long_double_symbol for scalblnl function in libm, libc.
16933         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
16934         Remove long_double_symbol for scalblnl in libm.
16935         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
16936         Add wrapper which checks for setting errno to ERANGE.
16937         Add long_double_symbol for scalblnl function in libm.
16938         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
16939         Do not use wrapper because of own implementation.
16941 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
16943         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
16944         3 bytes for __pad1 for x32.
16945         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
16947 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
16948             H.J. Lu  <hongjiu.lu@intel.com>
16950         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
16951         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
16952         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16953         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16954         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
16956 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
16958         [BZ #17069]
16959         * posix/regcomp.c (parse_expression): Deallocate partially
16960         constructed tree before returning error.
16961         * posix/Makefile.c (tests): Add bug-regex36.
16962         (generated): Add bug-regex36.mtrace.
16963         (tests-special): Add $(objpfx)bug-regex36-mem.out
16964         (bug-regex36-ENV): New variable.
16965         ($(objpfx)bug-regex36-mem.out): New rule.
16966         * posix/bug-regex36.c: New file.
16968 2014-06-19  Will Newton  <will.newton@linaro.org>
16970         * malloc/malloc.c (systrim): If extra is zero then return
16971         early.
16973 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16975         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
16977 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
16979         * sysdeps/aarch64/strchr.S: New file.
16981 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
16983         [BZ #17022]
16984         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
16985         from arguments -2 or below.
16986         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
16987         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
16989 2014-06-18  Andreas Schwab  <schwab@suse.de>
16991         [BZ #17062]
16992         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
16993         of a bracket expr not to run off the end of the string.
16994         * posix/Makefile (tests): Add tst-fnmatch3.
16995         * posix/tst-fnmatch3.c: New file.
16997 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
16999         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
17000         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17001         [$(cross-compiling) = no]: Likewise.
17002         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17003         [$(cross-compiling) = no]: Likewise.
17005 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17007         [BZ #17031]
17008         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
17009         double, adjusted for any remainder from the high double.
17010         * math/libm-test.inc (nearbyint): Add tests.
17011         (rint): Likewise.
17013 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17015         * nptl/sysdeps/powerpc/Makefile: Moved ...
17016         * sysdeps/powerpc/nptl/Makefile: ... here.
17017         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
17018         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
17019         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
17020         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
17021         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
17022         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
17023         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
17024         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
17025         * nptl/sysdeps/powerpc/tls.h: Moved ...
17026         * sysdeps/powerpc/nptl/tls.h: ... here.
17028 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
17030         [BZ #16681]
17031         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
17032         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
17033         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
17034         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
17035         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
17036         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
17037         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
17038         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
17039         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
17041 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
17043         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
17045 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
17047         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
17048         defined operator.
17050         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
17051         $TIMEOUTFACTOR.
17053 2014-06-16  Florian Weimer  <fweimer@redhat.com>
17055         [BZ #17058]
17056         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
17057         non-executed part of the test.
17059 2014-06-16  Andreas Schwab  <schwab@suse.de>
17061         * string/bits/string2.h (strdup, strndup): Update feature guard.
17063 2014-06-14  David S. Miller  <davem@davemloft.net>
17065         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17067 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
17069         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
17070         that was previously under [RESET_PID].
17071         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
17073         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
17074         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
17075         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
17076         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17077         (__libc_vfork): New strong alias.
17078         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
17080 2014-06-14 Andi Kleen  <ak@linux.intel.com>
17082         * sysdeps/generic/elide.h: New file.
17084 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
17086         * Makefile (installed-headers): Adjust path of pthread.h header.
17088 2014-06-13  Roland McGrath  <roland@hack.frob.com>
17090         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
17091         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
17092         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
17093         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
17095         * nptl/sysdeps/s390/Makefile: Moved ...
17096         * sysdeps/s390/nptl/Makefile: ... here.
17097         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
17098         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
17099         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
17100         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
17101         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
17102         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
17103         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
17104         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
17105         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
17106         * sysdeps/s390/nptl/pthreaddef.h: ... here.
17107         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
17108         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
17109         * nptl/sysdeps/s390/tls.h: Moved ...
17110         * sysdeps/s390/nptl/tls.h: ... here.
17112         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
17113         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
17115 2014-06-13  David S. Miller  <davem@davemloft.net>
17117         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
17118         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
17119         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
17120         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
17121         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
17122         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
17123         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
17124         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
17125         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
17126         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
17127         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
17128         Remove RESET_PID cpp guards.
17129         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
17130         Remove RESET_PID cpp guards.
17131         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
17133 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
17135         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
17136         __sp to uintptr_t.
17138 2014-06-13  Andi Kleen  <ak@linux.intel.com>
17140         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
17141         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
17142         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
17143         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
17144         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
17145         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
17146         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
17147         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
17148         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
17149         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
17150         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
17151         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
17152         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
17153         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
17154         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
17155         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
17156         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
17157         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
17158         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
17159         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
17161         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
17162         (pthread_rwlock_rdlock): Add elision.
17163         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
17164         (pthread_rwlock_wrlock): Add elision.
17165         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
17166         (pthread_rwlock_trywrlock): Add elision.
17167         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
17168         (pthread_rwlock_tryrdlock): Add elision.
17169         * nptl/pthread_rwlock_unlock.c: Include elide.h.
17170         (pthread_rwlock_tryrdlock): Add elision unlock.
17171         * nptl/sysdeps/pthread/pthread.h:
17172         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
17173         (PTHREAD_RWLOCK_INITIALIZER,
17174         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
17175         Handle new elision field.
17176         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
17177         * sysdeps/arm/nptl/bits/pthreadtypes.h
17178         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17179         * sysdeps/sh/nptl/bits/pthreadtypes.h
17180         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17181         * sysdeps/tile/nptl/bits/pthreadtypes.h
17182         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17183         * sysdeps/a/nptl/bits/pthreadtypes.h
17184         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17185         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
17186         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17187         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
17188         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17189         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
17190         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17191         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
17192         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17193         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
17194         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17195         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
17196         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17197         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
17198         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17199         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
17200         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17201         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
17202         (elision_init): Set try_xbegin to zero when no RTM.
17203         * sysdeps/x86/nptl/bits/pthreadtypes.h
17204         (pthread_rwlock_t): Change __pad1 to __rwelision.
17205         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17207 2014-06-13  Andi Kleen  <ak@linux.intel.com>
17209         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
17210         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
17211         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
17212         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
17214 2014-06-13  Meador Inge  <meadori@codesourcery.com>
17216         [BZ #16996]
17217         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
17218         that the cached result has been set before returning it.
17220 2014-06-12  Roland McGrath  <roland@hack.frob.com>
17222         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
17223         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
17224         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
17225         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
17226         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
17227         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
17229         * nptl/sysdeps/sparc/Makefile: Moved ...
17230         * sysdeps/sparc/nptl/Makefile: ... here.
17231         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
17232         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
17233         * nptl/sysdeps/sparc/tls.h: Moved ...
17234         * sysdeps/sparc/nptl/tls.h: ... here.
17235         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
17236         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
17237         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
17238         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
17239         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
17240         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
17241         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
17242         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
17243         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
17244         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
17245         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
17246         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
17247         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
17248         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
17249         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
17250         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
17251         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
17252         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
17253         Update #include.
17254         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
17255         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
17256         Update #include.
17257         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
17258         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
17259         Update #include.
17260         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
17261         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
17262         Update #include.
17264         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
17266         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
17267         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
17269         * sysdeps/pthread/posix-timer.h: Include <list.h>.
17270         (struct list_links): Type removed.
17271         (struct thread_node, struct timer_node): Replace struct list_links
17272         with struct list_head.
17273         (list_unlink_ip): Likewise.
17274         * sysdeps/pthread/timer_routines.c
17275         (timer_free_list, thread_free_list, thread_active_list): Likewise.
17276         (list_append, list_insbefore): Likewise.
17277         (list_init): Function removed.
17278         (thread_init, init_module): Use INIT_LIST_HEAD instead.
17279         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
17280         * sysdeps/pthread/Makefile: ... here, new file.
17282         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
17283         * sysdeps/nptl/Implies: ... here.
17284         * sysdeps/unix/sysv/linux/Implies: Add nptl.
17285         * nptl/sysdeps/pthread/list.h: Moved ...
17286         * include/list.h: ... here.
17287         * nptl/sysdeps/pthread/createthread.c: Moved ...
17288         * nptl/createthread.c: ... here.
17289         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
17290         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
17291         * nptl/pt-longjmp.c: ... here.
17292         * nptl/sysdeps/pthread/Makefile: Moved ...
17293         * sysdeps/nptl/Makefile: ... here.
17294         * nptl/sysdeps/pthread/Subdirs: Moved ...
17295         * sysdeps/nptl/Subdirs: ... here.
17296         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
17297         * sysdeps/nptl/aio_misc.h: ... here.
17298         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
17299         * sysdeps/nptl/bits/libc-lock.h: ... here.
17300         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
17301         * sysdeps/nptl/bits/libc-lockP.h: ... here.
17302         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
17303         * sysdeps/nptl/bits/stdio-lock.h: ... here.
17304         * nptl/sysdeps/pthread/configure: Moved ...
17305         * sysdeps/nptl/configure: ... here.
17306         * nptl/sysdeps/pthread/configure.ac: Moved ...
17307         * sysdeps/nptl/configure.ac: ... here.
17308         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
17309         * sysdeps/nptl/gai_misc.h: ... here.
17310         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
17311         * sysdeps/nptl/librt-cancellation.c: ... here.
17312         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
17313         * sysdeps/nptl/malloc-machine.h: ... here.
17314         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
17315         * sysdeps/nptl/pthread-functions.h: ... here.
17316         * nptl/sysdeps/pthread/pthread.h: Moved ...
17317         * sysdeps/nptl/pthread.h: ... here.
17318         * nptl/sysdeps/pthread/setxid.h: Moved ...
17319         * sysdeps/nptl/setxid.h: ... here.
17320         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
17321         * sysdeps/nptl/sigfillset.c: ... here.
17322         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
17323         * sysdeps/nptl/tcb-offsets.h: ... here.
17324         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
17325         * sysdeps/nptl/tst-mqueue8x.c: ... here.
17326         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
17327         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
17328         * nptl/sysdeps/pthread/allocalim.h: Moved ...
17329         * sysdeps/pthread/allocalim.h: ... here.
17330         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
17331         * sysdeps/pthread/bits/sigthread.h: ... here.
17332         * nptl/sysdeps/pthread/flockfile.c: Moved ...
17333         * sysdeps/pthread/flockfile.c: ... here.
17334         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
17335         * sysdeps/pthread/ftrylockfile.c: ... here.
17336         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
17337         * sysdeps/pthread/funlockfile.c: ... here.
17338         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
17339         * sysdeps/pthread/posix-timer.h: ... here.
17340         * nptl/sysdeps/pthread/timer_create.c: Moved ...
17341         * sysdeps/pthread/timer_create.c: ... here.
17342         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
17343         * sysdeps/pthread/timer_delete.c: ... here.
17344         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
17345         * sysdeps/pthread/timer_getoverr.c: ... here.
17346         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
17347         * sysdeps/pthread/timer_gettime.c: ... here.
17348         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
17349         * sysdeps/pthread/timer_routines.c: ... here.
17350         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
17351         * sysdeps/pthread/timer_settime.c: ... here.
17352         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
17353         * sysdeps/pthread/tst-timer.c: ... here.
17354         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
17355         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
17357         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
17358         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
17360         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
17361         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
17362         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
17363         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
17364         Update #include target.
17365         * nptl/sysdeps/i386/i686/Makefile: Moved ...
17366         * sysdeps/i386/i686/nptl/Makefile: ... here.
17367         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
17368         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
17369         Update #include target.
17370         * nptl/sysdeps/i386/i686/tls.h: Moved ...
17371         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
17372         * nptl/sysdeps/i386/Makefile: Moved ...
17373         * sysdeps/i386/nptl/Makefile: ... here.
17374         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
17375         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
17376         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
17377         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
17378         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
17379         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
17380         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
17381         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
17382         * sysdeps/i386/nptl/pthreaddef.h: ... here.
17383         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
17384         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
17385         * nptl/sysdeps/i386/tls.h: Moved ...
17386         * sysdeps/i386/nptl/tls.h: ... here.
17388         * sysdeps/sh/Makefile [$(subdir) = csu]
17389         (gen-as-const-headers): Add tcb-offsets.sym.
17390         * nptl/sysdeps/sh/Makefile: File removed.
17391         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
17392         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
17393         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
17394         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
17395         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
17396         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
17397         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
17398         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
17399         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
17400         * sysdeps/sh/nptl/pthreaddef.h: ... here.
17401         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
17402         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
17403         * nptl/sysdeps/sh/tls.h: Moved ...
17404         * sysdeps/sh/nptl/tls.h: ... here.
17405         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
17406         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
17407         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
17408         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
17409         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
17410         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
17411         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
17412         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
17413         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
17414         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
17415         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
17416         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
17417         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
17418         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
17419         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
17420         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
17421         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
17422         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
17423         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
17424         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
17425         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
17426         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
17427         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
17428         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
17429         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
17430         Moved ...
17431         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
17432         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
17433         Moved ...
17434         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
17435         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
17436         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
17437         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
17438         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
17439         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
17440         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
17441         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
17442         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
17443         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
17444         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
17445         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
17446         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
17447         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
17448         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
17449         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
17450         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
17451         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
17452         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
17454 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17456         * posix/spawn_faction_addopen.c: Include string.h.
17458 2014-06-11  Roland McGrath  <roland@hack.frob.com>
17460         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
17461         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
17462         * nptl/sysdeps/x86_64/Makefile: Moved ...
17463         * sysdeps/x86_64/nptl/Makefile: ... here.
17464         * nptl/sysdeps/x86_64/configure: Moved ...
17465         * sysdeps/x86_64/nptl/configure: ... here.
17466         * nptl/sysdeps/x86_64/configure.ac: Moved ...
17467         * sysdeps/x86_64/nptl/configure.ac: ... here.
17468         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
17469         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
17470         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
17471         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
17472         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
17473         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
17474         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
17475         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
17476         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
17477         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
17478         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
17479         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
17480         * nptl/sysdeps/x86_64/tls.h: Moved ...
17481         * sysdeps/x86_64/nptl/tls.h: ... here.
17482         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
17483         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
17484         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
17485         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
17487         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
17489 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17491         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17493 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
17495         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
17496         type.
17497         [POSIX] (off_t): Likewise.
17498         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
17499         [POSIX] (S_ISBLK): Require macro.
17500         [POSIX] (S_ISCHR): Likewise.
17501         [POSIX] (S_ISDIR): Likewise.
17502         [POSIX] (S_ISFIFO): Likewise.
17503         [POSIX] (S_ISREG): Likewise.
17504         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
17505         optional-macro.
17506         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
17507         type.
17508         [POSIX] (time_t): Likewise.
17509         [POSIX] (timer_t): Likewise.
17511 2014-06-11  Florian Weimer  <fweimer@redhat.com>
17513         [BZ #17048]
17514         * posix/spawn_int.h (struct __spawn_action): Make the path string
17515         non-const to support deallocation.
17516         * posix/spawn_faction_addopen.c
17517         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
17518         * posix/spawn_faction_destroy.c
17519         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
17520         path in all spawn_do_open actions.
17521         * posix/tst-spawn.c (do_test): Exercise the copy operation in
17522         posix_spawn_file_actions_addopen.
17524 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
17526         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
17527         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
17528         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
17529         conditional code always true.
17530         (__libc_vfork): New alias.
17532 2014-06-11  Roland McGrath  <roland@hack.frob.com>
17534         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17535         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
17537         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
17539         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17540         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
17542         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
17543         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
17545         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17546         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
17548 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
17550         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
17551         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
17552         multiarch strcmp for PPC64.
17553         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
17554         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
17555         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
17556         multiarch optimizations.
17557         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17558         (__libc_ifunc_impl_list): Likewise.
17560 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17562         * benchtests/scripts/validate_benchout.py: New script.
17563         * benchtests/Makefile (bench-func): Call it.
17564         * benchtests/scripts/benchout.schema.json: New file.
17566 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
17568         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
17569         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
17570         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
17571         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
17572         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
17573         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
17574         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
17575         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
17576         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
17577         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
17578         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
17579         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
17580         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
17581         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
17582         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
17583         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
17584         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
17585         Moved ...
17586         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
17587         ... here.
17588         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
17589         Moved ...
17590         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
17591         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
17592         Moved ...
17593         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
17594         ... here.
17595         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
17596         Moved ...
17597         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
17598         ... here.
17599         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
17600         Moved ...
17601         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
17602         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
17603         Moved ...
17604         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
17605         ... here.
17606         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
17607         Moved ...
17608         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
17609         ... here.
17610         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
17611         Moved ...
17612         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
17613         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
17614         Moved ...
17615         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
17616         ... here.
17617         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
17618         Moved ...
17619         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
17620         ... here.
17621         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
17622         Moved ...
17623         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
17624         ... here.
17625         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
17626         Moved ...
17627         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
17628         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
17629         Moved ...
17630         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
17631         ... here.
17632         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
17633         Moved ...
17634         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
17635         ... here.
17636         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
17637         Moved ...
17638         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
17639         ... here.
17640         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
17641         Moved ...
17642         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
17643         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
17644         Moved ...
17645         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
17646         ... here.
17647         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
17648         Moved ...
17649         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
17650         ... here.
17651         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
17652         Moved ...
17653         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
17654         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
17655         Moved ...
17656         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
17657         ... here.
17658         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
17659         Moved ...
17660         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
17661         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
17662         Moved ...
17663         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
17664         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
17665         Moved ...
17666         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
17667         ... here.
17668         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
17669         Moved ...
17670         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
17671         ... here.
17672         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
17673         Moved ...
17674         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
17675         ... here.
17676         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
17677         Moved ...
17678         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
17679         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
17680         Moved ...
17681         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
17682         ... here.
17683         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
17684         Moved ...
17685         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
17686         ... here.
17687         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
17688         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
17689         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
17690         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
17691         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
17692         Moved ...
17693         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
17694         ... here.
17695         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
17696         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
17697         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
17698         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
17699         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
17700         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
17701         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
17702         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
17703         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
17704         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
17705         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
17706         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
17707         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
17708         Moved ...
17709         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
17710         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
17711         Moved ...
17712         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
17713         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
17714         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
17715         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
17716         Moved ...
17717         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
17718         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
17719         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
17720         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
17721         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
17722         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
17723         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
17725 2014-06-10  Wilco  <wdijkstr@arm.com>
17727         * math/test-fenv-return.c: New file.
17728         * math/Makefile: Add new test test-fenv-return.
17730 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
17732         [BZ #17042]
17733         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
17734         when x - 1 is zero.
17735         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
17736         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
17737         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
17738         0.0L for an argument of 1.0L.
17739         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
17740         Likewise.
17741         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
17742         value when x - 1 is zero.
17743         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
17744         * sysdeps/i386/fpu/libm-test-ulps: Update.
17745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17747 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
17749         [BZ #15119]
17750         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
17752 2014-06-09  Roland McGrath  <roland@hack.frob.com>
17754         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
17755         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
17757 2014-06-09  Roland McGrath  <roland@hack.frob.com>
17759         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17760         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
17762         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17763         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
17765         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17766         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
17768         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17769         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
17771         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
17772         if not already defined.
17773         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
17774         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
17775         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
17776         (TLS_INIT_TP): Use it.
17777         (TLS_DEFINE_INIT_TP): New macro.
17778         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
17780 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
17782         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
17783         constant.
17784         [POSIX] (IXANY): Likewise.
17785         [POSIX] (OLCUC): Likewise.
17786         [POSIX || POSIX2008] (CBAUD): Do not allow.
17787         [POSIX || POSIX2008] (DEFECHO): Likewise.
17788         [POSIX || POSIX2008] (ECHOCTL): Likewise.
17789         [POSIX || POSIX2008] (ECHOKE): Likewise.
17790         [POSIX || POSIX2008] (ECHOPRT): Likewise.
17791         [POSIX || POSIX2008] (EXTA): Likewise.
17792         [POSIX || POSIX2008] (EXTB): Likewise.
17793         [POSIX || POSIX2008] (FLUSHO): Likewise.
17794         [POSIX || POSIX2008] (LOBLK): Likewise.
17795         [POSIX || POSIX2008] (PENDIN): Likewise.
17796         [POSIX || POSIX2008] (SWTCH): Likewise.
17797         [POSIX || POSIX2008] (VDISCARD): Likewise.
17798         [POSIX || POSIX2008] (VDSUSP): Likewise.
17799         [POSIX || POSIX2008] (VLNEXT): Likewise.
17800         [POSIX || POSIX2008] (VREPRINT): Likewise.
17801         [POSIX || POSIX2008] (VSTATUS): Likewise.
17802         [POSIX || POSIX2008] (VWERASE): Likewise.
17803         (B*): Change to B[0123456789]*.
17804         * conform/data/time.h-data [POSIX || UNIX98]
17805         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
17806         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
17807         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
17808         [POSIX] (tm_*): Do not allow.
17810 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
17812         * Makefile (install): Don't set LANGUAGE.
17813         * Makefile.in (install): Likewise.
17814         * assert/Makefile (test-assert-ENV): Remove variable.
17815         (test-assert-perr-ENV): Likewise.
17816         * elf/Makefile (neededtest4-ENV): Likewise.
17817         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17818         [$(cross-compiling) = no]: Don't set LANGUAGE.
17819         * io/ftwtest-sh (LANG): Remove variable.
17820         * libio/Makefile (tst-widetext-ENV): Likewise.
17821         * manual/install.texi (Running make install): Don't refer to
17822         environment settings for make install.
17823         * INSTALL: Regenerated.
17824         * nptl/tst-tls6.sh: Don't set LANG.
17825         * posix/globtest.sh (LANG): Remove variable.
17826         * string/Makefile (tester-ENV): Likewise.
17827         (inl-tester-ENV): Likewise.
17828         (noinl-tester-ENV): Likewise.
17829         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17830         [$(cross-compiling) = no]: Don't set LANGUAGE.
17831         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
17832         without explicit environment settings.
17834 2014-06-06  Roland McGrath  <roland@hack.frob.com>
17836         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
17837         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
17838         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
17839         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
17841 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
17843         * crypt/crypt-private.h [DOS]: Add some includes taken from the
17844         other files in the crypt directory.
17845         * crypt/crypt.c: Remove duplicate includes.
17846         * crypt/crypt-entry.c: Likewise.
17847         * crypt/crypt_util.c: Likewise.
17849 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
17851         * Makeconfig (run-program-env): New variable.
17852         (run-program-prefix-before-env): Likewise.
17853         (run-program-prefix-after-env): Likewise.
17854         (run-program-prefix): Define in terms of new variables.
17855         (built-program-cmd-before-env): New variable.
17856         (built-program-cmd-after-env): Likewise.
17857         (built-program-cmd): Define in terms of new variables.
17858         (test-program-prefix-before-env): New variable.
17859         (test-program-prefix-after-env): Likewise.
17860         (test-program-prefix): Define in terms of new variables.
17861         (test-program-cmd-before-env): New variable.
17862         (test-program-cmd-after-env): Likewise.
17863         (test-program-cmd): Define in terms of new variables.
17864         * Rules (make-test-out): Use $(run-program-env).
17865         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
17866         (help): Do not mention environment variables.  Mention
17867         --timeoutfactor option.
17868         (timeoutfactor): New variable.
17869         (blacklist_exports): Remove function.
17870         (exports): Remove variable.
17871         (command): Do not include ${exports}.
17872         * manual/install.texi (Configuring and compiling): Do not mention
17873         test wrappers preserving environment variables.  Mention that last
17874         assignment to a variable must take precedence.
17875         * INSTALL: Regenerated.
17876         * benchtests/Makefile (run-bench): Use $(run-program-env).
17877         * catgets/Makefile ($(objpfx)test1.cat): Use
17878         $(built-program-cmd-before-env), $(run-program-env) and
17879         $(built-program-cmd-after-env).
17880         ($(objpfx)test2.cat): Do not specify environment variables
17881         explicitly.
17882         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
17883         $(run-program-env) and $(built-program-cmd-after-env).
17884         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
17885         $(run-program-env) and $(test-program-cmd-after-env).
17886         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
17887         explicitly.
17888         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
17889         run_program_env and test_program_cmd_after_env arguments.
17890         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
17891         * elf/tst-pathopt.sh: Use run_program_env argument.
17892         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
17893         $(test-wrapper-env) and $(run-program-env).
17894         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
17895         run_program_env arguments.
17896         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
17897         * intl/Makefile ($(objpfx)tst-gettext.out): Use
17898         $(test-program-prefix-before-env), $(run-program-env) and
17899         $(test-program-prefix-after-env).
17900         ($(objpfx)tst-gettext2.out): Likewise.
17901         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
17902         run_program_env and test_program_prefix_after_env arguments.
17903         * intl/tst-gettext2.sh: Likewise.
17904         * intl/tst-gettext4.sh: Do not set environment variables
17905         explicitly.
17906         * intl/tst-gettext6.sh: Likewise.
17907         * intl/tst-translit.sh: Likewise.
17908         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
17909         $(test-program-prefix-before-env), $(run-program-env) and
17910         $(test-program-prefix-after-env).
17911         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
17912         run_program_env and test_program_prefix_after_env arguments.
17913         * math/Makefile (run-regen-ulps): Use $(run-program-env).
17914         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
17915         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
17916         explicitly with each use of ${test_wrapper_env}.
17917         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
17918         $(test-program-prefix-before-env), $(run-program-env) and
17919         $(test-program-prefix-after-env).
17920         * posix/tst-getconf.sh: Do not set environment variables
17921         explicitly.
17922         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
17923         run_program_env and test_program_prefix_after_env arguments.
17924         * stdio-common/tst-printf.sh: Do not set environment variables
17925         explicitly.
17926         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
17927         $(test-program-prefix-before-env), $(run-program-env) and
17928         $(test-program-prefix-after-env).
17929         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
17930         run_program_env and test_program_prefix_after_env arguments.
17931         Split $test calls into $test_pre and $test.
17932         * timezone/Makefile (build-testdata): Use
17933         $(built-program-cmd-before-env), $(run-program-env) and
17934         $(built-program-cmd-after-env).
17936 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17938         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
17939         strlen for non SHARED builds.
17941 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17943         * nptl/allocatestack.c (check_list): Inlined function...
17944         (__reclaim_stacks): ... here.
17946 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
17948         [BZ #15698]
17949         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
17950         memory overrun.
17952 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
17954         * Rules (make-test-out): Include
17955         LOCPATH=$(common-objpfx)localedata in default environment.
17956         * debug/Makefile (tst-chk1-ENV): Remove variable.
17957         (tst-chk2-ENV): Likewise.
17958         (tst-chk3-ENV): Likewise.
17959         (tst-chk4-ENV): Likewise.
17960         (tst-chk5-ENV): Likewise.
17961         (tst-chk6-ENV): Likewise.
17962         (tst-lfschk1-ENV): Likewise.
17963         (tst-lfschk2-ENV): Likewise.
17964         (tst-lfschk3-ENV): Likewise.
17965         (tst-lfschk4-ENV): Likewise.
17966         (tst-lfschk5-ENV): Likewise.
17967         (tst-lfschk6-ENV): Likewise.
17968         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
17969         (tst-iconv7-ENV): Likewise.
17970         * intl/Makefile (LOCPATH-ENV): Likewise.
17971         (tst-codeset-ENV): Likewise.
17972         (tst-gettext3-ENV): Likewise.
17973         (tst-gettext5-ENV): Likewise.
17974         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
17975         (tst-fopenloc-ENV): Likewise.
17976         (tst-fgetws-ENV): Remove variable.
17977         (tst-ungetwc1-ENV): Likewise.
17978         (tst-ungetwc2-ENV): Likewise.
17979         (bug-ungetwc2-ENV): Likewise.
17980         (tst-swscanf-ENV): Likewise.
17981         (bug-ftell-ENV): Likewise.
17982         (tst-fgetwc-ENV): Likewise.
17983         (tst-fseek-ENV): Likewise.
17984         (tst-ftell-partial-wide-ENV): Likewise.
17985         (tst-ftell-active-handler-ENV): Likewise.
17986         (tst-ftell-append-ENV): Likewise.
17987         * posix/Makefile (tst-fnmatch-ENV): Likewise.
17988         (tst-regexloc-ENV): Likewise.
17989         (bug-regex1-ENV): Likewise.
17990         (tst-regex-ENV): Likewise.
17991         (tst-regex2-ENV): Likewise.
17992         (bug-regex5-ENV): Likewise.
17993         (bug-regex6-ENV): Likewise.
17994         (bug-regex17-ENV): Likewise.
17995         (bug-regex18-ENV): Likewise.
17996         (bug-regex19-ENV): Likewise.
17997         (bug-regex20-ENV): Likewise.
17998         (bug-regex22-ENV): Likewise.
17999         (bug-regex23-ENV): Likewise.
18000         (bug-regex25-ENV): Likewise.
18001         (bug-regex26-ENV): Likewise.
18002         (bug-regex30-ENV): Likewise.
18003         (bug-regex32-ENV): Likewise.
18004         (bug-regex33-ENV): Likewise.
18005         (bug-regex34-ENV): Likewise.
18006         (bug-regex35-ENV): Likewise.
18007         (tst-rxspencer-ENV): Likewise.
18008         (tst-rxspencer-no-utf8-ENV): Likewise.
18009         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
18010         (tst-sscanf-ENV): Likewise.
18011         (tst-swprintf-ENV): Likewise.
18012         (tst-swscanf-ENV): Likewise.
18013         (test-vfprintf-ENV): Likewise.
18014         (scanf13-ENV): Likewise.
18015         (bug14-ENV): Likewise.
18016         (tst-grouping-ENV): Likewise.
18017         * stdlib/Makefile (tst-strtod-ENV): Likewise.
18018         (tst-strtod3-ENV): Likewise.
18019         (tst-strtod4-ENV): Likewise.
18020         (tst-strtod5-ENV): Likewise.
18021         (testmb2-ENV): Likewise./
18022         * string/Makefile (tst-strxfrm-ENV): Likewise.
18023         (tst-strxfrm2-ENV): Likewise.
18024         (bug-strcoll1-ENV): Likewise.
18025         (test-strcasecmp-ENV): Likewise.
18026         (test-strncasecmp-ENV): Likewise.
18027         * time/Makefile (tst-strptime-ENV): Likewise.
18028         (tst-ftime_l-ENV): Likewise.
18029         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
18030         (tst-mbrtowc-ENV): Likewise.
18031         (tst-wcrtomb-ENV): Likewise.
18032         (tst-mbrtowc2-ENV): Likewise.
18033         (tst-c16c32-1-ENV): Likewise.
18034         (tst-mbsnrtowcs-ENV): Likewise.
18036 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
18038         * manual/resource.texi (How to get information about the memory
18039         subsystem?): Fix typo.
18040         Reported by Peon de la Parra Ivan <peon@keba.com>
18042 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
18044         [BZ #16882]
18045         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
18046         (pthread_spin_lock): Branch out of spin loop to proper location.
18047         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
18048         (pthread_spin_lock): Likewise.
18050         * nptl/tst-spin4.c: New test.
18051         * nptl/Makefile (tests): Add tst-spin4.
18053 2014-06-03  Andreas Schwab  <schwab@suse.de>
18055         [BZ #15946]
18056         * resolv/res_send.c (send_dg): Reload file descriptor after
18057         calling reopen.
18059 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
18061         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18063 2014-06-03  Richard Henderson  <rth@redhat.com>
18065         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
18066         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
18067         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
18068         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
18069         in the SAVE_PID block.
18070         (__libc_vfork): New alias.
18071         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
18073         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
18074         child in registers, not on the stack.  Remove RESET_PID conditionals.
18075         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
18077 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
18079         * sysdeps/aarch64/libm-test-ulps: Regenerate.
18081 2014-06-03  Wilco  <wdijkstr@arm.com>
18083         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
18084         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
18085         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
18086         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
18087         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
18088         Likewise.
18090 2014-06-03  Wilco  <wdijkstr@arm.com>
18092         * sysdeps/aarch64/fpu/math_private.h
18093         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
18094         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
18095         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
18096         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
18097         Fix declarations.
18099 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18101         * crypt/crypt-private.h: Include ufc-crypt.h.
18102         (__b64_from_24bit): Declare extern.
18103         * crypt/crypt_util.c(__b64_from_24bit): New function.
18104         (b64t): New static const variable.
18105         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
18106         (b64t): Remove variable.
18107         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
18108         * crypt/sha256-crypt.c: Include crypt-private.h.
18109         (b64t): Remove variable.
18110         (__sha256_crypt_r): Remove b64_from_24bit and replace
18111         with __b64_from_24bit.
18112         * crypt/sha512-crypt.c: Likewise.
18114 2014-06-02  Roland McGrath  <roland@hack.frob.com>
18116         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
18117         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
18118         Label the code __libc_vfork rather than __vfork.
18119         [!NOT_IN_libc] (vfork): Define as weak alias.
18120         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
18121         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
18122         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
18124 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18126         * malloc/malloc.c (malloc_info): Fix format specifier for
18127         n_mmaps.
18129 2014-06-02  Wilco  <wdijkstr@arm.com>
18131         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
18132         FPCR write.
18134 2014-06-02  Wilco  <wdijkstr@arm.com>
18136         [BZ #17009]
18137         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
18138         Rewrite to reduce FPCR/FPSR accesses.
18140 2014-06-01  David S. Miller  <davem@davemloft.net>
18142         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18144 2014-05-31  David S. Miller  <davem@davemloft.net>
18146         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
18147         to occur in round to nearest mode when |x| >= 2.0
18149 2014-05-30  Richard Henderson  <rth@twiddle.net>
18151         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
18152         (PSEUDO_RET_NOERRNO): Remove.
18153         (ret): Don't redefine.
18154         (ret_NOERRNO): Define in terms of ret.
18155         (ret_ERRVAL): Likewise.
18157         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
18158         use of PSEUDO_RET; perform the error check directly.
18160 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
18162         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
18163         with __int128_t.
18165 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18167         * malloc/malloc (malloc_info): Fix formatting.
18169 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18170             Roland McGrath  <roland@hack.frob.com>
18172         * malloc/malloc (malloc_info): Also print mmapped statistics.
18174 2014-05-30  Roland McGrath  <roland@hack.frob.com>
18176         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
18177         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
18179 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
18181         * malloc/malloc.c (malloc_info): Inline mi_arena.
18183 2014-05-29  Richard Henderson  <rth@twiddle.net>
18185         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
18186         Remove comma before expanding ASM_ARGS_##nr.
18187         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
18188         Make _x0 a strict output; make _x8 a strict input; adjust expansion
18189         of ASM_ARGS_##nr.
18190         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
18191         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
18192         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
18193         (ASM_ARGS_1): Add leading comma.
18195         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
18196         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
18197         to __errno_location.
18198         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
18199         Remove the expected plt for __errno_location.
18201         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18202         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
18203         call to __read_tp.
18205         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18206         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
18207         it and break it down.
18208         (DOCARGS_0, DOCARGS_1): Do nothing.
18209         (DOCARGS_2): Update to store into the new stack frame.
18210         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
18211         (UNDOCARGS_1): Update to restore from the new stack frame.
18212         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
18213         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
18215         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18216         (SINGLE_THREAD_P): New parameter for result regno.
18217         (PSEUDO): Update to match; use cbz instead of beq.
18219         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18220         Use ENTRY to define the _nocancel entry point.  Share the syscall
18221         and syscall error check paths with the cancel path.
18222         (PSEUDO_END): New.
18224         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
18225         whitespace; tabs before and after asm mnemonics.
18227 2014-05-29  Eric Wong  <normalperson@yhbt.net>
18229         [BZ #15132]
18230         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18231         Call fstat64 or stat64 internally, depending on arguments passed.
18232         Replace stat buffer argument with file descriptor argument.
18233         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
18234         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
18235         Pass fd to __internal_statvfs instead of calling fstat64.
18236         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
18237         Pass fd to __internal_statvfs64 instead of calling fstat64.
18238         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
18239         Pass -1 to __internal_statvfs instead of calling stat64.
18240         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
18241         Pass -1 to __internal_statvfs64 instead of calling stat64.
18243 2014-05-28  Roland McGrath  <roland@hack.frob.com>
18245         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
18246         that was previously under [RESET_PID].
18247         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
18249         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
18250         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
18252 2014-05-27  Roland McGrath  <roland@hack.frob.com>
18254         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
18256         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
18257         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
18259 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
18261         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
18263 2014-05-27  Andreas Schwab  <schwab@suse.de>
18265         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
18266         TLS_INIT_TP macro.
18267         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
18268         * elf/rtld.c (init_tls, dl_main): Likewise.
18269         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
18270         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
18271         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
18272         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
18273         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
18274         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
18275         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
18276         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
18277         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
18278         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
18279         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
18280         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
18281         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
18282         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
18283         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
18284         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
18285         * sysdeps/generic/tls.h: Update description.
18287 2014-05-27  Will Newton  <will.newton@linaro.org>
18289         [BZ #16990]
18290         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
18291         and restore r2 rather than just restoring.
18293 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18295         [BZ #16724]
18296         * libio/tst-ftell-append.c: New test case.
18297         * libio/Makefile (tests): Add test case.
18298         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
18299         append mode.
18300         * libio/wfileops.c (do_ftell_wide): Likewise.
18302 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18304         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18306         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
18307         ...
18308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
18309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18310         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
18311         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
18312         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
18313         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
18314         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
18315         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
18316         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
18317         Moved ...
18318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
18319         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
18320         Moved ...
18321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
18322         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
18323         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
18324         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
18325         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
18326         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
18327         ...
18328         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
18329         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
18330         Moved ...
18331         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
18332         here.
18333         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
18334         ...
18335         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
18336         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
18337         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
18339         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
18340         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
18341         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
18342         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
18344         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
18345         merge into ...
18346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
18347         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
18348         ...
18349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
18350         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
18351         ...
18352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
18353         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
18354         Moved ...
18355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
18356         here.
18357         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
18358         Moved ...
18359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
18360         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
18361         Moved ...
18362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
18364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
18365         conditional [RESET_PID].
18366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
18367         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
18368         removed.
18369         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
18370         removed.
18372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
18373         <tcb-offsets.h>.
18374         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18375         (__libc_vfork): New strong alias.
18376         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
18377         removed.
18378         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
18379         Removed.
18381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
18382         <tcb-offsets.h>.
18383         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
18384         (__libc_vfork): New strong alias.
18385         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
18386         removed.
18387         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
18388         removed.
18390 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
18392         * malloc/malloc.c (mi_arena): New function.
18393         (malloc_info): Remove nested function mi_arena. Call non-nosted
18394         function mi_arena.
18396 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18398         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
18399         by insrwi.
18400         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
18401         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
18402         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
18403         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
18404         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
18405         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
18406         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
18408 2014-05-26  Andreas Schwab  <schwab@suse.de>
18410         [BZ #16984]
18411         * locale/programs/repertoire.c (repertoire_read): Add slash
18412         between I18NPATH element and file name.
18413         * locale/programs/locfile.c (locfile_read): Likewise.
18415 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
18417         * nptl/pthread_mutexattr_settype.c
18418         (__pthread_mutexattr_settype):
18419         Disable lock elision for PTHREAD_MUTEX_NORMAL.
18421 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
18423         * nptl/tst-mutex5 (do_test):
18424         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
18426 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18428         * benchtests/README: Document 'init' directive.
18429         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
18430         BENCH_INIT.
18431         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
18432         (parse_file): Recognize 'init' directive.
18434 2014-05-26  Kyle McMartin  <kyle@redhat.com>
18436         [BZ #16796]
18437         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
18438         alignment of struct pthread.
18440 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18442         [BZ #16878]
18443         * nscd/netgroupcache.c (addgetnetgrentX): Look for
18444         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
18445         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
18446         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
18448 2014-05-25  Richard Henderson  <rth@twiddle.net>
18450         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18451         (SINGLE_THREAD_P_PIC): Remove.
18452         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
18453         (SINGLE_THREAD_P_PIC): Remove.
18455         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
18456         branch to syscall error ...
18457         (PSEUDO): ... here.
18458         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
18459         from __local_syscall_error to .Lsyscall_error.
18460         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
18461         (SYSCALL_ERROR): Update label name.
18463         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18464         Do not use DOARGS/UNDOARGS.
18465         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
18466         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
18467         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
18468         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
18469         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
18471         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
18472         block comment.
18474         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
18475         define if !NOT_IN_libc.
18476         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
18477         define with non-default symbol versions.
18479 2014-05-23  Richard Henderson  <rth@twiddle.net>
18481         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
18482         (vfork, __vfork): Define via compat_symbol.
18484         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
18485         [!HAVE_IFUNC] (vfork_compat): Remove.
18486         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
18488 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
18490         [BZ #16978]
18491         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
18492         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
18493         variable.
18495 2014-05-23  Richard Henderson  <rth@twiddle.net>
18497         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
18498         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
18499         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
18500         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
18502         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
18503         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
18504         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
18505         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
18506         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
18507         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
18508         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
18509         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
18510         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
18511         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
18512         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
18513         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
18514         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
18515         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
18516         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
18517         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
18518         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
18519         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
18520         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
18521         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
18522         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
18523         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
18524         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
18525         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
18526         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
18527         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
18528         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
18529         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
18530         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
18531         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
18532         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
18533         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
18534         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
18535         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
18536         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
18537         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
18538         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
18539         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
18540         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
18541         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
18542         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
18543         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
18544         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
18545         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
18546         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
18547         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
18548         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
18549         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
18550         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
18551         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
18552         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
18553         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
18554         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
18555         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
18556         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
18557         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
18559         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
18560         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
18561         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
18562         before exiting on error.
18563         (__libc_vfork): New strong alias.
18564         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
18565         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
18567         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
18568         that was previously under [RESET_PID].
18569         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
18571         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
18573 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
18575         [BZ #16977]
18576         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
18577         value when x - 1 is zero.
18578         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
18579         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
18580         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
18581         0.0L for an argument of 1.0L.
18582         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
18583         Likewise.
18584         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
18585         value when x - 1 is zero.
18586         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
18587         * sysdeps/i386/fpu/libm-test-ulps: Update.
18588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18590 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
18592         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
18593         alphasort and versionsort.
18595 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18597         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
18598         macro.
18599         [copysignf]: Likewise.
18601 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18603         * crypt/md5-crypt.c: Fix formatting.
18605 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18607         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
18608         (b64_from_24bit): New function.
18610 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18612         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
18613         libc_hidden_builtin_def to ifunc.
18614         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
18615         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
18617 2014-05-21  Roland McGrath  <roland@hack.frob.com>
18619         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
18620         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
18622 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
18624         * nscd/Depend (linuxthreads): Remove.
18625         (nptl): Add.
18626         * resolv/Depend (linuxthreads): Remove.
18627         * rt/Depend (linuxthreads): Remove.
18629         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
18630         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
18631         $(common-objpfx)elf/.
18632         (link-libc-before-gnulib): Likewise.
18633         (elfobjdir): Remove variable.
18634         * Makefile (install): Use $(elf-objpfx) instead of
18635         $(common-objpfx)elf/.
18636         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
18637         $(elfobjdir)/.
18638         (link-libc-deps): Likewise.
18639         ($(common-objpfx)libc.so): Likewise.
18640         ($(common-objpfx)linkobj/libc.so): Likewise.
18641         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
18642         instead of $(common-objpfx)elf/.
18643         (symbolic-link-list): Likewise.
18644         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18645         [$(cross-compiling) = no]: Likewise.
18646         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
18647         $(elfobjdir)/.
18648         (static-gnulib-arch): Likewise.
18649         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18650         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
18651         $(common-objpfx)elf/.
18653 2014-05-21  Richard Henderson  <rth@redhat.com>
18655         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18656         (SINGLE_THREAD_P): Use the correct width load.  Fold
18657         into the ldr offset.
18659         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
18660         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
18662 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
18664         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
18665         (libgcc_s_resume): Use __attribute_used__.
18666         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
18667         Likewise.
18669 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18671         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
18672         optimization when used with float constants.
18674         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18676 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
18678         [BZ #16915]
18679         * locale/nl_langinfo_l.c: Make direct reference to every
18680         _nl_current_CATEGORY symbol.
18681         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
18682         (tests-static): Add tst-langinfo-static.
18683         (tests-special): Add tst-langinfo-static.out.
18684         ($(objpfx)tst-langinfo.out): Redirect output.
18685         ($(objpfx)tst-langinfo-static.out): New.
18686         * localedata/tst-langinfo.sh: Send output to stdout.
18687         * localedata/tst-langinfo-static.c: New file.
18689         [BZ #16965]
18690         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
18691         when the shift amount is modulo the limb size.
18693 2014-05-20  Richard Henderson  <rth@redhat.com>
18695         [BZ #16967]
18696         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
18697         Change type of sa_flags from unsigned int to int.
18699         [BZ #16966]
18700         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
18702         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
18704 2014-05-20  Will Newton  <will.newton@linaro.org>
18706         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18707         Test the return value of the system call in the nocancel case.
18709 2014-05-20  Will Newton  <will.newton@linaro.org>
18710             Yvan Roux  <yvan.roux@linaro.org>
18712         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
18713         #include of asm/ptrace.h.
18714         (PTRACE_GET_THREAD_AREA): Remove #undef.
18715         (PTRACE_GETHBPREGS): Likewise.
18716         (PTRACE_SETHBPREGS): Likewise.
18717         (struct user_regs_struct): New structure.
18718         (struct user_fpsimd_struct): New structure.
18719         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
18720         #include of asm/ptrace.h and second #include of sys/user.h.
18721         (PTRACE_GET_THREAD_AREA): Remove #undef.
18722         (PTRACE_GETHBPREGS): Likewise.
18723         (PTRACE_SETHBPREGS): Likewise.
18724         (ELF_NGREG): Use new struct user_regs_struct.
18725         (elf_fpregset_t): Use new struct user_fpsimd_struct.
18727 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18729         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
18730         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
18732 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
18734         [BZ #16958]
18735         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
18736         membar to avoid block loads/stores to overlap previous stores.
18738 2014-05-17  Richard Henderson  <rth@redhat.com>
18740         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
18741         Create the __##syscall_name##_nocancel entry point.
18742         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
18743         Remove; let the sysdep-cancel.h code create it.
18745 2014-05-17  David S. Miller  <davem@davemloft.net>
18747         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
18748         Protect with __USE_GNU.
18749         (TIOCSET_TEMPT): Likewise.
18750         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
18751         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
18752         these are already provided in bits/ioctl-types.h
18754 2014-05-16  Roland McGrath  <roland@hack.frob.com>
18756         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
18757         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
18759         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
18760         Use wait4 regardless of [__NR_waitpid].
18762 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
18764         PR libgcc/60166
18765         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
18766         (_FP_NANSIGN_Q): Set the quiet bit.
18768 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
18770         * benchtests/Makefile
18771         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
18772         not $(common-objpfx)math/libm.so.
18773         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
18774         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
18775         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
18776         $(common-objpfx)dlfcn/libdl.so.
18777         ($(objpfx)tst-audit8): Depend on $(libm), not
18778         $(common-objpfx)math/libm.so.
18779         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
18780         not $(common-objpfx)dlfcn/libdl.so.
18781         * math/Makefile
18782         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
18783         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
18784         [$(build-shared) = yes].
18785         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
18786         $(common-objpfx)nptl/libpthread.so.
18787         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
18788         $(common-objpfx)math/libm.so$(libm.so-version) or
18789         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
18790         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
18791         $(common-objpfx)dlfcn/libdl.so.
18792         * setjmp/Makefile (link-libm): Remove variable.
18793         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
18794         * stdio-common/Makefile (link-libm): Remove variable.
18795         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
18796         * stdlib/Makefile (link-libm): Remove variable.
18797         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
18798         ($(objpfx)tst-strtod-round): Likewise.
18799         ($(objpfx)tst-tininess): Likewise.
18800         ($(objpfx)tst-strtod-underflow): Likewise.
18801         ($(objpfx)tst-strtod6): Likewise.
18802         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
18803         $(libdl), not $(common-objpfx)nptl/libpthread.so and
18804         $(common-objpfx)dlfcn/libdl.so.
18806 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18808         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
18809         BSD terminal modes definitions.
18811 2014-05-16  Roland McGrath  <roland@hack.frob.com>
18813         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
18814         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
18816         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
18817         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
18818         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
18819         Don't do #include_next.
18820         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
18821         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
18822         Don't do #include_next.
18823         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
18824         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
18825         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
18826         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
18828 2014-05-16  Allan McRae  <allan@archlinux.org>
18830         * po/sv.po: Update Swedish translation from translation project.
18832         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
18833         in sed expression.
18835 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
18837         [BZ #16917]
18838         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
18839         errno if the TIOCGPTN ioctl fails with an error different than
18840         EINVAL.
18841         * login/tst-ptsname.c: New file.
18842         * login/Makefile (tests): Add tst-ptsname.
18844         [BZ #16943]
18845         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
18846         and prlimit64.
18848 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18850         [BZ #16849]
18851         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
18852         herrno to return EAI_AGAIN.
18854 2014-05-14  Roland McGrath  <roland@hack.frob.com>
18856         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
18857         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
18858         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
18859         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
18860         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
18861         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
18862         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
18863         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
18864         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
18865         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
18866         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
18867         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
18868         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
18869         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
18870         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
18871         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
18872         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
18873         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
18874         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
18875         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
18876         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
18877         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
18878         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
18879         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
18880         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
18881         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
18882         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
18883         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
18884         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
18885         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
18886         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
18887         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
18888         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
18889         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
18890         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18891         Moved ...
18892         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
18893         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
18894         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
18895         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
18896         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
18897         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
18898         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
18899         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
18900         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
18901         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
18902         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
18903         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
18904         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
18905         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
18906         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
18907         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
18908         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
18909         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
18910         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
18911         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
18912         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
18913         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
18914         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
18915         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
18916         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
18917         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
18918         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
18919         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18920         Moved ...
18921         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
18922         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
18923         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
18924         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
18925         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
18926         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
18927         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
18928         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
18929         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
18930         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
18931         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
18932         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
18933         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
18934         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
18935         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
18936         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
18937         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
18938         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
18939         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
18940         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18941         Moved ...
18942         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
18943         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
18944         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
18946         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
18947         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
18948         (libpthread-sysdep_routines): Add elision-related stuff here instead.
18949         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
18950         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
18951         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
18952         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
18953         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
18954         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
18955         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
18956         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
18957         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
18958         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
18959         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
18960         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
18961         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
18962         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
18963         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
18964         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
18965         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
18966         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
18967         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
18968         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
18969         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
18970         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
18971         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
18972         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
18973         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
18974         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
18975         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
18976         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
18978         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
18979         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
18981         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
18982         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
18983         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
18984         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
18985         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
18986         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
18987         Moved ...
18988         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
18989         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
18990         Moved ...
18991         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
18992         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
18993         Moved ...
18994         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
18995         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
18996         Moved ...
18997         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
18998         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
18999         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
19000         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
19001         Moved ...
19002         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
19003         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
19004         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
19005         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
19006         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
19007         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
19008         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
19009         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
19010         Moved ...
19011         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
19012         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
19013         Moved ...
19014         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
19015         ... here.
19016         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
19017         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
19018         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
19019         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
19020         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
19021         Moved ...
19022         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
19023         ... here.
19024         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
19025         Moved ...
19026         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
19027         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
19028         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
19029         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
19030         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
19031         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
19032         Moved ...
19033         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
19034         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
19035         Moved ...
19036         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
19037         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
19038         Moved ...
19039         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
19040         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
19041         Moved ...
19042         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
19043         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
19044         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
19045         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
19046         Moved ...
19047         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
19048         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
19049         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
19050         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
19051         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
19052         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
19053         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
19054         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
19055         Moved ...
19056         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
19057         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
19058         Moved ...
19059         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
19060         ... here.
19061         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
19062         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
19063         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
19064         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
19065         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
19066         Moved ...
19067         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
19068         ... here.
19069         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
19070         Moved ...
19071         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
19072         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
19073         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
19074         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
19075         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
19076         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
19077         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
19078         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
19079         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
19080         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
19081         Moved ...
19082         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
19083         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
19084         Moved ...
19085         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
19086         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
19087         Moved ...
19088         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
19089         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
19090         Moved ...
19091         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
19092         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
19093         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
19094         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
19095         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
19096         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
19097         Moved ...
19098         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
19099         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
19100         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
19101         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
19102         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
19103         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
19104         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
19105         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
19106         Moved ...
19107         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
19108         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
19109         Moved ...
19110         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
19111         ... here.
19112         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
19113         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
19114         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
19115         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
19116         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
19117         Moved ...
19118         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
19119         ... here.
19120         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
19121         Moved ...
19122         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
19123         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
19124         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
19125         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
19126         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
19127         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
19128         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
19129         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
19130         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
19131         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
19132         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
19134         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
19135         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
19137         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
19138         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
19140         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
19141         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
19142         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
19143         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
19144         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
19145         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
19146         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
19147         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
19148         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
19149         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
19150         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
19151         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
19152         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
19153         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
19154         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
19155         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
19156         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
19157         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
19158         Moved ...
19159         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
19160         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
19161         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
19162         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
19163         Moved ...
19164         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
19165         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
19166         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
19167         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
19168         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
19169         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
19170         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
19171         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
19172         Moved ...
19173         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
19174         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
19175         Moved ...
19176         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
19177         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
19178         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
19179         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
19180         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
19181         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
19182         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
19183         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
19184         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
19185         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
19186         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
19187         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
19188         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
19189         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
19190         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
19191         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
19192         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
19194         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
19195         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
19196         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
19197         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
19198         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
19200         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
19201         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
19202         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
19203         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
19204         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
19205         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
19206         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
19207         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
19208         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
19209         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
19211         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
19212         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
19214         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
19215         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
19216         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
19217         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
19218         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
19219         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
19220         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
19221         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
19222         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
19223         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
19224         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
19225         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
19226         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
19227         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
19228         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
19229         Update #include.
19230         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
19231         Likewise.
19232         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
19233         Likewise.
19234         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
19235         Likewise.
19236         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
19237         Likewise.
19238         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
19239         Likewise.
19240         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
19241         Likewise.
19242         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
19243         Likewise.
19244         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
19245         Likewise.
19246         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
19247         Likewise.
19248         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
19249         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
19250         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
19251         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
19252         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
19253         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
19254         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
19255         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
19256         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
19257         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
19258         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
19259         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
19260         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
19261         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
19262         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
19264         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
19265         that was previously under [RESET_PID].
19266         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
19267         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
19268         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
19270         * sysdeps/i386/nptl/Implies: New file.
19271         * sysdeps/x86_64/nptl/Implies: New file.
19272         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
19273         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
19274         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
19275         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
19277         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
19278         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19279         (__libc_vfork): New strong alias.
19280         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
19281         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
19283         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
19284         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19285         (__libc_vfork): New strong alias.
19286         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
19287         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
19289         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
19290         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19291         (__libc_vfork): New strong alias.
19292         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
19293         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
19294         * nptl/pt-vfork.c: New file.
19295         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
19296         (libpthread: GLIBC_2.20): New version set (empty).
19298 2014-05-14  Will Newton  <will.newton@linaro.org>
19300         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
19301         rather than #if.
19303 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
19305         [BZ #16564]
19306         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
19307         arguments with exponent 65 or above.
19308         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
19309         arguments 0x1p113L or above.
19310         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
19311         to arguments 0x1p107L or above.
19312         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
19313         positive arguments with exponent 65 or above.
19314         * math/auto-libm-test-in: Add more tests of log1p.
19315         * math/auto-libm-test-out: Regenerated.
19317         [BZ #16928]
19318         * math/s_cacos.c (__cacos): Ensure zero real part of result from
19319         non-finite arguments is +0.
19320         * math/s_cacosf.c (__cacosf): Likewise.
19321         * math/s_cacosl.c (__cacosl): Likewise.
19322         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
19323         * sysdeps/i386/fpu/libm-test-ulps: Update.
19324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19326         [BZ #16927]
19327         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
19328         value.
19329         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
19330         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
19331         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
19332         for explicit high bit of mantissa when testing for argument equal
19333         to 1.
19334         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
19335         * sysdeps/i386/fpu/libm-test-ulps: Update.
19336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19338         [BZ #16516]
19339         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
19340         (__erf): Scale by 16 instead of 8 in potentially underflowing
19341         case.  Ensure exception if result actually underflows.
19342         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
19343         (__erff): Scale by 16 instead of 8 in potentially underflowing
19344         case.  Ensure exception if result actually underflows.
19345         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
19346         (efx8): Remove variable.
19347         (__erfl): Scale by 16 instead of 8 in potentially underflowing
19348         case.  Ensure exception if result actually underflows.
19349         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
19350         (efx8): Remove variable.
19351         (__erfl): Scale by 16 instead of 8 in potentially underflowing
19352         case.  Ensure exception if result actually underflows.
19353         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
19354         (efx8): Remove variable.
19355         (__erfl): Scale by 16 instead of 8 in potentially underflowing
19356         case.  Ensure exception if result actually underflows.
19357         * math/auto-libm-test-in: Add more tests of erf.
19358         * math/auto-libm-test-out: Regenerated.
19360 2014-05-14  Andreas Schwab  <schwab@suse.de>
19362         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
19363         Remove code conditionalized on USE___THREAD.
19365         * config.h.in (HAVE_PT_CHOWN): Define as 0.
19366         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
19367         not definedness.
19369 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
19371         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
19372         Define unconditionally.
19373         (__ASSUME_O_CLOEXEC): Likewise.
19374         (__ASSUME_SOCK_CLOEXEC): Likewise.
19375         (__ASSUME_IN_NONBLOCK): Likewise.
19376         (__ASSUME_PIPE2): Likewise.
19377         (__ASSUME_EVENTFD2): Likewise.
19378         (__ASSUME_SIGNALFD4): Likewise.
19379         (__ASSUME_DUP3): Likewise.
19380         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19381         (__ASSUME_DUP3): Do not define.
19382         (__ASSUME_EVENTFD2): Likewise.
19383         (__ASSUME_IN_NONBLOCK): Likewise.
19384         (__ASSUME_O_CLOEXEC): Likewise.
19385         (__ASSUME_PIPE2): Likewise.
19386         (__ASSUME_SIGNALFD4): Likewise.
19387         (__ASSUME_SOCK_CLOEXEC): Likewise.
19388         (__ASSUME_UTIMES): Undefine.
19389         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19390         (__ASSUME_UTIMES): Do not define.
19391         (__ASSUME_O_CLOEXEC): Likewise.
19392         (__ASSUME_SOCK_CLOEXEC): Likewise.
19393         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
19394         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
19395         0x020621].
19396         (__ASSUME_PIPE2): Likewise.
19397         (__ASSUME_EVENTFD2): Likewise.
19398         (__ASSUME_SIGNALFD4): Likewise.
19399         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
19400         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
19401         Do not define.
19402         (__ASSUME_EVENTFD2): Likewise.
19403         (__ASSUME_SIGNALFD4): Likewise.
19404         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19405         (__ASSUME_32BITUIDS): Likewise.
19406         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19407         (__ASSUME_IPC64): Likewise.
19408         (__ASSUME_ST_INO_64_BIT): Likewise.
19409         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
19410         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
19411         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19412         (__ASSUME_UTIMES): Do not define.
19413         (__ASSUME_PSELECT): Likewise.
19414         (__ASSUME_PPOLL): Likewise.
19415         (__ASSUME_O_CLOEXEC): Likewise.
19416         (__ASSUME_SOCK_CLOEXEC): Likewise.
19417         (__ASSUME_IN_NONBLOCK): Likewise.
19418         (__ASSUME_PIPE2): Likewise.
19419         (__ASSUME_EVENTFD2): Likewise.
19420         (__ASSUME_SIGNALFD4): Likewise.
19421         (__ASSUME_DUP3): Likewise.
19422         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19423         (__ASSUME_UTIMES): Likewise.
19424         (__ASSUME_O_CLOEXEC): Likewise.
19425         (__ASSUME_SOCK_CLOEXEC): Likewise.
19426         (__ASSUME_IN_NONBLOCK): Likewise.
19427         (__ASSUME_PIPE2): Likewise.
19428         (__ASSUME_EVENTFD2): Likewise.
19429         (__ASSUME_SIGNALFD4): Likewise.
19430         (__ASSUME_DUP3): Likewise.
19431         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19432         (__ASSUME_UTIMES): Likewise.
19433         (__ASSUME_O_CLOEXEC): Likewise.
19434         (__ASSUME_SOCK_CLOEXEC): Likewise.
19435         (__ASSUME_IN_NONBLOCK): Likewise.
19436         (__ASSUME_PIPE2): Likewise.
19437         (__ASSUME_EVENTFD2): Likewise.
19438         (__ASSUME_SIGNALFD4): Likewise.
19439         (__ASSUME_DUP3): Likewise.
19440         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
19441         Likewise.
19442         (__ASSUME_UTIMES): Likewise.
19443         (__ASSUME_EVENTFD2): Likewise.
19444         (__ASSUME_SIGNALFD4): Likewise.
19445         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19446         (__ASSUME_O_CLOEXEC): Likewise.
19447         (__ASSUME_SOCK_CLOEXEC): Likewise.
19448         (__ASSUME_IN_NONBLOCK): Likewise.
19449         (__ASSUME_PIPE2): Likewise.
19450         (__ASSUME_EVENTFD2): Likewise.
19451         (__ASSUME_SIGNALFD4): Likewise.
19452         (__ASSUME_DUP3): Likewise.
19453         (__ASSUME_UTIMES): Undefine.
19455         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
19456         feclearexcept.  Remove symbol versioning code.
19457         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
19458         symbol versioning code.
19459         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
19460         symbol versioning code.
19461         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
19462         feupdateenv.  Remove symbol versioning code.
19463         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
19464         fegetexceptflag.  Remove symbol versioning code.
19465         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
19466         fesetexceptflag.  Remove symbol versioning code.
19467         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
19468         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
19469         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
19470         (__posix_fadvise64_l32): Remove prototype.
19471         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
19472         code.
19474 2014-05-13  Roland McGrath  <roland@hack.frob.com>
19476         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
19477         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
19478         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
19479         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
19481 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
19483         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
19484         current working directory
19486 2014-05-13  Roland McGrath  <roland@hack.frob.com>
19488         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
19489         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
19490         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
19491         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
19492         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
19493         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
19494         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
19495         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
19496         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
19497         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
19498         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
19499         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
19500         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
19501         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
19502         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
19503         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
19504         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
19505         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
19506         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
19507         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
19508         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
19509         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
19510         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
19511         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
19512         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
19513         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
19514         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
19515         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
19516         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
19517         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
19518         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
19519         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
19520         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
19521         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
19522         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
19523         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
19524         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
19525         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
19526         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
19527         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
19528         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
19529         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
19531         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
19532         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
19534         * sysdeps/unix/sysv/linux/arm/Makefile
19535         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
19536         Add rt-aeabi_unwind_cpp_pr1.
19537         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
19538         Add nptl-aeabi_unwind_cpp_pr1.
19539         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
19540         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
19541         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
19542         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
19543         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
19544         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
19546         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
19547         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
19548         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
19549         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
19551         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
19552         Deconditionalize the code that was previously under [RESET_PID].
19553         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
19555         * sysdeps/generic/exit-thread.h: New file.
19556         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
19557         * include/unistd.h (__exit_thread): Remove declaration.
19558         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
19559         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
19560         * csu/libc-start.c: Include <exit-thread.h>.
19561         (LIBC_START_MAIN): Pass no argument to __exit_thread.
19562         * nptl/pthread_create.c: Include <exit-thread.h>.
19563         (start_thread): Call __exit_thread in place of __exit_thread_inline.
19564         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
19565         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
19566         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
19567         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
19568         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
19569         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
19570         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
19571         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
19572         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
19573         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
19574         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
19575         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
19576         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
19577         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
19578         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
19579         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
19581 2014-05-13  Andreas Schwab  <schwab@suse.de>
19583         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
19585 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
19587         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
19588         (__ASSUME_UTIMES): Do not condition on kernel version.
19589         (__ASSUME_PSELECT): Define unconditionally.
19590         (__ASSUME_PPOLL): Likewise.
19591         (__ASSUME_ATFCTS): Likewise.
19592         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
19593         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
19594         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
19595         (__ASSUME_UTIMENSAT): Define unconditionally.
19596         (__ASSUME_PRIVATE_FUTEX): Likewise.
19597         (__ASSUME_FALLOCATE): Likewise.
19598         (__ASSUME_O_CLOEXEC): Likewise.
19599         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
19600         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
19601         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
19602         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
19603         (__ASSUME_IN_NONBLOCK): Likewise.
19604         (__ASSUME_PIPE2): Likewise.
19605         (__ASSUME_EVENTFD2): Likewise.
19606         (__ASSUME_SIGNALFD4): Likewise.
19607         (__ASSUME_DUP3): Likewise.
19608         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19609         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
19610         (__ASSUME_AT_RANDOM): Likewise.
19611         (__ASSUME_PREADV): Likewise.
19612         (__ASSUME_PWRITEV): Likewise.
19613         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
19614         (__ASSUME_F_GETOWN_EX): Define unconditionally.
19615         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
19616         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19617         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
19618         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19619         (__ASSUME_O_CLOEXEC): Define unconditionally.
19620         (__ASSUME_PSELECT): Do not undefine conditionally.
19621         (__ASSUME_PPOLL): Likewise.
19622         (__ASSUME_ATFCTS): Likewise.
19623         (__ASSUME_SET_ROBUST_LIST): Likewise.
19624         (__ASSUME_UTIMENSAT): Likewise.
19625         (__ASSUME_FDATASYNC): Define unconditionally.
19626         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19627         (__ASSUME_SIGFRAME_V2): Likewise.
19628         )__ASSUME_EVENTFD2): Likewise.
19629         (__ASSUME_SIGNALFD4): Likewise.
19630         (__ASSUME_PSELECT): Do not undefine conditionally.
19631         (__ASSUME_PPOLL): Likewise.
19632         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19633         (__ASSUME_PSELECT): Define unconditionally.
19634         (__ASSUME_PPOLL): Likewise.
19635         (__ASSUME_O_CLOEXEC): Likewise.
19636         (__ASSUME_SOCK_CLOEXEC): Likewise.
19637         (__ASSUME_IN_NONBLOCK): Likewise.
19638         (__ASSUME_PIPE2): Likewise.
19639         (__ASSUME_EVENTFD2): Likewise.
19640         (__ASSUME_SIGNALFD4): Likewise.
19641         (__ASSUME_DUP3): Likewise.
19642         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19643         (__ASSUME_O_CLOEXEC): Likewise.
19644         (__ASSUME_SOCK_CLOEXEC): Likewise.
19645         (__ASSUME_IN_NONBLOCK): Likewise.
19646         (__ASSUME_PIPE2): Likewise.
19647         (__ASSUME_EVENTFD2): Likewise.
19648         (__ASSUME_SIGNALFD4): Likewise.
19649         (__ASSUME_DUP3): Likewise.
19650         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19651         (__ASSUME_EVENTFD2): Likewise.
19652         (__ASSUME_SIGNALFD4): Likewise.
19653         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19655 2014-05-12  Andreas Schwab  <schwab@suse.de>
19657         [BZ #16932]
19658         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
19659         (_nss_nis_gethostbyname4_r): Return error if item length is larger
19660         than maximum RPC packet size.
19661         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
19662         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
19663         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
19664         (_nss_nis_getservbyport_r): Likewise.
19666 2014-05-12  Will Newton  <will.newton@linaro.org>
19668         * malloc/Makefile (tests): Add tst-mallopt.
19669         * malloc/tst-mallopt.c: New file.
19671 2014-05-09  Roland McGrath  <roland@hack.frob.com>
19673         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
19674         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
19676 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19678         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
19679         (tst-tlsmod6.so): Likewise.
19681 2014-05-09  Roland McGrath  <roland@hack.frob.com>
19683         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
19685 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
19687         [BZ #16064]
19688         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
19689         and <dl-procinfo.h>.
19690         (__fegetenv): Save SSE state in envp->__eip if supported.
19691         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
19692         envp->__eip if supported.
19693         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
19694         and <dl-procinfo.h>.
19695         (__fesetenv): Always set __eip, __cs_selector, __opcode,
19696         __data_offset and __data_selector in environment to 0.  Set SSE
19697         state if supported.
19698         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
19699         test-fenv-sse.
19700         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
19701         -mfpmath=sse.
19702         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
19704 2014-05-09  Will Newton  <will.newton@linaro.org>
19706         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
19707         and libc_relro_required for ARM.
19708         * sysdeps/arm/preconfigure: Regenerate.
19710 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
19711             Stefan Liebler  <stli@linux.vnet.ibm.com>
19713         * config.make.in (enable-lock-elision): New Makefile variable.
19714         * configure.ac: Likewise.
19715         * configure: Regenerate.
19716         * sysdeps/s390/configure.ac:
19717         Add check for gcc transactions support.
19718         * sysdeps/s390/configure: Regenerate.
19719         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
19720         Build elision files if enabled.
19721         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
19722         Add lock elision support for s390.
19723         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
19724         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
19725         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
19726         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
19727         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
19728         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
19729         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
19730         Likewise.
19731         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
19732         Likewise.
19733         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
19734         Likewise.
19735         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
19736         Likewise.
19737         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
19738         (__lll_timedlock_elision, __lll_lock_elision)
19739         (__lll_unlock_elision, __lll_trylock_elision)
19740         (lll_timedlock_elision, lll_lock_elision)
19741         (lll_unlock_elision, lll_trylock_elision): Add.
19742         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19743         (pthread_mutex_t): Add lock elision support for s390.
19745 2014-05-14  Wilco  <wdijkstr@arm.com>
19747         * sysdeps/arm/fclrexcpt.c: Cleanup.
19748         * sysdeps/arm/fedisblxcpt.c: Cleanup.
19749         * sysdeps/arm/feenablxcpt.c: Cleanup.
19750         * sysdeps/arm/fegetenv.c: Cleanup.
19751         * sysdeps/arm/fegetexcept.c: Cleanup.
19752         * sysdeps/arm/fegetround.c: Cleanup.
19753         * sysdeps/arm/feholdexcpt.c: Cleanup.
19754         * sysdeps/arm/fesetenv.c: Cleanup.
19755         * sysdeps/arm/fesetround.c: Cleanup.
19756         * sysdeps/arm/feupdateenv.c: Cleanup.
19757         * sysdeps/arm/fgetexcptflg.c: Cleanup.
19758         * sysdeps/arm/fraiseexcpt.c: Cleanup.
19759         * sysdeps/arm/fsetexcptflg.c: Cleanup.
19760         * sysdeps/arm/ftestexcept.c: Cleanup.
19761         * sysdeps/arm/get-rounding-mode.h: Cleanup.
19762         * sysdeps/arm/setfpucw.c: Cleanup.
19764 2014-05-09  Will Newton  <will.newton@linaro.org>
19766         * sysdeps/arm/armv7/strcmp.S: New file.
19767         * NEWS: Mention addition of ARMv7 optimized strcmp.
19769 2014-05-08  Roland McGrath  <roland@hack.frob.com>
19771         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
19772         look for %.ac rather than %.in.
19774         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
19775         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
19776         * sysdeps/mach/hurd/configure: Regenerated.
19777         * sysdeps/unix/sysv/linux/configure: Regenerated.
19779         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
19781 2014-05-07  Steve Ellcey  <sellcey@mips.com>
19783         [BZ# 16922]
19784         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
19785         (LONG_SUB): Ditto.
19786         (PTR_SUB): Ditto.
19788 2014-05-07  Andreas Schwab  <schwab@suse.de>
19790         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
19791         when skipping over non-matching result from nscd.
19793 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
19795         [BZ #16876]
19796         * nptl/sockperf.c (client): Check socket return value.
19798         [BZ #16877]
19799         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
19800         nscd security class.
19802 2014-05-06  Roland McGrath  <roland@hack.frob.com>
19804         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
19805         * sysdeps/arm/unwind.h: ... here.
19807 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
19809         [BZ# 16916]
19810         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
19811         Define.
19813 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
19815         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
19816         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
19817         multiarch strncpy for PPC64.
19818         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
19819         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
19820         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
19821         multiarch optimizations.
19822         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19823         (__libc_ifunc_impl_list): Likewise.
19824         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
19825         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
19826         multiarch stpncpy for PPC64.
19827         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
19828         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
19830 2014-05-06  Andreas Schwab  <schwab@suse.de>
19832         [BZ #16912]
19833         * gmon/mcount.c (_MCOUNT_DECL): Use
19834         atomic_compare_and_exchange_bool_acq instead of
19835         catomic_compare_and_exchange_bool_acq.
19837 2014-05-05  Roland McGrath  <roland@hack.frob.com>
19839         * elf/Makefile (others, install-bin): Remove pldd.
19840         (pldd-modules): Variable removed.
19841         ($(objpfx)pldd): Target removed.
19842         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
19843         (others, install-bin): Append pldd here.
19844         ($(objpfx)pldd): New target.
19846         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
19847         to 0, so the first #if test emitted later doesn't see it undefined.
19848         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
19849         * sysdeps/gnu/errlist.c: Regenerated.
19851 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19853         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
19854         [libc_hidden_builtin_def]: Define to empty value.
19855         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
19856         [libc_hidden_builtin_def]: Likewise.
19857         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
19858         [libc_hidden_builtin_def]: Likewise.
19859         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
19860         [libc_hidden_builtin_def]: Likewise.
19861         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
19862         __redirect_memcpy and define ifunc as default hidden symbol.
19863         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
19864         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
19866 2014-05-04  Adam Conrad  <adconrad@0c3.net>
19868         * locale/iso-4217.def: Reintroduce XDR currency.
19870 2014-05-04  Allan McRae  <allan@archlinux.org>
19872         * po/eo.po: Update Esperanto translation from translation project.
19874 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
19876         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
19877         and FEATURE_INDEX_MAX to 1.
19878         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
19880 2014-05-01  Steve Ellcey  <sellcey@mips.com>
19882         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
19883         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
19884         * iconvdata/big5.c (ONE_DIRECTION): Define.
19885         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
19886         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
19887         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
19888         * iconvdata/cp932.c (ONE_DIRECTION): Define.
19889         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
19890         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
19891         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
19892         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
19893         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
19894         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
19895         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
19896         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
19897         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
19898         * iconvdata/gbk.c (ONE_DIRECTION): Define.
19899         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
19900         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
19901         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
19902         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
19903         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
19904         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
19905         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
19906         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
19907         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
19908         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
19909         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
19910         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
19911         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
19912         * iconvdata/iso646.c (ONE_DIRECTION): Define.
19913         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
19914         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
19915         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
19916         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
19917         * iconvdata/johab.c (ONE_DIRECTION): Define.
19918         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
19919         * iconvdata/sjis.c (ONE_DIRECTION): Define.
19920         * iconvdata/t.61.c (ONE_DIRECTION): Define.
19921         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
19922         * iconvdata/tscii.c (ONE_DIRECTION): Define.
19923         * iconvdata/uhc.c (ONE_DIRECTION): Define.
19924         * iconvdata/unicode.c (ONE_DIRECTION): Define.
19925         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
19926         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
19927         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
19929 2014-05-01  Roland McGrath  <roland@hack.frob.com>
19931         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
19932         (_IO_JUMPS_OFFSET): Define to 0.
19934         * nptl/sysdeps/pthread/bits/libc-lock.h
19935         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
19936         (__libc_lock_define_initialized_recursive): Always define using
19937         initializer.  Modern compilers treat uninitialized (implicit zero) and
19938         explicit zero initializers the same (i.e. put the datum in bss).
19940 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
19942         * nscd/nscd-client.h: Include <string.h>.
19944 2014-05-01  David S. Miller  <davem@davemloft.net>
19946         [BZ #16885]
19947         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
19948         multiple zero bytes exist at the end of a string.
19949         Reported by Aurelien Jarno <aurelien@aurel32.net>
19951         * string/test-strcmp.c (check): Add explicit test for situations where
19952         there are multiple zero bytes after the first.
19954 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
19956         [BZ #16890]
19957         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
19958         when compiling wprintf.
19959         * stdio-common/tstdiomisc.c (t3): New function.
19960         (main): Call it.
19962 2014-05-01  Steve Ellcey  <sellcey@mips.com>
19964         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
19965         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
19966         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
19967         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
19969 2014-05-01  Steve Ellcey  <sellcey@mips.com>
19971         * stdlib/longlong.h: Updated from GCC.
19973 2014-05-01  Will Newton  <will.newton@linaro.org>
19974             Bernard Ogden  <bernie.ogden@linaro.org>
19976         * NEWS: Update fixed bug list.
19978         [BZ #15119]
19979         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
19981 2014-04-30  David S. Miller  <davem@davemloft.net>
19983         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
19984         (libc_feholdexcept_setround_sparc_ctx): New function.
19985         (libc_fesetenv_sparc_ctx): Likewise.
19986         (libc_feupdateenv_sparc_ctx): Likewise.
19987         (libc_feholdsetround_sparc_ctx): Likewise.
19988         (libc_feholdexcept_setround_ctx): Define.
19989         (libc_feholdexcept_setroundf_ctx): Likewise.
19990         (libc_feholdexcept_setroundl_ctx): Likewise.
19991         (libc_fesetenv_ctx): Likewise.
19992         (libc_fesetenvf_ctx): Likewise.
19993         (libc_fesetenvl_ctx): Likewise.
19994         (libc_feupdateenv_ctx): Likewise.
19995         (libc_feupdateenvf_ctx): Likewise.
19996         (libc_feupdateenvl_ctx): Likewise.
19997         (libc_feresetround_ctx): Likewise.
19998         (libc_feresetroundf_ctx): Likewise.
19999         (libc_feresetroundl_ctx): Likewise.
20000         (libc_feholdsetround_ctx): Likewise.
20001         (libc_feholdsetroundf_ctx): Likewise.
20002         (libc_feholdsetroundl_ctx): Likewise.
20004         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
20005         with __USE_GNU instead of XOPEN cpp guards.
20007         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
20008         0.
20010         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
20011         with XOPEN cpp guards.
20013 2014-04-30  Julian Brown  <julian@codesourcery.com>
20015         [BZ #16888]
20016         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
20017         handling.
20019 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
20021         [BZ #9894]
20022         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
20023         Change to 2.6.32.
20024         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
20025         * sysdeps/unix/sysv/linux/configure: Regenerated.
20026         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
20027         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
20028         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
20029         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
20030         * README: Update reference to required Linux kernel version.
20031         * manual/install.texi (Linux): Update reference to required Linux
20032         kernel headers version.
20033         * INSTALL: Regenerated.
20035         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
20036         header inclusion.
20037         [POSIX] (limits.h): Likewise.
20038         [POSIX] (math.h): Likewise.
20039         [POSIX] (sys/wait.h): Likewise.
20040         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
20041         function.
20042         [POSIX] (stddef.h): Do not allow header inclusion.
20044 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20046         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
20048 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
20050         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
20051         Return immediately after lll_futex_wake.
20053 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20055         [BZ #16791]
20056         * nscd/nscd-client.h (datahead_init_common): Initialize entire
20057         structure.
20058         (datahead_init_pos): Call datahead_init_common early.
20059         (datahead_init_neg): Likewise.
20061         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
20062         datahead_init_neg): New functions.
20063         * nscd/aicache.c (addhstaiX): Use them.
20064         * nscd/grpcache.c (cache_addgr): Likewise.
20065         * nscd/hstcache.c (cache_addhst): Likewise.
20066         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20067         * nscd/netgroupcache.c (do_notfound): Likewise.
20068         (addgetnetgrentX): Likewise.
20069         (addinnetgrX): Likewise.
20070         * nscd/pwdcache.c (cache_addpw): Likewise.
20071         * nscd/servicescache.c (cache_addserv): Likewise.
20073 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20074             Atsushi Onoe  <atsushi@onoe.org>
20076         [BZ #14308]
20077         [BZ #12994]
20078         [BZ #13651]
20079         * resolv/res_query.c (__libc_res_nsearch): Return if at least
20080         one response is valid.
20081         * resolv/res_send.c (send_dg): Check for validity of other
20082         response if the current response is a referral.
20084 2014-04-29  Steve Ellcey  <sellcey@mips.com>
20086         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
20088 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
20090         [BZ #16823]
20091         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
20092         Always divide by positive zero when computing -Inf result.
20093         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
20094         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
20096 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20098         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
20099         FPSCR if value do not change.
20100         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
20101         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
20102         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
20103         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
20104         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
20105         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
20106         function.
20108 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
20110         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
20111         * sysdeps/unix/sysv/linux/hppa: Move directory from
20112         ports/systeps/unix/sysv/linux/hppa.
20113         * README: Update listing for hppa-*-linux-gnu.
20115 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
20117         [BZ #16754]
20118         * manual/stdio.texi (Hook functions): Fix types of stream hook
20119         functions.
20120         [BZ #16854]
20121         * socket/sys/socket.h: Fix typo in comment.
20123 2014-04-28  Wilco  <wdijkstr@arm.com>
20125         * sysdeps/arm/fenv_private.h: New file.
20126         * sysdeps/arm/math_private.h: New file.
20127         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
20129 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
20131         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
20132         with __int128_t.
20133         (La_x86_64_retval): Likewise.
20135 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
20137         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
20138         fpsr if value didn't change.
20139         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
20140         to fpcr if value didn't change.
20141         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
20142         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
20143         fpsr or fpcr if value didn't change.
20144         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
20145         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
20146         fpcr if value didn't change.
20147         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
20148         to fpsr if value didn't change.
20150 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20152         * nptl/tst-sem3.c: Use test-skeleton.c
20153         (main): Rename to do_test.  Use return instead of
20154         exit.
20155         * nptl/tst-sem4.c: Use test-skeleton.c
20156         (main): Rename to do_test.
20158 2014-04-22  David S. Miller  <davem@davemloft.net>
20160         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
20161         (struct sigaction): New struct member __glibc_reserved0, change
20162         type of sa_flags to int.
20164 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
20166         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
20167         (COUNT_LEADING_ZEROS_0): Define for AArch64.
20169 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20171         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
20172         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
20174 2014-04-22  Will Newton  <will.newton@linaro.org>
20175             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
20177         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
20178         (__longjmp): Add longjmp and longjmp_target SystemTap
20179         probes.
20180         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
20181         (__sigsetjmp): Add setjmp SystemTap probe.
20183 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
20185         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
20186         match manual order.
20188 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20190         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
20192         * sysdeps/powerpc/fpu/fenv_private.h
20193         (libc_feholdexcept_setroundl_ctx): Define to
20194         libc_feholdexcept_setround_ppc_ctx.
20195         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
20196         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
20197         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
20198         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
20200 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
20202         * sysdeps/aarch64/math-tests.h: New file.
20204 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
20206         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
20207         New.
20208         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20209         Check and set bit_AVX2_Usable.
20210         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
20211         macro.
20212         (bit_AVX2): Likewise.
20213         (index_AVX2_Usable): Likewise.
20214         (CPUID_AVX2): Likewise.
20215         (HAS_AVX2): Likewise.
20217 2014-04-17  Will Newton  <will.newton@linaro.org>
20219         * manual/setjmp.texi (System V contexts): Add note that
20220         calling setcontext on a context created by a call to a
20221         signal handler is undefined.  Update text to note that
20222         setcontext from a signal handler is possible but not
20223         recommended.
20225         [BZ #16629]
20226         * stdlib/tst-setcontext.c: Include signal.h.
20227         (main): Check that the signal stack before and
20228         after swapcontext is the same.
20230         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
20231         Re-implement to restore registers in user code and avoid
20232         rt_sigreturn system call.
20234 2014-04-17  Wilco  <wdijkstr@arm.com>
20236         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
20237         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
20238         * math/test-fenv.c: Skip exception trap tests on targets which only
20239         support non-stop mode.
20241 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
20242             Wilco Dijkstra  <wilco.dijkstra@arm.com>
20244         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
20245         (libc_feholdsetround_aarch64_ctx)
20246         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
20247         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
20248         (libc_feresetround_ctx, libc_feresetroundf_ctx)
20249         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
20250         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
20251         (libc_feresetround_noexl_ctx): Define.
20253 2014-04-16  Richard Henderson  <rth@redhat.com>
20255         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
20257         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
20258         unwind tables.
20260         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
20261         const from the non-libc, non-ldso copy.
20263         * sysdeps/alpha/libm-test-ulps: Regenerate.
20265 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
20266             Wilco Dijkstra  <wilco.dijkstra@arm.com>
20268         * sysdeps/aarch64/fpu/math_private.h: New file.
20270 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
20272         * sysdeps/aarch64/libm-test-ulps: Regenerate.
20274 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
20276         [BZ #16275]
20277         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
20278         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
20279         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
20280         Intel MPX bound registers before _dl_profile_fixup.
20281         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
20282         registers after _dl_profile_fixup.  Save and restore bound
20283         registers bnd0/bnd1 when calling _dl_call_pltexit.
20284         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
20285         (LR_BND_OFFSET): Likewise.
20286         (LRV_BND0_OFFSET): Likewise.
20287         (LRV_BND1_OFFSET): Likewise.
20289 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20291         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
20292         to...
20293         * sysdeps/mach/hurd/i386/tls.h: ... here.
20294         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
20295         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
20296         fields.
20298 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20300         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
20302 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20304         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20306 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20308         [BZ #14770]
20309         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
20310         * sysdeps/s390/configure: Regenerate.
20312         [BZ #16824]
20313         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
20314         Set round-to-nearest internally to reduce error accumulation.
20316 2014-04-16  Alan Modra  <amodra@gmail.com>
20318         [BZ #16740]
20319         [BZ #16619]
20320         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
20321         * math/libm-test.inc (frexp_test_data): Add tests.
20322         * NEWS: Update fixed bug list.
20324 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20326         * benchtests/Makefile: Depend on libraries in build directory.
20327         (bench-math): Separate out math tests.
20328         (bench-pthread): Separate out pthread tests.
20329         (bench): Include math and pthread tests.
20331 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
20333         [BZ #16831]
20334         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
20335         _dl_debug_initialize.
20337         * configure.ac: Remove SELinux header check.
20338         * configure: Regenerate.
20339         * nscd/selinux.c (perms): Array of const char* to permission names.
20340         (nscd_request_avc_has_perm): Call security_deny_unknown to find
20341         default policy. Call string_to_security_class and string_to_av_perm to
20342         translate strings. Enforce default policy and call avs_has_perm with
20343         results of translated strings.
20345 2014-04-13  David S. Miller  <davem@davemloft.net>
20347         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20349 2014-04-12  Allan McRae  <allan@archlinux.org>
20351         [BZ #16838]
20352         * manual/string.texi (Collation Functions): Fix qsort argument
20353         order in example.
20354         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20356 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
20358         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
20359         Make the test a no-op if there are no exceptions defined.
20361 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
20363         * elf/Makefile (tests): make tst-dlopen-aout conditional on
20364         enable-hardcoded-path-in-tests
20366 2014-04-11  Will Newton  <will.newton@linaro.org>
20368         * benchtests/Makefile (extra-objs): Add json-lib.o.
20369         (bench-func): Tidy up JSON output.
20370         * benchtests/bench-skeleton.c: Include json-lib.h.
20371         (main): Use JSON library functions to do output of
20372         benchmark results.
20373         * benchtests/bench-timing-type.c (main): Output the
20374         timing type simply, leaving formatting to the user.
20375         * benchtests/json-lib.c: New file.
20376         * benchtests/json-lib.h: Likewise.
20378 2014-04-11  Torvald Riegel  <triegel@redhat.com>
20380         [BZ #15215]
20381         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
20382         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
20383         memory barriers.  Add comments.
20384         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
20385         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
20386         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
20387         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
20388         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
20389         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
20391 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
20393         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
20394         * sysdeps/s390/s390-64/configure.ac: ... this ...
20395         * sysdeps/s390/configure.ac: ... to here.
20396         * sysdeps/s390/s390-32/configure: Delete file.
20397         * sysdeps/s390/s390-64/configure: Delete file.
20398         * sysdeps/s390/configure: Regenerate.
20400 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
20402         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
20404 2014-04-11  Will Newton  <will.newton@linaro.org>
20406         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
20407         to zero if it is not defined elsewhere.  (mtrim): Test
20408         the value of MALLOC_DEBUG with #if rather than #ifdef.
20410 2014-04-10 Torvald Riegel  <triegel@redhat.com>
20412         * benchtests/pthread_once-inputs: New file.
20413         * benchtests/pthread_once-source.c: New file.
20414         * benchtests/README: Update documentation.
20416 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
20417             H.J. Lu  <hongjiu.lu@intel.com>
20419         [BZ #16275]
20420         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
20421         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
20422         * sysdeps/x86_64/configure: Regenerated.
20423         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
20424         macro.
20425         (REGISTER_SAVE_RAX): Likewise.
20426         (REGISTER_SAVE_RCX): Likewise.
20427         (REGISTER_SAVE_RDX): Likewise.
20428         (REGISTER_SAVE_RSI): Likewise.
20429         (REGISTER_SAVE_RDI): Likewise.
20430         (REGISTER_SAVE_R8): Likewise.
20431         (REGISTER_SAVE_R9): Likewise.
20432         (REGISTER_SAVE_BND0): Likewise.
20433         (REGISTER_SAVE_BND1): Likewise.
20434         (REGISTER_SAVE_BND2): Likewise.
20435         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
20436         bound registers when calling _dl_fixup.
20438 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20440         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
20441         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
20442         of its definition.
20443         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
20444         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
20445         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
20446         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
20447         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
20448         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
20449         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
20451 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
20453         [BZ #15514]
20454         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
20455         pathconf(_PC_NAME_MAX).
20457 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20459         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
20460         Remove macro usage.
20461         (__PTHREAD_SPINS): Move definition to ...
20462         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20463         (__PTHREAD_SPINS): ... here.
20464         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20465         (__PTHREAD_SPIN): Likewise.
20466         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
20467         (__PTHREAD_SPIN): Likewise.
20468         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
20469         (__PTHREAD_SPIN): Likewise.
20470         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
20471         (__PTHREAD_SPIN): Likewise.
20472         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
20473         (__PTHREAD_SPIN): Likewise.
20474         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
20475         (__PTHREAD_SPIN): Likewise.
20476         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
20477         (__PTHREAD_SPIN): Likewise.
20478         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
20479         (__PTHREAD_SPIN): Likewise.
20480         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
20481         (__PTHREAD_SPIN): Likewise.
20482         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
20483         (__PTHREAD_SPIN): Likewise.
20484         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
20485         (__PTHREAD_SPIN): Likewise.
20486         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
20487         (__PTHREAD_SPIN): Likewise.
20489         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
20490         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
20491         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
20492         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
20493         imply folder.
20494         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
20495         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
20496         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
20497         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
20498         correct imply path.
20499         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
20500         strlen symbol for non multi-arch builds.
20501         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
20502         missing hidden_def and weak_alias.
20504 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
20506         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
20508 2014-04-07  Will Newton  <will.newton@linaro.org>
20510         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
20511         and contents.  [!_LIBC] Remove #ifndef and contents.
20512         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
20513         * string/memccpy.c (__memccpy): Use ANSI prototype.
20514         * string/memfrob.c (memfrob): Likewise.
20515         * string/strcoll.c (STRCOLL): Likewise.
20516         * string/strlen.c (strlen): Likewise.
20517         * string/strtok.c (STRTOK): Likewise.
20518         * string/strcat.c: Remove unused #include of memcopy.h.
20519         (strcat): Use ANSI prototype.
20520         * string/strchr.c: Remove unused #include of memcopy.h.
20521         (strchr): Use ANSI prototype.
20522         * string/strcmp.c: Remove unused #include of memcopy.h.
20523         (strcmp): Use ANSI prototype.
20524         * string/strcpy.c: Remove unused #include of memcopy.h.
20525         (strcpy): Use ANSI prototype.
20527 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20529         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
20530         * config.make.in (config-extra-cppflags): Set it from
20531         libc_extra_cppflags.
20532         * configure.ac (libc_extra_cflags): Make it accumulate over
20533         configure fragments.
20534         (libc_extra_cppflags): New flag.
20535         * configure. Regenerate.
20536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
20537         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
20538         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
20539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
20541         [BZ #16815]
20542         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
20543         result for FE_DOWNWARD rounding mode.
20544         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
20545         Likewise.
20546         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20548 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
20550         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
20551         in function argument name.
20553 2014-04-03  David Svoboda  <svoboda@cert.org>
20555         [BZ #5666]
20556         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
20557         explicitly.
20559 2014-04-03  Roland McGrath  <roland@hack.frob.com>
20561         * elf/dl-unmap-segments.h: New file.
20562         * sysdeps/generic/ldsodefs.h
20563         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
20564         * elf/dl-close.c: Include <dl-unmap-segments.h>.
20565         * elf/dl-fptr.c: Likewise.
20566         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
20567         * sysdeps/aarch64/tlsdesc.c: Likewise.
20568         * sysdeps/arm/tlsdesc.c: Likewise.
20569         * sysdeps/i386/tlsdesc.c: Likewise.
20570         * sysdeps/tile/dl-runtime.c: Likewise.
20571         * sysdeps/x86_64/tlsdesc.c: Likewise.
20572         * elf/dl-load.h: New file.
20573         * elf/dl-load.c: Include it.
20574         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
20575         Macros moved to dl-load.h.
20576         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
20577         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
20578         Use _dl_unmap_segments in place of __munmap.
20579         Break out segment-mapping loop into ...
20580         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
20582 2014-04-03  Will Newton  <will.newton@linaro.org>
20584         * elf/dl-lookup.c (do_lookup_x): Remove comment
20585         referring to nested function and move variable
20586         declarations down to before first use.
20588 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
20590         [BZ #16799]
20591         [BZ #16800]
20592         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
20593         with 0 numerator.
20594         * math/s_catanf.c (__catanf): Likewise.
20595         * math/s_catanh.c (__catanh): Likewise.
20596         * math/s_catanhf.c (__catanhf): Likewise.
20597         * math/s_catanhl.c (__catanhl): Likewise.
20598         * math/s_catanl.c (__catanl): Likewise.
20599         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
20600         by positive zero when computing -Inf result.
20601         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
20602         (catanh_test): Likewise.
20603         * sysdeps/i386/fpu/libm-test-ulps: Update.
20604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20606         [BZ #16789]
20607         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
20608         instead of using underflowing value in computing result.
20609         * math/s_clog10.c (__clog10): Likewise.
20610         * math/s_clog10f.c (__clog10f): Likewise.
20611         * math/s_clog10l.c (__clog10l): Likewise.
20612         * math/s_clogf.c (__clogf): Likewise.
20613         * math/s_clogl.c (__clogl): Likewise.
20614         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
20615         (clog10_test): Likewise.
20616         * sysdeps/i386/fpu/libm-test-ulps: Update.
20617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20619 2014-04-02  Alan Modra  <amodra@gmail.com>
20621         [BZ #16739]
20622         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
20623         output when value is near a power of two.  Use int64_t for lx and
20624         remove casts.  Use decimal rather than hex exponent constants.
20625         Don't use long double multiplication when double will suffice.
20626         * math/libm-test.inc (nextafter_test_data): Add tests.
20627         * NEWS: Add 16739 and 16786 to bug list.
20629         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
20631         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
20633 2014-04-01  Will Newton  <will.newton@linaro.org>
20635         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
20636         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
20638 2014-04-01  Florian Weimer  <fweimer@redhat.com>
20640         [BZ #13347]
20641         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
20642         * nptl/tst-setuid2.c: New file.
20643         * nptl/Makefile (xtests): Add tst-setuid2.
20645 2014-04-01  Alan Modra  <amodra@gmail.com>
20647         [BZ #16786]
20648         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
20650 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
20652         [BZ #6803]
20653         [BZ #6804]
20654         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
20655         set errno as appropriate.
20656         * math/w_scalbf.c (__scalbf): Likewise.
20657         * math/w_scalbl.c (__scalbl): Likewise.
20658         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
20659         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
20660         * math/libm-test.inc (scalb_test_data): Add errno expectations.
20661         Add more NaN tests.
20663         [BZ #16349]
20664         * math/w_atan2.c: Include <errno.h>.
20665         (__atan2): Set errno for result underflowing to zero.
20666         * math/w_atan2f.c: Include <errno.h>.
20667         (__atan2f): Set errno for result underflowing to zero.
20668         * math/w_atan2l.c: Include <errno.h>.
20669         (__atan2l): Set errno for result underflowing to zero.
20670         * math/auto-libm-test-in: Don't allow missing errno for some atan2
20671         tests.
20672         * math/auto-libm-test-out: Regenerated.
20674 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20676         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
20677         Encode instruction correctly in little endian.
20678         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
20679         Likewise.
20680         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
20681         Likewise.
20682         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
20683         Likewise.
20684         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
20685         Likewise.
20687 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
20689         [BZ #9894]
20690         * sysdeps/unix/sysv/linux/kernel-features.h
20691         [__sparc__ && !__arch64__ && !__sparc_v9__]
20692         (__ASSUME_SET_ROBUST_LIST): Do not define.
20693         [__sparc__ && !__arch64__ && !__sparc_v9__]
20694         (__ASSUME_FUTEX_LOCK_PI): Likewise.
20695         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
20696         Likewise.
20697         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20698         (__ASSUME_FUTEX_LOCK_PI): Undefine.
20699         (__ASSUME_REQUEUE_PI): Likewise.
20700         (__ASSUME_SET_ROBUST_LIST): Likewise.
20701         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20702         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
20703         Undefine.
20704         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20705         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
20706         Likewise.
20707         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
20708         Likewise.
20709         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
20710         Likewise.
20711         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20712         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
20713         Undefine.
20714         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
20715         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
20716         Likewise.
20718         [BZ #16648]
20719         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20720         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
20721         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
20723 2014-03-31  Will Newton  <will.newton@linaro.org>
20725         * benchtests/Makefile (bench): Add ffs and ffsll to list
20726         of tests.
20727         * benchtests/ffs-inputs: New file.
20728         * benchtests/ffsll-inputs: Likewise.
20730 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
20732         [BZ #16770]
20733         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
20734         too large before casting to int.
20735         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
20736         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
20737         * math/libm-test.inc (scalb_test_data): Add more tests.
20739 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20741         * benchtests/Makefile (DETAILED_OPT): New make option.
20742         (bench-func): Run benchmark program with -d if DETAILED_OPT is
20743         set.
20744         * benchtests/bench-skeleton.c: Include stdbool.h.
20745         (main): Store and print timings per input.
20746         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
20747         member to each argument value.
20748         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
20749         (_print_arg_data): Initialize per-input timing to 0.
20751         * benchtests/Makefile (timing-type): New binary.
20752         (bench-clean): Also remove bench-timing-type.
20753         (bench): New target for timing-type.
20754         (bench-func): Print output in JSON format.
20755         * benchtests/bench-skeleton.c (main): Print output in JSON
20756         format.
20757         * benchtests/bench-timing-type.c: New file.
20758         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
20759         (TIMING_PRINT_STATS): Remove.
20760         * benchtests/scripts/bench.py (_print_arg_data): Store variant
20761         name separately.
20763         * benchtests/bench-modf.c: Remove.
20764         * benchtests/modf-inputs: New inputs file.
20766 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
20768         [BZ #16362]
20769         * math/s_clog10.c (M_PI_LOG10E): New macro.
20770         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
20771         imaginary parts are 0.
20772         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
20773         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
20774         imaginary parts are 0.
20775         * math/s_clog10l.c (M_PI_LOG10El): New macro.
20776         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
20777         imaginary parts are 0.
20778         * math/libm-test.inc (clog10_test_data): Update expected results
20779         for when real and imaginary parts are 0.
20781 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
20783         * elf/dl-load.c: Finish conversion of __builtin_expect into
20784         __glibc_{un}likely.
20786 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
20788         [BZ #16348]
20789         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
20790         1+x for argument with exponent below -67.
20791         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
20792         Likewise.
20793         * math/auto-libm-test-in: Add more tests of exp.
20794         * math/auto-libm-test-out: Regenerated.
20796 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20798         [BZ #16759]
20799         * inet/getnetgrent_r.c (get_nonempty_val): New function.
20800         (nscd_getnetgrent): Use it.
20802         [BZ #16760]
20803         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
20804         of stpcpy.
20806 2014-03-27  Andi Kleen  <ak@linux.intel.com>
20808         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
20809         (lll_robust_lock, lll_cond_lock, lll_timedlock)
20810         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
20811         (lll_robust_unlock): Remove out of line section. Use cfi
20812         intrinsics.
20813         (LLL_STUB_UNWIND_INFO*): Remove.
20814         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
20815         (lll_robust_lock, lll_cond_lock, lll_timedlock)
20816         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
20817         (lll_robust_unlock): Remove out of line section. Use cfi
20818         intrinsics.
20819         (LLL_STUB_UNWIND_INFO*): Remove.
20821 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20823         [BZ #16758]
20824         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
20825         blank values.
20827 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
20829         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
20831 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
20833         [BZ #16198]
20834         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
20835         fnstenv.
20836         * math/test-fenv-preserve.c: New file.
20837         * math/Makefile (tests): Add test-fenv-preserve.
20839 2014-03-26  Will Newton <will.newton@linaro.org>
20841         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
20843 2014-03-25  Roland McGrath  <roland@hack.frob.com>
20845         * scripts/versionlist.awk: Partition the version sets and emit all
20846         GLIBC_* (sorted) before all others (sorted).
20848 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
20850         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
20851         GLIBC_2.2.5 version.
20853 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20855         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
20856         calls.
20858         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
20859         previous change.
20861         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20863 2014-03-25  Andreas Schwab  <schwab@suse.de>
20865         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
20866         label to be used after in6ailist is initialized.
20868 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20870         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20871         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
20873 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
20875         [BZ #16357]
20876         [BZ #16599]
20877         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
20878         min_plus_half.
20879         (fp_formats): Update initializers.
20880         (init_fp_formats): Initialize new field.
20881         (output_for_one_input_case): Allow underflow for results up to
20882         min_plus_half.
20883         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
20884         * math/auto-libm-test-in: Don't mark some underflows from asin and
20885         atanh as spurious.
20886         * math/auto-libm-test-out: Regenerated.
20887         * sysdeps/i386/fpu/libm-test-ulps: Update.
20888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20890 2014-03-25  Andreas Schwab  <schwab@suse.de>
20892         * libio/Makefile (tst-ftell-partial-wide-ENV)
20893         (tst-ftell-active-handler-ENV): Define.
20895 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
20897         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
20899 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
20901         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
20903 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
20905         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
20906         * sysdeps/x86_64/fpu/multiarch/e_exp.c
20907         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
20909 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
20911         [BZ #16634]
20912         * elf/dl-load.c (open_verify): Add mode parameter.
20913         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
20914         (open_path): Change from boolean 'secure' to complete flag 'mode'
20915         (_dl_map_object): Adjust.
20916         * elf/Makefile (tests): Add tst-dlopen-aout.
20917         * elf/tst-dlopen-aout.c: New test.
20919 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
20921         [BZ #16714]
20922         * sysdeps/unix/sysv/linux/s390/bits/stat.h
20923         (struct stat): Rename member pad0 to __glibc_reserved0.
20925         [BZ #16712]
20926         * sysdeps/s390/s390-32/bits/wordsize.h
20927         (__WORDSIZE32_SIZE_ULONG): New define.
20928         * sysdeps/s390/s390-64/bits/wordsize.h
20929         (__WORDSIZE32_SIZE_ULONG): Likewise.
20930         * sysdeps/generic/stdint.h (SIZE_MAX):
20931         Define as UL if __WORDSIZE32_SIZE_ULONG.
20933         [BZ #16713]
20934         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
20935         (__glibc_reserved0): New variable.
20936         (sa_flags): Change type to int.
20938         * posix/Makefile (before-compile): Use += before-compile instead
20939         of a :=.
20941         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20942         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
20944 2014-03-20  Andreas Schwab  <schwab@suse.de>
20946         [BZ #16743]
20947         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
20948         non-matching result from nscd.
20950 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20952         * scripts/bench.py: Moved to ...
20953         * benchtests/scripts/bench.py: ... here.
20954         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
20956 2014-03-24  Andreas Schwab  <schwab@suse.de>
20958         [BZ #16002]
20959         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
20960         alloca_account and account alloca use for struct in6ailist.
20962 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
20964         [BZ #16284]
20965         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
20966         rounding mode to recompute results that overflow to infinity or
20967         underflow to zero.
20968         * math/auto-libm-test-in: Don't mark tests as expected to fail for
20969         bug 16284.
20970         * math/auto-libm-test-out: Regenerated.
20971         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
20972         (ccosh_test): Likewise.
20973         (csin_test_data): Use plus_oflow.
20974         (csin_test): Use ALL_RM_TEST.
20975         (csinh_test_data): Use plus_oflow.
20976         (csinh_test): Use ALL_RM_TEST.
20977         * sysdeps/i386/fpu/libm-test-ulps: Update.
20978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20980 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
20982         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
20983         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
20984         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
20986         [BZ #16731]
20987         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
20988         when x - 1 is zero.
20989         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
20990         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
20991         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20992         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
20993         argument is 1.
20994         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
20995         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
20996         zero.
20997         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
20998         * sysdeps/i386/fpu/libm-test-ulps: Update.
20999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21001 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21003         * scripts/bench.pl: Remove file.
21004         * scripts/bench.py: New benchmark script.
21005         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
21006         * benchtests/README: Mention python dependency.
21007         * scripts/pylintrc: New file.
21008         * scripts/pylint: New file.
21010         * bits/mathdef.h: Use #ifdef instead of #if.
21011         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
21012         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21013         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
21014         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21015         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
21016         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21018 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21019             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21021         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
21022         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
21023         and strpbrk-ppc64 objects.
21024         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21025         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
21026         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
21027         multiarch strpbrk for POWER7.
21028         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
21029         multiarch strpbrk for PPC64.
21030         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
21031         ifunc selector.
21032         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
21033         strpbrk for POWER7.
21035 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
21037         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
21038         (atan_test): Likewise.
21039         (atanh_test_data): Use NO_TEST_INLINE for two tests.
21040         (atanh_test): Use ALL_RM_TEST.
21041         (atan2_test_data): Likewise.
21042         (cabs_test): Likewise.
21043         (cacosh_test): Likewise.
21044         (carg_test): Likewise.
21045         (casin_test): Likewise.
21046         (casinh_test): Likewise.
21047         (cbrt_test): Likewise.
21048         (csqrt_test): Likewise.
21049         (erf_test): Likewise.
21050         (erfc_test): Likewise.
21051         (pow10_test): Likewise.
21052         (exp2_test): Likewise.
21053         (hypot_test): Likewise.
21054         (j0_test): Likewise.
21055         (j1_test): Likewise.
21056         (lgamma_test): Likewise.
21057         (gamma_test): Likewise.
21058         (sincos_test): Likewise.
21059         (tanh_test): Likewise.
21060         (y0_test): Likewise.
21061         (y1_test): Likewise.
21062         * sysdeps/i386/fpu/libm-test-ulps: Update.
21063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21065 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21067         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
21068         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
21069         and strcspn-ppc64 objects.
21070         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21071         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
21072         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
21073         multiarch strcspn for POWER7.
21074         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
21075         multiarch strcspn for PPC64.
21076         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
21077         ifunc selector.
21078         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
21079         strcspn for POWER7.
21081 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
21083         * math/gen-libm-test.pl (generate_testfile): Expect only function
21084         name as argument to AUTO_TESTS_* and pass results for all rounding
21085         modes to parse_args.
21086         (parse_auto_input): Separate inputs of automatic tests from
21087         outputs before storing in %auto_tests.
21088         * math/libm-test.inc (acos_test_data): Update call to
21089         AUTO_TESTS_f_f.
21090         (acos_test): Use ALL_RM_TEST.
21091         (acos_tonearest_test_data): Remove.
21092         (acos_test_tonearest): Likewise.
21093         (acos_towardzero_test_data): Likewise.
21094         (acos_test_towardzero): Likewise.
21095         (acos_downward_test_data): Likewise.
21096         (acos_test_downward): Likewise.
21097         (acos_upward_test_data): Likewise.
21098         (acos_test_upward): Likewise.
21099         (acosh_test_data): Update call to AUTO_TESTS_f_f.
21100         (asin_test_data): Likewise.
21101         (asin_test): Use ALL_RM_TEST.
21102         (asin_tonearest_test_data): Remove.
21103         (asin_test_tonearest): Likewise.
21104         (asin_towardzero_test_data): Likewise.
21105         (asin_test_towardzero): Likewise.
21106         (asin_downward_test_data): Likewise.
21107         (asin_test_downward): Likewise.
21108         (asin_upward_test_data): Likewise.
21109         (asin_test_upward): Likewise.
21110         (asinh_test_data): Update call to AUTO_TESTS_f_f.
21111         (atan_test_data): Likewise.
21112         (atanh_test_data): Likewise.
21113         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
21114         (cabs_test_data): Update call to AUTO_TESTS_c_f.
21115         (carg_test_data): Likewise.
21116         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
21117         (ccos_test_data): Update call to AUTO_TESTS_c_c.
21118         (ccosh_test_data): Likewise.
21119         (cexp_test_data): Likewise.
21120         (clog_test_data): Likewise.
21121         (clog10_test_data): Likewise.
21122         (cos_test_data): Update call to AUTO_TESTS_f_f.
21123         (cos_test): Use ALL_RM_TEST.
21124         (cos_tonearest_test_data): Remove.
21125         (cos_test_tonearest): Likewise.
21126         (cos_towardzero_test_data): Likewise.
21127         (cos_test_towardzero): Likewise.
21128         (cos_downward_test_data): Likewise.
21129         (cos_test_downward): Likewise.
21130         (cos_upward_test_data): Likewise.
21131         (cos_test_upward): Likewise.
21132         (cosh_test_data): Update call to AUTO_TESTS_f_f.
21133         (cosh_test): Use ALL_RM_TEST.
21134         (cosh_tonearest_test_data): Remove.
21135         (cosh_test_tonearest): Likewise.
21136         (cosh_towardzero_test_data): Likewise.
21137         (cosh_test_towardzero): Likewise.
21138         (cosh_downward_test_data): Likewise.
21139         (cosh_test_downward): Likewise.
21140         (cosh_upward_test_data): Likewise.
21141         (cosh_test_upward): Likewise.
21142         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
21143         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
21144         (ctan_test_data): Likewise.
21145         (ctan_test): Use ALL_RM_TEST.
21146         (ctan_tonearest_test_data): Remove.
21147         (ctan_test_tonearest): Likewise.
21148         (ctan_towardzero_test_data): Likewise.
21149         (ctan_test_towardzero): Likewise.
21150         (ctan_downward_test_data): Likewise.
21151         (ctan_test_downward): Likewise.
21152         (ctan_upward_test_data): Likewise.
21153         (ctan_test_upward): Likewise.
21154         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
21155         (ctanh_test): Use ALL_RM_TEST.
21156         (ctanh_tonearest_test_data): Remove.
21157         (ctanh_test_tonearest): Likewise.
21158         (ctanh_towardzero_test_data): Likewise.
21159         (ctanh_test_towardzero): Likewise.
21160         (ctanh_downward_test_data): Likewise.
21161         (ctanh_test_downward): Likewise.
21162         (ctanh_upward_test_data): Likewise.
21163         (ctanh_test_upward): Likewise.
21164         (erf_test_data): Update call to AUTO_TESTS_f_f.
21165         (erfc_test_data): Likewise.
21166         (exp_test_data): Likewise.
21167         (exp_test): Use ALL_RM_TEST.
21168         (exp_tonearest_test_data): Remove.
21169         (exp_test_tonearest): Likewise.
21170         (exp_towardzero_test_data): Likewise.
21171         (exp_test_towardzero): Likewise.
21172         (exp_downward_test_data): Likewise.
21173         (exp_test_downward): Likewise.
21174         (exp_upward_test_data): Likewise.
21175         (exp_test_upward): Likewise.
21176         (exp10_test_data): Update call to AUTO_TESTS_f_f.
21177         (exp10_test): Use ALL_RM_TEST.
21178         (exp10_tonearest_test_data): Remove.
21179         (exp10_test_tonearest): Likewise.
21180         (exp10_towardzero_test_data): Likewise.
21181         (exp10_test_towardzero): Likewise.
21182         (exp10_downward_test_data): Likewise.
21183         (exp10_test_downward): Likewise.
21184         (exp10_upward_test_data): Likewise.
21185         (exp10_test_upward): Likewise.
21186         (exp2_test_data): Update call to AUTO_TESTS_f_f.
21187         (expm1_test_data): Likewise.
21188         (expm1_test): Use ALL_RM_TEST.
21189         (expm1_tonearest_test_data): Remove.
21190         (expm1_test_tonearest): Likewise.
21191         (expm1_towardzero_test_data): Likewise.
21192         (expm1_test_towardzero): Likewise.
21193         (expm1_downward_test_data): Likewise.
21194         (expm1_test_downward): Likewise.
21195         (expm1_upward_test_data): Likewise.
21196         (expm1_test_upward): Likewise.
21197         (fma_test_data): Update call to AUTO_TESTS_fff_f.
21198         (fma_test): Use ALL_RM_TEST.
21199         (fma_towardzero_test_data): Remove.
21200         (fma_test_towardzero): Likewise.
21201         (fma_downward_test_data): Likewise.
21202         (fma_test_downward): Likewise.
21203         (fma_upward_test_data): Likewise.
21204         (fma_test_upward): Likewise.
21205         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
21206         (j0_test_data): Update call to AUTO_TESTS_f_f.
21207         (j1_test_data): Likewise.
21208         (jn_test_data): Update call to AUTO_TESTS_if_f.
21209         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
21210         (log_test_data): Update call to AUTO_TESTS_f_f.
21211         (log10_test_data): Likewise.
21212         (log1p_test_data): Likewise.
21213         (log2_test_data): Likewise.
21214         (pow_test_data): Update call to AUTO_TESTS_ff_f.
21215         (pow_tonearest_test_data): Likewise.
21216         (sin_test_data): Update call to AUTO_TESTS_f_f.
21217         (sin_test): Use ALL_RM_TEST.
21218         (sin_tonearest_test_data): Remove.
21219         (sin_test_tonearest): Likewise.
21220         (sin_towardzero_test_data): Likewise.
21221         (sin_test_towardzero): Likewise.
21222         (sin_downward_test_data): Likewise.
21223         (sin_test_downward): Likewise.
21224         (sin_upward_test_data): Likewise.
21225         (sin_test_upward): Likewise.
21226         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
21227         (sinh_test_data): Update call to AUTO_TESTS_f_f.
21228         (sinh_test): Use ALL_RM_TEST.
21229         (sinh_tonearest_test_data): Remove.
21230         (sinh_test_tonearest): Likewise.
21231         (sinh_towardzero_test_data): Likewise.
21232         (sinh_test_towardzero): Likewise.
21233         (sinh_downward_test_data): Likewise.
21234         (sinh_test_downward): Likewise.
21235         (sinh_upward_test_data): Likewise.
21236         (sinh_test_upward): Likewise.
21237         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
21238         (sqrt_test): Use ALL_RM_TEST.
21239         (sqrt_tonearest_test_data): Remove.
21240         (sqrt_test_tonearest): Likewise.
21241         (sqrt_towardzero_test_data): Likewise.
21242         (sqrt_test_towardzero): Likewise.
21243         (sqrt_downward_test_data): Likewise.
21244         (sqrt_test_downward): Likewise.
21245         (sqrt_upward_test_data): Likewise.
21246         (sqrt_test_upward): Likewise.
21247         (tan_test_data): Update call to AUTO_TESTS_f_f.
21248         (tan_test): Use ALL_RM_TEST.
21249         (tan_tonearest_test_data): Remove.
21250         (tan_test_tonearest): Likewise.
21251         (tan_towardzero_test_data): Likewise.
21252         (tan_test_towardzero): Likewise.
21253         (tan_downward_test_data): Likewise.
21254         (tan_test_downward): Likewise.
21255         (tan_upward_test_data): Likewise.
21256         (tan_test_upward): Likewise.
21257         (tanh_test_data): Update call to AUTO_TESTS_f_f.
21258         (tgamma_test_data): Likewise.
21259         (y0_test_data): Likewise.
21260         (y1_test_data): Likewise.
21261         (yn_test_data): Update call to AUTO_TESTS_if_f.
21262         (main): Do not call removed functions.
21264 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
21266         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
21267         (ldexp_test_data): Remove.
21268         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
21269         scalbn_test_data.
21270         (scalb_test): Use ALL_RM_TEST.
21272 2014-03-19  Andreas Schwab  <schwab@suse.de>
21274         * nscd/nscd.service: Also invalidate netgroup cache on reload.
21276 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
21278         [BZ #16649]
21279         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21280         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
21281         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
21282         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21283         (__ASSUME_PREADV): Undefine.
21284         (__ASSUME_PWRITEV): Likewise.
21286 2014-03-18  Roland McGrath  <roland@hack.frob.com>
21288         * bits/mman-linux.h: Add comment about non-Linux use.
21289         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
21290         bits/mman-linux.h resting place.
21292         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
21293         * bits/mman-linux.h: ... here.
21295 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21297         * conform/conformtest.pl: Add standard definition when calling C
21298         preprocessor on data files.
21299         (checknamespace): Remove unused variable.
21301 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
21303         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
21304         minus_oflow, plus_uflow and minus_uflow in expected results.
21305         * math/libm-test.inc (scalbn_test_data): Add more tests of
21306         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
21307         minus_uflow.
21308         (scalbn_test): Use ALL_RM_TEST.
21309         (scalbln_test_data): Add more tests of negative arguments.  Use
21310         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
21311         (scalbln_test): Use ALL_RM_TEST.
21313 2014-03-18  Roland McGrath  <roland@hack.frob.com>
21315         * scripts/abilist.awk: Ignore symbols marked with .hidden.
21317 2014-03-18  Will Newton  <will.newton@linaro.org>
21319         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
21320         inaccurate comment.
21322 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
21324         * Makerules [!subdir] (check-abi): Exit with error status if a
21325         test failed.
21327 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
21329         * math/libm-test.inc (nearbyint_test_data): Include all tests used
21330         for rint.  Include results for all rounding modes.
21331         (nearbyint_test): Use ALL_RM_TEST.
21332         (rint_test_data): Include all tests used for nearbyint.
21334 2014-03-17  Will Newton  <will.newton@linaro.org>
21336         * nptl/sysdeps/pthread/pthread.h: Revert previous
21337         change.
21339         * sysdeps/generic/ldsodefs.h: Revert previous
21340         change.
21342         * libio/genops.c: Revert previous change.
21343         * libio/libioP.h: Likewise.
21344         * stdio-common/vfprintf.c: Likewise.
21346         * sysdeps/generic/math_private.h: Revert previous
21347         change.
21349         * sysdeps/generic/math_private.h: Check whether
21350         HAVE_RM_CTX is defined with #ifdef rather
21351         than #if.
21353         * argp/argp-fmtstream.h: Check whether
21354         __STRICT_ANSI__ is defined with #ifdef rather
21355         than #if.
21356         * argp/argp.h: Likewise.
21358         * libio/genops.c: Check whether
21359         _IO_JUMPS_OFFSET is defined with #ifdef rather
21360         than #if.
21361         * libio/libioP.h: Likewise.
21362         * stdio-common/vfprintf.c: Likewise.
21364         * sysdeps/generic/ldsodefs.h: Check whether
21365         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
21366         than #if.
21368         * nptl/sysdeps/pthread/pthread.h: Check
21369         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
21370         its value.
21372 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21374         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
21375         setting O_APPEND.
21376         * libio/tst-ftell-active-handler.c (do_append_test): Add a
21377         test case.
21379         [BZ #16680]
21380         * libio/fileops.c (_IO_file_open): Seek to end of file but
21381         don't cache the offset.
21382         (get_file_offset): Remove function.
21383         (do_ftell): Use cached offset when available.
21384         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
21385         don't cache the offset.
21386         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
21387         case.
21388         (do_one_test): Call it.
21389         (do_ftell_test): Fix up expected old offset for a+ mode.
21390         * libio/wfileops.c (do_ftell_wide): Used cached offset when
21391         available.
21393         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
21394         up test status with function return status.
21395         (do_write_test): Likewise.
21396         (do_append_test): Likewise.
21398         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
21399         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
21400         Remove.
21402 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
21404         * math/gen-libm-test.pl (parse_args): Handle results specified for
21405         each rounding mode separately.
21406         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
21407         tests and results from lrint_tonearest_test_data,
21408         lrint_towardzero_test_data, lrint_downward_test_data and
21409         lrint_upward_test_data.
21410         (lrint_test): Use ALL_RM_TEST.
21411         (lrint_tonearest_test_data): Remove.
21412         (lrint_test_tonearest): Likewise.
21413         (lrint_towardzero_test_data): Likewise.
21414         (lrint_test_towardzero): Likewise.
21415         (lrint_downward_test_data): Likewise.
21416         (lrint_test_downward): Likewise.
21417         (lrint_upward_test_data): Likewise.
21418         (lrint_test_upward): Likewise.
21419         (llrint_test_data): Merge in per-rounding-mode tests and results
21420         from llrint_tonearest_test_data, llrint_towardzero_test_data,
21421         llrint_downward_test_data and llrint_upward_test_data.
21422         (llrint_test): Use ALL_RM_TEST.
21423         (llrint_tonearest_test_data): Remove.
21424         (llrint_test_tonearest): Likewise.
21425         (llrint_towardzero_test_data): Likewise.
21426         (llrint_test_towardzero): Likewise.
21427         (llrint_downward_test_data): Likewise.
21428         (llrint_test_downward): Likewise.
21429         (llrint_upward_test_data): Likewise.
21430         (llrint_test_upward): Likewise.
21431         (rint_test_data): Merge in per-rounding-mode tests and results
21432         from rint_tonearest_test_data, rint_towardzero_test_data,
21433         rint_downward_test_data and rint_upward_test_data.  Add
21434         per-rounding-mode results for tests not in those arrays.
21435         (rint_test): Use ALL_RM_TEST.
21436         (rint_tonearest_test_data): Remove.
21437         (rint_test_tonearest): Likewise.
21438         (rint_towardzero_test_data): Likewise.
21439         (rint_test_towardzero): Likewise.
21440         (rint_downward_test_data): Likewise.
21441         (rint_test_downward): Likewise.
21442         (rint_upward_test_data): Likewise.
21443         (rint_test_upward): Likewise.
21444         (main): Don't call removed functions.
21446 2014-03-14  Roland McGrath  <roland@hack.frob.com>
21448         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
21449         "Compiled on ..." crapola.  It is anti-useful.
21451 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
21453         * scripts/evaluate-test.sh: Handle fourth argument to determine
21454         whether test run should stop on failure.
21455         * Makeconfig (stop-on-test-failure): New variable.
21456         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
21457         $(stop-on-test-failure).
21458         * Makefile (tests): Give a summary of results from testing and
21459         exit with failure status if they include an ERROR or FAIL.
21460         (xtests): Likewise.
21461         * manual/install.texi (Configuring and compiling): Mention
21462         stop-on-test-failure=y.
21463         * INSTALL: Regenerated.
21465 2014-03-14  Roland McGrath  <roland@hack.frob.com>
21467         * scripts/versionlist.awk: New file.
21468         * Makerules [$(build-shared) = yes]
21469         (postclean-generated): Add Versions.def, not Versions.def.v and
21470         Versions.def.v.i.
21471         ($(common-objpfx)Versions.def.v.i): Target removed.
21472         ($(common-objpfx)Versions.def): New target.
21473         ($(common-objpfx)Versions.all): Depend on that rather that
21474         $(common-objpfx)Versions.def.v.
21475         * Versions.def: File removed.
21477         * Makeconfig (+gccwarn): Add -Wundef.
21478         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
21479         a dl-sysdep.h breaking its contract.
21480         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
21481         * include/stackinfo.h: New file.
21482         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
21483         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
21484         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
21485         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
21486         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
21487         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
21488         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21489         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21490         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21491         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21492         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21493         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
21494         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21495         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21496         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21498 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21500         [BZ #16707]
21501         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
21502         implementation.
21503         * math/libm-test.inc (round_test_data): Add more tests.
21505         [BZ #16706]
21506         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
21507         implementation.
21508         * math/libm-test.inc (nearbyint_test_data): Add more tests.
21510         [BZ #16701]
21511         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
21512         implementation.
21513         * math/libm-test.inc (ceil_test_data): Add more tests.
21515         * math/libm-test.inc (trunc_test_data): Add more tests related to
21516         BZ#16414.
21518 2014-03-14  Roland McGrath  <roland@hack.frob.com>
21520         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
21521         with #if rather than #ifdef.
21522         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
21524 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
21526         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
21527         first.  Disable AVX-512 GCC support if assembler doesn't support
21528         it.
21529         * sysdeps/x86_64/configure: Regenerated.
21531 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
21533         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
21534         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
21535         (__old_pthread_attr_setstack): Likewise.
21536         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
21537         [!_STACK_GROWS_DOWN]: Likewise.
21539 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
21541         * config.make.in (have-bash2): Delete.
21542         * configure.ac (libc_cv_have_bash2): Delete.
21543         * configure: Regenerate.
21544         * elf/Makefile (common-ldd-rewrite): Rename to ...
21545         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
21546         (sh-ldd-rewrite): Delete.
21547         (bash-ldd-rewrite): Delete.
21548         (have-bash2): Delete checks.
21549         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
21550         ldd-rewrite.
21552         * config.make.in (have-ksh): Delete.
21553         (KSH): Delete.
21554         * configure.ac (libc_cv_have_ksh): Delete.
21555         * configure: Regenerate.
21557         * elf/Makefile: Delete $(have-ksh) check.
21558         ($(objpfx)sotruss): Change KSH to BASH.
21559         * elf/sotruss.ksh: Rename to ...
21560         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
21561         function style to match POSIX.  Drop ksh vim mode setting.
21563         * manual/time.texi (Specifying the Time Zone with TZ): Change
21564         Tuesday to Thursday.
21566         * debug/tst-longjmp_chk2.c: Update header comment.
21567         (stackoverflow_handler): Add comment.  Call assert on pass value.
21569 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
21571         [BZ #16194]
21572         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
21573         (HAVE_AVX512_ASM_SUPPORT): Likewise.
21574         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
21575         (La_x86_64_vector): Add zmm.
21576         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
21577         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
21578         ($(objpfx)tst-audit10): New target.
21579         ($(objpfx)tst-audit10.out): Likewise.
21580         (tst-audit10-ENV): New.
21581         (AVX512-CFLAGS): Likewise.
21582         (CFLAGS-tst-audit10.c): Likewise.
21583         (CFLAGS-tst-auditmod10a.c): Likewise.
21584         (CFLAGS-tst-auditmod10b.c): Likewise.
21585         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
21586         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
21587         * sysdeps/x86_64/configure: Regenerated.
21588         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
21589         AVX-512 zmm register support.
21590         (_dl_x86_64_save_sse): Likewise.
21591         (_dl_x86_64_restore_sse): Likewise.
21592         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
21593         size vector registers.
21594         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
21595         (ZMM_SIZE): Likewise.
21596         * sysdeps/x86_64/tst-audit10.c: New file.
21597         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
21598         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
21600 2014-03-13  Roland McGrath  <roland@hack.frob.com>
21602         * configure.ac (HAVE_EHDR_START): New check.
21603         * configure: Regenerated.
21604         * config.h.in (HAVE_EHDR_START): New #undef.
21605         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
21606         assuming the lowest-addressed segment maps the start of the file.
21608 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
21610         * INSTALL: Regenerated.
21612 2014-03-13  Will Newton  <will.newton@linaro.org>
21614         * manual/setjmp.texi (System V contexts): Improve
21615         clarity and grammar of documentation.
21617 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
21619         [BZ #16381]
21620         * elf/Makefile (tests): Add tst-pie2.
21621         (tests-pie): Add tst-pie2.
21622         * elf/tst-pie2.c: New file.
21623         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
21624         for ET_EXEC.
21625         * elf/rtld.c (map_doit): Load executable as lt_executable.
21626         (dl_main): Likewise.
21628 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
21630         [BZ #16642]
21631         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21632         (__ASSUME_PSELECT): Undefine.
21634 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21636         [BZ #16689]
21637         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
21638         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
21639         static build.
21640         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
21641         selector for static builds.
21643 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21645         [BZ #16695]
21646         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
21647         key in the buffer.
21649 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21651         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
21652         IFUNC selector for static builds.
21654 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
21656         * sysdeps/mips/math_private.h [__mips_hard_float]
21657         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
21658         libc_feresetround_mips_ctx.
21659         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
21660         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
21661         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
21663         [BZ #16677]
21664         * math/s_nextafter.c (__nextafter): Do not return value from
21665         overflowing computation.
21666         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
21667         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
21668         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
21669         Likewise.
21670         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
21671         Likewise.
21672         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
21673         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
21675 2014-03-11  Roland McGrath  <roland@hack.frob.com>
21677         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
21678         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
21679         Move sfi_sp use from the load-multiple (that no longer sets sp) to
21680         the new mov targetting sp.
21682 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21684         [BZ #16683]
21685         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
21686         Define it for static builds as well.
21687         (NO_BZERO_IMPL): Likewise.
21689 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21691         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
21692         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
21693         multiarch strspn for PPC64.
21694         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
21695         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
21696         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21697         (__libc_ifunc_impl_list): Likewise.
21698         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
21699         multiarch optimizations
21700         * string/strspn.c (strspn): Using macro to redefine symbol name.
21702 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21703             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21705         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
21706         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
21707         multiarch strncat for PPC64.
21708         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
21709         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
21710         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21711         (__libc_ifunc_impl_list): Likewise.
21712         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
21713         multiarch optimizations
21715 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21717         [BZ #16639]
21718         * nscd/nscd.service: Make service type forking.
21720 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21722         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
21723         sign in non default rounding modes.
21724         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
21726 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
21728         * math/libm-test.inc (ALL_RM_TEST): New macro.
21729         (ceil_test): Use ALL_RM_TEST.
21730         (cimag_test): Likewise.
21731         (conj_test): Likewise.
21732         (copysign_test): Likewise.
21733         (cproj_test): Likewise.
21734         (creal_test): Likewise.
21735         (fabs_test): Likewise.
21736         (floor_test): Likewise.
21737         (fmax_test): Likewise.
21738         (fmin_test): Likewise.
21739         (fmod_test): Likewise.
21740         (fpclassify_test): Likewise.
21741         (frexp_test): Likewise.
21742         (ilogb_test): Likewise.
21743         (isfinite_test): Likewise.
21744         (finite_test): Likewise.
21745         (isgreater_test): Likewise.
21746         (isgreaterequal_test): Likewise.
21747         (isinf_test): Likewise.
21748         (isless_test): Likewise.
21749         (islessequal_test): Likewise.
21750         (islessgreater_test): Likewise.
21751         (isnan_test): Likewise.
21752         (isnormal_test): Likewise.
21753         (issignaling_test): Likewise.
21754         (isunordered_test): Likewise.
21755         (logb_test): Likewise.
21756         (logb_downward_test_data): Remove.
21757         (logb_test_downward): Likewise.
21758         (lround_test): Use ALL_RM_TEST.
21759         (llround_test): Likewise.
21760         (modf_test): Likewise.
21761         (nexttoward_test): Likewise.
21762         (remainder_test): Likewise.
21763         (drem_test): Likewise.
21764         (remainder_tonearest_test_data): Likewise.
21765         (remainder_test_tonearest): Likewise.
21766         (drem_test_tonearest): Likewise.
21767         (remainder_towardzero_test_data): Likewise.
21768         (remainder_test_towardzero): Likewise.
21769         (drem_test_towardzero): Likewise.
21770         (remainder_downward_test_data): Likewise.
21771         (remainder_test_downward): Likewise.
21772         (drem_test_downward): Likewise.
21773         (remainder_upward_test_data): Likewise.
21774         (remainder_test_upward): Likewise.
21775         (drem_test_upward): Likewise.
21776         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
21777         (round_test): Use ALL_RM_TEST.
21778         (signbit_test): Likewise.
21779         (trunc_test): Likewise.
21780         (significand_test): Likewise.
21781         (main): Don't call removed functions.
21783 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
21785         [BZ #16674]
21786         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
21787         || __USE_XOPEN2K8].
21788         (ILL_ILLOPN): Likewise.
21789         (ILL_ILLADR): Likewise.
21790         (ILL_ILLTRP): Likewise.
21791         (ILL_PRVOPC): Likewise.
21792         (ILL_PRVREG): Likewise.
21793         (ILL_COPROC): Likewise.
21794         (ILL_BADSTK): Likewise.
21795         (FPE_INTDIV): Likewise.
21796         (FPE_INTOVF): Likewise.
21797         (FPE_FLTDIV): Likewise.
21798         (FPE_FLTOVF): Likewise.
21799         (FPE_FLTUND): Likewise.
21800         (FPE_FLTRES): Likewise.
21801         (FPE_FLTINV): Likewise.
21802         (FPE_FLTSUB): Likewise.
21803         (SEGV_MAPERR): Likewise.
21804         (SEGV_ACCERR): Likewise.
21805         (BUS_ADRALN): Likewise.
21806         (BUS_ADRERR): Likewise.
21807         (BUS_OBJERR): Likewise.
21808         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21809         (TRAP_TRACE): Likewise.
21810         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21811         __USE_XOPEN2K8].
21812         (CLD_KILLED): Likewise.
21813         (CLD_DUMPED): Likewise.
21814         (CLD_TRAPPED): Likewise.
21815         (CLD_STOPPED): Likewise.
21816         (CLD_CONTINUED): Likewise.
21817         (POLL_IN): Likewise.
21818         (POLL_OUT): Likewise.
21819         (POLL_MSG): Likewise.
21820         (POLL_ERR): Likewise.
21821         (POLL_PRI): Likewise.
21822         (POLL_HUP): Likewise.
21823         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
21824         Likewise.
21825         (ILL_ILLOPN): Likewise.
21826         (ILL_ILLADR): Likewise.
21827         (ILL_ILLTRP): Likewise.
21828         (ILL_PRVOPC): Likewise.
21829         (ILL_PRVREG): Likewise.
21830         (ILL_COPROC): Likewise.
21831         (ILL_BADSTK): Likewise.
21832         (FPE_INTDIV): Likewise.
21833         (FPE_INTOVF): Likewise.
21834         (FPE_FLTDIV): Likewise.
21835         (FPE_FLTOVF): Likewise.
21836         (FPE_FLTUND): Likewise.
21837         (FPE_FLTRES): Likewise.
21838         (FPE_FLTINV): Likewise.
21839         (FPE_FLTSUB): Likewise.
21840         (SEGV_MAPERR): Likewise.
21841         (SEGV_ACCERR): Likewise.
21842         (BUS_ADRALN): Likewise.
21843         (BUS_ADRERR): Likewise.
21844         (BUS_OBJERR): Likewise.
21845         (BUS_MCEERR_AR): Likewise.
21846         (BUS_MCEERR_AO): Likewise.
21847         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21848         (TRAP_TRACE): Likewise.
21849         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21850         __USE_XOPEN2K8].
21851         (CLD_KILLED): Likewise.
21852         (CLD_DUMPED): Likewise.
21853         (CLD_TRAPPED): Likewise.
21854         (CLD_STOPPED): Likewise.
21855         (CLD_CONTINUED): Likewise.
21856         (POLL_IN): Likewise.
21857         (POLL_OUT): Likewise.
21858         (POLL_MSG): Likewise.
21859         (POLL_ERR): Likewise.
21860         (POLL_PRI): Likewise.
21861         (POLL_HUP): Likewise.
21862         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
21863         (ILL_ILLOPN): Likewise.
21864         (ILL_ILLADR): Likewise.
21865         (ILL_ILLTRP): Likewise.
21866         (ILL_PRVOPC): Likewise.
21867         (ILL_PRVREG): Likewise.
21868         (ILL_COPROC): Likewise.
21869         (ILL_BADSTK): Likewise.
21870         (FPE_INTDIV): Likewise.
21871         (FPE_INTOVF): Likewise.
21872         (FPE_FLTDIV): Likewise.
21873         (FPE_FLTOVF): Likewise.
21874         (FPE_FLTUND): Likewise.
21875         (FPE_FLTRES): Likewise.
21876         (FPE_FLTINV): Likewise.
21877         (FPE_FLTSUB): Likewise.
21878         (SEGV_MAPERR): Likewise.
21879         (SEGV_ACCERR): Likewise.
21880         (BUS_ADRALN): Likewise.
21881         (BUS_ADRERR): Likewise.
21882         (BUS_OBJERR): Likewise.
21883         (BUS_MCEERR_AR): Likewise.
21884         (BUS_MCEERR_AO): Likewise.
21885         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21886         (TRAP_TRACE): Likewise.
21887         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21888         __USE_XOPEN2K8].
21889         (CLD_KILLED): Likewise.
21890         (CLD_DUMPED): Likewise.
21891         (CLD_TRAPPED): Likewise.
21892         (CLD_STOPPED): Likewise.
21893         (CLD_CONTINUED): Likewise.
21894         (POLL_IN): Likewise.
21895         (POLL_OUT): Likewise.
21896         (POLL_MSG): Likewise.
21897         (POLL_ERR): Likewise.
21898         (POLL_PRI): Likewise.
21899         (POLL_HUP): Likewise.
21900         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
21901         Likewise.
21902         (ILL_ILLOPN): Likewise.
21903         (ILL_ILLADR): Likewise.
21904         (ILL_ILLTRP): Likewise.
21905         (ILL_PRVOPC): Likewise.
21906         (ILL_PRVREG): Likewise.
21907         (ILL_COPROC): Likewise.
21908         (ILL_BADSTK): Likewise.
21909         (ILL_BADIADDR): Likewise.
21910         (ILL_BREAK): Likewise.
21911         (FPE_INTDIV): Likewise.
21912         (FPE_INTOVF): Likewise.
21913         (FPE_FLTDIV): Likewise.
21914         (FPE_FLTOVF): Likewise.
21915         (FPE_FLTUND): Likewise.
21916         (FPE_FLTRES): Likewise.
21917         (FPE_FLTINV): Likewise.
21918         (FPE_FLTSUB): Likewise.
21919         (FPE_DECOVF): Likewise.
21920         (FPE_DECDIV): Likewise.
21921         (FPE_DECERR): Likewise.
21922         (FPE_INVASC): Likewise.
21923         (FPE_INVDEC): Likewise.
21924         (SEGV_MAPERR): Likewise.
21925         (SEGV_ACCERR): Likewise.
21926         (SEGV_PSTKOVF): Likewise.
21927         (BUS_ADRALN): Likewise.
21928         (BUS_ADRERR): Likewise.
21929         (BUS_OBJERR): Likewise.
21930         (BUS_MCEERR_AR): Likewise.
21931         (BUS_MCEERR_AO): Likewise.
21932         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21933         (TRAP_TRACE): Likewise.
21934         (TRAP_BRANCH): Likewise.
21935         (TRAP_HWBKPT): Likewise.
21936         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21937         __USE_XOPEN2K8].
21938         (CLD_KILLED): Likewise.
21939         (CLD_DUMPED): Likewise.
21940         (CLD_TRAPPED): Likewise.
21941         (CLD_STOPPED): Likewise.
21942         (CLD_CONTINUED): Likewise.
21943         (POLL_IN): Likewise.
21944         (POLL_OUT): Likewise.
21945         (POLL_MSG): Likewise.
21946         (POLL_ERR): Likewise.
21947         (POLL_PRI): Likewise.
21948         (POLL_HUP): Likewise.
21949         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
21950         (ILL_ILLOPN): Likewise.
21951         (ILL_ILLADR): Likewise.
21952         (ILL_ILLTRP): Likewise.
21953         (ILL_PRVOPC): Likewise.
21954         (ILL_PRVREG): Likewise.
21955         (ILL_COPROC): Likewise.
21956         (ILL_BADSTK): Likewise.
21957         (FPE_INTDIV): Likewise.
21958         (FPE_INTOVF): Likewise.
21959         (FPE_FLTDIV): Likewise.
21960         (FPE_FLTOVF): Likewise.
21961         (FPE_FLTUND): Likewise.
21962         (FPE_FLTRES): Likewise.
21963         (FPE_FLTINV): Likewise.
21964         (FPE_FLTSUB): Likewise.
21965         (SEGV_MAPERR): Likewise.
21966         (SEGV_ACCERR): Likewise.
21967         (BUS_ADRALN): Likewise.
21968         (BUS_ADRERR): Likewise.
21969         (BUS_OBJERR): Likewise.
21970         (BUS_MCEERR_AR): Likewise.
21971         (BUS_MCEERR_AO): Likewise.
21972         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21973         (TRAP_TRACE): Likewise.
21974         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21975         __USE_XOPEN2K8].
21976         (CLD_KILLED): Likewise.
21977         (CLD_DUMPED): Likewise.
21978         (CLD_TRAPPED): Likewise.
21979         (CLD_STOPPED): Likewise.
21980         (CLD_CONTINUED): Likewise.
21981         (POLL_IN): Likewise.
21982         (POLL_OUT): Likewise.
21983         (POLL_MSG): Likewise.
21984         (POLL_ERR): Likewise.
21985         (POLL_PRI): Likewise.
21986         (POLL_HUP): Likewise.
21987         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
21988         (ILL_ILLOPN): Likewise.
21989         (ILL_ILLADR): Likewise.
21990         (ILL_ILLTRP): Likewise.
21991         (ILL_PRVOPC): Likewise.
21992         (ILL_PRVREG): Likewise.
21993         (ILL_COPROC): Likewise.
21994         (ILL_BADSTK): Likewise.
21995         (FPE_INTDIV): Likewise.
21996         (FPE_INTOVF): Likewise.
21997         (FPE_FLTDIV): Likewise.
21998         (FPE_FLTOVF): Likewise.
21999         (FPE_FLTUND): Likewise.
22000         (FPE_FLTRES): Likewise.
22001         (FPE_FLTINV): Likewise.
22002         (FPE_FLTSUB): Likewise.
22003         (SEGV_MAPERR): Likewise.
22004         (SEGV_ACCERR): Likewise.
22005         (BUS_ADRALN): Likewise.
22006         (BUS_ADRERR): Likewise.
22007         (BUS_OBJERR): Likewise.
22008         (BUS_MCEERR_AR): Likewise.
22009         (BUS_MCEERR_AO): Likewise.
22010         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22011         (TRAP_TRACE): Likewise.
22012         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22013         __USE_XOPEN2K8].
22014         (CLD_KILLED): Likewise.
22015         (CLD_DUMPED): Likewise.
22016         (CLD_TRAPPED): Likewise.
22017         (CLD_STOPPED): Likewise.
22018         (CLD_CONTINUED): Likewise.
22019         (POLL_IN): Likewise.
22020         (POLL_OUT): Likewise.
22021         (POLL_MSG): Likewise.
22022         (POLL_ERR): Likewise.
22023         (POLL_PRI): Likewise.
22024         (POLL_HUP): Likewise.
22025         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
22026         (ILL_ILLOPN): Likewise.
22027         (ILL_ILLADR): Likewise.
22028         (ILL_ILLTRP): Likewise.
22029         (ILL_PRVOPC): Likewise.
22030         (ILL_PRVREG): Likewise.
22031         (ILL_COPROC): Likewise.
22032         (ILL_BADSTK): Likewise.
22033         (FPE_INTDIV): Likewise.
22034         (FPE_INTOVF): Likewise.
22035         (FPE_FLTDIV): Likewise.
22036         (FPE_FLTOVF): Likewise.
22037         (FPE_FLTUND): Likewise.
22038         (FPE_FLTRES): Likewise.
22039         (FPE_FLTINV): Likewise.
22040         (FPE_FLTSUB): Likewise.
22041         (SEGV_MAPERR): Likewise.
22042         (SEGV_ACCERR): Likewise.
22043         (BUS_ADRALN): Likewise.
22044         (BUS_ADRERR): Likewise.
22045         (BUS_OBJERR): Likewise.
22046         (BUS_MCEERR_AR): Likewise.
22047         (BUS_MCEERR_AO): Likewise.
22048         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22049         (TRAP_TRACE): Likewise.
22050         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22051         __USE_XOPEN2K8].
22052         (CLD_KILLED): Likewise.
22053         (CLD_DUMPED): Likewise.
22054         (CLD_TRAPPED): Likewise.
22055         (CLD_STOPPED): Likewise.
22056         (CLD_CONTINUED): Likewise.
22057         (POLL_IN): Likewise.
22058         (POLL_OUT): Likewise.
22059         (POLL_MSG): Likewise.
22060         (POLL_ERR): Likewise.
22061         (POLL_PRI): Likewise.
22062         (POLL_HUP): Likewise.
22063         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
22064         (ILL_ILLOPN): Likewise.
22065         (ILL_ILLADR): Likewise.
22066         (ILL_ILLTRP): Likewise.
22067         (ILL_PRVOPC): Likewise.
22068         (ILL_PRVREG): Likewise.
22069         (ILL_COPROC): Likewise.
22070         (ILL_BADSTK): Likewise.
22071         (ILL_DBLFLT): Likewise.
22072         (ILL_HARDWALL): Likewise.
22073         (FPE_INTDIV): Likewise.
22074         (FPE_INTOVF): Likewise.
22075         (FPE_FLTDIV): Likewise.
22076         (FPE_FLTOVF): Likewise.
22077         (FPE_FLTUND): Likewise.
22078         (FPE_FLTRES): Likewise.
22079         (FPE_FLTINV): Likewise.
22080         (FPE_FLTSUB): Likewise.
22081         (SEGV_MAPERR): Likewise.
22082         (SEGV_ACCERR): Likewise.
22083         (BUS_ADRALN): Likewise.
22084         (BUS_ADRERR): Likewise.
22085         (BUS_OBJERR): Likewise.
22086         (BUS_MCEERR_AR): Likewise.
22087         (BUS_MCEERR_AO): Likewise.
22088         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22089         (TRAP_TRACE): Likewise.
22090         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22091         __USE_XOPEN2K8].
22092         (CLD_KILLED): Likewise.
22093         (CLD_DUMPED): Likewise.
22094         (CLD_TRAPPED): Likewise.
22095         (CLD_STOPPED): Likewise.
22096         (CLD_CONTINUED): Likewise.
22097         (POLL_IN): Likewise.
22098         (POLL_OUT): Likewise.
22099         (POLL_MSG): Likewise.
22100         (POLL_ERR): Likewise.
22101         (POLL_PRI): Likewise.
22102         (POLL_HUP): Likewise.
22103         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
22104         (ILL_ILLOPN): Likewise.
22105         (ILL_ILLADR): Likewise.
22106         (ILL_ILLTRP): Likewise.
22107         (ILL_PRVOPC): Likewise.
22108         (ILL_PRVREG): Likewise.
22109         (ILL_COPROC): Likewise.
22110         (ILL_BADSTK): Likewise.
22111         (FPE_INTDIV): Likewise.
22112         (FPE_INTOVF): Likewise.
22113         (FPE_FLTDIV): Likewise.
22114         (FPE_FLTOVF): Likewise.
22115         (FPE_FLTUND): Likewise.
22116         (FPE_FLTRES): Likewise.
22117         (FPE_FLTINV): Likewise.
22118         (FPE_FLTSUB): Likewise.
22119         (SEGV_MAPERR): Likewise.
22120         (SEGV_ACCERR): Likewise.
22121         (BUS_ADRALN): Likewise.
22122         (BUS_ADRERR): Likewise.
22123         (BUS_OBJERR): Likewise.
22124         (BUS_MCEERR_AR): Likewise.
22125         (BUS_MCEERR_AO): Likewise.
22126         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22127         (TRAP_TRACE): Likewise.
22128         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22129         __USE_XOPEN2K8].
22130         (CLD_KILLED): Likewise.
22131         (CLD_DUMPED): Likewise.
22132         (CLD_TRAPPED): Likewise.
22133         (CLD_STOPPED): Likewise.
22134         (CLD_CONTINUED): Likewise.
22135         (POLL_IN): Likewise.
22136         (POLL_OUT): Likewise.
22137         (POLL_MSG): Likewise.
22138         (POLL_ERR): Likewise.
22139         (POLL_PRI): Likewise.
22140         (POLL_HUP): Likewise.
22141         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
22142         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
22144         [BZ #16670]
22145         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
22146         before #include of <time.h>.
22147         [!__USE_XOPEN2K] (__need_timespec): Likewise.
22148         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
22149         (test-xfail-UNIX98/sched.h/conform): Likewise.
22151 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
22153         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
22154         error absence of trapping exception support.
22155         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
22157 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
22159         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
22160         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
22161         * timezone/Makefile (testdata): Move definition above include of
22162         Rules.
22163         (test-zones): New variable.
22164         (tests-special): Add zone files.
22165         (build-testdata): Use $(evaluate-test).
22167         * elf/Makefile (tests-special): Rename tests to end with .out.
22168         ($(objpfx)noload-mem): Likewise.
22169         ($(objpfx)tst-leaks1-mem): Likewise.
22170         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
22171         * iconv/Makefile (xtests-special): Change test-iconvconfig to
22172         $(objpfx)test-iconvconfig.out.
22173         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
22174         set -e inside subshell and redirect output to file.
22175         * iconvdata/Makefile (generated): Rename tests to end with .out.
22176         Correct type.
22177         (tests-special): Rename tests to end with .out.
22178         ($(objpfx)mtrace-tst-loading): Likewise.
22179         * intl/Makefile (generated): Likewise.
22180         (tests-special): Likewise.
22181         ($(objpfx)mtrace-tst-gettext): Likewise.
22182         * misc/Makefile (generated): Likewise.
22183         (tests-special): Likewise.
22184         ($(objpfx)tst-error1-mem): Likewise.
22185         * nptl/Makefile (tests-special): Likewise.
22186         ($(objpfx)tst-stack3-mem): Likewise.
22187         (generated): Likewise.
22188         * posix/Makefile (generated): Likewise.
22189         (tests-special): Likewise.
22190         (xtests-special): Likewise.
22191         ($(objpfx)tst-fnmatch-mem): Likewise.
22192         ($(objpfx)bug-regex2-mem): Likewise.
22193         ($(objpfx)bug-regex14-mem): Likewise.
22194         ($(objpfx)bug-regex21-mem): Likewise.
22195         ($(objpfx)bug-regex31-mem): Likewise.
22196         ($(objpfx)tst-vfork3-mem): Likewise.
22197         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
22198         ($(objpfx)tst-pcre-mem): Likewise.
22199         ($(objpfx)tst-boost-mem): Likewise.
22200         ($(objpfx)bug-ga2-mem): Likewise.
22201         ($(objpfx)bug-glob2-mem): Likewise.
22202         * resolv/Makefile (generate): Likewise.
22203         (tests-special): Likewise.
22204         (xtests-special): Likewise.
22205         (generated): Likewise.
22206         ($(objpfx)mtrace-tst-leaks): Likewise.
22207         ($(objpfx)mtrace-tst-leaks2): Likewise.
22209         * scripts/merge-test-results.sh: New file.
22210         * Makefile (tests-special-notdir): New variable.
22211         (tests): Run merge-test-results.sh.
22212         (xtests): Likewise.
22213         * Rules (tests-special-notdir): New variable.
22214         (xtests-special-notdir): Likewise.
22215         (tests): Run merge-test-results.sh
22216         (xtests): Likewise.
22218         * Makeconfig (test-xfail-name): New variable.
22219         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
22220         compute variable name for expected failures.
22221         * conform/Makefile (conformtest-headers-data): New variable.
22222         (conformtest-standards): Likewise.
22223         (conformtest-headers-ISO): Likewise.
22224         (conformtest-headers-ISO99): Likewise.
22225         (conformtest-headers-ISO11): Likewise.
22226         (conformtest-headers-POSIX): Likewise.
22227         (conformtest-headers-XPG3): Likewise.
22228         (conformtest-headers-XPG4): Likewise.
22229         (conformtest-headers-UNIX98): Likewise.
22230         (conformtest-headers-XOPEN2K): Likewise.
22231         (conformtest-headers-POSIX2008): Likewise.
22232         (conformtest-headers-XOPEN2K8): Likewise.
22233         (conformtest-header-list-base): Likewise.
22234         (conformtest-header-list-tests): Likewise.
22235         (conformtest-header-base): Likewise.
22236         (conformtest-header-tests): Likewise.
22237         (tests-special): Add $(conformtest-header-list-tests).  If
22238         [$(fast-check) && !$(cross-compiling)], add
22239         $(conformtest-header-tests) instead of
22240         $(objpfx)run-conformtest.out.
22241         (generated): Add $(conformtest-header-list-base).  If
22242         [$(fast-check) && !$(cross-compiling)], add
22243         $(conformtest-header-base).  Remove previous setting.
22244         ($(conformtest-header-list-tests)): New target.
22245         (test-xfail-run-conformtest): Remove variable.
22246         ($(objpfx)run-conformtest.out): Remove target.
22247         (test-xfail-ISO11/complex.h/conform): New variable.
22248         (test-xfail-ISO11/stdalign.h/conform): Likewise.
22249         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
22250         (test-xfail-XPG3/varargs.h/conform): Likewise.
22251         (test-xfail-XPG4/varargs.h/conform): Likewise.
22252         (test-xfail-UNIX98/varargs.h/conform): Likewise.
22253         (test-xfail-XPG4/ndbm.h/conform): Likewise.
22254         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
22255         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
22256         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
22257         (test-xfail-XPG3/fcntl.h/conform): Likewise.
22258         (test-xfail-XPG3/ftw.h/conform): Likewise.
22259         (test-xfail-XPG3/grp.h/conform): Likewise.
22260         (test-xfail-XPG3/langinfo.h/conform): Likewise.
22261         (test-xfail-XPG3/limits.h/conform): Likewise.
22262         (test-xfail-XPG3/pwd.h/conform): Likewise.
22263         (test-xfail-XPG3/search.h/conform): Likewise.
22264         (test-xfail-XPG3/signal.h/conform): Likewise.
22265         (test-xfail-XPG3/stdio.h/conform): Likewise.
22266         (test-xfail-XPG3/stdlib.h/conform): Likewise.
22267         (test-xfail-XPG3/string.h/conform): Likewise.
22268         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
22269         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
22270         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
22271         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
22272         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
22273         (test-xfail-XPG3/sys/types.h/conform): Likewise.
22274         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
22275         (test-xfail-XPG3/termios.h/conform): Likewise.
22276         (test-xfail-XPG3/time.h/conform): Likewise.
22277         (test-xfail-XPG3/unistd.h/conform): Likewise.
22278         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
22279         (test-xfail-XPG4/fcntl.h/conform): Likewise.
22280         (test-xfail-XPG4/langinfo.h/conform): Likewise.
22281         (test-xfail-XPG4/netdb.h/conform): Likewise.
22282         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
22283         (test-xfail-XPG4/signal.h/conform): Likewise.
22284         (test-xfail-XPG4/stdio.h/conform): Likewise.
22285         (test-xfail-XPG4/stdlib.h/conform): Likewise.
22286         (test-xfail-XPG4/stropts.h/conform): Likewise.
22287         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
22288         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
22289         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
22290         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
22291         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
22292         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
22293         (test-xfail-XPG4/sys/time.h/conform): Likewise.
22294         (test-xfail-XPG4/sys/types.h/conform): Likewise.
22295         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
22296         (test-xfail-XPG4/termios.h/conform): Likewise.
22297         (test-xfail-XPG4/ucontext.h/conform): Likewise.
22298         (test-xfail-XPG4/unistd.h/conform): Likewise.
22299         (test-xfail-XPG4/utmpx.h/conform): Likewise.
22300         (test-xfail-POSIX/sched.h/conform): Likewise.
22301         (test-xfail-POSIX/signal.h/conform): Likewise.
22302         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
22303         (test-xfail-POSIX/tar.h/conform): Likewise.
22304         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
22305         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
22306         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
22307         (test-xfail-UNIX98/netdb.h/conform): Likewise.
22308         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
22309         (test-xfail-UNIX98/sched.h/conform): Likewise.
22310         (test-xfail-UNIX98/signal.h/conform): Likewise.
22311         (test-xfail-UNIX98/stdio.h/conform): Likewise.
22312         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
22313         (test-xfail-UNIX98/stropts.h/conform): Likewise.
22314         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
22315         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
22316         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
22317         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
22318         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
22319         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
22320         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
22321         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
22322         (test-xfail-UNIX98/unistd.h/conform): Likewise.
22323         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
22324         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
22325         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
22326         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
22327         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
22328         (test-xfail-XOPEN2K/math.h/conform): Likewise.
22329         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
22330         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
22331         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
22332         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
22333         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
22334         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
22335         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
22336         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
22337         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
22338         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
22339         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
22340         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
22341         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
22342         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
22343         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
22344         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
22345         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
22346         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
22347         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
22348         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
22349         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
22350         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
22351         (test-xfail-POSIX2008/signal.h/conform): Likewise.
22352         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
22353         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
22354         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
22355         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
22356         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
22357         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
22358         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
22359         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
22360         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
22361         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
22362         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
22363         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
22364         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
22365         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
22366         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
22367         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
22368         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
22369         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
22370         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
22371         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
22372         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
22373         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
22374         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
22375         (conformtest-cc-flags): Likewise.
22376         ($(conformtest-header-tests): New target.
22377         * conform/check-header-lists.sh: New file.
22378         * conform/run-conformtest.sh: Remove.
22380         * conform/conformtest.pl: Allow ' and \ in values given for
22381         constants.
22382         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
22383         inclusion.
22384         [POSIX] (sys/types.h): Likewise.
22385         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
22386         inclusion.
22387         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
22388         inclusion.
22389         * conform/data/signal.h-data (SIGIO): Remove expectation.
22390         [XPG3] (SIGBUS): Do not expect.
22391         [POSIX || XPG3] (SIGPOLL): Likewise.
22392         [POSIX || XPG3] (SIGPROF): Likewise.
22393         [POSIX || XPG3] (SIGSYS): Likewise.
22394         [XPG3] (SIGTRAP): Likewise.
22395         [POSIX || XPG3] (SIGURG): Likewise.
22396         [POSIX || XPG3] (SIGVTALRM): Likewise.
22397         [POSIX || XPG3] (SIGXCPU): Likewise.
22398         [POSIX || XPG3] (SIGXFSZ): Likewise.
22399         [POSIX] (SA_SIGINFO): Expect.
22400         [XPG3] (siginfo_t): Do not expect type or contents.
22401         [POSIX] (si_pid): Do not expect element.
22402         [POSIX] (si_uid): Likewise.
22403         [POSIX] (si_addr): Likewise.
22404         [POSIX] (si_status): Likewise.
22405         [POSIX] (si_band): Likewise.
22406         [XPG4] (si_value): Likewise.
22407         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
22408         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
22409         [POSIX || XPG3] (ILL_ILLADR): Likewise.
22410         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
22411         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
22412         [POSIX || XPG3] (ILL_PRVREG): Likewise.
22413         [POSIX || XPG3] (ILL_COPROC): Likewise.
22414         [POSIX || XPG3] (ILL_BADSTK): Likewise.
22415         [POSIX || XPG3] (FPE_INTDIV): Likewise.
22416         [POSIX || XPG3] (FPE_INTOVF): Likewise.
22417         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
22418         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
22419         [POSIX || XPG3] (FPE_FLTUND): Likewise.
22420         [POSIX || XPG3] (FPE_FLTRES): Likewise.
22421         [POSIX || XPG3] (FPE_FLTINV): Likewise.
22422         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
22423         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
22424         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
22425         [POSIX || XPG3] (BUS_ADRALN): Likewise.
22426         [POSIX || XPG3] (BUS_ADRERR): Likewise.
22427         [POSIX || XPG3] (BUS_OBJERR): Likewise.
22428         [POSIX || XPG3] (CLD_EXITED): Likewise.
22429         [POSIX || XPG3] (CLD_KILLED): Likewise.
22430         [POSIX || XPG3] (CLD_DUMPED): Likewise.
22431         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
22432         [POSIX || XPG3] (CLD_STOPPED): Likewise.
22433         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
22434         [POSIX || XPG3] (POLL_IN): Likewise.
22435         [POSIX || XPG3] (POLL_OUT): Likewise.
22436         [POSIX || XPG3] (POLL_MSG): Likewise.
22437         [POSIX || XPG3] (POLL_ERR): Likewise.
22438         [POSIX || XPG3] (POLL_PRI): Likewise.
22439         [POSIX || XPG3] (POLL_HUP): Likewise.
22440         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
22441         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
22442         (SIG*): Do not allow.
22443         [XPG3] (si_*): Likewise.
22444         [XPG3] (SI_*): Likewise.
22445         [XPG3 || XPG4] (sigev_*): Likewise.
22446         [XPG3 || XPG4] (SIGEV_*): Likewise.
22447         [XPG3 || XPG4] (sival_*): Likewise.
22448         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
22449         [POSIX || XPG3] (BUS_*): Likewise.
22450         [POSIX || XPG3] (CLD_*): Likewise.
22451         [POSIX || XPG3] (FPE_*): Likewise.
22452         [POSIX || XPG3] (ILL_*): Likewise.
22453         [POSIX || XPG3] (POLL_*): Likewise.
22454         [POSIX || XPG3] (SEGV_*): Likewise.
22455         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
22456         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
22457         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
22458         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
22459         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
22460         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
22461         Specify type and value.
22462         (TVERSLEN): Likewise.
22463         (REGTYPE): Likewise.
22464         (AREGTYPE): Likewise.
22465         (LNKTYPE): Likewise.
22466         (SYMTYPE): Likewise.
22467         (CHRTYPE): Likewise.
22468         (BLKTYPE): Likewise.
22469         (DIRTYPE): Likewise.
22470         (FIFOTYPE): Likewise.
22471         (CONTTYPE): Likewise.
22472         (TSUID): Likewise.
22473         (TSGID): Likewise.
22474         (TSVTX): Likewise.
22475         (TUREAD): Likewise.
22476         (TUWRITE): Likewise.
22477         (TUEXEC): Likewise.
22478         (TGREAD): Likewise.
22479         (TGWRITE): Likewise.
22480         (TGEXEC): Likewise.
22481         (TOREAD): Likewise.
22482         (TOWRITE): Likewise.
22483         (TOEXEC): Likewise.
22484         [POSIX] (TSVTX): Expect constant.
22486 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
22488         * Makefile (tests): Change dependencies to ....
22489         (tests-special): ... additions to this variable.
22490         (tests): Depend on $(tests-special).
22491         * Makerules (check-abi-list): New variable.
22492         (check-abi): Depend on $(check-abi-list).
22493         [$(subdir) = elf] (tests-special): Add
22494         $(objpfx)check-abi-libc.out.
22495         [$(build-shared) = yes && subdir] (tests-special): Add
22496         $(check-abi-list).
22497         [$(build-shared) = yes && subdir] (tests): Do not depend on
22498         check-abi.
22499         * Rules (tests): Depend on $(tests-special).
22500         (xtests): Depend on $(xtests-special).
22501         * catgets/Makefile (tests): Change dependencies to ....
22502         (tests-special): ... additions to this variable.
22503         * conform/Makefile (tests): Change dependencies to ....
22504         (tests-special): ... additions to this variable.
22505         * elf/Makefile (tests): Change dependencies to ....
22506         (tests-special): ... additions to this variable.
22507         * grp/Makefile (tests): Change dependencies to ....
22508         (tests-special): ... additions to this variable.
22509         * iconv/Makefile (xtests): Change dependencies to ....
22510         (xtests-special): ... additions to this variable.
22511         * iconvdata/Makefile (tests): Change dependencies to ....
22512         (tests-special): ... additions to this variable.
22513         * intl/Makefile (tests): Change dependencies to ....
22514         (tests-special): ... additions to this variable.  Also add
22515         $(objpfx)tst-gettext.out.
22516         * io/Makefile (tests): Change dependencies to ....
22517         (tests-special): ... additions to this variable.
22518         * libio/Makefile (tests): Change dependencies to ....
22519         (tests-special): ... additions to this variable.
22520         * malloc/Makefile (tests): Change dependencies to ....
22521         (tests-special): ... additions to this variable.
22522         * misc/Makefile (tests): Change dependencies to ....
22523         (tests-special): ... additions to this variable.
22524         * nptl/Makefile (tests): Change dependencies to ....
22525         (tests-special): ... additions to this variable.
22526         * nptl_db/Makefile (tests): Change dependencies to ....
22527         (tests-special): ... additions to this variable.
22528         * posix/Makefile (tests): Change dependencies to ....
22529         (tests-special): ... additions to this variable.
22530         (xtests): Change dependencies to ....
22531         (xtests-special): ... additions to this variable.
22532         * resolv/Makefile (tests): Change dependencies to ....
22533         (tests-special): ... additions to this variable.
22534         (xtests): Change dependencies to ....
22535         (xtests-special): ... additions to this variable.
22536         * stdio-common/Makefile (tests): Change dependencies to ....
22537         (tests-special): ... additions to this variable.
22538         (do-tst-unbputc): Remove target.
22539         (do-tst-printf): Likewise.
22540         * stdlib/Makefile (tests): Change dependencies to ....
22541         (tests-special): ... additions to this variable.
22542         * string/Makefile (tests): Change dependencies to ....
22543         (tests-special): ... additions to this variable.
22544         * sysdeps/x86/Makefile (tests): Change dependencies to ....
22545         (tests-special): ... additions to this variable.
22547         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
22548         whole file.
22549         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
22550         whole file.
22551         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
22552         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
22554         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
22555         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
22556         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
22557         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
22558         * conform/data/libgen.h-data [XPG3]: Likewise.
22559         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
22560         * conform/data/ndbm.h-data [XPG3]: Likewise.
22561         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
22562         * conform/data/netdb.h-data [XPG3]: Likewise.
22563         * conform/data/netinet/in.h-data [XPG3]: Likewise.
22564         * conform/data/poll.h-data [XPG3]: Likewise.
22565         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
22566         * conform/data/strings.h-data [XPG3]: Likewise.
22567         * conform/data/stropts.h-data [XPG3]: Likewise.
22568         * conform/data/sys/mman.h-data [XPG3]: Likewise.
22569         * conform/data/sys/resource.h-data [XPG3]: Likewise.
22570         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
22571         Likewise.
22572         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
22573         * conform/data/sys/time.h-data [XPG3]: Likewise.
22574         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
22575         * conform/data/sys/uio.h-data [XPG3]: Likewise.
22576         * conform/data/sys/un.h-data [XPG3]: Likewise.
22577         * conform/data/syslog.h-data [XPG3]: Likewise.
22578         * conform/data/ucontext.h-data [XPG3]: Likewise.
22579         * conform/data/utmpx.h-data [XPG3]: Likewise.
22580         * conform/data/varargs.h-data [UNIX98]: Enable file.
22582         * manual/Makefile (INSTALL_INFO): Remove variable setting.
22584         * math/libm-test.inc (struct test_f_f_data): Move expected results
22585         into structure for each rounding mode.
22586         (struct test_ff_f_data): Likewise.
22587         (struct test_ff_f_data_nexttoward): Likewise.
22588         (struct test_fi_f_data): Likewise.
22589         (struct test_fl_f_data): Likewise.
22590         (struct test_if_f_data): Likewise.
22591         (struct test_fff_f_data): Likewise.
22592         (struct test_c_f_data): Likewise.
22593         (struct test_f_f1_data): Likewise.
22594         (struct test_fF_f1_data): Likewise.
22595         (struct test_ffI_f1_data): Likewise.
22596         (struct test_c_c_data): Likewise.
22597         (struct test_cc_c_data): Likewise.
22598         (struct test_f_i_data): Likewise.
22599         (struct test_ff_i_data): Likewise.
22600         (struct test_f_l_data): Likewise.
22601         (struct test_f_L_data): Likewise.
22602         (struct test_fFF_11_data): Likewise.
22603         (RM_): New macro.
22604         (RM_FE_DOWNWARD): Likewise.
22605         (RM_FE_TONEAREST): Likewise.
22606         (RM_FE_TOWARDZERO): Likewise.
22607         (RM_FE_UPWARD): Likewise.
22608         (RUN_TEST_LOOP_f_f): Update references to expected results.
22609         (RUN_TEST_LOOP_2_f): Likewise.
22610         (RUN_TEST_LOOP_fff_f): Likewise.
22611         (RUN_TEST_LOOP_c_f): Likewise.
22612         (RUN_TEST_LOOP_f_f1): Likewise.
22613         (RUN_TEST_LOOP_fF_f1): Likewise.
22614         (RUN_TEST_LOOP_fI_f1): Likewise.
22615         (RUN_TEST_LOOP_ffI_f1): Likewise.
22616         (RUN_TEST_LOOP_c_c): Likewise.
22617         (RUN_TEST_LOOP_cc_c): Likewise.
22618         (RUN_TEST_LOOP_f_i): Likewise.
22619         (RUN_TEST_LOOP_f_i_tg): Likewise.
22620         (RUN_TEST_LOOP_ff_i_tg): Likewise.
22621         (RUN_TEST_LOOP_f_b): Likewise.
22622         (RUN_TEST_LOOP_f_b_tg): Likewise.
22623         (RUN_TEST_LOOP_f_l): Likewise.
22624         (RUN_TEST_LOOP_f_L): Likewise.
22625         (RUN_TEST_LOOP_fFF_11): Likewise.
22626         * math/gen-libm-test.pl (parse_args): Output four copies of
22627         expected results for each test.
22629         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22630         (__ASSUME_UTIMES): Remove.
22631         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22632         (__ASSUME_UTIMES): Likewise.
22634         * math/gen-auto-libm-tests.c: Update comment on output format.
22635         (output_for_one_input_case): Generate before-rounding and
22636         after-rounding information as conditions on output flags not
22637         floating-point format.
22638         * math/auto-libm-test-out: Regenerated.
22639         * math/gen-libm-test.pl (cond_value): New function.
22640         (or_cond_value): Use cond_value.
22641         (generate_testfile): Handle conditional exceptions.
22643 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
22645         * math/libm-test.inc (max_valid_error): New variable.
22646         (init_max_error): Take new argument specifying whether function
22647         results are exactly determined.  Set max_valid_error and bound
22648         other variables for errors based on this argument.
22649         (set_max_error): Do not record results above max_valid_error.
22650         (check_float_internal): Only accept errors of up to 0.5ulps if
22651         also at most max_valid_error.
22652         (START): Take new argument EXACT and pass it to init_max_error.
22653         (acos_test): Update call to START.
22654         (acos_test_tonearest): Likewise.
22655         (acos_test_towardzero): Likewise.
22656         (acos_test_downward): Likewise.
22657         (acos_test_upward): Likewise.
22658         (acosh_test): Likewise.
22659         (asin_test): Likewise.
22660         (asin_test_tonearest): Likewise.
22661         (asin_test_towardzero): Likewise.
22662         (asin_test_downward): Likewise.
22663         (asin_test_upward): Likewise.
22664         (asinh_test): Likewise.
22665         (atan_test): Likewise.
22666         (atanh_test): Likewise.
22667         (atan2_test): Likewise.
22668         (cabs_test): Likewise.
22669         (cacos_test): Likewise.
22670         (cacosh_test): Likewise.
22671         (carg_test): Likewise.
22672         (casin_test): Likewise.
22673         (casinh_test): Likewise.
22674         (catan_test): Likewise.
22675         (catanh_test): Likewise.
22676         (cbrt_test): Likewise.
22677         (ccos_test): Likewise.
22678         (ccosh_test): Likewise.
22679         (ceil_test): Likewise.
22680         (cexp_test): Likewise.
22681         (cimag_test): Likewise.
22682         (clog_test): Likewise.
22683         (clog10_test): Likewise.
22684         (conj_test): Likewise.
22685         (copysign_test): Likewise.
22686         (cos_test): Likewise.
22687         (cos_test_tonearest): Likewise.
22688         (cos_test_towardzero): Likewise.
22689         (cos_test_downward): Likewise.
22690         (cos_test_upward): Likewise.
22691         (cosh_test): Likewise.
22692         (cosh_test_tonearest): Likewise.
22693         (cosh_test_towardzero): Likewise.
22694         (cosh_test_downward): Likewise.
22695         (cosh_test_upward): Likewise.
22696         (cpow_test): Likewise.
22697         (cproj_test): Likewise.
22698         (creal_test): Likewise.
22699         (csin_test): Likewise.
22700         (csinh_test): Likewise.
22701         (csqrt_test): Likewise.
22702         (ctan_test): Likewise.
22703         (ctan_test_tonearest): Likewise.
22704         (ctan_test_towardzero): Likewise.
22705         (ctan_test_downward): Likewise.
22706         (ctan_test_upward): Likewise.
22707         (ctanh_test): Likewise.
22708         (ctanh_test_tonearest): Likewise.
22709         (ctanh_test_towardzero): Likewise.
22710         (ctanh_test_downward): Likewise.
22711         (ctanh_test_upward): Likewise.
22712         (erf_test): Likewise.
22713         (erfc_test): Likewise.
22714         (exp_test): Likewise.
22715         (exp_test_tonearest): Likewise.
22716         (exp_test_towardzero): Likewise.
22717         (exp_test_downward): Likewise.
22718         (exp_test_upward): Likewise.
22719         (exp10_test): Likewise.
22720         (exp10_test_tonearest): Likewise.
22721         (exp10_test_towardzero): Likewise.
22722         (exp10_test_downward): Likewise.
22723         (exp10_test_upward): Likewise.
22724         (pow10_test): Likewise.
22725         (exp2_test): Likewise.
22726         (expm1_test): Likewise.
22727         (expm1_test_tonearest): Likewise.
22728         (expm1_test_towardzero): Likewise.
22729         (expm1_test_downward): Likewise.
22730         (expm1_test_upward): Likewise.
22731         (fabs_test): Likewise.
22732         (fdim_test): Likewise.
22733         (floor_test): Likewise.
22734         (fma_test): Likewise.
22735         (fma_test_towardzero): Likewise.
22736         (fma_test_downward): Likewise.
22737         (fma_test_upward): Likewise.
22738         (fmax_test): Likewise.
22739         (fmin_test): Likewise.
22740         (fmod_test): Likewise.
22741         (fpclassify_test): Likewise.
22742         (frexp_test): Likewise.
22743         (hypot_test): Likewise.
22744         (ilogb_test): Likewise.
22745         (isfinite_test): Likewise.
22746         (finite_test): Likewise.
22747         (isgreater_test): Likewise.
22748         (isgreaterequal_test): Likewise.
22749         (isinf_test): Likewise.
22750         (isless_test): Likewise.
22751         (islessequal_test): Likewise.
22752         (islessgreater_test): Likewise.
22753         (isnan_test): Likewise.
22754         (isnormal_test): Likewise.
22755         (issignaling_test): Likewise.
22756         (isunordered_test): Likewise.
22757         (j0_test): Likewise.
22758         (j1_test): Likewise.
22759         (jn_test): Likewise.
22760         (ldexp_test): Likewise.
22761         (lgamma_test): Likewise.
22762         (gamma_test): Likewise.
22763         (lrint_test): Likewise.
22764         (lrint_test_tonearest): Likewise.
22765         (lrint_test_towardzero): Likewise.
22766         (lrint_test_downward): Likewise.
22767         (lrint_test_upward): Likewise.
22768         (llrint_test): Likewise.
22769         (llrint_test_tonearest): Likewise.
22770         (llrint_test_towardzero): Likewise.
22771         (llrint_test_downward): Likewise.
22772         (llrint_test_upward): Likewise.
22773         (log_test): Likewise.
22774         (log10_test): Likewise.
22775         (log1p_test): Likewise.
22776         (log2_test): Likewise.
22777         (logb_test): Likewise.
22778         (logb_test_downward): Likewise.
22779         (lround_test): Likewise.
22780         (llround_test): Likewise.
22781         (modf_test): Likewise.
22782         (nearbyint_test): Likewise.
22783         (nextafter_test): Likewise.
22784         (nexttoward_test): Likewise.
22785         (pow_test): Likewise.
22786         (pow_test_tonearest): Likewise.
22787         (pow_test_towardzero): Likewise.
22788         (pow_test_downward): Likewise.
22789         (pow_test_upward): Likewise.
22790         (remainder_test): Likewise.
22791         (drem_test): Likewise.
22792         (remainder_test_tonearest): Likewise.
22793         (drem_test_tonearest): Likewise.
22794         (remainder_test_towardzero): Likewise.
22795         (drem_test_towardzero): Likewise.
22796         (remainder_test_downward): Likewise.
22797         (drem_test_downward): Likewise.
22798         (remainder_test_upward): Likewise.
22799         (drem_test_upward): Likewise.
22800         (remquo_test): Likewise.
22801         (rint_test): Likewise.
22802         (rint_test_tonearest): Likewise.
22803         (rint_test_towardzero): Likewise.
22804         (rint_test_downward): Likewise.
22805         (rint_test_upward): Likewise.
22806         (round_test): Likewise.
22807         (scalb_test): Likewise.
22808         (scalbn_test): Likewise.
22809         (scalbln_test): Likewise.
22810         (signbit_test): Likewise.
22811         (sin_test): Likewise.
22812         (sin_test_tonearest): Likewise.
22813         (sin_test_towardzero): Likewise.
22814         (sin_test_downward): Likewise.
22815         (sin_test_upward): Likewise.
22816         (sincos_test): Likewise.
22817         (sinh_test): Likewise.
22818         (sinh_test_tonearest): Likewise.
22819         (sinh_test_towardzero): Likewise.
22820         (sinh_test_downward): Likewise.
22821         (sinh_test_upward): Likewise.
22822         (sqrt_test): Likewise.
22823         (sqrt_test_tonearest): Likewise.
22824         (sqrt_test_towardzero): Likewise.
22825         (sqrt_test_downward): Likewise.
22826         (sqrt_test_upward): Likewise.
22827         (tan_test): Likewise.
22828         (tan_test_tonearest): Likewise.
22829         (tan_test_towardzero): Likewise.
22830         (tan_test_downward): Likewise.
22831         (tan_test_upward): Likewise.
22832         (tanh_test): Likewise.
22833         (tgamma_test): Likewise.
22834         (trunc_test): Likewise.
22835         (y0_test): Likewise.
22836         (y1_test): Likewise.
22837         (yn_test): Likewise.
22838         (significand_test): Likewise.
22840         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
22841         individual tests in comment.
22842         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
22843         (prev_max_error): New variable.
22844         (prev_real_max_error): Likewise.
22845         (prev_imag_max_error): Likewise.
22846         (compare_ulp_data): Don't refer to test names in comment.
22847         (find_test_ulps): Remove function.
22848         (find_function_ulps): Likewise.
22849         (find_complex_function_ulps): Likewise.
22850         (init_max_error): Take function name as argument.  Look up ulps
22851         for that function.
22852         (print_ulps): Remove function.
22853         (print_max_error): Use prev_max_error instead of calling
22854         find_function_ulps.
22855         (print_complex_max_error): Use prev_real_max_error and
22856         prev_imag_max_error instead of calling find_complex_function_ulps.
22857         (check_float_internal): Take max_ulp parameter instead of calling
22858         find_test_ulps.  Don't call print_ulps.
22859         (check_float): Update call to check_float_internal.
22860         (check_complex): Update calls to check_float_internal.
22861         (START): Pass argument to init_max_error.
22862         * math/gen-libm-test.pl (%results): Don't include "kind"
22863         information.
22864         (parse_ulps): Don't handle ulps of individual tests.
22865         (print_ulps_file): Likewise.
22866         (output_ulps): Likewise.
22867         * math/README.libm-test: Update.
22868         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
22869         individual tests.
22870         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
22871         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
22872         * sysdeps/arm/libm-test-ulps: Likewise.
22873         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22874         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
22875         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
22876         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
22877         * sysdeps/microblaze/libm-test-ulps: Likewise.
22878         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
22879         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22880         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22881         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
22882         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22883         * sysdeps/sh/libm-test-ulps: Likewise.
22884         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22885         * sysdeps/tile/libm-test-ulps: Likewise.
22886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22888 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
22890         * math/libm-test.inc (print_complex_max_error): Check separately
22891         whether real and imaginary errors are within allowed range and
22892         pass 0 to print_complex_function_ulps instead of value within
22893         allowed range.
22895 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22897         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
22898         formatting.
22899         (get_handles_fopen): Likewise.
22900         (do_write_test): Likewise.
22902         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
22904         * libio/fileops.c (do_ftell): Use cached offset when
22905         available.
22906         * libio/iofwide.c (do_ftell_wide): Likewise.
22907         * libio/iofdopen.c (_IO_new_fdopen): Don't use
22908         _IO_file_attach.
22909         * libio/wfileops.c (_IO_fwide): Don't cache offset.
22911         [BZ #16532]
22912         * libio/libioP.h (get_file_offset): New function.
22913         * libio/fileops.c (get_file_offset): Likewise.
22914         (do_ftell): Likewise.
22915         (_IO_new_file_seekoff): Split out ftell logic.
22916         * libio/wfileops.c (do_ftell_wide): Likewise.
22917         (_IO_wfile_seekoff): Split out ftell logic.
22918         * libio/tst-ftell-active-handler.c: New test case.
22919         * libio/Makefile (tests): Add it.
22921 2014-03-03  Roland McGrath  <roland@hack.frob.com>
22923         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
22924         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
22926 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22928         [BZ #16639]
22929         * nscd/connections.c (nscd_init): Call do_exit.
22930         (start_threads): Call do_exit and notify_parent.
22931         (begin_drop_privileges): Call do_exit.
22932         (finish_drop_privileges): Likewise.
22933         * nscd/selinux.c (preserve_capabilities): Likewise.
22934         (install_real_capabilities): Likewise.
22935         (nscd_selinux_enabled): Likewise.
22936         (avc_create_thread): Likewise.
22937         (avc_alloc_lock): Likewise.
22938         (nscd_avc_init): Likewise.
22939         * nscd/nscd.c (parent_fd): New static variable.
22940         (main): Create a pipe between parent and child processes.
22941         Skip closing parent_fd.
22942         (monitor_child): New function.
22943         (do_exit): Likewise.
22944         (notify_parent): Likewise.
22945         * nscd/nscd.h (notify_parent): Likewise.
22946         (do_exit): Likewise.
22948 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
22950         * malloc/malloc.c (__libc_calloc): Revert last change.
22952 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22954         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22956 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22958         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
22959         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
22960         implementation.
22961         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22962         (__libc_ifunc_impl_list): Likewise.
22963         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
22964         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
22965         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
22966         * string/strrchr.c: Define STRRCHR.
22968 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
22970         * benchtest/bench-strtok.c (simple_strtok): Delete.
22971         (strtok_string): Use as benchmark.
22972         * string/strtok (STRTOK): New macro.
22974 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
22976         * manual/threads.texi: Add header and standard comments to all
22977         functions.
22979         * elf/dl-lookup.c (check_match): New function.
22980         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
22981         (do_lookup_x): Remove nested function check_match. Use non-nested
22982         function check_match.
22984 2014-02-28  Roland McGrath  <roland@hack.frob.com>
22986         * csu/Makefile (generated, before-compile): Use += rather than =.
22987         * catgets/Makefile (generated, generated-dirs): Likewise.
22988         * debug/Makefile (generated): Likewise.
22989         * dlfcn/Makefile (generated): Likewise.
22990         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
22991         * iconvdata/Makefile (before-compile, generated): Likewise.
22992         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
22993         * libio/Makefile (generated): Likewise.
22994         * malloc/Makefile (generated): Likewise.
22995         * manual/Makefile (generated, generated-dirs): Likewise.
22996         * misc/Makefile (generated): Likewise.
22997         * posix/Makefile (generated): Likewise.
22998         * resolv/Makefile (generated): Likewise.
22999         * sunrpc/Makefile (generated, generated-dirs): Likewise.
23000         * timezone/Makefile (generated, generated-dirs): Likewise.
23002         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
23004 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23006         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
23007         power8 implementation.
23008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
23009         file: POWER8 llround ifunc implementation.
23010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
23011         (__lllround): Add POWER8 implementation.
23012         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
23013         POWER8 llround implementation.
23015         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
23016         power8 implementation.
23017         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
23018         file: POWER8 llrint ifunc implementation.
23019         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
23020         Add POWER8 implementation.
23021         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
23022         POWER8 llrint implementation.
23024         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
23025         power8 implementation.
23026         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
23027         file: POWER8 finite ifunc implementation.
23028         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
23029         Add POWER8 implementation.
23030         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
23031         Likewise.
23032         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
23033         POWER8 finite implementation.
23034         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
23036         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
23037         power8 implementation.
23038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
23039         file: POWER8 isinf ifunc implementation.
23040         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
23041         POWER8 implementation.
23042         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
23043         Likewise.
23044         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
23045         isinf implementation.
23046         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
23048         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
23049         (INIT_ARCH): Add hwcap2 initialization.
23050         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
23051         power8 implementation.
23052         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
23053         file: POWER8 isnan ifunc implementation.
23054         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
23055         POWER8 implementation.
23056         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
23057         Likewise.
23058         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
23059         isnan implementation.
23060         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
23062 2014-02-27  Joey Ye  <joey.ye@arm.com>
23064         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
23065         (_FP_NANFRAC_Q): Set to zero.
23067 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23069         [BZ #16623]
23070         * math/auto-libm-test-in: New test inputs.
23071         * math/auto-libm-test-out: Regenerate.
23072         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
23073         and DA.
23074         (__cos): Likewise.
23075         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
23077 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
23079         * scripts/evaluate-test.sh: Take new argument indicating whether
23080         failure is expected.
23081         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
23082         indicating whether failure is expected.
23083         * conform/Makefile (test-xfail-run-conformtest): New variable.
23084         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
23085         level.
23086         * posix/Makefile (test-xfail-annexc): New variable.
23087         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
23089 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
23091         * argp/Makefile: Include Makeconfig immediately after defining
23092         subdir.
23093         * assert/Makefile: Likewise.
23094         * benchtests/Makefile: Likewise.
23095         * catgets/Makefile: Likewise.
23096         * conform/Makefile: Likewise.
23097         * crypt/Makefile: Likewise.
23098         * csu/Makefile: Likewise.
23099         (all): Remove target.
23100         * ctype/Makefile: Include Makeconfig immediately after defining
23101         subdir.
23102         * debug/Makefile: Likewise.
23103         * dirent/Makefile: Likewise.
23104         * dlfcn/Makefile: Likewise.
23105         * gmon/Makefile: Likewise.
23106         * gnulib/Makefile: Likewise.
23107         * grp/Makefile: Likewise.
23108         * gshadow/Makefile: Likewise.
23109         * hesiod/Makefile: Likewise.
23110         * hurd/Makefile: Likewise.
23111         (all): Remove target.
23112         * iconvdata/Makefile: Include Makeconfig immediately after
23113         defining subdir.
23114         * inet/Makefile: Likewise.
23115         * intl/Makefile: Likewise.
23116         * io/Makefile: Likewise.
23117         * libio/Makefile: Likewise.
23118         (all): Remove target.
23119         * locale/Makefile: Include Makeconfig immediately after defining
23120         subdir.
23121         * login/Makefile: Likewise.
23122         * mach/Makefile: Likewise.
23123         (all): Remove target.
23124         * malloc/Makefile: Include Makeconfig immediately after defining
23125         subdir.
23126         (all): Remove target.
23127         * manual/Makefile: Include Makeconfig immediately after defining
23128         subdir.
23129         * math/Makefile: Likewise.
23130         * misc/Makefile: Likewise.
23131         * nis/Makefile: Likewise.
23132         * nss/Makefile: Likewise.
23133         * po/Makefile: Likewise.
23134         (all): Remove target.
23135         * posix/Makefile: Include Makeconfig immediately after defining
23136         subdir.
23137         * pwd/Makefile: Likewise.
23138         * resolv/Makefile: Likewise.
23139         * resource/Makefile: Likewise.
23140         * rt/Makefile: Likewise.
23141         * setjmp/Makefile: Likewise.
23142         * shadow/Makefile: Likewise.
23143         * signal/Makefile: Likewise.
23144         * socket/Makefile: Likewise.
23145         * soft-fp/Makefile: Likewise.
23146         * stdio-common/Makefile: Likewise.
23147         * stdlib/Makefile: Likewise.
23148         * streams/Makefile: Likewise.
23149         * string/Makefile: Likewise.
23150         * sunrpc/Makefile: Likewise.
23151         (all): Remove target.
23152         * sysvipc/Makefile: Include Makeconfig immediately after defining
23153         subdir.
23154         * termios/Makefile: Likewise.
23155         * time/Makefile: Likewise.
23156         * timezone/Makefile: Likewise.
23157         (all): Remove target.
23158         * wcsmbs/Makefile: Include Makeconfig immediately after defining
23159         subdir.
23160         * wctype/Makefile: Likewise.
23162 2014-02-26  Steve Ellcey  <sellcey@mips.com>
23164         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
23165         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
23166         (libc_feholdexcept_setround_mips): Ditto.
23167         (libc_feholdsetround): New.
23168         (libc_feholdsetroundf): New.
23169         (libc_feholdsetroundl): New.
23170         (libc_feupdateenv_test_mips): New.
23171         (libc_feupdateenv_test): New.
23172         (libc_feupdateenv_testf): New.
23173         (libc_feupdateenv_testl): New.
23174         (libc_feresetround): New.
23175         (libc_feresetroundf): New.
23176         (libc_feresetroundl): New.
23177         (libc_fetestexcept_mips): New.
23178         (libc_fetestexcept): New.
23179         (libc_fetestexceptf): New.
23180         (libc_fetestexceptl): New.
23181         (HAVE_RM_CTX): New.
23182         (libc_feholdexcept_setround_mips_ctx): New.
23183         (libc_feholdexcept_setround_ctx): New.
23184         (libc_feholdexcept_setroundf_ctx): New.
23185         (libc_feholdexcept_setroundl_ctx): New.
23186         (libc_fesetenv_mips_ctx): New.
23187         (libc_fesetenv_ctx): New.
23188         (libc_fesetenv_ctxf): New.
23189         (libc_fesetenv_ctxl): New.
23190         (libc_feupdateenv_mips_ctx): New.
23191         (libc_feupdateenv_ctx): New.
23192         (libc_feupdateenvf_ctx): New.
23193         (libc_feupdateenvl_ctx): New.
23194         (libc_feholdsetround_mips_ctx): New.
23195         (libc_feholdsetround_ctx): New.
23196         (libc_feholdsetroundf_ctx): New.
23197         (libc_feholdsetroundl_ctx): New.
23198         (libc_feresetround_mips_ctx): New.
23199         (libc_feresetround_ctx): New.
23200         (libc_feresetroundf_ctx): New.
23201         (libc_feresetroundl_ctx): New.
23203 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
23205         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
23207         * manual/ipc.texi: New file.
23208         * manual/Makefile (chapters): Add ipc.
23209         * manual/job.texi: Add "Inter-Process Communication" to next.
23210         * manual/process.texi: Add "Inter-Process Communication" to prev.
23212 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23214         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23216 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
23218         * malloc/malloc.c (__libc_calloc): Simplify implementation.
23220         * manual/arith.texi: Fix spaces after sentences.
23221         * manual/charset.texi: Likewise.
23222         * manual/errno.texi: Likewise.
23223         * manual/install.texi: Likewise.
23224         * manual/llio.texi: Likewise.
23225         * manual/locale.texi: Likewise.
23226         * manual/maint.texi: Likewise.
23227         * manual/math.texi: Likewise.
23228         * manual/memory.texi: Likewise.
23229         * manual/message.texi: Likewise.
23230         * manual/probes.texi: Likewise.
23231         * manual/resource.texi: Likewise.
23232         * manual/signal.texi: Likewise.
23233         * manual/socket.texi: Likewise.
23234         * manual/stdio.texi: Likewise.
23235         * manual/string.texi: Likewise.
23236         * manual/time.texi: Likewise.
23237         * manual/users.texi: Likewise.
23239 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
23241         [BZ #16632]
23242         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
23243         _DEFAULT_SOURCE is defined.
23245 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
23246             Carlos O'Donell  <carlos@redhat.com>
23248         [BZ #16613]
23249         * elf/dl-tls.c (_dl_count_modids): New function.
23250         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
23251         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
23252         audit library and increment generation counter.
23253         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
23254         * elf/tst-audit9.c: New file.
23255         * elf/tst-auditmod9a.c: New file.
23256         * elf/tst-auditmod9b.c: New file.
23257         * elf/Makefile: Add rules to build and run tst-audit9.
23259 2014-02-25  Florian Weimer  <fweimer@redhat.com>
23261         [BZ #15347]
23262         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
23264 2014-02-25  Will Newton  <will.newton@linaro.org>
23266         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
23267         (__longjmp): Restore sp and lr before restoring callee
23268         saved registers.  Add longjmp and longjmp_target
23269         SystemTap probe point.
23270         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
23271         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
23272         Define to zero to match jmpbuf layout.
23273         * sysdeps/arm/setjmp.S: Include stap-probe.h.
23274         (__sigsetjmp): Save sp and lr before saving callee
23275         saved registers.  Add setjmp SystemTap probe point.
23277 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
23279         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23281 2014-02-24  Andreas Schwab  <schwab@suse.de>
23283         [BZ #15804]
23284         * elf/pldd.c (wait_for_ptrace_stop): New function.
23285         (main): Call it after attaching.
23287 2014-02-22  Roland McGrath  <roland@hack.frob.com>
23289         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
23290         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
23291         Versions files is now verboten.
23292         * hurd/Versions (libc: GLIBC_2.0):
23293         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
23294         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
23295         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
23296         * mach/Versions: Likewise.
23298         * csu/Versions: Remove unused %include.
23299         * resolv/Versions: Likewise.
23301 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
23303         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
23304         ($(objpfx)check-local-headers.out): Likewise.
23305         ($(objpfx)begin-end-check.out): Likewise.
23306         * Makerules (check-abi-%.out): Likewise.
23307         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
23308         ($(objpfx)test2.cat): Likewise.
23309         ($(objpfx)de/libc.cat): Likewise.
23310         ($(objpfx)test-gencat.out): Likewise.
23311         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
23312         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
23313         ($(objpfx)noload-mem): Likewise.
23314         ($(objpfx)tst-pathopt.out): Likewise.
23315         ($(objpfx)tst-rtld-load-self.out): Likewise.
23316         ($(objpfx)tst-array1-cmp.out): Likewise.
23317         ($(objpfx)tst-array1-static-cmp.out): Likewise.
23318         ($(objpfx)tst-array2-cmp.out): Likewise.
23319         ($(objpfx)tst-array3-cmp.out): Likewise.
23320         ($(objpfx)tst-array4-cmp.out): Likewise.
23321         ($(objpfx)tst-array5-cmp.out): Likewise.
23322         ($(objpfx)tst-array5-static-cmp.out): Likewise.
23323         ($(objpfx)check-textrel.out): Likewise.
23324         ($(objpfx)check-execstack.out): Likewise.
23325         ($(objpfx)check-localplt.out): Likewise.
23326         ($(objpfx)order2-cmp.out): Likewise.
23327         ($(objpfx)tst-leaks1-mem): Likewise.
23328         ($(objpfx)tst-leaks1-static-mem): Likewise.
23329         ($(objpfx)tst-initorder-cmp.out): Likewise.
23330         ($(objpfx)tst-initorder2-cmp.out): Likewise.
23331         ($(objpfx)tst-unused-dep.out): Likewise.
23332         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
23333         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
23334         * iconv/Makefile (test-iconvconfig): Likewise.
23335         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
23336         ($(objpfx)iconv-test.out): Likewise.
23337         ($(objpfx)tst-tables.out): Likewise.
23338         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
23339         ($(objpfx)tst-gettext.out): Likewise.
23340         ($(objpfx)tst-translit.out): Likewise.
23341         ($(objpfx)tst-gettext2.out): Likewise.
23342         ($(objpfx)tst-gettext4.out): Likewise.
23343         ($(objpfx)tst-gettext6.out): Likewise.
23344         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
23345         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
23346         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
23347         ($(objpfx)tst-fopenloc-mem.out): Likewise.
23348         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
23349         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
23350         * posix/Makefile ($(objpfx)globtest.out): Likewise.
23351         ($(objpfx)wordexp-tst.out): Likewise.
23352         ($(objpfx)annexc.out): Likewise.
23353         ($(objpfx)tst-fnmatch-mem): Likewise.
23354         ($(objpfx)bug-regex2-mem): Likewise.
23355         ($(objpfx)bug-regex14-mem): Likewise.
23356         ($(objpfx)bug-regex21-mem): Likewise.
23357         ($(objpfx)bug-regex31-mem): Likewise.
23358         ($(objpfx)tst-vfork3-mem): Likewise.
23359         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
23360         ($(objpfx)tst-pcre-mem): Likewise.
23361         ($(objpfx)tst-boost-mem): Likewise.
23362         ($(objpfx)tst-getconf.out): Likewise.
23363         ($(objpfx)bug-ga2-mem): Likewise.
23364         ($(objpfx)bug-glob2-mem): Likewise.
23365         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
23366         ($(objpfx)mtrace-tst-leaks2): Likewise.
23367         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
23368         ($(objpfx)tst-printf.out): Likewise.
23369         ($(objpfx)tst-setvbuf1.out): Likewise.
23370         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
23371         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
23372         ($(objpfx)tst-fmtmsg.out): Likewise.
23373         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
23374         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
23376         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
23377         * bits/sigaction.h [__USE_MISC]: Likewise.
23378         * bits/waitstatus.h: Update #endif comments.
23379         * ctype/ctype.h: Likewise.
23380         * dirent/dirent.h: Likewise.
23381         [__USE_MISC]: Remove redundant conditionals.
23382         * grp/grp.h: Update #endif comments.
23383         [__USE_GNU]: Remove redundant conditionals.
23384         [__USE_MISC]: Likewise.
23385         * inet/netinet/in.h [__USE_GNU]: Likewise.
23386         * io/sys/stat.h [__USE_MISC]: Likewise.
23387         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
23388         * libio/bits/stdio.h: Update #endif comments.
23389         [__USE_MISC]: Remove redundant conditionals.
23390         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
23391         * libio/stdio.h: Update #endif comments.
23392         [__USE_MISC]: Remove redundant conditionals.
23393         * math/bits/math-finite.h [__USE_MISC]: Likewise.
23394         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
23395         * math/math.h: Update #else and #endif comments.
23396         [__USE_MISC]: Remove redundant conditionals.
23397         * misc/sys/uio.h: Update #endif comments.
23398         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
23399         * posix/glob.h [__USE_MISC]: Likewise.
23400         * posix/sys/types.h: Update #endif comments.
23401         [__USE_MISC]: Remove redundant conditionals.
23402         * posix/sys/wait.h: Update #endif comments.
23403         [__USE_MISC]: Remove redundant conditionals.
23404         * posix/unistd.h: Update #endif comments.
23405         [__USE_MISC]: Remove redundant conditionals.
23406         * pwd/pwd.h [__USE_GNU]: Likewise.
23407         [__USE_MISC]: Likewise.
23408         * resolv/netdb.h [__USE_GNU]: Likewise.
23409         * signal/signal.h: Update #endif comments.
23410         [__USE_MISC]: Remove redundant conditionals.
23411         * stdlib/stdlib.h: Update #else and #endif comments.
23412         [__USE_MISC]: Remove redundant conditionals.
23413         [__USE_GNU]: Likewise.
23414         * string/bits/string2.h [__USE_MISC]: Likewise.
23415         * string/string.h: Update #endif comments.
23416         [__USE_MISC]: Remove redundant conditionals.
23417         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
23418         Likewise.
23419         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
23420         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
23421         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
23422         Likewise.
23423         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
23424         Likewise.
23425         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
23426         comments.
23427         [__USE_MISC]: Remove redundant conditionals.
23428         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
23429         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
23430         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
23431         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
23432         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
23433         Likewise.
23434         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
23435         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
23436         Likewise.
23437         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
23438         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
23439         Likewise.
23440         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
23441         Likewise.
23442         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
23443         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
23444         Likewise.
23445         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
23446         Likewise.
23447         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
23448         * sysdeps/x86/bits/string.h: Update #endif comments.
23449         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
23450         conditionals.
23451         * time/sys/time.h: Update #endif comments.
23452         * time/time.h: Likewise.
23453         [__USE_MISC]: Remove redundant conditionals.
23455 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
23457         [BZ #16600]
23458         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
23460 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
23462         * Versions.def (librt): Add GLIBC_2.17.
23464 2014-02-21  Adam Conrad  <adconrad@0c3.net>
23466         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
23467         synonym for _SYS_AUXV_H to allow direct inclusion.
23468         * sysdeps/sparc/bits/hwcap.h: Likewise.
23469         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
23470         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
23471         * sysdeps/sparc/sysdep.h: Likewise.
23473 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23475         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
23477 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23479         * benchtests/bench-strrchr.c: Print length instead of position.
23481 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
23483         [BZ #16611]
23484         * sysdeps/unix/sysv/linux/kernel-features.h
23485         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
23486         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
23487         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
23488         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
23489         Likewise.
23490         [__i386__ || __powerpc__ || __sh__ || __sparc__]
23491         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23492         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
23493         (__ASSUME_SENDMMSG): Define instead of using previous
23494         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
23495         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23496         (__ASSUME_SENDMMSG_SYSCALL): Define.
23497         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23498         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
23499         Likewise.
23500         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23501         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23502         Likewise.
23503         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23504         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23505         Likewise.
23506         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
23507         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
23508         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
23509         [__ASSUME_SENDMMSG]: Change conditionals to
23510         [__ASSUME_SENDMMSG_SOCKETCALL].
23511         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23512         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
23513         Define.
23514         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23515         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
23516         Likewise.
23517         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
23518         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
23519         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
23520         [!__ASSUME_SENDMMSG]: Change conditional to
23521         [!__ASSUME_SENDMMSG_SOCKETCALL].
23522         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23523         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23524         Define.
23526         [BZ #16610]
23527         * sysdeps/unix/sysv/linux/kernel-features.h
23528         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
23529         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
23530         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
23531         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
23532         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23533         [__i386__ || __sparc__]
23534         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23535         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
23536         (__ASSUME_RECVMMSG): Define instead of using previous
23537         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
23538         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23539         (__ASSUME_RECVMMSG_SYSCALL): Define.
23540         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23541         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23542         Likewise.
23543         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23544         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23545         Likewise.
23546         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23547         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23548         Likewise.
23549         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
23550         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
23551         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
23552         [__ASSUME_RECVMMSG]: Change condition to
23553         [__ASSUME_RECVMMSG_SOCKETCALL].
23554         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23555         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23556         Define.
23557         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23558         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23559         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23560         Likewise.
23561         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
23562         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
23563         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
23564         [!__ASSUME_RECVMMSG]: Change condition to
23565         [!__ASSUME_RECVMMSG_SOCKETCALL].
23566         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23567         (__ASSUME_RECVMMSG_SYSCALL): Define.
23569         [BZ #16609]
23570         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
23571         __powerpc__ || __s390__ || __sh__ || __sparc__]
23572         (__ASSUME_SOCKETCALL): Define.
23573         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
23574         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
23575         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
23576         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
23577         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23578         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
23579         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
23580         (__ASSUME_ACCEPT4): Define instead of using previous
23581         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
23582         __powerpc__ || __sparc__ || __s390__)] condition.
23583         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23584         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
23585         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
23586         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
23587         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
23588         [!__ASSUME_ACCEPT4]: Change condition to
23589         [!__ASSUME_ACCEPT4_SOCKETCALL].
23590         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23591         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
23592         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
23593         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23594         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
23595         __ASSUME_ACCEPT4_SYSCALL.
23596         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
23597         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
23598         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23599         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
23600         __ASSUME_ACCEPT4_SYSCALL.
23601         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
23602         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
23603         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
23604         [__ASSUME_ACCEPT4]: Change condition to
23605         [__ASSUME_ACCEPT4_SOCKETCALL].
23606         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23607         (__ASSUME_SOCKETCALL): Define.
23608         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
23609         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23610         (__ASSUME_SOCKETCALL): Define.
23611         (__ASSUME_ACCEPT4): Remove.
23612         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
23613         Define.
23614         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23615         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
23616         Likewise.
23617         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23618         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
23620         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
23621         macro.
23622         (HWCAP_ARM_LPAE): Likewise.
23623         (HWCAP_ARM_EVTSTRM): Likewise.
23624         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
23625         Add vpfd32, lpae and evtstrm.
23626         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
23627         Increase to 22.
23629 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
23631         * math/auto-libm-test-in: Add tests of clog10.
23632         * math/auto-libm-test-out: Regenerated.
23633         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
23634         * sysdeps/i386/fpu/libm-test-ulps: Update.
23635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23637 2014-02-18  Andreas Schwab  <schwab@suse.de>
23639         [BZ #16574]
23640         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
23641         Store non-zero if the second buffer was newly allocated.
23642         (send_dg): Likewise.
23643         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
23644         to send_vc and send_dg.
23645         (res_nsend): Pass NULL for ansp2_malloced.
23646         * resolv/res_query.c (__libc_res_nquery): Add parameter
23647         answerp2_malloced and pass it down to __libc_res_nsend.
23648         (res_nquery): Pass additional NULL to __libc_res_nquery.
23649         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
23650         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
23651         second answer buffer if answerp2_malloced was set.
23652         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
23653         (__libc_res_nquerydomain): Add parameter
23654         answerp2_malloced and pass it down to __libc_res_nquery.
23655         (res_nquerydomain): Pass additional NULL to
23656         __libc_res_nquerydomain.
23657         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
23658         additional NULL to __libc_res_nsend and __libc_res_nquery.
23659         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
23660         additional NULL to __libc_res_nsearch.
23661         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
23662         parameter of __libc_res_nsearch to check for separately allocated
23663         second buffer.
23664         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
23665         __libc_res_nquery.
23666         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
23667         additional NULL to __libc_res_nquery.
23668         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
23669         __libc_res_nsearch.
23670         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
23671         * include/resolv.h: Update prototypes of __libc_res_nquery,
23672         __libc_res_nsearch, __libc_res_nsend.
23674 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
23676         * math/auto-libm-test-in: Add tests of fma.
23677         * math/auto-libm-test-out: Regenerated.
23678         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
23679         (fma_towardzero_test_data): Likewise.
23680         (fma_downward_test_data): Likewise.
23681         (fma_upward_test_data): Likewise.
23682         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
23683         mpc_mode.
23684         (rounding_modes): Add values for new field.
23685         (func_calc_method): Add value mpfr_fff_f.
23686         (func_calc_desc): Add mpfr_fff_f union field.
23687         (test_function): Add field exact_args.
23688         (FUNC): Add macro argument EXACT_ARGS.
23689         (FUNC_mpfr_f_f): Update call to FUNC.
23690         (FUNC_mpfr_f_f): Likewise.
23691         (FUNC_mpfr_ff_f): Likewise.
23692         (FUNC_mpfr_if_f): Likewise.
23693         (FUNC_mpc_c_f): Likewise.
23694         (FUNC_mpc_c_c): Likewise.
23695         (test_functions): Add fma.  Update calls to FUNC.
23696         (handle_input_arg): Add argument exact_args.
23697         (add_test): Update call to handle_input_arg.
23698         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
23699         (output_for_one_input_case): Update call to calc_generic_results.
23700         Recalculate exact zero results in each rounding mode.
23702         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
23703         non-negative before setting low bit.
23704         * math/auto-libm-test-in: Mark one asin test possibly having
23705         spurious underflow.
23706         * math/auto-libm-test-out: Regenerated.
23707         * sysdeps/i386/fpu/libm-test-ulps: Update.
23708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23710 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
23712         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
23713         * sysdeps/unix/sysv/linux/microblaze: Move directory from
23714         ports/sysdeps/unix/sysv/linux/microblaze.
23715         * README: Add missing listing for microblaze*-*-linux-gnu.
23717 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
23719         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
23720         duplicate code
23722 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
23724         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
23725         * sysdeps/unix/sysv/linux/ia64: Move directory from
23726         ports/sysdeps/unix/sysv/linux/ia64.
23727         * README: Update listing for ia64-*-linux-gnu.
23729 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
23730             Joseph Myers  <joseph@codesourcery.com>
23732         * Makeconfig (test-name): New variable.
23733         (evaluate-test): Likewise.
23734         * Makerules (do-test-clean): Remove .test-result files.
23735         (common-mostlyclean): Likewise.
23736         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
23737         * scripts/evaluate-test.sh: New file.
23739 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
23741         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
23742         separate $(objpfx)tst-fopenloc-cmp.out and
23743         $(objpfx)tst-fopenloc-mem.out targets.
23744         (tests): Update dependencies.
23745         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
23746         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
23747         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
23748         (tst-rxspencer-no-utf8-ARGS): New variable.
23749         (tst-rxspencer-no-utf8-ENV): Likewise.
23750         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
23751         instead of $(objpfx)tst-rxspencer-mem.
23752         ($(objpfx)tst-rxspencer-mem): Change target to
23753         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
23754         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
23755         * posix/tst-rxspencer-no-utf8.c: New file.
23757         * elf/Makefile ($(objpfx)order.out): Remove rule.
23758         [$(run-built-tests) = yes] (tests): Depend on
23759         $(objpfx)order-cmp.out.
23760         ($(objpfx)order-cmp.out): New rule.
23761         [$(run-built-tests) = yes] (tests): Depend on
23762         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
23763         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
23764         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
23765         $(objpfx)tst-array5-static-cmp.out.
23766         ($(objpfx)tst-array1.out): Remove rule.
23767         ($(objpfx)tst-array1-cmp.out): New rule.
23768         ($(objpfx)tst-array1-static.out): Remove rule.
23769         ($(objpfx)tst-array1-static-cmp.out): New rule.
23770         ($(objpfx)tst-array2.out): Remove rule.
23771         ($(objpfx)tst-array2-cmp.out): New rule.
23772         ($(objpfx)tst-array3.out): Remove rule.
23773         ($(objpfx)tst-array3-cmp.out): New rule.
23774         ($(objpfx)tst-array4.out): Remove rule.
23775         ($(objpfx)tst-array4-cmp.out): New rule.
23776         ($(objpfx)tst-array5.out): Remove rule.
23777         ($(objpfx)tst-array5-cmp.out): New rule.
23778         ($(objpfx)tst-array5-static.out): Remove rule.
23779         ($(objpfx)tst-array5-static-cmp.out): New rule.
23780         [$(run-built-tests) = yes] (tests): Depend on
23781         $(objpfx)order2-cmp.out.
23782         ($(objpfx)order2.out): Remove rule.
23783         ($(objpfx)order2-cmp.out): New rule.
23784         ($(objpfx)tst-initorder.out): Remove rule.
23785         [$(run-built-tests) = yes] (tests): Depend on
23786         $(objpfx)tst-initorder-cmp.out.
23787         ($(objpfx)tst-initorder-cmp.out): New rule.
23788         ($(objpfx)tst-initorder2.out): Remove rule.
23789         [$(run-built-tests) = yes] (tests): Depend on
23790         $(objpfx)tst-initorder2-cmp.out.
23791         ($(objpfx)tst-initorder2-cmp.out): New rule.
23792         [$(run-built-tests) = yes] (tests): Depend on
23793         $(objpfx)tst-unused-dep-cmp.out.
23794         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
23795         ($(objpfx)tst-unused-dep-cmp.out): New rule.
23796         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
23797         on $(objpfx)tst-setvbuf1-cmp.out.
23798         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
23799         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
23800         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
23801         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
23802         ($(objpfx)tst-svc.out): Remove rule.
23803         ($(objpfx)tst-svc-cmp.out): New rule.
23805 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
23807         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
23808         * ctype/ctype.h [__USE_MISC]: Likewise.
23809         * dirent/dirent.h [__USE_MISC]: Likewise.
23810         * grp/grp.h [__USE_MISC]: Likewise.
23811         * io/fcntl.h [__USE_MISC]: Likewise.
23812         * io/sys/stat.h [__USE_MISC]: Likewise.
23813         * libio/stdio.h [__USE_MISC]: Likewise.
23814         * posix/unistd.h [__USE_MISC]: Likewise.
23815         * pwd/pwd.h [__USE_MISC]: Likewise.
23816         * stdlib.h [__USE_MISC]: Likewise.
23817         * string/bits/string2.h [__USE_MISC]: Likewise.
23818         * string/string.h [__USE_MISC]: Likewise.
23819         * time/time.h [__USE_MISC]: Likewise.
23821 2014-02-13  Andreas Schwab  <schwab@suse.de>
23823         [BZ #16574]
23824         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
23825         second answer buffer if it was separately allocated.
23827 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
23829         * sysdeps/mips/math-tests.h: Include <features.h>.
23830         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
23831         (ROUNDING_TESTS_long_double): Do not define.
23832         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
23833         (EXCEPTION_TESTS_long_double): Likewise.
23834         * sysdeps/mips/mips64/libm-test-ulps: Update.
23836         * include/features.h (__USE_BSD): Remove macro definitions.
23837         (__USE_SVID): Likewise.
23838         (_BSD_SOURCE): Likewise.
23839         (_SVID_SOURCE): Likewise.
23840         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
23841         from definition of _DEFAULT_SOURCE.
23842         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
23843         [_DEFAULT_SOURCE].
23844         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
23845         * bits/mman.h [__USE_BSD]: Likewise.
23846         * bits/termios.h [__USE_BSD]: Likewise.
23847         * bits/waitstatus.h [__USE_BSD]: Likewise.
23848         * ctype/ctype.h [__USE_SVID]: Likewise.
23849         * dirent/dirent.h [__USE_BSD]: Likewise.
23850         * grp/grp.h [__USE_SVID]: Likewise.
23851         [__USE_BSD]: Likewise.
23852         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
23853         * io/fcntl.h [__USE_BSD]: Likewise.
23854         * io/ftw.h [__USE_BSD]: Likewise.
23855         * io/sys/stat.h [__USE_BSD]: Likewise.
23856         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
23857         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
23858         * libio/stdio.h [__USE_SVID]: Likewise.
23859         [__USE_BSD]: Likewise.
23860         * math/math.h [__USE_SVID]: Likewise.
23861         [__USE_BSD]: Likewise.
23862         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
23863         * misc/bits/syslog.h [__USE_BSD]: Likewise.
23864         * misc/search.h [__USE_SVID]: Likewise.
23865         * misc/sys/mman.h [__USE_BSD]: Likewise.
23866         * misc/sys/syslog.h [__USE_BSD]: Likewise.
23867         * misc/sys/uio.h [__USE_BSD]: Likewise.
23868         * posix/bits/unistd.h [__USE_BSD]: Likewise.
23869         * posix/glob.h [__USE_BSD]: Likewise.
23870         * posix/regex.h [__USE_BSD]: Likewise.
23871         * posix/sys/types.h [__USE_BSD]: Likewise.
23872         [__USE_SVID]: Likewise.
23873         * posix/sys/utsname.h [__USE_SVID]: Likewise.
23874         * posix/sys/wait.h [__USE_BSD]: Likewise.
23875         [__USE_SVID]: Likewise.
23876         * posix/unistd.h [__USE_BSD]: Likewise.
23877         [__USE_SVID]: Likewise.
23878         * pwd/pwd.h [__USE_SVID]: Likewise.
23879         * resolv/netdb.h [__USE_BSD]: Likewise.
23880         * setjmp/setjmp.h [__USE_BSD]: Likewise.
23881         * signal/signal.h [__USE_BSD]: Likewise.
23882         [__USE_SVID]: Likewise.
23883         * socket/sys/socket.h [__USE_BSD]: Likewise.
23884         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
23885         * stdlib/stdlib.h [__USE_BSD]: Likewise.
23886         [__USE_SVID]: Likewise.
23887         * string/bits/string2.h [__USE_BSD]: Likewise.
23888         [__USE_SVID]: Likewise.
23889         * string/bits/string3.h [__USE_BSD]: Likewise.
23890         * string/endian.h [__USE_BSD]: Likewise.
23891         * string/string.h [__USE_SVID]: Likewise.
23892         [__USE_BSD]: Likewise.
23893         * string/strings.h [__USE_BSD]: Likewise.
23894         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
23895         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
23896         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
23897         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
23898         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
23899         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
23900         Likewise.
23901         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
23902         Likewise.
23903         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
23904         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
23905         Likewise.
23906         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
23907         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
23908         Likewise.
23909         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
23910         Likewise.
23911         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
23912         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
23913         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
23914         Likewise.
23915         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
23916         Likewise.
23917         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
23918         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
23919         * termios/termios.h [__USE_BSD]: Likewise.
23920         * time/sys/time.h [__USE_BSD]: Likewise.
23921         * time/time.h [__USE_BSD]: Likewise.
23922         [__USE_SVID]: Likewise.
23924         * Makefile (subdir_targets): Remove subdir_lint.out.
23926         * stdio-common/Makefile (do-tst-unbputc): Remove target.
23927         (do-tst-printf): Likewise.
23928         (tests): Depend directly on $(objpfx)tst-unbputc.out and
23929         $(objpfx)tst-printf.out.
23931         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
23933         * Makerules (check-abi-%): Change target to
23934         $(objpfx)check-abi-%.out.
23935         (check-abi target): Update dependencies.
23936         (check-abi-pattern variable): Redirect output of diff to $@.
23937         (check-abi variable): Likewise.
23938         * elf/Makefile (check-abi): Update dependencies.
23940         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
23941         unused.
23942         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
23943         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
23944         subnormal range.
23945         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
23946         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
23947         value has largest subnormal exponent.
23948         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
23949         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
23950         * sysdeps/aarch64/soft-fp/sfp-machine.h
23951         (_FP_TININESS_AFTER_ROUNDING): New macro.
23952         * sysdeps/alpha/soft-fp/sfp-machine.h
23953         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23954         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23955         Likewise.
23956         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
23957         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23958         * sysdeps/mips/soft-fp/sfp-machine.h
23959         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23960         * sysdeps/powerpc/soft-fp/sfp-machine.h
23961         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23962         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23963         Likewise.
23964         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
23965         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23966         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
23967         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23968         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23969         Likewise.
23971 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
23973         [BZ #16545]
23974         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
23975         model 1.
23977 2014-02-12  Richard Henderson  <rth@redhat.com>
23979         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
23980         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
23981         * sysdeps/unix/sysv/linux/alpha: Move directory from
23982         ports/sysdeps/unix/sysv/linux/alpha.
23983         * README: Update listing for alpha-*-linux-gnu.
23985 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
23987         * include/features.h: Update comment documenting feature test
23988         macros.
23989         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
23990         _DEFAULT_SOURCE.
23991         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
23992         (_SVID_SOURCE): Likewise.
23993         (_DEFAULT_SOURCE): Update description of default features.
23994         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
23995         with _GNU_SOURCE.
23996         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
23997         (S_ISVTX): Likewise.
23998         * manual/math.texi (Mathematical Constants): Likewise.
23999         * manual/signal.texi (Interrupted Primitives): Likewise.
24000         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
24001         * math/test-matherr.c (_SVID_SOURCE): Do not define.
24002         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
24003         Don't refer to _SVID_SOURCE in warning text.
24005         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24007         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
24008         already defined.
24009         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
24010         * sysdeps/mips/dl-lookup.c: Remove.
24011         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
24013 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24015         [BZ #16447]
24016         * math/auto-libm-test-in: Add testcase for expl.
24017         * math/auto-libm-test-out: Regenerate.
24018         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
24019         calculation of unsafe.
24020         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
24022 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
24024         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
24025         * sysdeps/unix/sysv/linux/aarch64: Move directory from
24026         ports/sysdeps/unix/sysv/linux/aarch64.
24027         * README: Update listing for aarch64*-*-linux-gnu.
24029 2014-02-11  Will Newton  <will.newton@linaro.org>
24031         * manual/probes.texi (Mathematical Function Probes): Use
24032         "triggered" instead of "hit".
24034         * manual/probes.texi (Internal Probes): Add documentation
24035         of setjmp, longjmp and longjmp_target probes.
24037         * include/stap-probe.h: Add comment about probe argument
24038         format.
24040         * malloc/mtrace.c (attribute_hidden): Remove unused macro
24041         definition.  (tr_where, tr_freehook, tr_mallochook,
24042         tr_reallochook, tr_memalignhook): Use ANSI protoype.
24044 2014-02-11  David S. Miller  <davem@davemloft.net>
24046         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
24047         processing int_tests.
24049 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
24051         * sysdeps/mips: Move directory from ports/sysdeps/mips.
24052         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
24053         * sysdeps/unix/sysv/linux/mips: Move directory from
24054         ports/sysdeps/unix/sysv/linux/mips.
24055         * README: Update listing for mips-*-linux-gnu and
24056         mips64-*-linux-gnu.
24058 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
24060         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
24061         * sysdeps/unix/sysv/linux/m68k: Move directory from
24062         ports/sysdeps/unix/sysv/linux/m68k.
24063         * README: Update listing for m68k-*-linux-gnu.
24065 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
24067         * sysdeps/tile: Move directory from ports/sysdeps/tile.
24068         * sysdeps/unix/sysv/linux/generic: Move directory from
24069         ports/sysdeps/unix/sysv/linux/generic.
24070         * sysdeps/unix/sysv/linux/tile: Move directory from
24071         ports/sysdeps/unix/sysv/linux/tile.
24072         * README: Update listing for tile*-*-linux-gnu.
24074 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
24076         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
24077         __builtin_expect.
24078         * benchtests/bench-memmem.c (simple_memmem): Likewise.
24079         * catgets/open_catalog.c (__open_catalog): Likewise.
24080         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
24081         * debug/confstr_chk.c: Likewise.
24082         * debug/fread_chk.c (__fread_chk): Likewise.
24083         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
24084         * debug/getgroups_chk.c: Likewise.
24085         * debug/mbsnrtowcs_chk.c: Likewise.
24086         * debug/mbsrtowcs_chk.c: Likewise.
24087         * debug/mbstowcs_chk.c: Likewise.
24088         * debug/memcpy_chk.c: Likewise.
24089         * debug/memmove_chk.c: Likewise.
24090         * debug/mempcpy_chk.c: Likewise.
24091         * debug/memset_chk.c: Likewise.
24092         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
24093         * debug/strcat_chk.c (__strcat_chk): Likewise.
24094         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
24095         * debug/strncat_chk.c (__strncat_chk): Likewise.
24096         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
24097         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
24098         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
24099         * debug/wcpncpy_chk.c: Likewise.
24100         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
24101         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
24102         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
24103         * debug/wcsncpy_chk.c: Likewise.
24104         * debug/wcsnrtombs_chk.c: Likewise.
24105         * debug/wcsrtombs_chk.c: Likewise.
24106         * debug/wcstombs_chk.c: Likewise.
24107         * debug/wmemcpy_chk.c: Likewise.
24108         * debug/wmemmove_chk.c: Likewise.
24109         * debug/wmempcpy_chk.c: Likewise.
24110         * debug/wmemset_chk.c: Likewise.
24111         * dirent/scandirat.c (SCANDIRAT): Likewise.
24112         * dlfcn/dladdr1.c (dladdr1): Likewise.
24113         * dlfcn/dladdr.c (dladdr): Likewise.
24114         * dlfcn/dlclose.c (dlclose_doit): Likewise.
24115         * dlfcn/dlerror.c (__dlerror): Likewise.
24116         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
24117         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
24118         * dlfcn/dlopen.c (dlopen_doit): Likewise.
24119         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
24120         * dlfcn/dlsym.c (dlsym_doit): Likewise.
24121         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
24122         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
24123         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
24124         Likewise.
24125         * elf/dl-conflict.c: Likewise.
24126         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
24127         * elf/dl-dst.h: Likewise.
24128         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
24129         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
24130         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
24131         * elf/dl-init.c (call_init, _dl_init): Likewise.
24132         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
24133         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
24134         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
24135         Likewise.
24136         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
24137         Likewise.
24138         * elf/dl-minimal.c (__libc_memalign): Likewise.
24139         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
24140         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
24141         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
24142         * elf/dl-sym.c (do_sym): Likewise.
24143         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
24144         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
24145         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
24146         * elf/dl-writev.h (_dl_writev): Likewise.
24147         * elf/ldconfig.c (search_dir): Likewise.
24148         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
24149         (dl_main): Likewise.
24150         * elf/setup-vdso.h (setup_vdso): Likewise.
24151         * grp/compat-initgroups.c (compat_call): Likewise.
24152         * grp/fgetgrent.c (fgetgrent): Likewise.
24153         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
24154         * grp/putgrent.c (putgrent): Likewise.
24155         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
24156         Likewise.
24157         * hurd/hurdinit.c: Likewise.
24158         * iconvdata/8bit-gap.c (struct): Likewise.
24159         * iconvdata/ansi_x3.110.c : Likewise.
24160         * iconvdata/big5.c : Likewise.
24161         * iconvdata/big5hkscs.c : Likewise.
24162         * iconvdata/cp1255.c: Likewise.
24163         * iconvdata/cp1258.c : Likewise.
24164         * iconvdata/cp932.c : Likewise.
24165         * iconvdata/euc-cn.c: Likewise.
24166         * iconvdata/euc-jisx0213.c : Likewise.
24167         * iconvdata/euc-jp.c: Likewise.
24168         * iconvdata/euc-jp-ms.c : Likewise.
24169         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
24170         * iconvdata/gb18030.c : Likewise.
24171         * iconvdata/gbbig5.c (const): Likewise.
24172         * iconvdata/gbgbk.c: Likewise.
24173         * iconvdata/gbk.c : Likewise.
24174         * iconvdata/ibm1364.c : Likewise.
24175         * iconvdata/ibm930.c : Likewise.
24176         * iconvdata/ibm932.c: Likewise.
24177         * iconvdata/ibm933.c : Likewise.
24178         * iconvdata/ibm935.c : Likewise.
24179         * iconvdata/ibm937.c : Likewise.
24180         * iconvdata/ibm939.c : Likewise.
24181         * iconvdata/ibm943.c: Likewise.
24182         * iconvdata/iso_11548-1.c: Likewise.
24183         * iconvdata/iso-2022-cn.c : Likewise.
24184         * iconvdata/iso-2022-cn-ext.c : Likewise.
24185         * iconvdata/iso-2022-jp-3.c: Likewise.
24186         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
24187         * iconvdata/iso-2022-kr.c : Likewise.
24188         * iconvdata/iso646.c (gconv_end): Likewise.
24189         * iconvdata/iso_6937-2.c : Likewise.
24190         * iconvdata/iso_6937.c : Likewise.
24191         * iconvdata/iso8859-1.c: Likewise.
24192         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
24193         * iconvdata/shift_jisx0213.c : Likewise.
24194         * iconvdata/sjis.c : Likewise.
24195         * iconvdata/t.61.c : Likewise.
24196         * iconvdata/tcvn5712-1.c : Likewise.
24197         * iconvdata/tscii.c: Likewise.
24198         * iconvdata/uhc.c : Likewise.
24199         * iconvdata/unicode.c (gconv_end): Likewise.
24200         * iconvdata/utf-16.c (gconv_end): Likewise.
24201         * iconvdata/utf-32.c (gconv_end): Likewise.
24202         * iconvdata/utf-7.c (base64): Likewise.
24203         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
24204         * iconv/gconv_close.c (__gconv_close): Likewise.
24205         * iconv/gconv_open.c (__gconv_open): Likewise.
24206         * iconv/gconv_simple.c (internal_ucs4_loop_single)
24207         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
24208         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
24209         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
24210         (ucs4le_internal_loop_single): Likewise.
24211         * iconv/iconv.c (iconv): Likewise.
24212         * iconv/iconv_close.c: Likewise.
24213         * iconv/loop.c (SINGLE): Likewise.
24214         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
24215         * include/atomic.h: Likewise.
24216         * inet/inet6_option.c (option_alloc): Likewise.
24217         * intl/bindtextdom.c (set_binding_values): Likewise.
24218         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
24219         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
24220         * intl/localealias.c (read_alias_file): Likewise.
24221         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
24222         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
24223         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
24224         * libio/fmemopen.c (fmemopen): Likewise.
24225         * libio/iofgets.c (_IO_fgets): Likewise.
24226         * libio/iofgets_u.c (fgets_unlocked): Likewise.
24227         * libio/iofgetws.c (fgetws): Likewise.
24228         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
24229         * libio/iogetdelim.c (_IO_getdelim): Likewise.
24230         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
24231         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
24232         * locale/findlocale.c (_nl_find_locale): Likewise.
24233         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
24234         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
24235         Likewise.
24236         * locale/setlocale.c (setlocale): Likewise.
24237         * login/programs/pt_chown.c (main): Likewise.
24238         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
24239         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
24240         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
24241         (mmap, mmap64, mremap, munmap): Likewise.
24242         * math/e_exp2l.c: Likewise.
24243         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
24244         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
24245         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
24246         * math/s_catan.c (__catan): Likewise.
24247         * math/s_catanf.c (__catanf): Likewise.
24248         * math/s_catanh.c (__catanh): Likewise.
24249         * math/s_catanhf.c (__catanhf): Likewise.
24250         * math/s_catanhl.c (__catanhl): Likewise.
24251         * math/s_catanl.c (__catanl): Likewise.
24252         * math/s_ccosh.c (__ccosh): Likewise.
24253         * math/s_ccoshf.c (__ccoshf): Likewise.
24254         * math/s_ccoshl.c (__ccoshl): Likewise.
24255         * math/s_cexp.c (__cexp): Likewise.
24256         * math/s_cexpf.c (__cexpf): Likewise.
24257         * math/s_cexpl.c (__cexpl): Likewise.
24258         * math/s_clog10.c (__clog10): Likewise.
24259         * math/s_clog10f.c (__clog10f): Likewise.
24260         * math/s_clog10l.c (__clog10l): Likewise.
24261         * math/s_clog.c (__clog): Likewise.
24262         * math/s_clogf.c (__clogf): Likewise.
24263         * math/s_clogl.c (__clogl): Likewise.
24264         * math/s_csin.c (__csin): Likewise.
24265         * math/s_csinf.c (__csinf): Likewise.
24266         * math/s_csinh.c (__csinh): Likewise.
24267         * math/s_csinhf.c (__csinhf): Likewise.
24268         * math/s_csinhl.c (__csinhl): Likewise.
24269         * math/s_csinl.c (__csinl): Likewise.
24270         * math/s_csqrt.c (__csqrt): Likewise.
24271         * math/s_csqrtf.c (__csqrtf): Likewise.
24272         * math/s_csqrtl.c (__csqrtl): Likewise.
24273         * math/s_ctan.c (__ctan): Likewise.
24274         * math/s_ctanf.c (__ctanf): Likewise.
24275         * math/s_ctanh.c (__ctanh): Likewise.
24276         * math/s_ctanhf.c (__ctanhf): Likewise.
24277         * math/s_ctanhl.c (__ctanhl): Likewise.
24278         * math/s_ctanl.c (__ctanl): Likewise.
24279         * math/w_pow.c: Likewise.
24280         * math/w_powf.c: Likewise.
24281         * math/w_powl.c: Likewise.
24282         * math/w_scalb.c (sysv_scalb): Likewise.
24283         * math/w_scalbf.c (sysv_scalbf): Likewise.
24284         * math/w_scalbl.c (sysv_scalbl): Likewise.
24285         * misc/error.c (error_tail): Likewise.
24286         * misc/pselect.c (__pselect): Likewise.
24287         * nis/nis_callback.c (__nis_create_callback): Likewise.
24288         * nis/nis_call.c (__nisfind_server): Likewise.
24289         * nis/nis_creategroup.c (nis_creategroup): Likewise.
24290         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
24291         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
24292         * nis/nis_getservlist.c (nis_getservlist): Likewise.
24293         * nis/nis_lookup.c (nis_lookup): Likewise.
24294         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
24295         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
24296         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
24297         * nis/nis_xdr.c (xdr_endpoint): Likewise.
24298         * nis/nss_compat/compat-grp.c (getgrent_next_file)
24299         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
24300         * nis/nss_compat/compat-initgroups.c (add_group)
24301         (internal_getgrent_r): Likewise.
24302         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
24303         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
24304         * nis/nss_compat/compat-spwd.c (getspent_next_file)
24305         (internal_getspnam_r): Likewise.
24306         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
24307         (_nss_nis_getaliasbyname_r): Likewise.
24308         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
24309         (_nss_nis_getntohost_r): Likewise.
24310         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
24311         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
24312         (_nss_nis_getgrgid_r): Likewise.
24313         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
24314         (internal_nis_gethostent_r, internal_gethostbyname2_r)
24315         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
24316         (_nss_nis_gethostbyname4_r): Likewise.
24317         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
24318         (initgroups_netid): Likewise.
24319         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
24320         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
24321         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
24322         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
24323         (_nss_nis_getprotobynumber_r): Likewise.
24324         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
24325         (_nss_nis_getsecretkey): Likewise.
24326         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
24327         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
24328         (_nss_nis_getpwuid_r): Likewise.
24329         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
24330         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
24331         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
24332         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
24333         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
24334         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
24335         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
24336         Likewise.
24337         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
24338         (_nss_nisplus_getntohost_r): Likewise.
24339         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
24340         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
24341         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
24342         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
24343         Likewise.
24344         * nis/nss_nisplus/nisplus-initgroups.c
24345         (_nss_nisplus_initgroups_dyn): Likewise.
24346         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
24347         (_nss_nisplus_getnetbyaddr_r): Likewise.
24348         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
24349         (_nss_nisplus_getprotobynumber_r): Likewise.
24350         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
24351         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
24352         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
24353         Likewise.
24354         * nis/nss_nisplus/nisplus-service.c
24355         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
24356         (_nss_nisplus_getservbyport_r): Likewise.
24357         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
24358         (_nss_nisplus_getspnam_r): Likewise.
24359         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
24360         Likewise.
24361         * nscd/aicache.c (addhstaiX): Likewise.
24362         * nscd/cache.c (cache_search, prune_cache): Likewise.
24363         * nscd/connections.c (register_traced_file, send_ro_fd)
24364         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
24365         (main_loop_epoll): Likewise.
24366         * nscd/grpcache.c (addgrbyX): Likewise.
24367         * nscd/hstcache.c (addhstbyX): Likewise.
24368         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24369         * nscd/mem.c (gc, mempool_alloc): Likewise.
24370         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
24371         (addinnetgrX): Likewise.
24372         * nscd/nscd-client.h (__nscd_acquire_maplock)
24373         (__nscd_drop_map_ref): Likewise.
24374         * nscd/nscd_getai.c (__nscd_getai): Likewise.
24375         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
24376         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
24377         Likewise.
24378         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
24379         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24380         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
24381         (__nscd_get_map_ref): Likewise.
24382         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
24383         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
24384         Likewise.
24385         * nscd/pwdcache.c (addpwbyX): Likewise.
24386         * nscd/selinux.c (preserve_capabilities): Likewise.
24387         * nscd/servicescache.c (addservbyX): Likewise.
24388         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
24389         * posix/fnmatch.c (fnmatch): Likewise.
24390         * posix/getopt.c (_getopt_internal_r): Likewise.
24391         * posix/glob.c (glob, glob_in_dir): Likewise.
24392         * posix/wordexp.c (exec_comm_child): Likewise.
24393         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
24394         (getanswer_r, gaih_getanswer_slice): Likewise.
24395         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
24396         * resolv/res_init.c: Likewise.
24397         * resolv/res_mkquery.c (res_nmkquery): Likewise.
24398         * resolv/res_query.c (__libc_res_nquery): Likewise.
24399         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
24400         Likewise.
24401         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
24402         * stdio-common/perror.c (perror): Likewise.
24403         * stdio-common/printf_fp.c (___printf_fp): Likewise.
24404         * stdio-common/tmpnam.c (tmpnam): Likewise.
24405         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
24406         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
24407         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
24408         Likewise.
24409         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
24410         * stdlib/putenv.c (putenv): Likewise.
24411         * stdlib/setenv.c (__add_to_environ): Likewise.
24412         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24413         * stdlib/strtol_l.c (INTERNAL): Likewise.
24414         * string/memmem.c (memmem): Likewise.
24415         * string/strerror.c (strerror): Likewise.
24416         * string/strnlen.c (__strnlen): Likewise.
24417         * string/test-memmem.c (simple_memmem): Likewise.
24418         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
24419         * sunrpc/pm_getport.c (__get_socket): Likewise.
24420         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
24421         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
24422         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
24423         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
24424         Likewise.
24425         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
24426         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
24427         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
24428         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
24429         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
24430         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
24431         Likewise.
24432         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
24433         Likewise.
24434         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
24435         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
24436         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24437         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
24438         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
24439         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
24440         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
24441         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
24442         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
24443         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
24444         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24445         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
24446         Likewise.
24447         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
24448         Likewise.
24449         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
24450         Likewise.
24451         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
24452         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24453         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
24454         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
24455         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
24456         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
24457         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
24458         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
24459         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
24460         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
24461         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
24462         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24463         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
24464         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
24465         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24466         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
24467         Likewise.
24468         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
24469         Likewise.
24470         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
24471         Likewise.
24472         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
24473         Likewise.
24474         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24475         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24476         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
24477         Likewise.
24478         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
24479         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
24480         * sysdeps/posix/opendir.c (__opendirat): Likewise.
24481         * sysdeps/posix/sleep.c: Likewise.
24482         * sysdeps/posix/tempname.c: Likewise.
24483         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
24484         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24485         Likewise.
24486         * sysdeps/powerpc/powerpc32/dl-machine.h
24487         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
24488         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
24489         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24490         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
24491         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
24492         Likewise.
24493         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
24494         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
24495         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
24496         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
24497         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
24498         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
24499         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
24500         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
24501         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24502         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
24503         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
24504         (elf_machine_lazy_rel): Likewise.
24505         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24506         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
24507         (elf_machine_lazy_rel): Likewise.
24508         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
24509         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
24510         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
24511         * sysdeps/unix/grantpt.c (grantpt): Likewise.
24512         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
24513         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
24514         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
24515         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24516         Likewise.
24517         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
24518         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
24519         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
24520         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
24521         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24522         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24523         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
24524         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
24525         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
24526         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24527         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24528         Likewise.
24529         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
24530         (__posix_fallocate64_l64): Likewise.
24531         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
24532         (posix_fallocate): Likewise.
24533         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
24534         Likewise.
24535         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24536         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
24537         (getifaddrs_internal): Likewise.
24538         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
24539         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
24540         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
24541         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
24542         * sysdeps/unix/sysv/linux/posix_fallocate64.c
24543         (__posix_fallocate64_l64): Likewise.
24544         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
24545         Likewise.
24546         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
24547         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
24548         (__get_clockfreq): Likewise.
24549         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
24550         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
24551         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
24552         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24553         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24554         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
24555         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
24556         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
24557         Likewise.
24558         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
24559         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
24560         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
24561         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
24562         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24563         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
24564         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
24565         Likewise.
24566         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24567         (posix_fallocate): Likewise.
24568         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24569         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
24570         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
24571         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
24572         (elf_machine_rela, elf_machine_rela_relative)
24573         (elf_machine_lazy_rel): Likewise.
24574         * time/asctime.c (asctime_internal): Likewise.
24575         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
24576         * time/tzset.c (__tzset_parse_tz): Likewise.
24577         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
24578         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
24579         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
24580         * wcsmbs/wcsmbsload.h: Likewise.
24582         [BZ #15894]
24583         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
24585         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
24586         (arena_get2): Remove THREAD_STATS conditionals.
24587         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
24588         (__malloc_stats, int): Likewise.
24590 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
24592         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
24593         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
24595         * manual/setjmp.texi: Fix typos/grammar errors.
24597         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
24598         Only return early when n is <= 0.  Delete unused return statement.
24600         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
24601         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
24602         * debug/tst-longjmp_chk3.c: New file.
24604         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
24605         (test_main): Replace code with set_fortify_handler call.
24606         * debug/test-strcpy_chk.c: Likewise.
24607         * debug/tst-chk1.c: Likewise.
24608         * debug/tst-longjmp_chk.c: Likewise.
24609         * test-skeleton.c: Include fcntl.h & paths.h
24610         (set_fortify_handler): Define.
24612         * debug/tst-longjmp_chk.c: Add header comment and include
24613         ../test-skeleton.c.
24614         (do_test): Mark static.
24615         (TEST_FUNCTION): Define.
24617         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
24618         (IP_PMTUDISC_INTERFACE): Likewise.
24619         (IP_MULTICAST_IF): Likewise.
24620         (IP_MULTICAST_TTL): Likewise.
24621         (IP_MULTICAST_LOOP): Likewise.
24622         (IP_ADD_MEMBERSHIP): Likewise.
24623         (IP_DROP_MEMBERSHIP): Likewise.
24624         (IP_UNBLOCK_SOURCE): Likewise.
24625         (IP_BLOCK_SOURCE): Likewise.
24626         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
24627         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
24628         (IP_MSFILTER): Likewise.
24629         (MCAST_JOIN_GROUP): Likewise.
24630         (MCAST_BLOCK_SOURCE): Likewise.
24631         (MCAST_UNBLOCK_SOURCE): Likewise.
24632         (MCAST_LEAVE_GROUP): Likewise.
24633         (MCAST_JOIN_SOURCE_GROUP): Likewise.
24634         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
24635         (MCAST_MSFILTER): Likewise.
24636         (IP_MULTICAST_ALL): Likewise.
24637         (IP_UNICAST_IF): Likewise.
24639         * timezone/Makefile: Delete $(have-ksh) check.
24640         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
24641         * timezone/tzselect.ksh: Add +x mode bits.
24643         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
24644         (ANON_INODE_FS_MAGIC): Likewise.
24645         (BDEVFS_MAGIC): Likewise.
24646         (BINFMTFS_MAGIC): Likewise.
24647         (BTRFS_TEST_MAGIC): Likewise.
24648         (CRAMFS_MAGIC_WEND): Likewise.
24649         (DEBUGFS_MAGIC): Likewise.
24650         (ECRYPTFS_SUPER_MAGIC): Likewise.
24651         (EXT3_SUPER_MAGIC): Likewise.
24652         (EXT4_SUPER_MAGIC): Likewise.
24653         (FUTEXFS_SUPER_MAGIC): Likewise.
24654         (HOSTFS_SUPER_MAGIC): Likewise.
24655         (HUGETLBFS_MAGIC): Likewise.
24656         (MINIX3_SUPER_MAGIC): Likewise.
24657         (MTD_INODE_FS_MAGIC): Likewise.
24658         (NILFS_SUPER_MAGIC): Likewise.
24659         (OPENPROM_SUPER_MAGIC): Likewise.
24660         (PIPEFS_MAGIC): Likewise.
24661         (PSTOREFS_MAGIC): Likewise.
24662         (QNX6_SUPER_MAGIC): Likewise.
24663         (RAMFS_MAGIC): Likewise.
24664         (REISERFS_SUPER_MAGIC_STRING): Likewise.
24665         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
24666         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
24667         (SECURITYFS_MAGIC): Likewise.
24668         (SELINUX_MAGIC): Likewise.
24669         (SMACK_MAGIC): Likewise.
24670         (SOCKFS_MAGIC): Likewise.
24671         (SQUASHFS_MAGIC): Likewise.
24672         (STACK_END_MAGIC): Likewise.
24673         (TMPFS_MAGIC): Likewise.
24674         (USBDEVICE_SUPER_MAGIC): Likewise.
24675         (V9FS_MAGIC): Likewise.
24676         (XENFS_SUPER_MAGIC): Likewise.
24677         (CRAMFS_MAGIC): Fix typo in comment.
24678         (EXT2_SUPER_MAGIC): Update comment.
24679         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
24681 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
24683         * sysdeps/arm: Move directory from ports/sysdeps/arm.
24684         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
24685         * sysdeps/unix/sysv/linux/arm: Move directory from
24686         ports/sysdeps/unix/sysv/linux/arm.
24687         * README: Update listing for arm-*-linux-gnueabi.
24689         * README: Remove mention of am33.
24691 2014-02-07  Roland McGrath  <roland@hack.frob.com>
24693         * bits/sigset.h (__sigemptyset): Use a statement expression rather
24694         than the comma operator, to avoid "rhs of comma has no effect"
24695         compiler warnings.
24696         (__sigfillset, __sigandset, __sigorset): Likewise.
24697         * include/signal.h (__sigemptyset): Likewise.
24698         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
24700 2014-02-07  Allan McRae  <allan@archlinux.org>
24702         * version.h (RELEASE): Set to "development".
24703         (VERSION): Set to "2.19.90"
24704         * NEWS: Add 2.20 section.
24706 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
24708         [BZ #16529]
24709         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
24711 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
24713         * manual/contrib.texi: Update entry for Carlos O'Donell,
24714         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
24716 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
24718         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
24720         * sysdeps/unix/sysv/linux/kernel-features.h
24721         [__LINUX_KERNEL_VERSION >= 0x020621]
24722         (__ASSUME_PROC_PID_TASK_COMM): Define.
24724 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
24726         [BZ #16398]
24727         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
24728         conversion when destination buffer does not have enough space.
24729         * libio/tst-ftell-partial-wide.c: New test case.
24730         * libio/Makefile (tests): Add tst-ftell-partial-wide.
24732         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
24733         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
24734         Leonard and Allan McRae.
24736 2014-02-04  David S. Miller  <davem@davemloft.net>
24738         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
24739         32-bit.
24741 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
24744         New file
24745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
24746         New file
24747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
24748         New file.
24749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
24750         New file.
24751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
24752         New file.
24753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
24754         New file.
24755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
24756         New file.
24757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
24758         New file.
24759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
24760         New file.
24761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
24762         New file.
24763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
24764         New file.
24765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
24766         New file.
24767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
24768         New file.
24770 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24772         * nptl/shlib-versions: Change powerpc*le start to 2.17.
24773         * shlib-versions: Likewise.
24775 2014-02-04  Roland McGrath  <roland@hack.frob.com>
24776             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24778         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
24779         (abilist-pattern): New variable, set to %-le.abilist.
24781         * Makerules (abilist-pattern): New variable.
24782         (vpath): Use $(abilist-pattern) in place of %.abilist.
24783         (check-abi-% pattern rule): Likewise.
24784         (check-abi, update-abi): Likewise.
24786 2014-02-04  Eric Wong  <normalperson@yhbt.net>
24788         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24790 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
24792         * manual/startup.texi: Add next, previous, and top entries for
24793         the `Program Arguments' and `Environment Variables' nodes.
24795 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
24797         * manual/macros.texi: Add comments before MTASC-safety macros.
24799         * manual/users.texi: Document MTASC-safety properties.
24801         * manual/threads.texi (pthread_key_create, pthread_key_delete)
24802         (pthread_getspecific, pthread_setspecific): Format with
24803         @deftypefun, and add @safety note.
24804         * manual/signal.texi: Move comments that analyze the above
24805         functions to their home place.
24807 2014-02-03  Allan McRae  <allan@archlinux.org>
24809         * po/sl.po: Update Slovenian translation from translation project.
24811 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
24813         * manual/time.texi (timegm): Add missing blank after @c.
24814         Reported by Joseph Myers <joseph@codesourcery.com>.
24816 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
24818         * manual/check-safety.sh: New.
24819         * manual/Makefile ($(objpfx)stamp-summary): Run it.
24821         * manual/terminal.texi: Document MTASC-safety properties.
24823         * manual/filesys.texi: Document MTASC-safety properties.
24825         * manual/errno.texi: Document MTASC-safety properties.
24827         * manual/intro.texi: Document safety identifiers and
24828         conditionals.
24830         * manual/string.texi (wcstok): Fix prototype.
24831         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
24833         * manual/time.texi: Document MTASC-safety properties.
24835         * manual/string.texi: Document MTASC-safety properties.
24837         * manual/threads.texi: Document MTASC-safety properties.
24839         * manual/stdio.texi: Document MTASC-safety properties.
24841         * manual/syslog.texi: Document MTASC-safety properties.
24843         * manual/sysinfo.texi: Document MTASC-safety properties.
24845         * manual/startup.texi: Document MTASC-safety properties.
24847         * manual/socket.texi: Document MTASC-safety properties.
24849         * manual/signal.texi: Document MTASC-safety properties.
24851 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
24853         * manual/setjmp.texi: Document MTASC-safety properties.
24855         * manual/search.texi: Document MTASC-safety properties.
24857         * manual/resource.texi: Document MTASC-safety properties.
24859         * manual/process.texi: Document MTASC-safety properties.
24861         * manual/platform.texi: Document MTASC-safety properties.
24863         * manual/pipe.texi: Document MTASC-safety properties.
24865         * manual/pattern.texi: Document MTASC-safety properties.
24867         * manual/message.texi: Document MTASC-safety properties.
24869         [BZ #12751]
24870         * manual/memory.texi: Document MTASC-safety properties.
24872         * manual/math.texi: Document MTASC-safety properties.
24874         * manual/locale.texi: Document MTASC-safety properties.
24876         * manual/llio.texi: Document MTASC-safety properties.
24878         * manual/libdl.texi: New.
24880         * manual/lang.texi: Document MTASC-safety properties.
24882         * manual/job.texi: Document MTASC-safety properties.
24884         * manual/getopt.texi: Document MTASC-safety properties.
24886         * manual/ctype.texi: Document MTASC-safety properties.
24888 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
24890         [BZ #16046]
24891         * csu/libc-tls.c (static_map): Remove variable.
24892         (__libc_setup_tls): Use main executable's link map for TLS data.
24893         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
24894         casing for LM_ID_BASE and GL(dl_nns).
24895         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
24896         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
24897         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
24898         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
24899         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
24900         member.
24901         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
24902         l_phnum members.
24904 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
24906         * manual/debug.texi: Document MTASC-safety properties.
24908 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
24910         [BZ #16510]
24911         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
24912         of __x86_64__ when disabling x87 inline functions.
24914 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
24916         * manual/charset.texi: Document MTASC-safety properties.
24918         * manual/crypt.texi: Document MTASC-safety properties.
24920         * manual/conf.texi: Document MTASC-safety properties.
24922         * manual/arith.texi: Document MTASC-safety properties.
24924         * manual/argp.texi: Document MTASC-safety properties.
24926         * manual/macros.texi: Introduce macros to document multi
24927         thread, asynchronous signal and asynchronous cancellation
24928         safety properties.
24929         * manual/intro.texi: Introduce the properties themselves.
24931 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24933         * sysdeps/sh/sh4/Makefile: New file.
24935 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
24937         * math/gen-libm-test.pl ($srcdir): New variable.
24938         ($auto_input): Use it.
24940 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24942         [BZ #16506]
24943         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
24944         access beyond array bounds when parsing netgroups file.
24946         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
24947         the old buffer before realloc.
24949 2014-01-27  Allan McRae  <allan@archlinux.org>
24951         * po/fr.po: Update French translation from translation project.
24953 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24955         * sysdeps/sh/libm-test-ulps: Regenerate.
24957 2014-01-24  David S. Miller  <davem@davemloft.net>
24959         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
24961 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24963         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
24964         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
24966 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24968         [BZ #16474]
24969         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
24970         string pointers after reallocation.
24972 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24974         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
24975         __SH4A__ instead of __SH_FPU_ANY__.
24977 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24979         * sysdeps/sh/fpu_control.h: New file.
24980         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
24981         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
24982         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
24983         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
24984         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
24985         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
24986         * sysdeps/sh/sys/ucontext.h: Remove.
24987         * sysdeps/sh/sys: Remove directory.
24989 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24991         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
24992         s390/sys/ucontext.h.
24993         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
24994         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
24996 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
24998         [BZ #15605]
24999         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
25001 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25003         [BZ#16431]
25004         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
25005         Adjust the vDSO correctly for internal calls.
25006         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
25008 2014-01-20  Allan McRae  <allan@archlinux.org>
25010         * po/ca.po: Update Catalan translation from translation project.
25012 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
25014         * sysdeps/s390/sotruss-lib.c: New file.
25016 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25018         [BZ#16430]
25019         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
25020         (__GI___gettimeofday): Alias for a different internal symbol to avoid
25021         local calls issues by not having a PLT stub required for IFUNC calls.
25022         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
25024 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
25026         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
25027         * math/test-fpucw-static.c: Likewise.
25029 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25031         [BZ #16453]
25032         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
25034 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25036         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
25037         implementation for powerpc.
25039 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
25041         [BZ #14782]
25042         * sysdeps/posix/system.c (__libc_system): Do not enable
25043         asynchronous cancellation.
25045 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25047         [BZ #16427]
25048         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
25049         handling only for numbers special also in the IEEE case.
25051 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25053         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25055 2014-01-11  Allan McRae  <allan@archlinux.org>
25057         * po/bg.po: Update Bulgarian translation from translation project.
25059         * po/de.po: Update German translation from translation project.
25061 2014-01-10  Roland McGrath  <roland@hack.frob.com>
25063         * sysdeps/generic/gcc-compat.h: New file.
25065 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25067         * benchtests/asin-inputs: Correct slow inputs.
25068         * benchtests/acos-inputs: Likewise.
25070 2014-01-10  Allan McRae  <allan@archlinux.org>
25072         * po:sv.po: Update Swedish translation from translation project.
25074         * po/vi.po: Update Vietnamese translation from translation project.
25076         * po/eo.po: Update Esperanto translation from translation project.
25078         * po/cs.po: Update Czech translation from translation project.
25080         * po/nl.po: Update Dutch translation from translation project.
25082         * po/pl.po: Update Polish translation from translation project.
25084         * po/ru.po: Update Russian translation from translation project.
25086         * po/uk.po: Update Ukrainian translation from translation project.
25088 2014-01-08  Brooks Moses  <bmoses@google.com>
25090         * elf/dl-load.c: Fix comment typo.
25092 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
25094         * po/header.pot: Rename to...
25095         * po/pot.header: ... this.
25096         * po/Makefile: Use pot.header.
25098 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
25099             Maxim Kuvyrkov  <maxim@kugelworks.com>
25101         [BZ #16394]
25102         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
25103         SRC and DEST against LEN.
25105 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25107         [BZ #16414]
25108         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
25109         implementation.
25110         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
25112 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25114         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25116 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
25118         [BZ #16408]
25119         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
25120         for large positive arguments.
25122 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
25124         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25126         * math/auto-libm-test-in: Mark various tests with
25127         xfail-rounding:ldbl-128ibm.
25128         * math/auto-libm-test-out: Regenerated.
25130         [BZ #16407]
25131         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
25132         Increase overflow threshold.
25134 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
25136         [BZ #14286]
25137         * stdio-common/vfprintf.c: Check for integer overflow.
25139 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25141         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
25142         the first argument and return value of __tls_get_addr_internal.
25144 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25146         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
25147         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
25149 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25151         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
25152         * sysdeps/s390/rtld-global-offsets.sym: New file.
25153         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
25154         GLIBC_2.19 symbol.
25155         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
25156         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
25157         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
25158         ... this.
25159         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
25160         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
25161         ... this.
25162         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25163         Regenerate.
25164         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25165         Regenerate.
25166         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
25167         halfs of GPRs for high_gprs contexts.
25168         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
25169         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
25170         field.
25171         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
25172         uc_flags field.
25173         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
25174         64 bit versions:
25175         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
25176         for high GPRs (uc_high_gprs) and for future extensions
25177         (__reserved).
25178         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
25179         for future extensions (__reserved).
25180         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
25181         64 bit versions:
25182         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
25183         SC_HIGHGPRS offset definition.
25184         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
25185         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
25187         * Versions.def: Add GLIBC_2.19 for libpthread.
25188         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
25189         siglongjmp for libpthread with GLIBC_2.19 symver.
25190         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
25191         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
25192         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
25193         * sysdeps/s390/__longjmp.c: New file.
25194         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
25195         * sysdeps/s390/longjmp.c: New file.
25196         * sysdeps/s390/setjmp.S: New file.
25197         * sysdeps/s390/sigjmp.S: New file.
25198         * sysdeps/s390/v1-longjmp.c: New file.
25199         * sysdeps/s390/v1-setjmp.h: New file.
25200         * sysdeps/s390/v1-sigjmp.c: New file.
25201         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
25202         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
25203         GLIBC_2.19 version.
25204         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
25205         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
25206         versioned symbols for ____longjmp_chk.
25207         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
25208         Likewise.
25209         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25210         Regenerate.
25211         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25212         Regenerate.
25213         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25214         Regenerate.
25215         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25216         Regenerate.
25217         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
25218         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
25219         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
25220         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
25221         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
25222         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
25223         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
25224         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
25225         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
25226         * sysdeps/s390/rtld-__longjmp.c: New file.
25227         * sysdeps/s390/rtld-setjmp.S: New file.
25229 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
25231         [BZ #16400]
25232         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25233         Return -__logl (x) for small positive arguments without evaluating
25234         a polynomial.
25236 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
25238         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
25239         Rename to ...
25240         (__ptrace_peeksiginfo_args): ... this.
25241         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25242         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25243         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25245 2014-01-06  Allan McRae  <allan@archlinux.org>
25247         * inet/netinet/in.h: Fix typo in comment.
25249 2014-01-05  Andreas Jaeger  <aj@suse.de>
25251         * sysdeps/i386/fpu/libm-test-ulps: Update.
25253 2014-01-05  Allan McRae  <allan@archlinux.org>
25255         * po/libc.pot: Regenerated.
25257         * malloc/memusagestat.c: Fix gettext call formatting.
25259 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
25261         * nscd/nscd.c: Improve usage() output.
25263 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
25265         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
25266         * sysdeps/unix/sysv/linux/configure: Regenerated.
25267         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
25268         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
25270 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
25272         [BZ #16390]
25273         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
25274         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
25276 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25278         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
25279         extra tokens at end of #undef directive.
25280         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
25281         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
25282         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
25284 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
25286         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25288         * math/auto-libm-test-in: Mark various tests with
25289         xfail-rounding:ldbl-128ibm.
25290         * math/auto-libm-test-out: Regenerated.
25292 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
25294         [BZ #16386]
25295         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
25296         numbers with subnormal high part when calculating exponent.
25298         [BZ #16385]
25299         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
25300         fabs.
25302         [BZ #16384]
25303         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
25304         M_LN2l.
25305         (__ieee754_acoshl): Use __log1pl not __log1p.
25307 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
25309         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
25310         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
25311         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
25312         (grow_heap, heap_trim, _int_new_arena, get_free_list)
25313         (reused_arena, arena_get2): Convert to GNU style.
25314         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
25315         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
25316         (memalign_check, __malloc_set_state): Likewise.
25317         * malloc/mallocbug.c (main): Likewise.
25318         * malloc/malloc.c (__malloc_assert, malloc_init_state)
25319         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
25320         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
25321         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
25322         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
25323         (__posix_memalign, malloc_info): Likewise.
25324         * malloc/malloc.h: Likewise.
25325         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
25326         (mallochook, memalignhook, reallochook, mabort): Likewise.
25327         * malloc/mcheck.h: Likewise.
25328         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
25329         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
25330         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
25331         * malloc/morecore.c (__default_morecore): Likewise.
25332         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
25333         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
25334         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
25335         (print_and_abort): Likewise.
25336         * malloc/obstack.h: Likewise.
25337         * malloc/set-freeres.c (__libc_freeres): Likewise.
25338         * malloc/tst-mallocstate.c (main): Likewise.
25339         * malloc/tst-mtrace.c (main): Likewise.
25340         * malloc/tst-realloc.c (do_test): Likewise.
25342 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25344         [BZ #16366]
25345         * nscd/netgroupcache.c (do_notfound): New function.
25346         (addgetnetgrentX): Use it.
25348         [BZ # 16365]
25349         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
25350         NSS_STATUS_NOTFOUND.
25352 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
25354         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25357 2014-01-01  Allan McRae  <allan@archlinux.org>
25359         * scripts/update-copyrights: Update configure input file suffix.
25361         * NEWS: Update copyright year.
25362         * catgets/gencat.c: Likewise.
25363         * csu/version.c: Likewise.
25364         * debug/catchsegv.sh: Likewise.
25365         * debug/pcprofiledump.c: Likewise.
25366         * debug/xtrace.sh: Likewise.
25367         * elf/ldconfig.c: Likewise.
25368         * elf/ldd.bash.in: Likewise.
25369         * elf/pldd.c: Likewise.
25370         * elf/sotruss.ksh: Likewise.
25371         * elf/sprof.c: Likewise.
25372         * iconv/iconv_prog.c: Likewise.
25373         * iconv/iconvconfig.c: Likewise.
25374         * locale/programs/locale.c: Likewise.
25375         * locale/programs/localedef.c: Likewise.
25376         * login/programs/pt_chown.c: Likewise.
25377         * malloc/memusage.sh: Likewise.
25378         * malloc/memusagestat.c: Likewise.
25379         * malloc/mtrace.pl: Likewise.
25380         * manual/libc.texinfo: Likewise.
25381         * nscd/nscd.c: Likewise.
25382         * nss/getent.c: Likewise.
25383         * nss/makedb.c: Likewise.
25384         * posix/getconf.c: Likewise.
25385         * scripts/test-installation.pl: Likewise.
25387         * All files with FSF copyright notices: Update copyright dates
25388         using scripts/update-copyrights.
25389         * intl/plural.c: Regenerated.
25390         * locale/programs/charmap-kw.h: Likewise.
25391         * locale/programs/locfile-kw.h: Likewise.
25393 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
25395         * sysdeps/unix/sysv/linux/configure: Regenerated.
25396         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
25397         the linux/fanotify.h header.
25398         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
25399         HAVE_LINUX_FANOTIFY_H is defined.
25401 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25403         * benchtests/cos-inputs: New inputs.
25404         * benchtests/sin-inputs: Likewise.
25406         * benchtests/atan-inputs: New inputs. Fix name of multiple
25407         precision fallback inputs.
25409         * benchtests/atanh-inputs: New inputs.
25410         * benchtests/tanh-inputs: Likewise.
25412         * benchtests/acosh-inputs: New inputs.
25413         * benchtests/asinh-inputs: Likewise.
25415         * benchtests/cosh-inputs: New inputs.
25416         * benchtests/sinh-inputs: Likewise.
25418         * benchtests/acos-inputs: Add more inputs.
25419         * benchtests/asin-inputs: Likewise.
25421 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
25423         [BZ #16375]
25424         * manual/arith.texi: Fix spelling.
25425         * manual/charset.texi: Likewise.
25426         * manual/errno.texi: Likewise.
25427         * manual/filesys.texi: Likewise.
25428         * manual/lang.texi: Likewise.
25429         * manual/llio.texi: Likewise.
25430         * manual/locale.texi: Likewise.
25431         * manual/message.texi: Likewise.
25432         * manual/resource.texi: Likewise.
25433         * manual/search.texi: Likewise.
25434         * manual/setjmp.texi: Likewise.
25435         * manual/stdio.texi: Likewise.
25436         * manual/string.texi: Likewise.
25437         * manual/sysinfo.texi: Likewise.
25438         * manual/time.texi: Likewise.
25440 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
25442         * po/sl.po: New file.
25444 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
25446         * .gitignore: Add core/.gdbinit/.gdb_history.
25448 2013-12-27  Allan McRae  <allan@archlinux.org>
25450         [BZ #16369]
25451         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
25452         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
25454 2013-12-24  Brooks Moses  <bmoses@google.com>
25456         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
25457         all compilers that claim C++98 compliance, not just GCC.
25458         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
25459         Likewise.
25461 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
25463         * NEWS: Restore accidentally deleted bug-fix entries.
25465 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
25466             Ondřej Bílka  <neleai@seznam.cz>
25468         [BZ #15073]
25469         * malloc/malloc.c (_int_free): Perform sanity check only if we
25470         have_lock.
25472 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
25474         [BZ #12986]
25475         * manual/stdio.texi (String Input Conversions): Clarify that character
25476         classes are not supported.
25478 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25480         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25482 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
25484         [BZ #16337]
25485         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25486         Calculate results for small negative arguments directly rather
25487         than using reflection formula with special underflow handling.
25489         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
25490         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
25491         sysdeps/unix/bsd/bsd4.4/syscalls.list.
25492         (fchflags): Likewise.
25493         (revoke): Likewise.
25494         (setlogin): Likewise.
25495         (sigaltstack): Likewise.
25496         (wait4): Likewise.
25497         (sigblock): Remove.
25498         (sigsetmask): Likewise.
25499         (wait3): Likewise.
25500         (waitpid): Likewise.
25501         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
25502         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
25503         file.
25504         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
25505         * sysdeps/unix/bsd/Makefile: ... here.
25506         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
25507         * sysdeps/unix/bsd/Versions: ... here.
25508         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
25509         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
25510         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
25511         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
25512         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
25513         * sysdeps/unix/bsd/sigblock.c: ... here.
25514         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
25515         * sysdeps/unix/bsd/sigsetmask.c: ... here.
25516         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
25517         * sysdeps/unix/bsd/sigvec.c: ... here.
25518         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
25519         * sysdeps/unix/bsd/tcdrain.c: ... here.
25520         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
25521         * sysdeps/unix/bsd/tcgetattr.c: ... here.
25522         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
25523         * sysdeps/unix/bsd/tcsetattr.c: ... here.
25524         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
25525         * sysdeps/unix/bsd/wait.c: ... here.
25526         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
25527         * sysdeps/unix/bsd/wait3.c: ... here.
25528         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
25529         * sysdeps/unix/bsd/waitpid.c: ... here.
25531 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
25533         [BZ #16356]
25534         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
25535         round-to-nearest for [!USE_AS_EXPM1L].
25536         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
25537         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
25538         more tests of exp and exp10.  Expect some exp10 tests to miss
25539         exceptions or fail in directed rounding modes.
25540         * math/auto-libm-test-out: Regenerated.
25541         * math/libm-test.inc (exp10_tonearest_test_data): New array.
25542         (exp10_test_tonearest): New function.
25543         (exp10_towardzero_test_data): New array.
25544         (exp10_test_towardzero): New function.
25545         (exp10_downward_test_data): New array.
25546         (exp10_test_downward): New function.
25547         (exp10_upward_test_data): New array.
25548         (exp10_test_upward): New function.
25549         (main): Call the new functions.
25550         * sysdeps/i386/fpu/libm-test-ulps: Update.
25551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25553 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
25555         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
25556         asinh, atan, atan2, atanh, cbrt, cos and cosh.
25557         * math/auto-libm-test-out: Regenerated.
25558         * math/libm-test.inc (acosh_test_data): Add more tests.
25559         (atanh_test_data): Likewise.
25560         (ceil_test_data): Likewise.
25561         (copysign_test_data): Likewise.
25562         * sysdeps/i386/fpu/libm-test-ulps: Update.
25563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25565         * timezone/checktab.awk: Update from tzcode 2013i.
25566         * timezone/private.h: Likewise.
25567         * timezone/scheck.c: Likewise.
25568         * timezone/tzfile.h: Likewise.
25569         * timezone/tzselect.ksh: Likewise.
25570         * timezone/zdump.c: Likewise.
25571         * timezone/zic.c: Likewise.
25573         * math/auto-libm-test-in: Add tests of cpow.
25574         * math/auto-libm-test-out: Regenerated.
25575         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
25576         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25577         mpc_cc_c.
25578         (func_calc_desc): Add mpc_cc_c union field.
25579         (test_functions): Add cpow.
25580         (special_fill_2pi): New function.
25581         (special_real_inputs): Add 2pi.
25582         (calc_generic_results): Handle mpc_cc_c.
25583         * sysdeps/i386/fpu/libm-test-ulps: Update.
25584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25586         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
25587         csqrt, ctan and ctanh.
25588         * math/auto-libm-test-out: Regenerated.
25589         * math/libm-test.inc (TEST_COND_x86_64): New macro.
25590         (TEST_COND_x86): Likewise.
25591         (ccos_test_data): Use AUTO_TESTS_c_c.
25592         (ccosh_test_data): Likewise.
25593         (cexp_test_data): Likewise.
25594         (clog_test_data): Likewise.
25595         (csqrt_test_data): Likewise.
25596         (ctan_test_data): Likewise.
25597         (ctan_tonearest_test_data): Likewise.
25598         (ctan_towardzero_test_data): Likewise.
25599         (ctan_downward_test_data): Likewise.
25600         (ctan_upward_test_data): Likewise.
25601         (ctanh_test_data): Likewise.
25602         (ctanh_tonearest_test_data): Likewise.
25603         (ctanh_towardzero_test_data): Likewise.
25604         (ctanh_downward_test_data): Likewise.
25605         (ctanh_upward_test_data): Likewise.
25606         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25607         mpc_c_c.
25608         (func_calc_desc): Add mpc_c_c union field.
25609         (FUNC_mpc_c_c): New macro.
25610         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
25611         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
25612         ctanh.
25613         (special_fill_min_subnorm_p120): New function.
25614         (special_real_inputs): Add min_subnorm_p120.
25615         (calc_generic_results): Handle mpc_c_c.
25616         * sysdeps/i386/fpu/libm-test-ulps: Update.
25617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25619 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
25621         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
25622         (do_sin_slow): New functions.
25623         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
25624         (cslow2, csloww1, csloww2): Use the new functions.
25626         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
25627         Use M to change sign of result instead of X.  Assume X is
25628         positive.
25629         (csloww1): Likewise.
25630         (__sin): Adjust.
25631         (__cos): Adjust.
25633         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
25634         arguments A and DA.
25635         (__sin): Adjust.
25636         (__cos): Likewise.
25638         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
25639         (__cos): Likewise.
25640         (sloww1): Don't adjust sign of DX.
25641         (csloww1): Likewise.
25642         (sloww2): Use X directly and don't adjust sign of DX.
25643         (csloww2): Likewise.
25645 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
25647         * math/auto-libm-test-in: Add tests of cabs and carg.
25648         * math/auto-libm-test-out: Regenerated.
25649         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
25650         (carg_test_data): Likewise.
25651         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25652         mpc_c_f.
25653         (func_calc_desc): Add mpc_c_f union field.
25654         (test_functions): Add cabs and carg.
25655         (calc_generic_results): Handle mpc_c_f.
25657         * sysdeps/powerpc/powerpc32/libgcc-compat.S
25658         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
25659         as a macro and a compat symbol.
25660         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
25661         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
25662         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
25663         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
25664         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
25665         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
25666         not use .hidden.
25667         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
25668         Likewise.
25669         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
25670         Likewise.
25671         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
25672         Likewise.
25673         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
25674         Likewise.
25675         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
25676         Likewise.
25677         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
25678         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
25679         from GLIBC_2.3.2.
25681 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25683         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25685 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
25687         * manual/texinfo.tex: Update to version 2013-11-26.10 with
25688         trailing whitespace removed.
25689         * scripts/config.guess: Update to version 2013-11-29.
25690         * scripts/config.sub: Update to version 2013-10-01.
25692         * math/auto-libm-test-in: Add tests of sincos.
25693         * math/auto-libm-test-out: Regenerated.
25694         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
25695         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25696         mpfr_f_11.
25697         (func_calc_desc): Add mpfr_f_11 union field.
25698         (test_functions): Add sincos.
25699         (calc_generic_results): Handle mpfr_f_11.
25700         * sysdeps/i386/fpu/libm-test-ulps: Update.
25701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25703 2013-12-19  Andreas Schwab  <schwab@suse.de>
25705         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
25706         CALL_MCOUNT.
25707         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25708         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
25709         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
25711 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
25713         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
25714         * sysdeps/i386/fpu/libm-test-ulps: Update.
25715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25717         [BZ #16293]
25718         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
25719         round-to-nearest mode when using frndint.
25720         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
25721         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25722         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
25723         Likewise.
25724         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
25725         sinh test to fail.
25726         * math/auto-libm-test-out: Regenerated.
25727         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
25728         (TEST_COND_x86): Likewise.
25729         (expm1_tonearest_test_data): New array.
25730         (expm1_test_tonearest): New function.
25731         (expm1_towardzero_test_data): New array.
25732         (expm1_test_towardzero): New function.
25733         (expm1_downward_test_data): New array.
25734         (expm1_test_downward): New function.
25735         (expm1_upward_test_data): New array.
25736         (expm1_test_upward): New function.
25737         (main): Run the new test functions.
25738         * sysdeps/i386/fpu/libm-test-ulps: Update.
25739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25741         * include/features.h: Update comment documenting feature test
25742         macros.  Mention _DEFAULT_SOURCE in comment.
25743         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
25744         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
25745         _BSD_SOURCE and _SVID_SOURCE.
25746         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
25747         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
25748         !_SVID_SOURCE]: Likewise.
25749         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25750         (__USE_POSIX_IMPLICITLY): Define.
25751         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25752         (_POSIX_SOURCE): Undefine and redefine.
25753         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25754         (_POSIX_C_SOURCE): Likewise.
25755         * manual/creature.texi (_DEFAULT_SOURCE): Document.
25756         (Feature Test Macros): Update documentation of default features.
25758 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25760         * benchtests/Makefile: Add bench-strtok.
25761         * benchtests/bench-strtok.c: New file: strtok benchtest.
25763 2013-12-19  Allan McRae  <allan@archlinux.org>
25765         * manual/install.texi: Suppress menu for plain text output.
25766         * INSTALL: Regenerated.
25768 2013-12-18  Brooks Moses  <bmoses@google.com>
25770         [BZ #15846]
25771         * misc/getauxval.c: Include errno.h.
25772         (__getauxval): Set errno to ENOENT if the requested type is not
25773         found.
25774         * misc/sys/auxv.h (getauxval): Document that it may set errno;
25775         don't declare with __attribute_const__.
25776         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
25777         * manual/startup.texi: Document that getauxval sets errno.
25779 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
25781         * math/auto-libm-test-in: Add tests of jn and yn.
25782         * math/auto-libm-test-out: Regenerated.
25783         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
25784         (yn_test_data): Likewise.
25785         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25786         mpfr_if_f.
25787         (func_calc_desc): Add mpfr_if_f union field.
25788         (FUNC_mpfr_if_f): New macro.
25789         (test_functions): Add jn and yn.
25790         (calc_generic_results): Assert type of second input for
25791         mpfr_ff_f.  Handle mpfr_if_f.
25792         (output_for_one_input_case): Disable all checking for arguments
25793         fitting floating-point types in case of an integer argument.
25794         * sysdeps/i386/fpu/libm-test-ulps: Update.
25795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
25798         Don't expect fegetround reference in libm.so.
25800 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25802         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
25803         $(config-cflags-nofma).
25805 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
25807         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
25808         * math/auto-libm-test-out: Regenerated.
25810         [BZ #16338]
25811         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
25812         to determine exponent and adjust argument to have exponent of -1.
25813         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
25814         log2.
25815         * math/auto-libm-test-out: Regenerated.
25816         * sysdeps/i386/fpu/libm-test-ulps: Update.
25817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25819 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
25821         * manual/probes.texi: Remove cases when per-thread arenas are
25822         disabled.
25824 2013-12-18  Andreas Schwab  <schwab@suse.de>
25826         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
25827         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
25828         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
25829         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
25830         * sysdeps/i386/i686/multiarch/Makefile: Update.
25831         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
25833 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
25835         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
25836         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
25838 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
25840         [BZ #15968]
25841         Support TZ transition times < 00:00:00.
25842         This is needed for version-3 tz-format files; it supports time
25843         stamps past 2037 for America/Godthab (the only entry in the tz
25844         database for which this change is relevant).
25845         * manual/time.texi (TZ Variable): Document transition times
25846         from -167:59:59 through -00:00:01.
25847         * time/tzset.c (tz_rule): Time of day is now signed.
25848         (__tzset_parse_tz): Parse negative time of day.
25850         Document TZ transition times >= 25:00:00.
25851         * manual/time.texi (TZ Variable): Document transition times from
25852         25:00:00 through 167:59:59.  These are already supported, and this
25853         support will help with version-3 tz-format files.
25855         * manual/time.texi (TZ Variable): Modernize North America example
25856         to reflect current (i.e., 2007-and-later) daylight saving rules.
25858         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
25860 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
25862         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
25863         * sysdeps/unix/bsd/bits/stat.h: Likewise.
25864         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
25865         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
25866         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
25867         * sysdeps/unix/bsd/bsdstat.h: Likewise.
25868         * sysdeps/unix/bsd/clock.c: Likewise.
25869         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
25870         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
25871         * sysdeps/unix/bsd/init-posix.c: Likewise.
25872         * sysdeps/unix/bsd/poll.c: Likewise.
25873         * sysdeps/unix/bsd/ptsname.c: Likewise.
25874         * sysdeps/unix/bsd/seekdir.c: Likewise.
25875         * sysdeps/unix/bsd/setegid.c: Likewise.
25876         * sysdeps/unix/bsd/seteuid.c: Likewise.
25877         * sysdeps/unix/bsd/setgid.c: Likewise.
25878         * sysdeps/unix/bsd/setrgid.c: Likewise.
25879         * sysdeps/unix/bsd/setruid.c: Likewise.
25880         * sysdeps/unix/bsd/setsid.c: Likewise.
25881         * sysdeps/unix/bsd/setuid.c: Likewise.
25882         * sysdeps/unix/bsd/sigaction.c: Likewise.
25883         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
25884         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
25885         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
25886         * sysdeps/unix/bsd/telldir.c: Likewise.
25887         * sysdeps/unix/bsd/times.c: Likewise.
25888         * sysdeps/unix/bsd/usleep.c: Likewise.
25890         * misc/Makefile (install-lib): Remove libbsd-compat.a.
25891         ($(objpfx)libbsd-compat.a): Remove rule.
25893         * include/features.h (__FAVOR_BSD): Do not define.
25894         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
25895         features conflicting with POSIX.
25896         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
25897         (_BSD_SOURCE): Remove description of not being a subset of other
25898         feature test macros.
25899         * manual/job.texi (getpgrp): Do not document BSD version.
25900         (getpgid): Do not document by reference to BSD getpgrp.
25901         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
25902         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
25903         * signal/signal.h [__FAVOR_BSD]: Likewise.
25904         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
25905         instead of making contents conditional on [__FAVOR_BSD].
25906         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
25908 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25910         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25912 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
25914         [BZ #16314]
25915         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
25916         values below 2**-450, not 2**-500.
25917         * math/auto-libm-test-in: Don't allow spurious underflow from
25918         hypot.
25919         * math/auto-libm-test-out: Regenerated.
25921         [BZ #16316]
25922         [BZ #16330]
25923         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
25924         values of ha and hb and sort them after adjusting subnormal
25925         arguments.
25926         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
25927         Likewise.
25928         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
25929         values of ea and eb and sort them after adjusting subnormal
25930         arguments.
25931         * math/auto-libm-test-in: Do not expect some hypot tests of
25932         subnormals to fail.  Add more hypot tests.
25933         * math/auto-libm-test-out: Regenerated.
25935 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25937         [BZ #13304]
25938         * sysdeps/sh/s_fma.c: New file.
25939         * sysdeps/sh/s_fmaf.c: New file.
25940         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
25941         version.
25942         * sysdeps/sh/Implies: Add sh/soft-fp.
25944 2013-12-16  Roland McGrath  <roland@hack.frob.com>
25946         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
25947         level of indirection to members `objname', `errstring', `malloced'.
25948         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
25949         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
25950         it as the __longjmp argument (just pass 1 instead).
25951         (_dl_catch_error): Initialize C with argument pointers and address of
25952         volatile local ERRCODE rather than copying values out of C at return.
25954 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
25956         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
25957         * math/auto-libm-test-out: Regenerated.
25958         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
25959         (hypot_test_data): Likewise.
25960         (pow_test_data): Likewise.
25961         (pow_tonearest_test_data): Likewise.
25962         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25963         mpfr_ff_f.
25964         (func_calc_desc): Add mpfr_ff_f union field.
25965         (FUNC_mpfr_ff_f): New macro.
25966         (test_functions): Add atan2, hypot and pow.
25967         (special_fill_min): New function.
25968         (special_fill_minus_min): Likewise.
25969         (special_fill_min_subnorm): Likewise.
25970         (special_fill_minus_min_subnorm): Likewise.
25971         (special_real_inputs): Add min, -min, min_subnorm and
25972         -min_subnorm.
25973         (calc_generic_results): Handle mpfr_ff_f.
25974         * sysdeps/i386/fpu/libm-test-ulps: Update.
25975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25977 2013-12-16  Will Newton  <will.newton@linaro.org>
25979         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
25980         (Aligned Memory Blocks): Add documentation for aligned_alloc
25981         and suggest it as an alternative to posix_memalign.
25982         (Hooks for Malloc): Document __memalign_hook is also called
25983         for aligned_alloc.  (Summary of Malloc): Add summary for
25984         aligned alloc.  Document __memalign_hook is also called
25985         for aligned_alloc.
25987 2013-12-16  Will Newton  <will.newton@linaro.org>
25989         * manual/memory.texi (Malloc Examples): Clarify default
25990         alignment documentation.  Suggest posix_memalign rather
25991         than memalign or valloc.
25992         (Aligned Memory Blocks): Remove suggestion to use memalign
25993         or valloc.  Remove obsolete comment about BSD.
25994         Document memalign errno values and mark the function obsolete.
25995         Document posix_memalign returned error codes.  Mark valloc
25996         as obsolete.  (Hooks for Malloc): __memalign_hook is also
25997         called for posix_memalign and valloc.
25998         (Summary of Malloc): Add posix_memalign to function summary.
25999         __memalign_hook is also called for posix_memalign and valloc.
26001 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26003         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
26004         TAYLOR_SIN.
26005         (__sin): Adjust.
26006         (__cos): Likewise.
26007         (sloww): Use mynumber union.  Expand ternary operator into
26008         if-else statements.
26009         (cslow): use mynumber union.
26011 2013-12-16  Allan McRae  <allan@archlinux.org>
26013         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
26014         * configure: Regenerated.
26016         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
26018         [BZ #14120]
26019         * configure.ac: Added --enable-maintainer-mode. Check for
26020         autoconf when enabled.
26021         * configure: Regenerated.
26023         * nscd/nscd.service: New file.
26024         * nscd/nscd.tmpfiles: New file.
26026 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
26028         [BZ #12100]
26029         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
26030         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
26031         * sysdeps/x86_64/multiarch/strstr.c: ... here.
26032         (strstr): Add __strstr_sse2_unaligned ifunc.
26033         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
26034         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
26035         (strcasestr): Remove __strcasestr_sse42 ifunc.
26036         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
26037         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
26038         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
26040 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26042         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
26043         * sysdeps/sh/bits/fenv.h: ... here.
26044         * sysdeps/sh/sh4/fpu/bits: Remove directory.
26046 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26048         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
26050         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
26051         hypotf multiarch implementations.
26052         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
26053         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
26054         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
26055         multiarch hypot for PPC64.
26056         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
26057         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
26058         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
26059         multiarch hypotf for PPC64.
26061         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
26062         modff multiarch implementations.
26063         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
26064         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
26065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
26066         multiarch modf for PPC64.
26067         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
26068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
26069         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
26070         multiarch modff for PPC64.
26072         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
26073         and logl multiarch implementations.
26074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
26075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
26076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
26077         multiarch logb for PPC64.
26078         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
26079         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
26080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
26081         multiarch logb for PPC64.
26082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
26083         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
26084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
26085         multiarch logb for PPC64.
26087         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
26088         isinff multiarch implementation.
26089         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
26090         file.
26091         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
26092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
26093         multiarch isinf for PPC64.
26094         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
26095         file.
26096         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
26097         multiarch isinff for PPC64.
26099         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
26100         finitef multiarch implementation.
26101         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
26102         file.
26103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
26104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
26105         multiarch finite for PPC64.
26106         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
26107         file.
26108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
26109         multiarch finitef for PPC64.
26111         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
26112         lrint multiarch implementation.
26113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
26114         file.
26115         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
26116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
26117         multiarch llrint for PPC64.
26118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
26119         multiarch lrint for PPC64.
26121         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
26122         copysignf multiarch implementation.
26123         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
26124         file.
26125         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
26126         file.
26127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
26128         multiarch copysign for PPC64.
26129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
26130         multiarch copysignf for PPC64.
26132         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
26133         multiarch implementation.
26134         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
26135         file.
26136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
26137         file.
26138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
26139         file.
26140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
26141         file.
26142         multiarch llround for PPC64.
26143         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
26144         multiarch trunc for PPC64.
26145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
26146         multiarch truncf for PPC64.
26148         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
26149         multiarch implementation.
26150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
26151         file.
26152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
26153         file.
26154         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
26155         file.
26156         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
26157         file.
26158         multiarch llround for PPC64.
26159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
26160         multiarch round for PPC64.
26161         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
26162         multiarch roundf for PPC64.
26164         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
26165         multiarch implementation.
26166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
26167         file.
26168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
26169         file.
26170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
26171         file.
26172         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
26173         file.
26174         multiarch llround for PPC64.
26175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
26176         multiarch floor for PPC64.
26177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
26178         multiarch floorf for PPC64.
26180         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
26181         multiarch implementation.
26182         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
26183         file.
26184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
26185         file.
26186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
26187         file.
26188         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
26189         file.
26190         multiarch llround for PPC64.
26191         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
26192         multiarch ceil for PPC64.
26193         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
26194         multiarch ceilf for PPC64.
26196         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
26197         multiarch implementation.
26198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
26199         file.
26200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
26201         file.
26202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
26203         file.
26204         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
26205         multiarch llround for PPC64.
26206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
26207         multiarch lround for PPC64.
26209         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
26210         multiarch implementation.
26211         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
26212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
26213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
26214         file.
26215         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
26216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
26217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
26218         multiarch isnan for PPC64.
26219         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
26220         multiarch isnanf for PPC64.
26222         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
26223         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
26224         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
26225         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
26226         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
26227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
26229         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
26230         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26231         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26232         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26234         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
26235         multiarch implementations.
26236         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26237         (__libc_ifunc_impl_list): Likewise.
26238         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
26239         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
26240         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
26241         multiarch stpcpy for PPC64.
26243         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
26244         multiarch implementations.
26245         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26246         (__libc_ifunc_impl_list): Likewise.
26247         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
26248         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
26249         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
26250         multiarch strcpy for PPC64.
26252         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
26253         redefine function name.
26254         (_wordcopy_fwd_dest_aligned): Likewise.
26255         (_wordcopy_bwd_aligned): Likewise.
26256         (_wordcopy_bwd_dest_aligned): Likewise.
26257         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
26258         multiarch implementations.
26259         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26260         (__libc_ifunc_impl_list): Likewise.
26261         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
26262         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
26263         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
26264         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
26265         multiarch wcscpy for PPC64.
26267         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
26268         multiarch implementations.
26269         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26270         (__libc_ifunc_impl_list): Likewise.
26271         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
26272         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
26273         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
26274         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
26275         multiarch wcscpy for PPC64.
26277         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
26278         multiarch implementations.
26279         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26280         (__libc_ifunc_impl_list): Likewise.
26281         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
26282         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
26283         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
26284         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
26285         multiarch wcsrchr for PPC64.
26287         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
26288         multiarch implementations.
26289         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26290         (__libc_ifunc_impl_list): Likewise.
26291         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
26292         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
26293         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
26294         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
26295         multiarch wcschr for PPC64.
26297         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
26298         multiarch implementations.
26299         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26300         (__libc_ifunc_impl_list): Likewise.
26301         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
26302         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
26303         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
26304         multiarch strchrnul for PPC64.
26306         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
26307         implementations.
26308         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26309         (__libc_ifunc_impl_list): Likewise.
26310         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
26311         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
26312         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
26313         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
26314         strchr for PPC64.
26316         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
26317         implementations.
26318         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26319         (__libc_ifunc_impl_list): Likewise.
26320         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
26321         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
26322         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
26323         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
26324         strncmp for PPC64.
26326         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
26327         multiarch implementations.
26328         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26329         (__libc_ifunc_impl_list): Likewise.
26330         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
26331         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
26332         strncasecmp for PPC64.
26333         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
26334         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
26335         multiarch strncasecmp_l for PPC64.
26337         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
26338         multiarch implementations.
26339         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26340         (__libc_ifunc_impl_list): Likewise.
26341         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
26342         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
26343         multiarch strcasecmp for PPC64.
26344         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
26345         file.
26346         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
26347         multiarch strcasecmp_l for PPC64.
26349         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
26350         implementations.
26351         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26352         (__libc_ifunc_impl_list): Likewise.
26353         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
26354         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
26355         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
26356         strnlen for PPC64.
26358         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
26359         implementations.
26360         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26361         (__libc_ifunc_impl_list): Likewise.
26362         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
26363         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
26364         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
26365         strlen for PPC64.
26367         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
26368         implementations.
26369         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26370         (__libc_ifunc_impl_list): Likewise.
26371         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
26372         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
26373         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
26374         rawmemrchr for PPC64.
26376         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
26377         implementation.
26378         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26379         (__libc_ifunc_impl_list): Likewise.
26380         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
26381         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
26382         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
26383         memrchr for PPC64.
26385         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
26386         implementation.
26387         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26388         (__libc_ifunc_impl_list): Likewise.
26389         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
26390         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
26391         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
26392         memchr for PPC64.
26394         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
26395         implementation.
26396         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26397         (__libc_ifunc_impl_list): Likewise.
26398         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
26399         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
26400         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
26401         mempcpy for PPC64.
26403         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
26404         avoid cretion of __bzero symbol.
26405         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
26406         Likewise.
26407         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
26408         Likewise.
26409         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
26410         Likewise.
26411         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
26412         multiarch implementations.
26413         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26414         (__libc_ifunc_impl_list): Likewise.
26415         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
26416         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
26417         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
26418         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
26419         bzero for PPC32.
26420         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
26421         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
26422         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
26423         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
26424         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
26425         memset for PPC64.
26426         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
26428         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
26429         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
26430         implementations.
26431         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26432         (__libc_ifunc_impl_list): Likewise.
26433         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
26434         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
26435         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
26436         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
26437         memcmp for PPC64.
26439         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
26440         multiarch for POWER/PPC64.
26441         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
26442         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
26443         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
26444         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
26445         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
26446         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
26447         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
26448         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
26449         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
26450         memcpy for PPC64.
26452         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
26453         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
26454         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
26455         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
26456         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
26457         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
26458         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
26459         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
26460         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
26461         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
26462         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
26463         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
26464         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
26465         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
26466         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
26467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
26468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
26469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
26470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
26471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
26472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
26473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
26475 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26477         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
26479 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26481         * benchtests/Makefile (bench): Add exp2 and log2.
26482         (LDLIBS-bench-exp2): Add -lm.
26483         (LDLIBS-bench-log2): Likewise.
26484         * benchtests/exp2-inputs: New inputs file.
26485         * benchtests/log2-inputs: New inputs file.
26486         * benchtests/log-inputs: Add new inputs.
26487         * benchtests/tan-inputs: Likewise.
26489 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26491         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
26492         definition...
26493         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
26494         (csloww2): ... from here.
26496         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
26497         instead of structures.
26498         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
26499         (POLYNOMIAL): Likewise.
26500         (TAYLOR_SLOW): Likewise.
26501         (__sin): Likewise.
26502         (__cos): Likewise.
26503         (slow1): Likewise.
26504         (slow2): Likewise.
26505         (sloww): Likewise.
26506         (sloww1); Likewise.
26507         (sloww2): Likewise.
26508         (bsloww1): Likewise.
26509         (bsloww2): Likewise.
26510         (cslow2): Likewise.
26511         (csloww): Likewise.
26512         (csloww1): Likewise.
26513         (csloww2): Likewise.
26515 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
26517         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
26518         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
26519         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
26520         * malloc/hooks.c (realloc_check): Likewise.
26522         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
26523         * malloc/arena.c: Remove PER_THREAD conditional.
26524         [!PER_THREAD]: Remove code.
26525         (ptmalloc_unlock_all2): Likewise.
26526         (ptmalloc_init): Likewise.
26527         (_int_new_arena): Likewise.
26528         (arena_get2): Likewise.
26529         * malloc/hooks.c (__malloc_get_state): Likewise.
26530         (__malloc_set_state): Likewise.
26531         * malloc/malloc.c: Likewise.
26532         (struct malloc_state): Likewise.
26533         (struct malloc_par): Likewise.
26534         (__libc_realloc): Likewise.
26535         (__libc_mallopt): Likewise.
26537 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26539         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
26541 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
26543         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
26544         macro to a function.  Check for zero perturb_byte.
26545         (_int_malloc, _int_free): Remove zero perturb_byte checks.
26547         * malloc/malloc.c: (force_reg): Remove.
26548         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
26549         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
26550         force_reg by atomic_forced_read.
26551         * malloc/arena.c (ptmalloc_init): Likewise.
26552         * malloc/hooks.c (top_check): Likewise.
26554 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26556         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26558 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
26560         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26562 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
26564         * math/auto-libm-test-in: Add tests of lgamma.
26565         * math/auto-libm-test-out: Regenerated.
26566         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
26567         (M_LOG_2_SQRT_PIl): Likewise.
26568         (lgamma_test_data): Use AUTO_TESTS_f_f1.
26569         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26570         mpfr_f_f1.
26571         (func_calc_desc): Add mpfr_f_f1 union field.
26572         (ARGS1): New macro.
26573         (ARGS2): Likewise.
26574         (ARGS3): Likewise.
26575         (ARGS4): Likewise.
26576         (RET1): Likewise.
26577         (RET2): Likewise.
26578         (CALC): Likewise.
26579         (FUNC): Likewise.
26580         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
26581         (test_functions): Add lgamma.
26582         (calc_generic_results): Handle mpfr_f_f1.
26583         * sysdeps/i386/fpu/libm-test-ulps: Update.
26584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26586 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26588         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
26589         __mpn_add_n for PowerPC64/POWER7.
26590         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
26591         __mpn_sub_n for PowerPC64/POWER7.
26593         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
26594         __mpn_addmul_1 for PowerPC64.
26595         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
26596         __mpn_submul_1 for PowerPC64.
26597         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
26598         for PowerPC64.
26599         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
26600         for PowerPC64.
26602 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
26604         [BZ #15089]
26605         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
26607 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26609         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
26611         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
26612         add multiarch folders.
26613         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
26614         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
26615         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
26616         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
26617         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
26618         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
26619         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
26620         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
26621         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
26622         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
26623         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
26624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
26625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
26626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
26627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
26628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
26629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
26631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
26632         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
26633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
26634         New file.
26635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
26636         New file.
26637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
26638         multiarch __ieee754_hypot for PowerPC32.
26639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
26640         New file.
26641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
26642         New file.
26643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
26644         multiarch __ieee754_hypotf for PowerPC32.
26646         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
26647         long_double_symbol only if __logbl is defined.
26648         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
26649         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
26650         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
26651         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
26652         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
26653         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
26654         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
26655         path for implementation.
26656         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
26657         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
26658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
26659         logb, and logbl multiarch implementations for PowerPC32.
26660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
26661         file.
26662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
26663         file.
26664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
26665         multiarch logb for PowerPC32.
26666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
26667         file.
26668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
26669         file.
26670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
26671         multiarch logbf for PowerPC32.
26672         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
26673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
26674         file.
26675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
26676         multiarch logbl implementation for PowerPC32.
26678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
26679         and modff multiarch implementations.
26680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
26681         New file.
26682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
26683         New file.
26684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
26685         multiarch modf for PowerPC32.
26686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
26687         New file.
26688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
26689         New file.
26690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
26691         multiarch modff for PowerPC32.
26693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
26694         and lrintf multiarch implementations.
26695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
26696         New file.
26697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
26698         New file.
26699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
26700         multiarch lrint for PowerPC32.
26701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
26702         file: multiarch lrintf for PowerPC32.
26704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
26705         and lroundf multiarch implementations.
26706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
26707         New file.
26708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
26709         New file.
26710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
26711         New file.
26712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
26713         multiarch lround for PowerPC32.
26714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
26715         file: multiarch lroundf for PowerPC32.
26717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
26718         copysign and copysignf multiarch implementations.
26719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
26720         New file.
26721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
26722         New file.
26723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
26724         file: multiarch copysign for PowerPC32.
26725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
26726         file: multiarch copysignf for PowerPC32.
26728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
26729         and truncf multiarch implementations.
26730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
26731         New file.
26732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
26733         file.
26734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
26735         multiarch trunc for PowerPC32.
26736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
26737         New file.
26738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
26739         New file.
26740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
26741         multiarch truncf for PowerPC32.
26743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
26744         and roundf multiarch implementations.
26745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
26746         New file.
26747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
26748         file.
26749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
26750         multiarch round for PowerPC32.
26751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
26752         New file.
26753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
26754         New file.
26755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
26756         multiarch roundf for PowerPC32.
26758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
26759         and floorf multiarch implementations.
26760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
26761         New file.
26762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
26763         file.
26764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
26765         multiarch floor for PowerPC32.
26766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
26767         New file.
26768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
26769         New file.
26770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
26771         multiarch floorf for PowerPC32.
26773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
26774         and ceilf multiarch implementations.
26775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
26776         New file.
26777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
26778         file.
26779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
26780         multiarch ceil for PowerPC32.
26781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
26782         New file.
26783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
26784         file.
26785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
26786         multiarch ceilf for PowerPC32.
26788         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
26789         is defined.
26790         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
26791         FINITEF is defined.
26792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
26793         and finitef multiarch implementations.
26794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
26795         New file.
26796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
26797         file.
26798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
26799         multiarch finite for PowerPC32.
26800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
26801         New file.
26802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
26803         file: multiarch finitef for PowerPC32.
26805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
26806         and isinff multiarch implementations.
26807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
26808         file.
26809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
26810         file.
26811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
26812         multiarch isinf for PowerPC32.
26813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
26814         New file.
26815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
26816         multiarch isinff for PowerPC32.
26818         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
26819         alias when __isnan is defined.
26820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
26821         and isnanf multiarch implementations.
26822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
26823         file.
26824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
26825         file.
26826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
26827         file.
26828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
26829         file.
26830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
26831         multiarch isnan for PowerPC32.
26832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
26833         New file.
26834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
26835         New file.
26836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
26837         multiarch isnanf for PowerPC32.
26839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
26840         and sqrtf multiarch implementations.
26841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
26842         file.
26843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
26844         file.
26845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
26846         multiarch sqrt for PowerPC32.
26847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
26848         file.
26849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
26850         file.
26851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
26852         multiarch sqrtf for PowerPC32.
26854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
26855         and llroundf multiarch implementations.
26856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
26857         New file.
26858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
26859         New file.
26860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
26861         New file.
26862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
26863         file: multiarch llround for PowerPC32.
26864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
26865         file: multiarch llroundf for PowerPC32.
26867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
26868         multiarch PowerPC32 fpu implementations.
26869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
26870         New file.
26871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
26872         New file.
26873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
26874         multiarch llrint for PowerPC32.
26875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
26876         New file.
26877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
26878         New file.
26879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
26880         file.
26882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
26884         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
26885         file.
26886         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
26887         file.
26888         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
26889         file.
26890         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
26891         multiarch wordcopy for PPC32.
26892         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
26893         wordcopy objects.
26894         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26895         (__libc_ifunc_impl_list): Likewise.
26896         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
26897         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
26898         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
26899         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
26900         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
26901         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
26903         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
26904         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
26905         file.
26906         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
26907         file.
26908         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
26909         file.
26910         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
26911         multiarch wcscpy for PPC32.
26912         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
26913         multiarch objects.
26914         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26915         (__libc_ifunc_impl_list): Likewise.
26916         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
26917         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
26918         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
26919         sysdeps/powerpc/power6/wcscpy.c.
26921         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
26922         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
26923         file.
26924         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
26925         file.
26926         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
26927         file.
26928         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
26929         multiarch wcsrchr for PPC32.
26930         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
26931         multiarch objects.
26932         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26933         (__libc_ifunc_impl_list): Likewise.
26934         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
26935         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
26936         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
26937         sysdeps/powerpc/power6/wcsrchr.c.
26939         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
26940         file.
26941         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
26942         file.
26943         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
26944         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
26945         multiarch wcschr for PPc32.
26946         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
26947         multiarch objects.
26948         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26949         (__libc_ifunc_impl_list): Likewise.
26950         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
26951         * sysdeps/powerpc/power6/wcschr.c: ... to here.
26952         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
26953         sysdeps/powerpc/power6/wcschr.c.
26955         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
26956         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
26957         file.
26958         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
26959         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
26960         file: multiarch strchr for PPC32.
26961         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
26962         multiarch objects.
26963         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26964         (__libc_ifunc_impl_list): Likewise.
26966         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
26967         name.
26968         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
26969         file.
26970         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
26971         file.
26972         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
26973         multiarch strchrnul for PPC32.
26974         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
26975         multiarch objects.
26976         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26977         (__libc_ifunc_impl_list): Likewise.
26979         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
26980         file.
26981         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
26982         multiarch strncasecmp for PPC32.
26983         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
26984         file.
26985         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
26986         multiarch strncasecmp_l for PPC32.
26987         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
26988         strncasecmp multiarch objects.
26989         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26990         (__libc_ifunc_impl_list): Likewise.
26992         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
26993         file.
26994         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
26995         multiarch strncasecmp for PPC32.
26996         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
26997         New file.
26998         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
26999         multiarch strcasecmp_l for PPC32.
27000         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
27001         multiarch objects.
27002         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27003         (__libc_ifunc_impl_list): Likewise.
27005         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
27006         file.
27007         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
27008         file.
27009         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
27010         multiarch strncmp for PPC32.
27011         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
27012         multiarch objects.
27013         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27014         (__libc_ifunc_impl_list): Likewise.
27016         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
27017         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
27018         file.
27019         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
27020         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
27021         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
27022         multiarch objects.
27023         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27024         (__libc_ifunc_impl_list): Likewise.
27026         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
27027         file.
27028         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
27029         file.
27030         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
27031         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
27032         multiarch objects.
27033         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27034         (__libc_ifunc_impl_list): Likewise.
27036         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
27037         file.
27038         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
27039         file.
27040         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
27041         multiarch rawmemchr for PPC32.
27042         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
27043         multiarch objects.
27044         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27045         (__libc_ifunc_impl_list): Likewise.
27047         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
27048         file.
27049         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
27050         file.
27051         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
27052         file: memrchr multiarch for PPC32.
27053         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
27054         multiarch objects.
27055         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27056         (__libc_ifunc_impl_list): Likewise.
27058         * string/memchr.c (__memchr): Using macro to redefine symbol name.
27059         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
27060         file.
27061         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
27062         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
27063         multiarch memchr for PPC32.
27064         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
27065         multiarch objects.
27066         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27067         (__libc_ifunc_impl_list): Likewise.
27069         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
27070         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
27071         file.
27072         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
27073         file.
27074         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
27075         file: multiarch mempcpy for PPC32.
27076         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
27077         multiarch objects.
27078         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27079         (__libc_ifunc_impl_list): Likewise.
27081         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
27082         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
27083         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
27084         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
27085         multiarch bzero for PPC32.
27086         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
27087         file.
27088         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
27089         file.
27090         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
27091         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
27092         file: multiarch memset for PPC32.
27093         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
27094         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
27095         memset multiarch objects.
27096         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27097         (__libc_ifunc_impl_list): Likewise.
27099         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
27100         file.
27101         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
27102         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
27103         memcmp for PPC32.
27104         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
27105         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
27106         multiarch objects.
27107         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27108         (__libc_ifunc_impl_list): Likewise.
27110         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
27111         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
27112         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
27113         file.
27114         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
27115         file.
27116         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
27117         file.
27118         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
27119         multiarch memcpy for PPC32.
27120         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
27121         multiarch objects.
27122         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27123         (__libc_ifunc_impl_list): Likewise.
27125         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
27126         support multiarch for POWER/PPC32.
27127         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
27128         Likewise.
27129         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
27130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
27131         Implies file to make multiarch folder appers before the fpu and
27132         default folder for power4 configuration.
27134 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
27136         * scripts/bench.pl: Append volatile keyword to type.
27138 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27140         * sysdeps/sh/sotruss-lib.c: New file.
27141         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
27143 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27145         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27147 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
27149         [BZ #6810]
27150         * math/w_tgamma.c: Include <errno.h>.
27151         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
27152         * math/w_tgammaf.c: Include <errno.h>.
27153         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
27154         * math/w_tgammal.c: Include <errno.h>.
27155         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
27156         * math/auto-libm-test-in: Do not allow missing errno on tgamma
27157         underflow.  Add more tgamma tests.
27158         * math/auto-libm-test-out: Regenerated.
27159         * sysdeps/i386/fpu/libm-test-ulps: Update.
27160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27162         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
27163         sin, sinh, tan, tanh, tgamma, y0 and y1.
27164         * math/auto-libm-test-out: Regenerated.
27165         * math/libm-test.inc (TEST_COND_x86_64): New macro.
27166         (TEST_COND_x86): Likewise.
27167         (M_E2l): Remove macro.
27168         (M_E3l): Likewise.
27169         (M_2_SQRT_PIl): Likewise.
27170         (M_SQRT_PIl): Likewise.
27171         (M_1_DIV_El): Likewise.
27172         (log_test_data): Use AUTO_TESTS_f_f.
27173         (log10_test_data): Likewise.
27174         (log1p_test_data): Likewise.
27175         (log2_test_data): Likewise.
27176         (sin_test_data): Likewise.
27177         (sin_tonearest_test_data): Likewise.
27178         (sin_towardzero_test_data): Likewise.
27179         (sin_downward_test_data): Likewise.
27180         (sin_upward_test_data): Likewise.
27181         (sinh_test_data): Likewise.
27182         (sinh_tonearest_test_data): Likewise.
27183         (sinh_towardzero_test_data): Likewise.
27184         (sinh_downward_test_data): Likewise.
27185         (sinh_upward_test_data): Likewise.
27186         (tan_test_data): Likewise.
27187         (tan_tonearest_test_data): Likewise.
27188         (tan_towardzero_test_data): Likewise.
27189         (tan_downward_test_data): Likewise.
27190         (tan_upward_test_data): Likewise.
27191         (tanh_test_data): Likewise.
27192         (tgamma_test_data): Likewise.
27193         (y0_test_data): Likewise.
27194         (y1_test_data): Likewise.
27195         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
27196         (special_real_inputs): Add pi/4.
27197         * sysdeps/i386/fpu/libm-test-ulps: Update.
27198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27200 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27202         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
27203         "longjmp_target" static probes.
27204         (__longjmp): Rename to __longjmp_symbol.
27205         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27206         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
27207         on which longjmp to generate.
27208         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27209         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
27210         probe.
27211         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27212         (__sigjmp_save): Rename to __sigjmp_save_symbol.
27213         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27214         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
27215         and __sigjmp_save_symbol based on which sigsetjmp to generated.
27216         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
27217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
27218         __longjmp_symbol based on which __longjmp to generate.
27219         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
27220         probe.
27221         (setjmp): Rename to setjmp_symbol.
27222         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27223         (_setjmp): Rename to _setjmp_symbol.
27224         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27225         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
27226         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
27227         which setjmp to generate.
27228         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
27229         "longjmp_target" static probes.
27231 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27233         * benchtests/README: Add note about output arguments.
27234         * benchtests/bench-sincos.c: Remove file.
27235         * benchtests/sincos-inputs: New file.
27236         * scripts/bench.pl: Identify output arguments and define
27237         static variables for them.
27239         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
27241         [BZ #15941]
27242         * Makefile (INSTALL): Add install-plain.texi as the primary
27243         dependency.
27244         * manual/install-plain.texi: New file.
27245         * manual/install.texi: Include node directive only for
27246         non-plaintext output.
27248 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
27250         * stdlib/longlong.h: Update from GCC.
27252         [BZ #6807]
27253         [BZ #15901]
27254         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
27255         * math/w_j0f.c (y0f): Likewise.
27256         * math/w_j0l.c (__y0l): Likewise.
27257         * math/w_j1.c (y1): Likewise.
27258         * math/w_j1f.c (y1f): Likewise.
27259         * math/w_j1l.c (__y1l): Likewise
27260         * math/w_jn.c (yn): Likewise.
27261         * math/w_jnf.c (ynf): Likewise.
27262         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
27263         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
27264         value for Bessel function domain errors outside _SVID_ mode.
27265         Adjust sign of return value for yn (negative integer, 0).
27266         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
27267         by zero in return for negative x and set sign appropriately for
27268         negative n.
27269         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
27270         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27271         * math/libm-test.inc (y0_test_data): Add more tests and adjust
27272         expectations in error cases.
27273         (y1_test_data): Likewise.
27274         (yn_test_data): Likewise.
27275         * sysdeps/i386/fpu/libm-test-ulps: Update.
27276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27278 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27280         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
27281         "64" to "64-v1".  Add "64-v2".
27282         (abi-64-options): Rename to ...
27283         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
27284         (abi-64-condition): Rename to ...
27285         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
27286         (abi-64-ld-soname): Rename to ...
27287         (abi-64-v1-ld-soname): ... this.
27288         (abi-64-v2-options): Define.
27289         (abi-64-v2-condition): Likewise.
27290         (abi-64-v2-ld-soname): Likewise.
27291         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
27292         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
27293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
27294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
27295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
27297 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27298             Alan Modra  <amodra@gmail.com>
27300         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
27301         New versions for use with the ELFv2 ABI.
27302         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
27303         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
27304         declaration.
27305         (struct La_ppc64v2_retval): Likewise.
27306         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
27307         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
27308         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
27309         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
27310         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
27311         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27312         Do not save or restore CR.
27313         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
27314         (_dl_profile_resolve): Do no save or restore CR.  Support extended
27315         return values for ELFv2 ABI.  Fix location of FPR return registers.
27316         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
27317         updated values for _CALL_ELF == 2.
27318         (La_regs, La_retval, int_retval): Likewise.
27320 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27322         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
27323         (FRAME_MIN_SIZE_PARM): Likewise.
27324         (FRAME_BACKCHAIN): Likewise.
27325         (FRAME_CR_SAVE): Likewise.
27326         (FRAME_LR_SAVE): Likewise.
27327         (FRAME_TOC_SAVE): Likewise.
27328         (FRAME_PARM_SAVE): Likewise.
27329         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
27330         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
27331         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
27332         (call_mcount_parm_offset): New macro.
27333         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
27334         (PROF): Use symbolic stack frame offsets.
27335         (TAIL_CALL_SYSCALL_ERROR): Likewise.
27336         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
27337         Redefine in terms of FRAME_MIN_SIZE.
27338         (_dl_runtime_resolve): Use symbolic stack frame offsets.
27339         (_dl_profile_resolve): Likewise.  Update comment.
27340         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
27341         symbols stack frame offsets.
27342         (__sigsetjmp): Likewise.
27343         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
27344         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
27345         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
27346         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
27348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
27349         (FRAME_BACKCHAIN): Remove.
27350         (FRAME_CR_SAVE): Likewise.
27351         (FRAME_LR_SAVE): Likewise.
27352         (FRAME_COMPILER_DW): Likewise.
27353         (FRAME_LINKER_DW): Likewise.
27354         (FRAME_TOC_SAVE): Likewise.
27355         (FRAME_PARM_SAVE): Likewise.
27356         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
27357         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
27358         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
27359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
27360         (CHECK_SP): Use symbolic stack frame offsets.
27361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
27362         zone" instead of caller's parameter save area for temp storage.
27363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27364         Likewise.  Also, use symbolic stack frame offsets.
27365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
27366         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
27367         our own stack frame instead of the caller's.
27368         (__socket): Use symbolic stack frame offsets.
27370 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27371             Alan Modra  <amodra@gmail.com>
27373         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
27374         Define.
27375         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
27376         (PPC64_LOCAL_ENTRY_OFFSET): Define.
27377         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
27378         New function.
27379         (elf_machine_fixup_plt): Call it.
27380         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
27381         reloc arguments.
27382         (elf_machine_rela): Update call to elf_machine_plt_conflict.
27383         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
27384         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
27385         r2 before calling target.
27387 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27388             Alan Modra  <amodra@gmail.com>
27390         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
27391         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
27392         versions of macros to support ELFv2 ABI.
27393         (LOCALENTRY): New macro.
27394         (ENTRY, EALIGN): Use it.
27395         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
27396         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
27397         fall through into ENTRY entry point.
27398         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
27399         Only define if _CALL_ELF != 2.
27401         (elf_machine_matches_host): Verify ABI version matches.
27402         (RTLD_START): Use LOCALENTRY.
27403         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
27404         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
27405         (PLT_ENTRY_WORDS): New macro.
27406         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
27407         (elf_machine_runtime_setup): Support ELFv2 ABI.
27408         (elf_machine_fixup_plt): Likewise.
27409         (elf_machine_plt_conflict): Likewise.
27410         (resolve_ifunc): Likewise.
27411         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
27412         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
27413         Likewise.
27414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
27415         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
27416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27417         (makecontext): Support ELFv2 ABI.
27418         * elf/elf.h (EF_PPC64_ABI): Define.
27420 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27422         * sysdeps/powerpc/powerpc64/sysdep.h
27423         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
27424         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
27425         (ENTRY) [ASSEMBLER]: ... but instead here ...
27426         (EALIGN) [ASSEMBLER]: ... and here.
27427         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
27428         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
27429         (ENTRY_2) [!ASSEMBLER]: Use it.
27430         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
27431         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
27432         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
27433         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
27434         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
27435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
27436         Use PPC64_LOAD_FUNCPTR.
27438         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
27440 2013-12-04  Alan Modra  <amodra@gmail.com>
27442         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
27443         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
27444         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
27445         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
27447         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
27448         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
27449         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
27450         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
27451         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
27452         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
27454 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27457         (__makecontext): Fix incorrect CFI when backtracing out of
27458         context created via makecontext.
27459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
27460         (__setcontext): Fix incorrect CFI during switch to new context.
27461         (__novec_setcontext): Likewise.
27463 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
27465         [BZ #4772]
27466         * time/strptime_l.c (__strptime_internal): Allow modifiers
27467         in strptime.
27468         * time/tst-strptime.c (day_tests): Add testcase.
27470 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27472         * scripts/bench.pl: Skip over blank lines.
27474 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
27476         [BZ #926]
27477         * manual/time.texi (Calendar Time): Clarify what timezone functions
27478         use.
27480 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27482         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27484 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
27486         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
27487         implementation.
27488         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
27489         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
27490         * debug/memset_chk.c (__memset_chk): Likewise.
27491         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
27492         * debug/strncpy_chk.c: Likewise.
27494 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
27496         [BZ #15268]
27497         [BZ #15425]
27498         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
27499         (__ieee754_exp): For possibly underflowing results, check size of
27500         result and force underflow exception if required.
27501         * math/auto-libm-test-in: Add more tests of exp.
27502         * math/auto-libm-test-out: Regenerated.
27503         * sysdeps/i386/fpu/libm-test-ulps: Update.
27504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27506         [BZ #16283]
27507         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
27508         * math/w_exp2f.c (__exp2f): Likewise.
27509         * math/w_exp2l.c (__exp2l): Likewise.
27510         * math/auto-libm-test-in: Do not allow missing errno on exp2
27511         underflow.
27512         * math/auto-libm-test-out: Regenerated.
27514 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
27516         [BZ #16274]
27517         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
27518         handle filename validation.
27519         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
27520         (do_open): Delete.
27522 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
27524         [BZ #6786]
27525         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
27526         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
27527         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
27528         <float.h>.
27529         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
27530         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
27531         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27532         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
27533         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27534         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
27535         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27536         * math/auto-libm-test-in: Don't allow missing errno from erfc.
27537         Add more erfc tests.
27538         * math/auto-libm-test-out: Regenerated.
27539         * sysdeps/i386/fpu/libm-test-ulps: Update.
27540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27542         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
27543         exp2, expm1, j0 and j1.
27544         * math/auto-libm-test-out: Regenerated.
27545         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
27546         (erfc_test_data): Likewise.
27547         (exp_test_data): Likewise.
27548         (exp_tonearest_test_data): Likewise.
27549         (exp_towardzero_test_data): Likewise.
27550         (exp_downward_test_data): Likewise.
27551         (exp_upward_test_data): Likewise.
27552         (exp10_test_data): Likewise.
27553         (exp2_test_data): Likewise.
27554         (expm1_test_data): Likewise.
27555         (j0_test_data): Likewise.
27556         (j1_test_data): Likewise.
27557         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
27558         (input_flag_type): Add flag_xfail_rounding.
27559         (input_flags): Add xfail-rounding.
27560         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
27561         (output_for_one_input_case): Handle flag_xfail_rounding.
27562         * sysdeps/i386/fpu/libm-test-ulps: Update.
27563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27565 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
27567         [BZ #16289]
27568         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
27569         division by 0.
27571 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
27573         [BZ #16195]
27574         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
27575         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
27576         (STAP_PROBE0): New macro.
27577         (STAP_PROBE1): Likewise.
27578         (STAP_PROBE2): Likewise.
27579         (STAP_PROBE3): Likewise.
27580         (STAP_PROBE4): Likewise.
27582 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
27584         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
27586 2013-12-02  Steve Ellcey  <sellcey@mips.com>
27588         * benchtests/Makefile (bench): Add sqrt.
27589         (LDLIBS-bench-sqrt): New.
27590         * benchtests/sqrt-input: New.
27592 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
27594         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
27595         (GAIH_EAI): Likewise.
27596         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
27597         (gaih_inet): Likewise.
27598         (getaddrinfo): Don't use GAIH_EAI.
27600         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
27601         (struct gaih): Remove definition.
27603 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27605         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
27606         Use HERRNOP directly.
27608 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27610         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27612 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
27614         * math/gen-auto-libm-tests.c (test_functions): Add more
27615         single-argument functions.
27616         (special_fill_pi_2): New function.
27617         (special_fill_minus_pi_2): Likewise.
27618         (special_fill_pi_6): Likewise.
27619         (special_fill_minus_pi_6): Likewise.
27620         (special_fill_pi_3): Likewise.
27621         (special_fill_2pi_3): Likewise.
27622         (special_fill_e): Likewise.
27623         (special_fill_1_e): Likewise.
27624         (special_fill_e_minus_1): Likewise.
27625         (special_real_inputs): Add more special inputs.
27626         (output_for_one_input_case): Do not require ERANGE on underflow to
27627         zero if round-to-nearest result does not underflow to zero, unless
27628         exact results required.
27629         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
27630         atan, atanh, cbrt, cos and cosh.
27631         * math/auto-libm-test-out: Regenerated.
27632         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
27633         (acos_tonearest_test_data): Likewise.
27634         (acos_towardzero_test_data): Likewise.
27635         (acos_downward_test_data): Likewise.
27636         (acos_upward_test_data): Likewise.
27637         (acosh_test_data): Likewise.
27638         (asin_test_data): Likewise.
27639         (asin_tonearest_test_data): Likewise.
27640         (asin_towardzero_test_data): Likewise.
27641         (asin_upward_test_data): Likewise.
27642         (asinh_test_data): Likewise.
27643         (atan_test_data): Likewise.
27644         (atanh_test_data): Likewise.
27645         (cbrt_test_data): Likewise.
27646         (cos_test_data): Likewise.
27647         (cos_tonearest_test_data): Likewise.
27648         (cos_towardzero_test_data): Likewise.
27649         (cos_downward_test_data): Likewise.
27650         (cos_upward_test_data): Likewise.
27651         (cosh_test_data): Likewise.
27652         (cosh_tonearest_test_data): Likewise.
27653         (cosh_towardzero_test_data): Likewise.
27654         (cosh_downward_test_data): Likewise.
27655         (cosh_upward_test_data): Likewise.
27656         * sysdeps/i386/fpu/libm-test-ulps: Update.
27657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27659 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
27661         [BZ #6787]
27662         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
27663         * math/w_exp10f.c (__exp10f): Likewise.
27664         * math/w_exp10l.c (__exp10l): Likewise.
27665         * math/libm-test.inc (exp10_test_data): Add more tests and expect
27666         errno settings in existing tests.
27668         [BZ #14032]
27669         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
27670         precision control set to double precision.
27671         * sysdeps/i386/fpu/w_sqrt.c: New file.
27672         * math/auto-libm-test-in: Add more tests.
27673         * math/auto-libm-test-out: Update.
27675         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
27676         (sqrt_test_tonearest): New function.
27677         (sqrt_towardzero_test_data): New variable.
27678         (sqrt_test_towardzero): New function.
27679         (sqrt_downward_test_data): New variable.
27680         (sqrt_test_downward): New function.
27681         (sqrt_upward_test_data): New variable.
27682         (sqrt_test_upward): New function.
27683         (main): Call the new functions.
27685         * math/gen-auto-libm-tests.c: New file.
27686         * math/auto-libm-test-in: Likewise.
27687         * math/auto-libm-test-out: New generated file.
27688         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
27689         variables.
27690         (%beautify): Add generated representations of zero.
27691         (top level): Set $auto_input and call parse_auto_input.
27692         (beautify): Remove trailing "f" from hex float constants.
27693         (parse_args): Handle XFAIL_TEST.
27694         (convert_condition): New function.
27695         (or_value): Likewise.
27696         (or_cond_value): Likewise.
27697         (generate_testfile): Handle AUTO_TESTS_* lines.
27698         (parse_auto_input): New function.
27699         * math/libm-test.inc (XFAIL_TEST): New macro.
27700         (ERRNO_UNCHANGED): Update value.
27701         (ERRNO_EDOM): Likewise.
27702         (ERRNO_ERANGE): Likewise.
27703         (IGNORE_RESULT): Likewise.
27704         (TEST_COND_flt_32): New macro.
27705         (TEST_COND_dbl_64): Likewise.
27706         (TEST_COND_ldbl_96_intel): Likewise.
27707         (TEST_COND_ldbl_96_m68k): Likewise.
27708         (TEST_COND_ldbl_128): Likewise.
27709         (TEST_COND_ldbl_128ibm): Likewise.
27710         (TEST_COND_long32): Likewise.
27711         (TEST_COND_long64): Likewise.
27712         (TEST_COND_before_rounding): Likewise.
27713         (TEST_COND_after_rounding): Likewise.
27714         (enable_test): Handle XFAIL_TEST flag.
27715         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
27716         with finite results.
27717         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
27718         auto-libm-test-out.
27720 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27721             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27723         [BZ #16214]
27724         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
27725         __tls_get_addr_internal instead of __tls_get_offset in order to
27726         avoid GOT pointer dependency.  Make rtld export
27727         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
27728         __tls_get_addr since we are a __tls_get_offset platform.
27729         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
27730         GOT pointer being set up before.
27731         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
27733 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
27735         * manual/math.texi (Errors in Math Functions): Document accuracy
27736         goals.
27738         [BZ #15004]
27739         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
27740         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
27741         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27742         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27743         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27744         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27745         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27746         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
27747         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
27748         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27749         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27750         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27751         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27752         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27753         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27754         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
27756         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
27757         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
27758         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
27759         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
27760         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
27761         Likewise.
27762         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
27763         Likewise.
27764         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
27765         Likewise.
27766         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
27767         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
27768         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
27769         atomic-feupdateenv and flt-rounds.
27770         * sysdeps/powerpc/nofpu/Versions (libc): Add
27771         __atomic_feholdexcept, __atomic_feclearexcept,
27772         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
27773         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
27774         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
27775         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
27776         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
27777         here.
27778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
27779         Update.
27781         * manual/arith.texi (FP Exceptions): Document that exceptions may
27782         not be raised when matherr is used.
27783         (Math Error Reporting): Document overflow in directed rounding
27784         modes.  Document that errno may not be set when finite values are
27785         returned on overflow.  Document intent to set errno on underflow
27786         only for underflow to zero.
27788         [BZ #16271]
27789         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
27790         round-to-nearest then adjust result for other rounding modes.
27791         * include/fenv.h (fegetround): Use libm_hidden_proto.
27792         * math/fegetround.c (fegetround): Use libm_hidden_def.
27793         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
27794         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
27795         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
27796         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
27797         Likewise.
27798         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
27799         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27800         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
27801         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
27803 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27805         [BZ #16077]
27806         * nss/Versions (libnss_files): Add
27807         _nss_files_gethostbyname3_r.
27808         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
27809         New function.
27810         (HOST_DB_LOOKUP): Remove macro.
27811         (_nss_files_gethostbyname_r): Implement function without the
27812         HOST_DB_LOOKUP macro.
27813         (_nss_files_gethostbyname2_r): Likewise.
27815 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
27817         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
27819 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
27821         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
27822         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
27823         warning.
27825 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27827         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
27828         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
27829         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
27830         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
27831         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
27832         __fe_nomask_env_priv and attribute_hidden.
27833         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
27834         (libc_feupdateenv_test_ppc): Likewise.
27835         (libc_feresetround_ppc): Likewise.
27836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27837         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
27838         compat_symbol macro.
27839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27840         (__fe_nomask_env): Likewise.
27841         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
27843 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27845         * string/Makefile: Remove ifunc tests.
27846         * string/test-string.h: Define TEST_IFUNC.
27847         * string/test-bcopy-ifunc.c: Remove.
27848         * string/test-bzero-ifunc.c: Likewise.
27849         * string/test-memccpy-ifunc.c: Likewise.
27850         * string/test-memchr-ifunc.c: Likewise.
27851         * string/test-memcmp-ifunc.c: Likewise.
27852         * string/test-memcpy-ifunc.c: Likewise.
27853         * string/test-memmem-ifunc.c: Likewise.
27854         * string/test-memmove-ifunc.c: Likewise.
27855         * string/test-mempcpy-ifunc.c: Likewise.
27856         * string/test-memrchr-ifunc.c: Likewise.
27857         * string/test-memset-ifunc.c: Likewise.
27858         * string/test-rawmemchr-ifunc.c: Likewise.
27859         * string/test-stpcpy-ifunc.c: Likewise.
27860         * string/test-stpncpy-ifunc.c: Likewise.
27861         * string/test-strcasecmp-ifunc.c: Likewise.
27862         * string/test-strcasestr-ifunc.c: Likewise.
27863         * string/test-strcat-ifunc.c: Likewise.
27864         * string/test-strchr-ifunc.c: Likewise.
27865         * string/test-strchrnul-ifunc.c: Likewise.
27866         * string/test-strcmp-ifunc.c: Likewise.
27867         * string/test-strcpy-ifunc.c: Likewise.
27868         * string/test-strcspn-ifunc.c: Likewise.
27869         * string/test-strlen-ifunc.c: Likewise.
27870         * string/test-strncasecmp-ifunc.c: Likewise.
27871         * string/test-strncat-ifunc.c: Likewise.
27872         * string/test-strncmp-ifunc.c: Likewise.
27873         * string/test-strncpy-ifunc.c: Likewise.
27874         * string/test-strnlen-ifunc.c: Likewise.
27875         * string/test-strpbrk-ifunc.c: Likewise.
27876         * string/test-strrchr-ifunc.c: Likewise.
27877         * string/test-strspn-ifunc.c: Likewise.
27878         * string/test-strstr-ifunc.c: Likewise.
27880 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27882         * benchtests/Makefile: Remove ifunc tests.
27883         * benchtests/bench-string.h: Define TEST_IFUNC.
27884         * benchtests/bench-bcopy-ifunc.c: Remove.
27885         * benchtests/bench-bzero-ifunc.c: Likewise.
27886         * benchtests/bench-memccpy-ifunc.c: Likewise.
27887         * benchtests/bench-memchr-ifunc.c: Likewise.
27888         * benchtests/bench-memcmp-ifunc.c: Likewise.
27889         * benchtests/bench-memcpy-ifunc.c: Likewise.
27890         * benchtests/bench-memmem-ifunc.c: Likewise.
27891         * benchtests/bench-memmove-ifunc.c: Likewise.
27892         * benchtests/bench-mempcpy-ifunc.c: Likewise.
27893         * benchtests/bench-memrchr-ifunc.c: Likewise.
27894         * benchtests/bench-memset-ifunc.c: Likewise.
27895         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
27896         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
27897         * benchtests/bench-stpcpy-ifunc.c: Likewise.
27898         * benchtests/bench-stpncpy-ifunc.c: Likewise.
27899         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
27900         * benchtests/bench-strcasestr-ifunc.c: Likewise.
27901         * benchtests/bench-strcat-ifunc.c: Likewise.
27902         * benchtests/bench-strchr-ifunc.c: Likewise.
27903         * benchtests/bench-strchrnul-ifunc.c: Likewise.
27904         * benchtests/bench-strcmp-ifunc.c: Likewise.
27905         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
27906         * benchtests/bench-strcpy-ifunc.c: Likewise.
27907         * benchtests/bench-strcspn-ifunc.c: Likewise.
27908         * benchtests/bench-strlen-ifunc.c: Likewise.
27909         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
27910         * benchtests/bench-strncat-ifunc.c: Likewise.
27911         * benchtests/bench-strncmp-ifunc.c: Likewise.
27912         * benchtests/bench-strncpy-ifunc.c: Likewise.
27913         * benchtests/bench-strnlen-ifunc.c: Likewise.
27914         * benchtests/bench-strpbrk-ifunc.c: Likewise.
27915         * benchtests/bench-strrchr-ifunc.c: Likewise.
27916         * benchtests/bench-strsep-ifunc.c: Likewise.
27917         * benchtests/bench-strspn-ifunc.c: Likewise.
27918         * benchtests/bench-strstr-ifunc.c: Likewise.
27920 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27922         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
27924 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27926         * resolv/netdb.h: Use __glibc_reserved instead __unused.
27927         * rt/aio.h: Likewise.
27928         * sysdeps/gnu/bits/utmp.h: Likewise.
27929         * sysdeps/gnu/bits/utmpx.h: Likewise.
27930         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
27931         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
27932         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
27933         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
27934         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
27935         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
27936         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
27937         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
27938         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
27939         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
27940         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
27941         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
27942         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
27943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
27944         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27945         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
27946         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
27947         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
27948         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
27949         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
27950         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
27951         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
27952         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
27953         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27954         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
27955         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27956         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
27957         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
27958         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
27959         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
27960         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
27961         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
27962         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
27963         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
27964         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
27965         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
27966         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
27967         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
27968         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
27969         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
27970         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
27971         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
27973 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
27975         [BZ #16245]
27976         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
27977         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
27979 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
27981         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
27982         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
27983         Likewise.
27985 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27987         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
27988         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
27989         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
27990         (__fesetround): Remove define.
27991         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
27992         rounding and exceptions handling.
27993         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
27994         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
27995         (__fe_nomask_env): Likewise.
27996         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
27997         __fegetround instead of fegetround.
27998         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
27999         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
28001 2013-11-21  Roland McGrath  <roland@hack.frob.com>
28003         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
28004         it's there.
28006         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
28008 2013-11-21  Meador Inge  <meadori@codesourcery.com>
28010         [BZ #11157]
28011         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
28012         (encrypt_r): Likewise.
28013         * malloc/obstack.h (obstack_free): Likewise.
28014         * posix/unistd.h (encrypt): Likewise.
28016 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
28018         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
28019         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
28020         DL_CALL_DT_FINI() that call the functions directly.
28021         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
28022         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
28023         * elf/dl-fini.c: Likewise.
28025 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
28027         * malloc/hooks.c (memalign_check): Add alignment rounding.
28028         * malloc/malloc.c (_mid_memalign): New function.
28029         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
28030         Implement by calling _mid_memalign.
28031         * manual/probes.texi (Memory Allocation Probes): Remove
28032         memory_valloc_retry and memory_pvalloc_retry.
28034 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28036         * locale/programs/locarchive.c (open_archive): Add const
28037         qualifier to ARCHIVEFNAME and copy default fname to
28038         DEFAULT_FNAME.
28040         [BZ #15601]
28041         * libio/tst-widetext.input: Rename Oriya to Odia.
28042         * locale/iso-639.def: Likewise.
28044         * manual/probes.texi (Mathematical Function Probes): Add
28045         documentation for sin, cos, asin and acos probes.
28046         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
28047         (__sin32): Add slowasin probe.
28048         (__cos32): Add slowacos probe.
28049         (__mpsin): Add slowsin probe.
28050         (__mpcos): Add slowcos probe.
28052 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
28054         [BZ #15483]
28055         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
28056         thread-local __sim_exceptions_thread and global
28057         __sim_exceptions_global.
28058         (__sim_disabled_exceptions): Change to thread-local
28059         __sim_disabled_exceptions_thread and global
28060         __sim_disabled_exceptions_global.
28061         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
28062         and global __sim_round_mode_global.
28063         (__simulate_exceptions): Use thread-local floating-point state and
28064         set global state from it as needed.
28065         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
28066         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
28067         __sim_round_mode_thread.
28068         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
28069         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
28070         and global __sim_exceptions_global.
28071         (__sim_disabled_exceptions): Change to thread-local
28072         __sim_disabled_exceptions_thread and global
28073         __sim_disabled_exceptions_global.
28074         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
28075         and global __sim_round_mode_global.
28076         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
28077         (SIM_SET_GLOBAL): Likewise.
28078         * sysdeps/powerpc/soft-fp/sfp-machine.h
28079         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
28080         __sim_round_mode_thread.
28081         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
28082         __sim_disabled_exceptions_thread.
28083         (__sim_exceptions): Change to __sim_exceptions_thread.
28084         (__sim_disabled_exceptions): Change to
28085         __sim_disabled_exceptions_thread.
28086         (__sim_round_mode): Change to __sim_round_mode_thread.
28087         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
28088         thread-local floating-point state and set global state from it as
28089         needed.
28090         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
28091         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
28092         (__sim_disabled_exceptions): Remove extern declaration.
28093         (feenableexcept): Use thread-local floating-point state and set
28094         global state from it as needed.
28095         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
28096         extern declaration.
28097         (__sim_disabled_exceptions): Likewise.
28098         (__sim_round_mode): Likewise.
28099         (__fegetenv): Use thread-local floating-point state.
28100         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
28101         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
28102         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
28103         floating-point state and set global state from it as needed.
28104         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
28105         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
28106         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
28107         Likewise.
28108         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
28109         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
28110         Likewise.
28111         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
28112         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
28113         Use __sim_round_mode_thread.
28114         * math/test-fenv-tls.c: New file.
28115         * math/Makefile (tests): Add test-fenv-tls.
28116         ($(objpfx)test-fenv-tls): Depend on
28117         $(common-objpfx)nptl/libpthread.so.
28119 2013-11-19  Andreas Schwab  <schwab@suse.de>
28121         * locale/programs/locale.c (show_info): Decode wordarray elements.
28122         * locale/categories.def (LC_MONETARY): Add element for
28123         _NL_MONETARY_CRNCYSTR.
28124         * locale/C-monetary.c (conversion_rate): New variable.
28125         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
28126         element.
28128 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
28130         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
28131         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
28133 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
28135         * elf/Makefile (tst-auxv): New test.
28136         * elf/tst-auxv.c: New
28137         * elf/rtld.c (dl_main): Adjust AT_EXECFN
28139 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
28141         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
28142         (hidden_proto): Caller changed.
28143         (hidden_tls_proto): New macro.
28144         (libc_hidden_tls_proto): Likewise.
28145         (rtld_hidden_tls_proto): Likewise.
28146         (libm_hidden_tls_proto): Likewise.
28147         (libresolv_hidden_tls_proto): Likewise.
28148         (librt_hidden_tls_proto): Likewise.
28149         (libdl_hidden_tls_proto): Likewise.
28150         (libnss_files_hidden_tls_proto): Likewise.
28151         (libnsl_hidden_tls_proto): Likewise.
28152         (libnss_nisplus_hidden_tls_proto): Likewise.
28153         (libutil_hidden_tls_proto): Likewise.
28155 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
28157         [BZ #10253]
28158         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
28159         (decompose_rpath): Defer expansion to fillin_rpath.
28160         (_dl_init_paths): Pass linkmap to fillin_rpath.
28162 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28164         * benchtests/Makefile: Add strsep.
28165         * benchtests/bench-strsep.c: New file: strsep benchtest.
28166         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
28168 2013-11-18  Andreas Schwab  <schwab@suse.de>
28170         * locale/programs/locale.c (show_info) [case byte]: Check for
28171         '\377' instead of '\177'.
28172         * locale/C-monetary.c (not_available): Always use "\377".
28173         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
28174         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
28175         detect unavailable sign_posn locale elements.
28176         * locale/localeconv.c (__localeconv): For grouping and
28177         mon_grouping handle "\177" and "\377" like no grouping.
28178         (INT_ELEM): New macro.  Use it to set all numeric members.
28179         * locale/programs/ld-monetary.c (monetary_read)
28180         <tok_mon_grouping>: Normalize single -1 to the empty string.
28181         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
28182         Likewise.
28184 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
28186         [BZ #16055]
28187         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
28188         when we match (nil).
28189         * stdio-common/tst-sscanf.c (struct test): Add testcase.
28191 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
28193         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
28194         (NO_TEST_INLINE): Update value.
28195         (ERRNO_UNCHANGED): Likewise.
28196         (ERRNO_EDOM): Likewise.
28197         (ERRNO_ERANGE): Likewise.
28198         (IGNORE_RESULT): Likewise.
28199         (check_float_internal): Check signs of NaN results if
28200         TEST_NAN_SIGN used.
28201         (check_complex): Pass TEST_NAN_SIGN flag through to second
28202         check_float_internal call.
28203         (copysign_test_data): Add tests with quiet NaNs as second
28204         argument.  Use TEST_NAN_SIGN.
28205         (fabs_test_data): Add test of negative quiet NaN argument.  Use
28206         TEST_NAN_SIGN.
28207         (signbit_test_data): Add tests of quiet NaN argument.
28208         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
28210         * math/gen-libm-test.pl (show_exceptions): Take extra argument
28211         $ignore_result.
28212         (parse_args): Handle function results specified as IGNORE.
28213         * math/libm-test.inc (IGNORE_RESULT): New macro.
28214         (check_float_internal): Do not check numerical result if flag
28215         IGNORE_RESULT set.
28216         (check_complex): Pass through IGNORE_RESULT to second
28217         check_float_internal call.
28218         (check_int): Do not check numerical result if flag IGNORE_RESULT
28219         set.
28220         (check_long): Likewise.
28221         (check_bool): Likewise.
28222         (check_longlong): Likewise.
28223         (lrint_test_data): Add tests of infinite and NaN arguments.
28224         (lrint_tonearest_test_data): Likewise.
28225         (lrint_towardzero_test_data): Likewise.
28226         (lrint_downward_test_data): Likewise.
28227         (lrint_upward_test_data): Likewise.
28228         (llrint_test_data): Likewise.
28229         (llrint_tonearest_test_data): Likewise.
28230         (llrint_towardzero_test_data): Likewise.
28231         (llrint_downward_test_data): Likewise.
28232         (llrint_upward_test_data): Likewise.
28233         (lround_test_data): Likewise.
28234         (llround_test_data): Likewise.
28236         * math/libm-test.inc (NO_TEST_INLINE): New macro.
28237         (ERRNO_UNCHANGED): Update value.
28238         (ERRNO_EDOM): Likewise.
28239         (ERRNO_ERANGE): Likewise.
28240         (NO_TEST_INLINE_FLOAT): New macro.
28241         (NO_TEST_INLINE_DOUBLE): Likewise.
28242         (enable_test): New function.
28243         (RUN_TEST_f_f): Check enable_test before running test.
28244         (RUN_TEST_2_f): Likewise.
28245         (RUN_TEST_fff_f): Likewise.
28246         (RUN_TEST_c_f): Likewise.
28247         (RUN_TEST_f_f1): Likewise.
28248         (RUN_TEST_fF_f1): Likewise.
28249         (RUN_TEST_fI_f1): Likewise.
28250         (RUN_TEST_ffI_f1): Likewise.
28251         (RUN_TEST_c_c): Likewise.
28252         (RUN_TEST_cc_c): Likewise.
28253         (RUN_TEST_f_i): Likewise.
28254         (RUN_TEST_f_i_tg): Likewise.
28255         (RUN_TEST_ff_i_tg): Likewise.
28256         (RUN_TEST_f_b): Likewise.
28257         (RUN_TEST_f_b_tg): Likewise.
28258         (RUN_TEST_f_l): Likewise.
28259         (RUN_TEST_f_L): Likewise.
28260         (RUN_TEST_fFF_11): Likewise.
28261         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
28262         conditionals.
28263         (cosh_test_data): Likewise.
28264         (exp_test_data): Likewise.
28265         (expm1_test_data): Likewise.
28266         (hypot_test_data): Likewise.
28267         (pow_test_data): Likewise.
28268         (sinh_test_data): Likewise.
28269         (tanh_test_data): Likewise.
28270         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
28271         flags argument.
28273         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
28274         tests with quiet NaN input and output.
28275         (acosh_test_data): Likewise.
28276         (asin_test_data): Likewise.
28277         (asinh_test_data): Likewise.
28278         (atan_test_data): Likewise.
28279         (atanh_test_data): Likewise.
28280         (atan2_test_data): Likewise.
28281         (cbrt_test_data): Likewise.
28282         (cos_test_data): Likewise.
28283         (cosh_test_data): Likewise.
28284         (erf_test_data): Likewise.
28285         (erfc_test_data): Likewise.
28286         (exp_test_data): Likewise.
28287         (exp10_test_data): Likewise.
28288         (exp2_test_data): Likewise.
28289         (expm1_test_data): Likewise.
28290         (hypot_test_data): Likewise.
28291         (j0_test_data): Likewise.
28292         (j1_test_data): Likewise.
28293         (jn_test_data): Likewise.
28294         (lgamma_test_data): Likewise.
28295         (log_test_data): Likewise.
28296         (log10_test_data): Likewise.
28297         (log1p_test_data): Likewise.
28298         (log2_test_data): Likewise.
28299         (pow_test_data): Likewise.
28300         (scalb_test_data): Likewise.
28301         (sin_test_data): Likewise.
28302         (sincos_test_data): Likewise.
28303         (sinh_test_data): Likewise.
28304         (tan_test_data): Likewise.
28305         (tanh_test_data): Likewise.
28306         (tgamma_test_data): Likewise.
28307         (y0_test_data): Likewise.
28308         (y1_test_data): Likewise.
28309         (yn_test_data): Likewise.
28311         [BZ #16167]
28312         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
28313         argument being NaN and avoid computations with second argument in
28314         that case.
28315         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28316         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
28317         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
28319 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
28321         * locale/iso-639.def: Add Chitwani Tharu (the).
28323 2013-11-14  Andreas Schwab  <schwab@suse.de>
28325         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
28326         word instead of empty string.
28328 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28331         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
28332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28333         (__fe_nomask_env): Likewise.
28335 2013-11-13  Steve Ellcey  <sellcey@mips.com>
28337         * benchtests/bench-timing.h: Include time.h.
28339 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
28341         [BZ #15997]
28342         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
28343         to 3.4.0 for x32.
28344         * sysdeps/unix/sysv/linux/configure: Regenerated.
28346 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
28348         [BZ #16151]
28349         * stdlib/strtod_l.c (round_and_return): Do not consider
28350         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
28351         exponent one less than half the least subnormal exponent.
28352         * stdlib/test-strtod-round-data: Add more tests.
28353         * stdlib/tst-strtod-round.c (tests): Regenerated.
28355 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28357         [BZ #14143]
28358         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
28359         (__fe_mask_env): Likewise.
28360         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
28361         libm_hidden_proto and add function prototype.
28362         (__fe_mask_env): Add function prototype.
28363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28364         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
28365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28366         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
28367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28368         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
28370 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28372         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
28373         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
28375 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28377         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
28378         of htab_find_slot().
28380 2013-11-11  David S. Miller  <davem@davemloft.net>
28382         [BZ #16150]
28383         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
28384         symbol in the non-vis3 case in static builds.
28385         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
28386         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
28387         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
28388         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
28390 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
28392         [BZ #387]
28393         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
28394         it is empty.
28396 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28398         * benchtests/Makefile: Add bench-strtod.
28399         * benchtests/bench-strtod.c: New file: strtod benchtest
28401 2013-11-11  Andreas Schwab  <schwab@suse.de>
28403         [BZ #16153]
28404         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
28405         terminating NUL in key length.
28407 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28409         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
28410         Add artificial ODP entry for vDSO symbol for PPC64.
28411         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
28412         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
28414 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
28416         [BZ #15374]
28417         * nss/getent.c (services_keys): Recognize services starting with digit.
28419 2013-11-06  David S. Miller  <davem@davemloft.net>
28421         [BZ #15985]
28422         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
28423         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
28425 2013-11-06  Will Newton  <will.newton@linaro.org>
28427         * manual/memory.texi (Malloc Examples): Remove register
28428         keyword from examples.
28430 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
28432         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
28434 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
28436         [BZ #6981]
28437         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
28438         depending on [__GCC_IEC_559 > 0].
28439         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
28440         depending on [__GCC_IEC_559_COMPLEX > 0].
28442 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
28444         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
28445         to iso-639.def.
28447 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
28449         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
28451 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
28453         [BZ #16112]
28454         * malloc/malloc (malloc_info): Do not handle first bin as
28455         special case.
28457 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
28459         * locale/iso-639.def: Add Central Nahuatl (nhn).
28461 2013-11-01  Bruno Haible  <bruno@clisp.org>
28463         [BZ #7003]
28464         * manual/math.texi (BSD Random): Specify range upper bound as
28465         in POSIX.
28467 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
28469         * locale/iso-639.def: Add Meadow Mari (mhr).
28471 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
28473         [BZ #14752], [BZ #15763]
28474         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
28475         Validate name.
28476         * rt/tst_shm.c: Add test for escaping directory.
28478 2013-10-31  Andreas Schwab  <schwab@suse.de>
28480         [BZ #15917]
28481         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
28482         followed by 'x' as part of digit sequence.
28483         * stdio-common/tst-sscanf.c (double_tests2): New tests.
28485 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
28487         [BZ #16037]
28488         * configure.ac: allow GNU Make 4.0 and greater.
28489         * configure: Regenerated.
28491 2013-10-30  Will Newton  <will.newton@linaro.org>
28493         [BZ #16038]
28494         * malloc/hooks.c (memalign_check): Limit alignment to the
28495         maximum representable power of two.
28496         * malloc/malloc.c (__libc_memalign): Likewise.
28497         * malloc/tst-memalign.c (do_test): Add test for very
28498         large alignment values.
28499         * malloc/tst-posix_memalign.c (do_test): Likewise.
28501 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
28503         [BZ #11087]
28504         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
28505         (munmap_chunk): Likewise.
28506         (mremap_chunk): Likewise.
28508 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
28510         [BZ #15799]
28511         * stdlib/div.c (div): Remove obsolete code.
28512         * stdlib/ldiv.c (ldiv): Likewise.
28513         * stdlib/lldiv.c (lldiv): Likewise.
28515 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28517         [BZ #16071]
28518         * nss/nss_files/files-XXX.c (get_contents_ret): New
28519         enumerator.
28520         (get_contents): New function.
28521         (internal_getent): Use it.  Expand size of LINEBUFLEN.
28523 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
28525         * configure.in: Moved to ...
28526         * configure.ac: ... here. Change reference to configure.in
28527         to configure.ac.
28528         * sysdeps/arm/preconfigure.ac: ... here.
28529         configure.in to configure.ac.
28530         * sysdeps/gnu/configure.in: Moved to ...
28531         * sysdeps/gnu/configure.ac: ... here.
28532         * sysdeps/i386/configure.in: Moved to ...
28533         * sysdeps/i386/configure.ac: ... here.
28534         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
28535         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
28536         * sysdeps/mach/configure.in: Moved to ...
28537         * sysdeps/mach/configure.ac: ... here.
28538         * sysdeps/mach/hurd/configure.in: Moved to ...
28539         * sysdeps/mach/hurd/configure.ac: ... here.
28540         * sysdeps/powerpc/configure.in: Moved to ...
28541         * sysdeps/powerpc/configure.ac: ... here.
28542         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
28543         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
28544         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
28545         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
28546         * sysdeps/s390/s390-32/configure.in: Moved to ...
28547         * sysdeps/s390/s390-32/configure.ac: ... here.
28548         * sysdeps/s390/s390-64/configure.in: Moved to ...
28549         * sysdeps/s390/s390-64/configure.ac: ... here.
28550         * sysdeps/sh/configure.in: Moved to ...
28551         * sysdeps/sh/configure.ac: ... here.
28552         * sysdeps/sparc/configure.in: Moved to ...
28553         * sysdeps/sparc/configure.ac: ... here.
28554         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
28555         * sysdeps/unix/sysv/linux/configure.ac: ... here.
28556         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
28557         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
28558         * sysdeps/x86_64/configure.in: Moved to ...
28559         * sysdeps/x86_64/configure.ac: ... here.
28560         * sysdeps/x86_64/preconfigure.in: Moved to ...
28561         * sysdeps/x86_64/preconfigure.ac: ... here.
28562         * aclocal.m4: Change reference to configure.in to configure.ac.
28563         * config.h.in: Likewise.
28564         * manual/install.texi: Likewise.
28565         * manual/maint.texi: Likewise.
28566         * Makefile: Likewise.
28567         * malloc/Makefile: Likewise.
28568         * nscd/Makefile: Likewise.
28569         * Makeconfig: Change reference to configure.in and
28570         preconfigure.in to configure.ac and preconfigure.ac
28571         respectively.
28572         * INSTALL: Regenerated.
28573         * configure: Likewise.
28574         * sysdeps/gnu/configure: Likewise.
28575         * sysdeps/i386/configure: Likewise.
28576         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
28577         * sysdeps/mach/configure: Likewise.
28578         * sysdeps/mach/hurd/configure: Likewise.
28579         * sysdeps/powerpc/configure: Likewise.
28580         * sysdeps/powerpc/powerpc32/configure: Likewise.
28581         * sysdeps/powerpc/powerpc64/configure: Likewise.
28582         * sysdeps/s390/s390-32/configure: Likewise.
28583         * sysdeps/s390/s390-64/configure: Likewise.
28584         * sysdeps/sh/configure: Likewise.
28585         * sysdeps/sparc/configure: Likewise.
28586         * sysdeps/unix/sysv/linux/configure: Likewise.
28587         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
28588         * sysdeps/x86_64/configure: Likewise.
28589         * sysdeps/x86_64/preconfigure: Likewise.
28591 2013-10-29  Andreas Schwab  <schwab@suse.de>
28593         * stdio-common/Makefile (tst-swscanf-ENV): Define.
28595 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28597         * benchtests/pow-inputs: Add new inputs.
28599         * benchtests/exp-inputs: Add new inputs.
28601         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
28602         conditional check for return value.
28603         (__cos32): Likewise.
28605 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28607         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
28608         to provide a boost for large inputs with word alignment.
28609         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
28610         implementation based on optimized PPC64 strcpy.
28611         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
28612         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
28613         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
28614         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
28616 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
28618         [BZ #2801]
28619         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
28621 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
28623         [BZ #14876]
28624         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
28625         * time/tst-strptime.c (day_tests): Add testcase.
28627 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
28629         [BZ #14029]
28630         * manual/pattern.texi: Acknowledge that fnmatch can fail.
28632 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
28634         [BZ #16074]
28635         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
28636         MAP_FAILED on error.
28638 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28640         [BZ #16072]
28641         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
28642         heap for large requests.
28644 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
28646         [BZ #9954]
28647         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
28648         result if the result has no associated interface.
28649         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
28650         interface for all 127.X.Y.Z addresses.
28652 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
28654         * locale/iso-639.def: Add Ligurian (lij)
28656 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
28658         [BZ #15825]
28659         * sunrpc/rpc_main.c: Document rpcgen -5.
28661 2013-10-19  Michael Stahl  <mstahl@redhat.com>
28663         * elf/rtld.c (do_preload): Print the reason why preloading failed.
28665 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
28667         [BZ #10278]
28668         * posix/glob.c: Match only directories when trailing slash is present.
28669         * posix/tst-gnuglob.c (my_opendir): Do not open files.
28670         (main): Add testcase.
28672 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
28674         [BZ #15670]
28675         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
28677 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
28679         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
28680         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
28681         AUTH_DES and cindex for FIPS 140-2.
28682         (DES Encryption): Add cindex FIPS 46-3.
28684         * locale/locarchive.h (struct locarhandle): Add fname.
28685         * locale/programs/localedef.c (main): Pass ARGV[remaining]
28686         if an optional argument was specified to --list-archive,
28687         otherwise NULL.
28688         * locale/programs/locarchive.c (show_archive_content): Take new
28689         argument fname and pass it via ah.fname to open_archive.
28690         * locale/programs/localedef.h: Update decl.
28691         (open_archive): If AH->fname is non-null, open that file
28692         rather than the default file name, and don't ignore ENOENT.
28693         (create_archive): Set AH.fname to NULL.
28694         (delete_locales_from_archive): Likewise.
28695         (add_locales_to_archive): Likewise.
28696         * locale/programs/locfile.c (write_all_categories): Likewise.
28698 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
28699             Aldy Hernandez  <aldyh@redhat.com>
28701         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
28702         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
28703         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
28704         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
28705         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
28706         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
28707         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
28708         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
28709         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
28710         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
28711         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
28712         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
28713         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
28714         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
28715         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
28716         Likewise.
28717         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
28718         Likewise.
28719         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
28720         Likewise.
28721         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
28722         Likewise.
28723         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
28724         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
28725         Likewise.
28726         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
28727         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
28728         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
28729         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
28730         Likewise.
28731         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
28732         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
28733         * sysdeps/powerpc/preconfigure: Likewise.
28734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
28735         Likewise.
28736         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
28737         Replace contents of file by #include of <fenv_libc.h>.
28738         * sysdeps/powerpc/soft-fp/sfp-machine.h
28739         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
28740         and <sys/prctl.h>.
28741         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
28742         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
28743         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
28744         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
28745         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
28746         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
28747         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
28748         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
28749         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
28750         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
28751         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
28752         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
28753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
28754         Allow copysignl PLT reference to be missing.
28756 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
28757             Joseph Myers  <joseph@codesourcery.com
28759         [BZ #15948]
28760         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
28761         single character.
28762         (add_to_tablewc): Assert sequence of wide characters is nonempty.
28764 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28766         * elf/tst-tls-dlinfo.c: Don't include tls.h.
28767         * elf/tst-tls1.c: Likewise.
28768         * elf/tst-tls10.h: Likewise.
28769         * elf/tst-tls14.c: Likewise.
28770         * elf/tst-tls2.c: Likewise.
28771         * elf/tst-tls3.c: Likewise.
28772         * elf/tst-tls4.c: Likewise.
28773         * elf/tst-tls5.c: Likewise.
28774         * elf/tst-tls6.c: Likewise.
28775         * elf/tst-tls7.c: Likewise.
28776         * elf/tst-tls8.c: Likewise.
28777         * elf/tst-tls9.c: Likewise.
28778         * elf/tst-tlsmod1.c: Likewise.
28779         * elf/tst-tlsmod13.c: Likewise.
28780         * elf/tst-tlsmod13a.c: Likewise.
28781         * elf/tst-tlsmod14a.c: Likewise.
28782         * elf/tst-tlsmod16a.c: Likewise.
28783         * elf/tst-tlsmod16b.c: Likewise.
28784         * elf/tst-tlsmod2.c: Likewise.
28785         * elf/tst-tlsmod3.c: Likewise.
28786         * elf/tst-tlsmod4.c: Likewise.
28787         * elf/tst-tlsmod5.c: Likewise.
28788         * elf/tst-tlsmod6.c: Likewise.
28790 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
28792         [BZ #12486]
28793         * malloc/malloc.c: remove checks for statistics.
28795 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
28797         [BZ #15277]
28798         * inet/inet_net.c (inet_network): Detect additional invalid strings.
28799         * inet/tst-network.c: Add testcase.
28801 2013-10-17  Andreas Schwab  <schwab@suse.de>
28803         [BZ #15218]
28804         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
28805         to determine canonical name.
28807 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
28809         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
28810         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
28811         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28812         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28813         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28814         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28815         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28816         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28817         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28818         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28819         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
28820         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28821         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28822         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28823         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28824         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28825         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28826         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28827         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28828         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28829         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28830         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28831         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28832         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
28833         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
28834         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28835         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28836         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
28837         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28838         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
28839         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28840         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28841         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28842         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28843         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28844         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28845         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28846         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28847         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28848         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28849         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28850         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28851         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28852         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28853         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28854         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28855         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28856         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28857         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28858         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28859         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28860         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28861         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28862         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28863         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28864         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28865         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28866         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28868 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
28870         [BZ #16041]
28871         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
28872         make result into a quiet NaN.
28874 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
28876         * soft-fp/adddf3.c: Fix horizontal whitespace.
28877         * soft-fp/addsf3.c: Likewise.
28878         * soft-fp/addtf3.c: Likewise.
28879         * soft-fp/divdf3.c: Likewise.
28880         * soft-fp/divsf3.c: Likewise.
28881         * soft-fp/divtf3.c: Likewise.
28882         * soft-fp/double.h: Likewise.
28883         * soft-fp/eqdf2.c: Likewise.
28884         * soft-fp/eqsf2.c: Likewise.
28885         * soft-fp/eqtf2.c: Likewise.
28886         * soft-fp/extenddftf2.c: Likewise.
28887         * soft-fp/extended.h: Likewise.
28888         * soft-fp/extendsfdf2.c: Likewise.
28889         * soft-fp/extendsftf2.c: Likewise.
28890         * soft-fp/extendxftf2.c: Likewise.
28891         * soft-fp/fixdfdi.c: Likewise.
28892         * soft-fp/fixdfsi.c: Likewise.
28893         * soft-fp/fixdfti.c: Likewise.
28894         * soft-fp/fixsfdi.c: Likewise.
28895         * soft-fp/fixsfsi.c: Likewise.
28896         * soft-fp/fixsfti.c: Likewise.
28897         * soft-fp/fixtfdi.c: Likewise.
28898         * soft-fp/fixtfsi.c: Likewise.
28899         * soft-fp/fixtfti.c: Likewise.
28900         * soft-fp/fixunsdfdi.c: Likewise.
28901         * soft-fp/fixunsdfsi.c: Likewise.
28902         * soft-fp/fixunsdfti.c: Likewise.
28903         * soft-fp/fixunssfdi.c: Likewise.
28904         * soft-fp/fixunssfsi.c: Likewise.
28905         * soft-fp/fixunssfti.c: Likewise.
28906         * soft-fp/fixunstfdi.c: Likewise.
28907         * soft-fp/fixunstfsi.c: Likewise.
28908         * soft-fp/fixunstfti.c: Likewise.
28909         * soft-fp/floatdidf.c: Likewise.
28910         * soft-fp/floatdisf.c: Likewise.
28911         * soft-fp/floatditf.c: Likewise.
28912         * soft-fp/floatsidf.c: Likewise.
28913         * soft-fp/floatsisf.c: Likewise.
28914         * soft-fp/floatsitf.c: Likewise.
28915         * soft-fp/floattidf.c: Likewise.
28916         * soft-fp/floattisf.c: Likewise.
28917         * soft-fp/floattitf.c: Likewise.
28918         * soft-fp/floatundidf.c: Likewise.
28919         * soft-fp/floatundisf.c: Likewise.
28920         * soft-fp/floatunditf.c: Likewise.
28921         * soft-fp/floatunsidf.c: Likewise.
28922         * soft-fp/floatunsisf.c: Likewise.
28923         * soft-fp/floatunsitf.c: Likewise.
28924         * soft-fp/floatuntidf.c: Likewise.
28925         * soft-fp/floatuntisf.c: Likewise.
28926         * soft-fp/floatuntitf.c: Likewise.
28927         * soft-fp/fmadf4.c: Likewise.
28928         * soft-fp/fmasf4.c: Likewise.
28929         * soft-fp/fmatf4.c: Likewise.
28930         * soft-fp/gedf2.c: Likewise.
28931         * soft-fp/gesf2.c: Likewise.
28932         * soft-fp/getf2.c: Likewise.
28933         * soft-fp/ledf2.c: Likewise.
28934         * soft-fp/lesf2.c: Likewise.
28935         * soft-fp/letf2.c: Likewise.
28936         * soft-fp/muldf3.c: Likewise.
28937         * soft-fp/mulsf3.c: Likewise.
28938         * soft-fp/multf3.c: Likewise.
28939         * soft-fp/negdf2.c: Likewise.
28940         * soft-fp/negsf2.c: Likewise.
28941         * soft-fp/negtf2.c: Likewise.
28942         * soft-fp/op-1.h: Likewise.
28943         * soft-fp/op-2.h: Likewise.
28944         * soft-fp/op-4.h: Likewise.
28945         * soft-fp/op-8.h: Likewise.
28946         * soft-fp/op-common.h: Likewise.
28947         * soft-fp/quad.h: Likewise.
28948         * soft-fp/single.h: Likewise.
28949         * soft-fp/soft-fp.h: Likewise.
28950         * soft-fp/sqrtdf2.c: Likewise.
28951         * soft-fp/sqrtsf2.c: Likewise.
28952         * soft-fp/sqrttf2.c: Likewise.
28953         * soft-fp/subdf3.c: Likewise.
28954         * soft-fp/subsf3.c: Likewise.
28955         * soft-fp/subtf3.c: Likewise.
28956         * soft-fp/truncdfsf2.c: Likewise.
28957         * soft-fp/trunctfdf2.c: Likewise.
28958         * soft-fp/trunctfsf2.c: Likewise.
28959         * soft-fp/trunctfxf2.c: Likewise.
28960         * soft-fp/unorddf2.c: Likewise.
28961         * soft-fp/unordsf2.c: Likewise.
28962         * soft-fp/unordtf2.c: Likewise.
28964 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
28966         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
28967         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
28969 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
28971         * elf/dl-libc.c: Clear initfini list after freeing.
28973 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
28975         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
28976         * soft-fp/addsf3.c: Likewise.
28977         * soft-fp/addtf3.c: Likewise.
28978         * soft-fp/divdf3.c: Likewise.
28979         * soft-fp/divsf3.c: Likewise.
28980         * soft-fp/divtf3.c: Likewise.
28981         * soft-fp/double.h: Likewise.
28982         * soft-fp/eqdf2.c: Likewise.
28983         * soft-fp/eqsf2.c: Likewise.
28984         * soft-fp/eqtf2.c: Likewise.
28985         * soft-fp/extenddftf2.c: Likewise.
28986         * soft-fp/extended.h: Likewise.
28987         * soft-fp/extendsfdf2.c: Likewise.
28988         * soft-fp/extendsftf2.c: Likewise.
28989         * soft-fp/extendxftf2.c: Likewise.
28990         * soft-fp/fixdfdi.c: Likewise.
28991         * soft-fp/fixdfsi.c: Likewise.
28992         * soft-fp/fixdfti.c: Likewise.
28993         * soft-fp/fixsfdi.c: Likewise.
28994         * soft-fp/fixsfsi.c: Likewise.
28995         * soft-fp/fixsfti.c: Likewise.
28996         * soft-fp/fixtfdi.c: Likewise.
28997         * soft-fp/fixtfsi.c: Likewise.
28998         * soft-fp/fixtfti.c: Likewise.
28999         * soft-fp/fixunsdfdi.c: Likewise.
29000         * soft-fp/fixunsdfsi.c: Likewise.
29001         * soft-fp/fixunsdfti.c: Likewise.
29002         * soft-fp/fixunssfdi.c: Likewise.
29003         * soft-fp/fixunssfsi.c: Likewise.
29004         * soft-fp/fixunssfti.c: Likewise.
29005         * soft-fp/fixunstfdi.c: Likewise.
29006         * soft-fp/fixunstfsi.c: Likewise.
29007         * soft-fp/fixunstfti.c: Likewise.
29008         * soft-fp/floatdidf.c: Likewise.
29009         * soft-fp/floatdisf.c: Likewise.
29010         * soft-fp/floatditf.c: Likewise.
29011         * soft-fp/floatsidf.c: Likewise.
29012         * soft-fp/floatsisf.c: Likewise.
29013         * soft-fp/floatsitf.c: Likewise.
29014         * soft-fp/floattidf.c: Likewise.
29015         * soft-fp/floattisf.c: Likewise.
29016         * soft-fp/floattitf.c: Likewise.
29017         * soft-fp/floatundidf.c: Likewise.
29018         * soft-fp/floatundisf.c: Likewise.
29019         * soft-fp/floatunsidf.c: Likewise.
29020         * soft-fp/floatunsisf.c: Likewise.
29021         * soft-fp/floatuntidf.c: Likewise.
29022         * soft-fp/floatuntisf.c: Likewise.
29023         * soft-fp/floatuntitf.c: Likewise.
29024         * soft-fp/fmadf4.c: Likewise.
29025         * soft-fp/fmasf4.c: Likewise.
29026         * soft-fp/fmatf4.c: Likewise.
29027         * soft-fp/gedf2.c: Likewise.
29028         * soft-fp/gesf2.c: Likewise.
29029         * soft-fp/getf2.c: Likewise.
29030         * soft-fp/ledf2.c: Likewise.
29031         * soft-fp/lesf2.c: Likewise.
29032         * soft-fp/letf2.c: Likewise.
29033         * soft-fp/muldf3.c: Likewise.
29034         * soft-fp/mulsf3.c: Likewise.
29035         * soft-fp/multf3.c: Likewise.
29036         * soft-fp/negdf2.c: Likewise.
29037         * soft-fp/negsf2.c: Likewise.
29038         * soft-fp/negtf2.c: Likewise.
29039         * soft-fp/op-1.h: Likewise.
29040         * soft-fp/op-2.h: Likewise.
29041         * soft-fp/op-4.h: Likewise.
29042         * soft-fp/op-8.h: Likewise.
29043         * soft-fp/op-common.h: Likewise.
29044         * soft-fp/quad.h: Likewise.
29045         * soft-fp/single.h: Likewise.
29046         * soft-fp/soft-fp.h: Likewise.
29047         * soft-fp/sqrtdf2.c: Likewise.
29048         * soft-fp/sqrtsf2.c: Likewise.
29049         * soft-fp/sqrttf2.c: Likewise.
29050         * soft-fp/subdf3.c: Likewise.
29051         * soft-fp/subsf3.c: Likewise.
29052         * soft-fp/subtf3.c: Likewise.
29053         * soft-fp/truncdfsf2.c: Likewise.
29054         * soft-fp/trunctfdf2.c: Likewise.
29055         * soft-fp/trunctfsf2.c: Likewise.
29056         * soft-fp/trunctfxf2.c: Likewise.
29057         * soft-fp/unorddf2.c: Likewise.
29058         * soft-fp/unordsf2.c: Likewise.
29059         * soft-fp/unordtf2.c: Likewise.
29061 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
29063         [BZ #15672]
29064         * misc/error.c (error_tail): Fix possible buffer overflow.
29066 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
29068         [BZ #13028]
29069         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
29070         address.
29072 2013-10-14  P. J. McDermott  <pj@pehjota.net>
29074         [BZ #832]
29075         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
29076         testing pipefail option.
29078 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
29080         * soft-fp/double.h: Indent preprocessor directives inside #if.
29081         * soft-fp/extended.h: Likewise.
29082         * soft-fp/op-2.h: Likewise.
29083         * soft-fp/op-4.h: Likewise.
29084         * soft-fp/op-common.h: Likewise.
29085         * soft-fp/quad.h: Likewise.
29086         * soft-fp/single.h: Likewise.
29087         * soft-fp/soft-fp.h: Likewise.
29089 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
29091         * iconv/iconv_prog.c: Fix typos.
29092         * stdio-common/psiginfo-data.h: Likewise.
29094 2013-10-12   Reuben Thomas <rrt@sc3d.org>
29096         [BZ #15764]
29097         * locale/setlocale.c: Fix typo.
29099 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
29101         [BZ #16036]
29102         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
29103         signaling NaN arguments.
29104         * soft-fp/unordsf2.c (__unordsf2): Likewise.
29105         * soft-fp/unordtf2.c (__unordtf2): Likewise.
29107         [BZ #14910]
29108         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
29109         unordered operands.
29110         * soft-fp/gesf2.c (__gesf2): Likewise.
29111         * soft-fp/getf2.c (__getf2): Likewise.
29112         * soft-fp/ledf2.c (__ledf2): Likewise.
29113         * soft-fp/lesf2.c (__lesf2): Likewise.
29114         * soft-fp/letf2.c (__letf2): Likewise.
29116         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
29117         * soft-fp/eqsf2.c (__eqsf2): Likewise.
29118         * soft-fp/eqtf2.c (__eqtf2): Likewise.
29119         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
29120         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
29121         * soft-fp/fixdfti.c (__fixdfti): Likewise.
29122         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
29123         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
29124         * soft-fp/fixsfti.c (__fixsfti): Likewise.
29125         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
29126         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
29127         * soft-fp/fixtfti.c (__fixtfti): Likewise.
29128         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
29129         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
29130         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
29131         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
29132         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
29133         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
29134         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
29135         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
29136         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
29137         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
29138         * soft-fp/floatdisf.c (__floatdisf): Likewise.
29139         * soft-fp/floatsisf.c (__floatsisf): Likewise.
29140         * soft-fp/floattidf.c (__floattidf): Likewise.
29141         * soft-fp/floattisf.c (__floattisf): Likewise.
29142         * soft-fp/floattitf.c (__floattitf): Likewise.
29143         * soft-fp/floatundidf.c (__floatundidf): Likewise.
29144         * soft-fp/floatundisf.c (__floatundisf): Likewise.
29145         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
29146         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
29147         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
29148         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
29149         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
29150         * soft-fp/gesf2.c (__gesf2): Likewise.
29151         * soft-fp/getf2.c (__getf2): Likewise.
29152         * soft-fp/ledf2.c (__ledf2): Likewise.
29153         * soft-fp/lesf2.c (__lesf2): Likewise.
29154         * soft-fp/letf2.c (__letf2): Likewise.
29156         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
29157         Undefine and redefine.
29158         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
29159         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
29160         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
29161         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
29162         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29163         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
29164         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29165         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
29166         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29167         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
29168         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29169         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
29170         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29171         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
29172         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29174         [BZ #16032]
29175         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
29176         without decrementing exponent if mantissa >= that for the
29177         denominator, not >.
29178         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
29179         denominator, not >.  Decrement exponent in < case instead of
29180         incrementing in >= case.
29181         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
29182         without decrementing exponent if mantissa >= that for the
29183         denominator, not >.
29185         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
29186         computing saturated result for unsigned overflow.
29188 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29189             Jeff Law  <law@redhat.com>
29191         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
29192         (atan2Mp): Add systemtap probe marker.
29193         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
29194         (__ieee754_log): Add systemtap probe marker.
29195         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
29196         (atanMp): Add systemtap probe marker.
29197         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
29198         (tanMp): Add systemtap probe marker.
29199         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
29200         (__slowexp): Add systemtap probe marker.
29201         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
29202         (__slowpow): Add systemtap probe marker.
29203         * manual/probes.texi: Document probes.
29205 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
29207         [BZ #15362]
29208         * libio/fileops.c (_IO_new_file_write): Return count of bytes
29209         written.
29210         (_IO_new_file_xsputn): Don't return EOF if nothing has been
29211         written.
29212         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
29213         written to buffer but not flushed.
29214         * libio/iofwrite_u.c:  Likewise.
29215         * libio/iopadn.c:  Return bytes returned even if EOF was
29216         encountered.
29217         * libio/iowpadn.c:  Likewise.
29218         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
29219         if _IO_padn does not write the whole buffer.
29220         [!COMPILE_WPRINTF] (PAD): Likewise.
29222 2013-10-10  David S. Miller  <davem@davemloft.net>
29224         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
29225         directory block.
29227 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
29229         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
29230         instead of FSF address.
29231         * soft-fp/fixdfti.c: Likewise.
29232         * soft-fp/fixsfti.c: Likewise.
29233         * soft-fp/fixtfti.c: Likewise.
29234         * soft-fp/fixunsdfti.c: Likewise.
29235         * soft-fp/fixunssfti.c: Likewise.
29236         * soft-fp/fixunstfti.c: Likewise.
29237         * soft-fp/floattidf.c: Likewise.
29238         * soft-fp/floattisf.c: Likewise.
29239         * soft-fp/floattitf.c: Likewise.
29240         * soft-fp/floatuntidf.c: Likewise.
29241         * soft-fp/floatuntisf.c: Likewise.
29242         * soft-fp/floatuntitf.c: Likewise.
29243         * soft-fp/trunctfxf2.c: Likewise.
29245         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
29246         * soft-fp/fixdfti.c: Likewise.
29247         * soft-fp/fixsfti.c: Likewise.
29248         * soft-fp/fixtfti.c: Likewise.
29249         * soft-fp/fixunsdfti.c: Likewise.
29250         * soft-fp/fixunssfti.c: Likewise.
29251         * soft-fp/fixunstfti.c: Likewise.
29252         * soft-fp/floattidf.c: Likewise.
29253         * soft-fp/floattisf.c: Likewise.
29254         * soft-fp/floattitf.c: Likewise.
29255         * soft-fp/floatuntidf.c: Likewise.
29256         * soft-fp/floatuntisf.c: Likewise.
29257         * soft-fp/floatuntitf.c: Likewise.
29258         * soft-fp/trunctfxf2.c: Likewise.
29260 2013-10-10  David S. Miller  <davem@davemloft.net>
29262         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29264 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
29266         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
29267         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
29268         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
29269         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
29270         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
29271         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
29272         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
29274         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
29275         for NaNs before doing comparisons on argument.
29276         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
29277         Likewise.
29279 2013-10-10  Will Newton  <will.newton@linaro.org>
29281         * malloc/hooks.c (memalign_check): Ensure the value of bytes
29282         passed to _int_memalign does not overflow.
29284 2013-10-10  Torvald Riegel  <triegel@redhat.com>
29286         * scripts/bench.pl: Add include-sources directive.
29287         * benchtests/README: Update documentation.
29289 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
29291         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
29292         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
29293         instead of FP_INIT_ROUNDMODE.
29294         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
29295         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
29297         [BZ #16034]
29298         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
29299         copy class of input value.
29300         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
29301         not handle exceptions.
29302         * soft-fp/negsf2.c (__negsf2): Likewise.
29303         * soft-fp/negtf2.c (__negtf2): Likewise.
29304         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
29306 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
29308         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
29309         semicolon.  From Linux kernel.
29311 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
29313         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
29315 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
29317         [BZ #156]
29318         * manual/socket.texi: Added statement about buffer
29319         for gethostbyname2_r.
29321 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
29323         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
29324         Use .p2align directive instead, throughout.
29325         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
29326         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
29327         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
29328         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29329         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29330         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
29331         * sysdeps/x86_64/strchr.S: Likewise.
29332         * sysdeps/x86_64/strrchr.S: Likewise.
29334 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29336         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
29338         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
29340         * sysdeps/generic/math_private.h (__mpsin1): Remove
29341         declaration.
29342         (__mpcos1): Likewise.
29343         (__mpsin): New argument __range_reduce.
29344         (__mpcos): Likewise.
29345         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29346         (slow): Use __mpsin and __mpcos.
29347         (slow1): Likewise.
29348         (slow2): Likewise.
29349         (sloww): Likewise.
29350         (sloww1): Likewise.
29351         (sloww2): Likewise.
29352         (bsloww): Likewise.
29353         (bsloww1): Likewise.
29354         (bsloww2): Likewise.
29355         (cslow2): Likewise.
29356         (csloww): Likewise.
29357         (csloww1): Likewise.
29358         (csloww2): Likewise.
29359         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
29360         range_reduce.  Merge in __mpsin1.
29361         (__mpcos): Likewise.
29362         (__mpsin1): Remove.
29363         (__mpcos1): Likewise.
29365 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
29367         * locale/loadlocale.c (_nl_intern_locale_data): Use
29368         LOCFILE_ALIGNED_P.
29369         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
29370         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
29371         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
29372         obstack data is appropriately aligned.
29373         (obstack_int32_grow_fast): Likewise.
29374         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
29375         * locale/programs/locfile.c (add_locale_uint32): Likewise.
29376         (add_locale_uint32_array): Likewise.
29378 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
29380         * benchtests/Makefile: Remove ARGLIST and RET variables.
29381         ($(objpfx)bench-%.c): Pass only function name to the script.
29382         * benchtests/README: Update documentation.
29383         * benchtests/acos-inputs: Add new directives.
29384         * benchtests/acosh-inputs: Likewise.
29385         * benchtests/asin-inputs: Likewise.
29386         * benchtests/asinh-inputs: Likewise.
29387         * benchtests/atan-inputs: Likewise.
29388         * benchtests/atanh-inputs: Likewise.
29389         * benchtests/cos-inputs: Likewise.
29390         * benchtests/cosh-inputs: Likewise.
29391         * benchtests/exp-inputs: Likewise.
29392         * benchtests/log-inputs: Likewise.
29393         * benchtests/pow-inputs: Likewise.
29394         * benchtests/rint-inputs: Likewise.
29395         * benchtests/sin-inputs: Likewise.
29396         * benchtests/sinh-inputs: Likewise.
29397         * benchtests/tan-inputs: Likewise.
29398         * benchtests/tanh-inputs: Likewise.
29399         * scripts/bench.pl: Add support for new directives.
29401 2013-10-07  Alan Modra  <amodra@gmail.com>
29403         * README: Fix careless merge.
29405 2013-10-05  Alan Modra  <amodra@gmail.com>
29407         * NEWS: Mention powerpc64le support and bugs fixed.
29408         * README: Both big-endian and little-endian powerpc64 supported.
29410 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29412         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
29413         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
29414         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
29415         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
29417 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
29419         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
29420         match prototype.
29422 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
29424         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
29425         Move -mhard-float appending from
29426         ports/sysdeps/powerpc/powerpc32/Makefile.
29427         [$(with-fp) = yes] (ASFLAGS): Likewise.
29428         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
29429         * sysdeps/powerpc/nofpu: Move directory from
29430         ports/sysdeps/powerpc/nofpu.
29431         * sysdeps/powerpc/soft-fp: Move directory from
29432         ports/sysdeps/powerpc/soft-fp.
29433         * sysdeps/powerpc/powerpc32/405: Move directory from
29434         ports/sysdeps/powerpc/powerpc32/405.
29435         * sysdeps/powerpc/powerpc32/440: Move directory from
29436         ports/sysdeps/powerpc/powerpc32/440.
29437         * sysdeps/powerpc/powerpc32/464: Move directory from
29438         ports/sysdeps/powerpc/powerpc32/464.
29439         * sysdeps/powerpc/powerpc32/476: Move directory from
29440         ports/sysdeps/powerpc/powerpc32/476.
29441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
29442         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
29443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
29444         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
29445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
29446         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
29447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
29448         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
29449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
29450         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
29451         * README: Update for powerpc-*-linux-gnu software floating point
29452         support in libc.
29454         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
29455         case to powerpc/powerpc32*.
29456         * sysdeps/unix/sysv/linux/configure: Regenerated.
29458         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
29459         (_FPU_MASK_OM): Define as 0x04.
29460         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
29461         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
29462         0x00c10080.
29463         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
29464         0x0000003c.
29465         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
29467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
29468         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
29469         getcontext_e500.
29470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
29471         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
29472         setcontext_e500.
29473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
29474         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
29475         and setcontext_e500.
29477 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
29479         * locale/iso-3166.def: Update iso-1366.def and related occurrences
29481 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29483         * manual/threads.texi (Default Thread Attributes): Fix typo.
29485 2013-10-04  Will Newton  <will.newton@linaro.org>
29487         * malloc/Makefile: Add tst-memalign.
29488         * malloc/tst-memalign.c: New file.
29490         * malloc/tst-posix_memalign.c: Add comments.
29491         (do_test): Add comments and call free on all potentially
29492         allocated pointers. Add space after cast.
29494         * malloc/tst-pvalloc.c: Add comments.
29495         (do_test): Add comments and call free on all potentially
29496         allocated pointers. Remove duplicate check for NULL pointer.
29497         Add space after cast.
29499         * malloc/tst-valloc.c: Add comments.
29500         (do_test): Add comments and call free on all potentially
29501         allocated pointers. Remove duplicate check for NULL pointer.
29502         Add space after cast.
29504 2013-10-04  Alan Modra  <amodra@gmail.com>
29506         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
29507         Use stdint types in rather than __attribute__((mode())).
29508         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
29510 2013-10-04  Alan Modra  <amodra@gmail.com>
29512         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
29513         Correct handling of unaligned relocs for little-endian.
29514         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
29516 2013-10-04  Alan Modra  <amodra@gmail.com>
29518         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
29519         * configure: Regenerate.
29520         * nptl/shlib-versions: Powerpc*le starts at 2.18.
29521         * shlib-versions: Likewise.
29523 2013-10-04  Alan Modra  <amodra@gmail.com>
29525         * string/tester.c (test_memrchr): Increment reported test cycle.
29527 2013-10-04  Alan Modra  <amodra@gmail.com>
29529         * string/test-memcpy.c (do_one_test): When reporting errors, print
29530         string address and don't overrun end of string.
29532 2013-10-04  Alan Modra  <amodra@gmail.com>
29534         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
29535         insrdi.  Make better use of reg selection to speed exit slightly.
29536         Schedule entry path a little better.  Remove useless "are we done"
29537         checks on entry to main loop.  Handle wrapping around zero address.
29538         Correct main loop count.  Handle single left-over word from main
29539         loop inline rather than by using loop_small.  Remove extra word
29540         case in loop_small caused by wrong loop count.  Add little-endian
29541         support.
29542         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
29543         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
29544         cache hint.
29545         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
29546         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
29547         support.  Avoid rlwimi.
29548         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
29550 2013-10-04  Alan Modra  <amodra@gmail.com>
29552         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
29553         insrdi.  Formatting.
29554         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
29555         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29556         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
29557         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
29558         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
29559         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
29561 2013-10-04  Alan Modra  <amodra@gmail.com>
29563         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
29564         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29565         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
29566         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
29567         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
29568         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
29569         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29570         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29571         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
29572         use of regs.  Use power7 mtocrf.  Tidy function tails.
29574 2013-10-04  Alan Modra  <amodra@gmail.com>
29576         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
29577         Formatting.  Consistently use rXXX register defines or rN defines.
29578         Use early exit labels that avoid restoring unused non-volatile regs.
29579         Make cr field use more consistent with rWORDn compares.  Rename
29580         regs used as shift registers for unaligned loop, using rN defines
29581         for short lifetime/multiple use regs.
29582         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
29583         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
29584         addi 1,1,64 to pop stack frame.  Simplify return value code.
29585         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29587 2013-10-04  Alan Modra  <amodra@gmail.com>
29589         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
29590         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
29591         rather than rlwimi.
29592         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
29593         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
29594         little-endian support.  Correct typos.
29595         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
29596         rather than rlwimi.
29597         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
29598         in loop and entry code to keep "and." results.
29599         (strchr): Add little-endian support.  Comment.  Move cntlzd
29600         earlier in tail.
29601         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
29603 2013-10-04  Alan Modra  <amodra@gmail.com>
29605         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
29606         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
29607         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
29608         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
29610 2013-10-04  Alan Modra  <amodra@gmail.com>
29612         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
29613         (rTMP): Define as r11.
29614         (strcmp): Add little-endian support.  Optimise tail.
29615         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
29616         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
29617         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
29618         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29619         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
29620         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29621         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29623 2013-10-04  Alan Modra  <amodra@gmail.com>
29625         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
29626         little-endian support.  Remove unnecessary "are we done" tests.
29627         Handle "s" wrapping around zero and extremely large "size".
29628         Correct main loop count.  Handle single left-over word from main
29629         loop inline rather than by using small_loop.  Correct comments.
29630         Delete "zero" tail, use "end_max" instead.
29631         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
29633 2013-10-04  Alan Modra  <amodra@gmail.com>
29635         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
29636         support.  Don't branch over align.
29637         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
29638         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
29639         support.  Rearrange tmp reg use to suit.  Comment.
29640         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
29642 2013-10-04  Alan Modra  <amodra@gmail.com>
29644         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
29646 2013-10-04  Alan Modra  <amodra@gmail.com>
29648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
29649         conditional form of branch and link when obtaining pc.
29650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
29652 2013-10-04  Alan Modra  <amodra@gmail.com>
29654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
29655         HIWORD/LOWORD.
29656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
29657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
29659 2013-10-04  Alan Modra  <amodra@gmail.com>
29661         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
29662         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
29663         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
29664         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
29665         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
29666         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29667         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
29668         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29669         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
29670         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
29672 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29673             Alistair Popple <alistair@ozlabs.au.ibm.com>
29674             Alan Modra <amodra@gmail.com>
29676         [BZ #15723]
29677         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
29678         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
29679         _dl_hwcap access for little-endian.
29680         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
29681         destroy vmx regs when saving unaligned.
29682         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
29683         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
29684         destroy vmx regs when saving unaligned.
29686 2013-10-04  Alan Modra  <amodra@gmail.com>
29688         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
29689         Don't use a union to pack hi/low value.
29691 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29693         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
29694         for little-endian.
29695         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
29696         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
29697         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29698         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
29699         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
29701 2013-10-04  Alan Modra  <amodra@gmail.com>
29703         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
29704         constants to usual value for .cst8 section, and remove redundant
29705         high address load.
29706         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
29707         constant for 0x1p52.  Load little-endian words of double from
29708         correct stack offsets.
29710 2013-10-04  Alan Modra  <amodra@gmail.com>
29712         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
29713         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
29714         words of double from correct stack offsets.
29715         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
29716         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
29717         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
29718         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
29719         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
29720         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
29721         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
29722         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
29723         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
29724         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
29725         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
29726         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
29727         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29728         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29729         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29730         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
29731         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
29733 2013-10-04  Alan Modra  <amodra@gmail.com>
29735         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
29736         64-bit int/double union.
29737         (_FPU_SETCW): Likewise.
29738         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
29739         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
29741 2013-10-04  Alan Modra  <amodra@gmail.com>
29743         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
29744         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
29746 2013-10-04  Alan Modra  <amodra@gmail.com>
29748         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
29749         use vector int constants.
29750         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
29752 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29754         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
29755         array with long long.
29756         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
29757         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
29758         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
29759         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
29760         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
29761         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
29762         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
29763         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
29764         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
29765         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
29766         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
29767         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
29768         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
29770 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29772         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
29773         (__signbit): Likewise.  Correct for little-endian.
29774         (__signbitl): Call __signbit.
29775         (lrint): Correct for little-endian.
29776         (lrintf): Call lrint.
29778 2013-10-04  Alan Modra  <amodra@gmail.com>
29780         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
29781         union 32-bit int array member with 64-bit int array.
29782         (t515, tm256): Double rather than long double.
29783         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
29785 2013-10-04  Alan Modra  <amodra@gmail.com>
29787         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
29788         Delete.
29789         (IEEE854_LONG_DOUBLE_BIAS): Delete.
29790         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
29791         version of math_ldbl.h.
29793 2013-10-04  Alan Modra  <amodra@gmail.com>
29795         [BZ #15734], [BZ #15735]
29796         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
29797         all uses of ieee875 long double macros and unions.  Simplify test
29798         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
29799         ldbl_extract_mantissa value for ix,iy exponents.  Properly
29800         normalize after ldbl_extract_mantissa, and don't add hidden bit
29801         already handled.  Don't treat low word of ieee854 mantissa like
29802         low word of IBM long double and mask off bit when testing for
29803         zero.
29804         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
29805         all uses of ieee875 long double macros and unions.  Simplify tests
29806         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
29807         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
29808         two1022, instead use their values.  Recognise that tests for large
29809         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
29810         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
29811         Rewrite all uses of ieee875 long double macros and unions.  Simplify
29812         test for 0.0L and nan.  Correct negation.
29813         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
29814         ieee875 long double macros and unions.  Correct output for large
29815         magnitude x.  Correct absolute value calculation.
29816         (__erfcl): Likewise.
29817         * math/libm-test.inc: Add tests for errors discovered in IBM long
29818         double versions of fmodl, remainderl, erfl and erfcl.
29820 2013-10-04  Alan Modra  <amodra@gmail.com>
29822         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
29823         all uses of ieee854 long double macros and unions.  Simplify tests
29824         for long doubles that are fully specified by the high double.
29825         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
29826         Likewise.
29827         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
29828         Remove dead code too.
29829         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
29830         (__ieee754_ynl): Likewise.
29831         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
29832         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
29833         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
29834         Remove dead code too.
29835         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
29836         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
29837         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
29838         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
29839         Simplify.
29840         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
29841         Simplify.
29842         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
29843         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
29844         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
29845         Comment on variable precision.
29846         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
29847         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29848         Likewise.
29849         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
29850         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29851         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29852         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
29853         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
29855 2013-10-04  Alan Modra  <amodra@gmail.com>
29857         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
29858         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
29859         all uses of ieee854 long double macros and unions.
29860         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
29861         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
29862         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
29863         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
29864         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
29865         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
29866         Likewise.
29867         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
29868         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
29869         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
29870         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29871         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
29872         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
29873         Simplify sign and nan test too.
29874         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
29875         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
29876         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
29877         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
29878         Likewise.
29879         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
29880         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
29881         Likewise.
29882         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29883         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
29884         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
29885         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
29886         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
29887         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
29889 2013-10-04  Alan Modra  <amodra@gmail.com>
29891         * stdio-common/printf_size.c (__printf_size): Don't use
29892         union ieee854_long_double in fpnum union.
29893         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
29894         signbit macro to retrieve sign from long double.
29895         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
29896         retrieve sign from long double.
29897         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
29898         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
29899         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
29900         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29901         * math/test-misc.c (main): Don't use union ieee854_long_double.
29903 2013-10-04  Alan Modra  <amodra@gmail.com>
29905         [BZ #15680]
29906         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
29907         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
29908         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
29909         calculation.  Remove unnecessary test for denormal exponent.
29910         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
29911         Correct handling of denormals.  Avoid undefined shift behaviour.
29912         Correct normalisation of low mantissa when low double is denormal.
29913         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
29914         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
29915         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
29916         Correct normalisation of low mantissa.  Test for overflow of high
29917         mantissa and normalise.
29918         (ldbl_nearbyint): Use more readable constant for two52.
29919         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
29920         (__mpn_construct_long_double): Fix test for overflow of high
29921         mantissa and correct normalisation.  Avoid undefined shift.
29923 2013-10-04  Alan Modra  <amodra@gmail.com>
29925         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
29926         (union ibm_extended_long_double): Define as an array of ieee754_double.
29927         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
29928         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
29929         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
29930         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29931         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29932         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
29933         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
29934         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
29935         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
29936         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
29937         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29939 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
29941         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
29942         page size instead of calling getpagesize.
29944         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
29945         (LOCFILE_ALIGN_MASK): Likewise.
29946         (LOCFILE_ALIGN_UP): Likewise.
29947         (LOCFILE_ALIGNED_P): Likewise.
29948         * locale/programs/ld-collate.c (collate_output): Use the new
29949         macros instead of __alignof__ (int32_t).
29950         * locale/weight.h (findidx): Likewise.
29952 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
29954         [BZ #431]
29955         * manual/string.texi: Fix strncat and wcsncat.
29957 2013-10-03  Brooks Moses  <bmoses@google.com>
29959         [BZ #15915]
29960         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
29961         * Makerules: ...here, and adjust associated comments.
29963 2013-10-02  Will Newton  <will.newton@linaro.org>
29965         * malloc/Makefile: Add tst-pvalloc.
29966         * malloc/tst-pvalloc.c: New file.
29968 2013-10-02  Will Newton  <will.newton@linaro.org>
29970         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
29971         improve test coverage.
29973 2013-10-02  Will Newton  <will.newton@linaro.org>
29975         * malloc/Makefile: Add tst-posix_memalign.
29976         * malloc/tst-posix_memalign.c: New file.
29978 2013-10-01  Eric Blake  <eblake@redhat.com>
29980         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
29981         Use __THROWNL rather than __THROW on static functions.
29983 2013-09-30  Petr Machata  <pmachata@redhat.com>
29985         * elf/elf.h (R_AARCH64_ABS16): New macro.
29986         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
29987         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
29988         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
29989         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
29990         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
29991         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
29992         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
29993         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
29994         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
29995         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
29996         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
29997         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
29998         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
29999         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
30000         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
30001         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
30002         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
30003         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
30004         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
30005         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
30006         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
30007         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
30008         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
30009         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
30010         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
30011         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
30012         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
30013         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
30014         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
30015         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
30016         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
30017         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
30018         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
30019         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
30020         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
30021         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
30022         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
30023         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
30024         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
30025         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
30026         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
30027         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
30028         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
30029         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
30030         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
30031         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
30032         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
30033         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
30034         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
30035         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
30036         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
30037         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
30038         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
30039         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
30040         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
30041         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
30042         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
30043         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
30044         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
30045         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
30046         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
30047         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
30048         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
30049         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
30050         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
30051         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
30052         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
30053         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
30054         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
30055         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
30056         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
30057         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
30058         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
30059         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
30060         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
30061         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
30062         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
30063         (R_AARCH64_TLSDESC_LDR): Likewise.
30064         (R_AARCH64_TLSDESC_ADD): Likewise.
30065         (R_AARCH64_TLSDESC_CALL): Likewise.
30067 2013-09-30  Andreas Schwab  <schwab@suse.de>
30069         [BZ #15048]
30070         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
30071         the nss database lookup.
30072         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30073         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30075 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
30077         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
30079 2013-09-28  P. J. McDermott  <pj@pehjota.net>
30081         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
30082         ${Bash-specific parameter/pattern/string} parameter expansion.
30083         * sysdeps/unix/make-syscalls.sh: Likewise.
30085 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30087         * sysdeps/sh/stackguard-macros.h: New file.
30089 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
30091         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
30092         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
30093         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
30094         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
30095         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30096         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
30098 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30100         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
30101         Fix thread ID register.
30103 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
30105         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
30106         [POSIX || UNIX98]: Require rather than permitting all symbols from
30107         <time.h>.
30108         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
30109         element of struct sched_param.
30110         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
30111         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
30112         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
30113         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
30114         constant.
30116 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
30118         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
30119         argument calculation.
30121 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
30123         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
30124         Expect macro.
30125         [POSIX] (pthread_attr_t): Do not require type.
30126         [POSIX] (pthread_cond_t): Likewise.
30127         [POSIX] (pthread_condattr_t): Likewise.
30128         [POSIX] (pthread_key_t): Likewise.
30129         [POSIX] (pthread_mutex_t): Likewise.
30130         [POSIX] (pthread_mutexattr_t): Likewise.
30131         [POSIX] (pthread_once_t): Likewise.
30132         [POSIX] (pthread_t): Likewise.
30133         [POSIX-based standards] (pthread_atfork): Expect function.
30135 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
30136             Richard Sandiford  <richard@codesourcery.com>
30138         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
30139         (swap_endianness_p): New extern variable.
30140         (set_big_endian): New inline function.
30141         (maybe_swap_uint32): Likewise.
30142         (maybe_swap_uint32_array): Likewise.
30143         (maybe_swap_uint32_obstack): Likewise.
30144         * locale/programs/locfile.c: Include <stdbool.h>.
30145         (swap_endianness_p): New variable.
30146         (add_locale_uint32): Call maybe_swap_uint32.
30147         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
30148         (write_locale_data): Call maybe_swap_uint32_array.
30149         * locale/programs/ld-collate.c (obstack_int32_grow): Call
30150         maybe_swap_uint32.
30151         (obstack_int32_grow_fast): Likewise.
30152         (output_weightwc): Call maybe_swap_uint32_obstack.
30153         (collate_output): Likewise.
30154         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
30155         (OPT_LITTLE_ENDIAN): Likewise.
30156         (options): Add --little-endian and --big-endian options.
30157         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
30158         * locale/programs/locarchive.c: Include "locfile.h".
30159         (GET): New macro.
30160         (SET): Likewise.
30161         (INC): Likewise.
30162         (create_archive): Use the new macros to access fields of
30163         structures directly mapped from or written to locale archives.
30164         (oldlocrecentcmp): Likewise.
30165         (enlarge_archive): Likewise.
30166         (insert_name): Likewise.
30167         (add_alias): Likewise.
30168         (add_locale): Likewise.
30169         (delete_locales_from_archive): Likewise.
30170         (show_archive_content): Likewise.
30171         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
30172         locale data.
30174 2013-09-24  Roland McGrath  <roland@hack.frob.com>
30176         * manual/freemanuals.texi: Updated from (newly) canonical copy at
30177         http://www.gnu.org/doc/freemanuals.texi.
30178         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
30180 2013-09-24  Will Newton  <will.newton@linaro.org>
30182         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
30183         macro.
30185 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
30187         * locale/hashval.h (compute_hashval): Interpret bytes of key as
30188         unsigned char.
30190 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
30192         * manual/threads.texi (POSIX Threads): Fix a typo.
30194 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
30196         [BZ #14547]
30197         * string/tst-strcoll-overflow.c: New test case.
30198         * string/Makefile (xtests): Add tst-strcoll-overflow.
30199         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
30200         cache if string sizes may cause integer overflow.
30202         [BZ #14547]
30203         * string/strcoll_l.c (coll_seq): New members rule, idx,
30204         save_idx and back_us.
30205         (get_next_seq_nocache): New function.
30206         (do_compare_nocache): New function.
30207         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
30208         when malloc fails.
30210 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
30212         [BZ #15754]
30213         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
30214         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
30215         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
30217         [BZ #15754]
30218         * elf/Makefile (tests): Add tst-ptrguard1.
30219         (tests-static): Add tst-ptrguard1-static.
30220         (tst-ptrguard1-ARGS): Define.
30221         (tst-ptrguard1-static-ARGS): Define.
30222         * elf/tst-ptrguard1.c: New file.
30223         * elf/tst-ptrguard1-static.c: New file.
30224         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
30225         * sysdeps/i386/stackguard-macros.h: Likewise.
30226         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30227         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30228         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30229         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30230         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30231         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30233 2013-09-23  Hector Marco  <hecmargi@upv.es>
30234             Ismael Ripoll  <iripoll@disca.upv.es>
30235             Carlos O'Donell  <carlos@redhat.com>
30237         [BZ #15754]
30238         * sysdeps/generic/stackguard-macros.h: Define
30239         __pointer_chk_guard_local and POINTER_CHK_GUARD.
30240         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
30241         Define __pointer_chk_guard_local.
30242         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
30243         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
30245 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
30247         [BZ #15859]
30248         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
30250 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
30252         * include/string.h (__ffs): Declare as hidden.
30253         * string/ffs.c (__ffs): Define as hidden.
30254         * sysdeps/i386/ffs.c (__ffs): Likewise.
30255         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
30256         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
30257         * sysdeps/s390/ffs.c (__ffs): Likewise.
30258         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
30260 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
30262         * NEWS: Mention malloc probes.
30264         * malloc/arena.c (new_heap): New memory_heap_new probe.
30265         (grow_heap): New memory_heap_more probe.
30266         (shrink_heap): New memory_heap_less probe.
30267         (heap_trim): New memory_heap_free probe.
30268         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
30269         (systrim): New memory_sbrk_less probe.
30270         * manual/probes.texi: Document them.
30272         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
30273         * manual/probes.texi: Document it.
30275         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
30276         (__libc_realloc): Add memory_realloc_retry probe.
30277         (__libc_memalign): Add memory_memalign_retry probe.
30278         (__libc_valloc): Add memory_valloc_retry probe.
30279         (__libc_pvalloc): Add memory_pvalloc_retry probe.
30280         (__libc_calloc): Add memory_calloc_retry probe.
30281         * manual/probes.texi: Document them.
30283         * malloc/arena.c (get_free_list): Add probe
30284         memory_arena_reuse_free_list.
30285         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
30286         and memory_arena_reuse.
30287         (arena_get2) [!PER_THREAD]: Likewise.
30288         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
30289         memory_arena_reuse_realloc.
30290         * manual/probes.texi: Document them.
30292         * malloc/malloc.c (__libc_free): Add
30293         memory_mallopt_free_dyn_thresholds probe.
30294         (__libc_mallopt): Add multiple memory_mallopt probes.
30295         * manual/probes.texi: Document them.
30297         * malloc/malloc.c: Include stap-probe.h.
30298         (__libc_mallopt): Add memory_mallopt probe.
30299         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
30300         * manual/probes.texi: New.
30301         * manual/Makefile (chapters): Add probes.
30302         * manual/threads.texi: Set next node.
30304 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
30306         [BZ #15963, #13985]
30307         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
30308         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
30309         Add `Chinese' to `nan' entry name.
30311 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30313         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
30314         (POLYNOMIAL): Likewise.
30315         (TAYLOR_SINCOS): Likewise.
30316         (TAYLOR_SLOW): Likewise.
30317         (__sin): Use TAYLOR_SINCOS.
30318         (__cos): Likewise.
30319         (slow): Use TAYLOR_SLOW.
30320         (sloww): Likewise.
30321         (bsloww): Likewise.
30322         (csloww): Likewise.
30324 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30326         * stdlib/strtod_l.c: Fix buffer overrun.
30328 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30330         * benchtests/Makefile (bench): Add sincos.
30331         * benchtests/bench-sincos.c: New file.
30333         * math/libm-test.inc (cos_test_data): New test inputs.
30334         (sin_test_data): Likewise.
30336         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
30337         macro.
30338         (__sin): Use it.
30339         (__cos): Likewise.
30340         (slow1): Likewise.
30341         (slow2): Likewise.
30342         (sloww1): Likewise.
30343         (sloww2): Likewise.
30344         (bsloww1): Likewise.
30345         (bsloww2): Likewise.
30346         (cslow2): Likewise.
30347         (csloww1): Likewise.
30348         (csloww2): Likewise.
30350         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
30351         function.
30352         (__sin): Use it.
30353         (__cos): Likewise.
30355         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
30356         gotos.
30357         (__cos): Likewise.
30359 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
30361         * config.h.in (HAVE_MIPS_NAN2008): New macro.
30362         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
30363         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
30364         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
30365         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
30366         * elf/cache.c (print_entry): Handle the new cache flags.
30368 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
30369             Aldy Hernandez  <aldyh@redhat.com>
30371         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
30372         Change condition to [_SOFT_FLOAT].
30373         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
30374         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
30375         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
30376         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
30377         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
30378         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
30379         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
30380         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
30381         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
30382         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
30383         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
30384         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
30385         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
30386         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
30387         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
30388         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
30389         declaration.
30391 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
30393         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
30394         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
30395         (__longjmp): Use LOAD_GP to load saved GPRs.
30396         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
30397         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
30398         (__sigsetjmp): Use SAVE_GP to save GPRs.
30400         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
30401         Do not append -msoft-float.
30402         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
30404 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30406         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
30408 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
30410         [BZ #15966]
30411         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
30412         (_FPU_GETCW): Use initial "__" on variable and field names but not
30413         on macro parameter name.
30414         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
30415         parentheses around reference to macro parameter.
30417 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
30419         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
30420         prototype.
30421         (ctype_startup): Use uint32_t in cast and sizeof for
30422         ctype->charnames.
30424 2013-09-11  Jia Liu  <proljc@gmail.com>
30426         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
30427         __daddr_t_defined.
30428         [__FreeBSD__]: Likewise.
30430 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
30432         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
30433         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
30434         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
30435         (strchr): Remove __strchr_sse42 ifunc selection.
30436         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
30437         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
30439 2013-09-11  Will Newton  <will.newton@linaro.org>
30441         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
30442         parameter to RES. Remove hardcoded 1000 value.
30443         * benchtests/bench-skeleton.c (main): Pass RES parameter
30444         to TIMING_INIT and multiply result by 1000.
30446 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30448         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30450 2013-09-11  Andreas Schwab  <schwab@suse.de>
30452         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
30453         if not defined.
30454         (O_TMPFILE) [__USE_GNU]: Define.
30455         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
30456         Define.
30458 2013-09-11  Will Newton  <will.newton@linaro.org>
30460         [BZ #15857]
30461         * malloc/malloc.c (__libc_memalign): Check the value of bytes
30462         does not overflow.
30464 2013-09-11  Will Newton  <will.newton@linaro.org>
30466         [BZ #15856]
30467         * malloc/malloc.c (__libc_valloc): Check the value of bytes
30468         does not overflow.
30470 2013-09-11  Will Newton  <will.newton@linaro.org>
30472         [BZ #15855]
30473         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
30474         does not overflow.
30476 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
30478         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
30479         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30480         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30481         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30482         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30484 2013-09-10  Allan McRae  <allan@archlinux.org>
30486         [BZ #15748]
30487         * manual/arith.texi (Parsing of Floats): Clarify
30488         cross-reference.
30490         [BZ #15849]
30491         * manual/install.texi (Running make install): Mention
30492         --enable-pt-chown.
30493         * INSTALL: Regenerated.
30495 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
30497         * csu/init-first.c (_init): Remove the !SHARED condition around
30498         FPU control word initialization.
30499         * elf/dl-support.c (_dl_fpu_control): New variable.
30500         (_dl_aux_init) <AT_FPUCW>: Initialize it.
30501         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
30502         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
30503         * math/test-fpucw-static.c: New file.
30504         * math/test-fpucw-ieee.c: New file.
30505         * math/test-fpucw-ieee-static.c: New file.
30506         * math/Makefile (tests): Add `test-fpucw-ieee' and
30507         `$(tests-static)'.
30508         (tests-static): New variable.
30509         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
30510         dependency to...
30511         [($(build-shared),yes)]
30512         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
30513         ... this.
30514         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
30515         New dependency.
30517 2013-09-09  Allan McRae  <allan@archlinux.org>
30519         [BZ #15939]
30520         * manual/string.texi (Collation Functions): Fix typo in
30521         strcoll example.
30522         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
30524         [BZ #15893]
30525         * stdlib/isomac.c (get_null_defines): Fix memory leak.
30527         [BZ #15892]
30528         * libio/memstream.c (open_memstream): Fix memory leak.
30529         * libio/wmemstream.c (open_wmemstream): Likewise.
30531         [BZ #15895]
30532         * nscd/netgroupcache.c: Fix nesting of ifdefs.
30534 2013-09-09  Will Newton  <will.newton@linaro.org>
30536         * malloc/Makefile: Add tst-realloc to tests.
30537         * malloc/tst-realloc.c: New file.
30539 2013-09-09  Allan McRae  <allan@archlinux.org>
30541         [BZ #15844]
30542         * COPYING: Update from GNU website to fix FSF address.
30543         * COPYING.LIB: Likewise.
30545 2013-09-06  David S. Miller  <davem@davemloft.net>
30547         * po/zh_TW.po: Update Chinese (traditional) translation from
30548         translation project.
30550 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
30551             Joseph Myers  <joseph@codesourcery.com>
30553         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
30554         "localeinfo.h".
30555         (obstack_chunk_alloc): New macro.
30556         (obstack_chunk_free): Likewise.
30557         (record_offset): New function.
30558         (init_locale_data): Likewise.
30559         (align_locale_data): Likewise.
30560         (add_locale_empty): Likewise.
30561         (add_locale_raw_data): Likewise.
30562         (add_locale_raw_obstack): Likewise.
30563         (add_locale_string): Likewise.
30564         (add_locale_wstring): Likewise.
30565         (add_locale_uint32): Likewise.
30566         (add_locale_uint32_array): Likewise.
30567         (add_locale_char): Likewise.
30568         (start_locale_structure): Likewise.
30569         (end_locale_structure): Likewise.
30570         (start_locale_prelude): Likewise.
30571         (end_locale_prelude): Likewise.
30572         (write_locale_data): Take locale_file structure rather than an
30573         iovec.
30574         * locale/programs/locfile.h: Include "obstack.h".
30575         (struct locale_file): Change to store locale file contents instead
30576         of header.
30577         (init_locale_data): New prototype.
30578         (align_locale_data): Likewise.
30579         (add_locale_empty): Likewise.
30580         (add_locale_raw_data): Likewise.
30581         (add_locale_raw_obstack): Likewise.
30582         (add_locale_string): Likewise.
30583         (add_locale_wstring): Likewise.
30584         (add_locale_uint32): Likewise.
30585         (add_locale_uint32_array): Likewise.
30586         (add_locale_char): Likewise.
30587         (start_locale_structure): Likewise.
30588         (end_locale_structure): Likewise.
30589         (start_locale_prelude): Likewise.
30590         (end_locale_prelude): Likewise.
30591         (write_locale_data): Update prototype.
30592         * locale/programs/3level.h (struct TABLE): Remove result field.
30593         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
30594         Use new locale_file interface.
30595         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
30596         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
30597         * locale/programs/ld-address.c (address_output): Use new
30598         locale_file interface.
30599         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
30600         NO_ADD_LOCALE.
30601         (collate_finish): Don't call collseq_table_finalize.
30602         (collate_output): Use new locale_file interface.
30603         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
30604         in file.
30605         (NO_FINALIZE): Change to NO_ADD_LOCALE.
30606         (TABLE): Move defines earlier in file.
30607         (ELEMENT): Likewise.
30608         (DEFAULT): Likewise.
30609         (wctrans_table_add): Move macro and inline function earlier in
30610         file.
30611         (struct wctype_table): Move type earlier in file.
30612         (add_locale_wctype_table): New static prototype.
30613         (struct locale_ctype_t): Use logical types instead of struct iovec
30614         pointers for members.
30615         (ctype_output): Use new locale_file interface.
30616         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
30617         new locale_file interface.
30618         (allocate_arrays): Update for use of new locale_file interface.
30619         * locale/programs/ld-identification.c (identification_output): Use
30620         new locale_file interface.
30621         * locale/programs/ld-measurement.c (measurement_output): Likewise.
30622         * locale/programs/ld-messages.c (messages_output): Likewise.
30623         * locale/programs/ld-monetary.c (monetary_output): Likewise.
30624         * locale/programs/ld-name.c (name_output): Likewise.
30625         * locale/programs/ld-numeric.c (numeric_output): Likewise.
30626         * locale/programs/ld-paper.c (paper_output): Likewise.
30627         * locale/programs/ld-telephone.c (telephone_output): Likewise.
30628         * locale/programs/ld-time.c (time_output): Likewise.
30630 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30632         * benchtests/Makefile: Add memrchr benchmark.
30633         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
30634         benchmark as memrchr.
30635         * benchtests/bench-memrchr-ifunc.c: New file.
30636         * benchtests/bench-memrchr.c: New file.
30638 2013-09-06   Will Newton  <will.newton@linaro.org>
30640         * benchtests/Makefile (string-bench): Add memcpy.
30642 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
30643             Cong Wang  <amwang@redhat.com>
30645         [BZ #15850]
30646         * sysdeps/unix/sysv/linux/bits/in.h
30647         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
30648         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
30649         before __USE_KERNEL_IPV6_DEFS uses.
30650         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
30651         IPPROTO_BEETPH.
30652         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
30653         sockaddr_in6, or ipv6_mreq.
30655 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30657         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
30658         memory access for final bytes in some large inputs.
30659         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
30661 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30663         * string/test-memrchr.c: New file.
30664         * string/test-memrchr-ifunc.c: New file.
30665         * string/Makefile: Add new memrchr testcase.
30667 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
30669         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
30670         fanotify_init returns EPERM.
30672 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
30674         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
30675         errors.
30676         (top level): Treat second token from macro or constant entries for
30677         allowed headers as allowed.
30678         * include/complex.h: Condition internal declarations on
30679         [!_ISOMAC].
30680         * include/fenv.h: Condition include of <stdbool.h> and internal
30681         declarations on [!_ISOMAC].
30683 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
30685         [BZ #15923]
30686         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
30688 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
30690         * configure.in (--enable-versioning): Remove configure option.
30691         (libc_cv_asm_symver_directive): Remove configure test.
30692         (libc_cv_ld_version_script_option): Likewise.
30693         (VERSIONING): Remove variable and AC_SUBST.
30694         (DO_VERSIONING): Remove AC_DEFINE.
30695         * configure: Regenerated.
30696         * config.h.in (DO_VERSIONING): Remove macro.
30697         * Makerules [$(versioning) = yes]: Change conditionals to
30698         [$(build-shared) = yes].
30699         * config.make.in (versioning): Remove variable.
30700         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
30701         [$(build-shared) = yes].
30702         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
30703         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
30704         * elf/Makefile [$(versioning) = yes]: Change conditionals to
30705         [$(build-shared) = yes].
30706         * extra-lib.mk [$(versioning) = yes]: Likewise.
30707         * hurd/Makefile [$(versioning) = yes]: Likewise.
30708         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
30709         [SHARED].
30710         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
30711         [SHARED].
30712         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
30713         [SHARED && !NO_HIDDEN].
30714         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
30715         [SHARED].
30716         [SHARED && DO_VERSIONING]: Likewise..
30717         * libio/Makefile [$(versioning) = yes]: Change conditionals to
30718         [$(build-shared) = yes].
30719         * manual/install.texi (--disable-versioning): Remove
30720         documentation.
30721         * INSTALL: Regenerated.
30722         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
30723         to [SHARED].
30724         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
30725         [$(build-shared) = yes].
30726         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
30727         * sysdeps/i386/i686/multiarch/strstr-c.c
30728         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
30729         [SHARED && !NO_HIDDEN].
30730         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
30731         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
30732         * sysdeps/powerpc/powerpc32/dl-machine.c
30733         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
30734         * sysdeps/powerpc/powerpc32/sysdep.h
30735         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
30736         to [SHARED && PIC && !NO_HIDDEN].
30737         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
30738         conditional to [SHARED].
30740 2013-09-04   Will Newton  <will.newton@linaro.org>
30742         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
30743         * benchtests/bench-string.h: Include bench-timing.h instead
30744         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
30745         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
30746         call to HP_TIMING_DIFF_INIT.
30747         * benchtests/bench-memccpy.c: Use bench-timing.h macros
30748         instead of hp-timing.h macros.
30749         * benchtests/bench-memchr.c: Likewise.
30750         * benchtests/bench-memcmp.c: Likewise.
30751         * benchtests/bench-memcpy.c: Likewise.
30752         * benchtests/bench-memmem.c: Likewise.
30753         * benchtests/bench-memmove.c: Likewise.
30754         * benchtests/bench-memset.c: Likewise.
30755         * benchtests/bench-rawmemchr.c: Likewise.
30756         * benchtests/bench-strcasecmp.c: Likewise.
30757         * benchtests/bench-strcasestr.c: Likewise.
30758         * benchtests/bench-strcat.c: Likewise.
30759         * benchtests/bench-strchr.c: Likewise.
30760         * benchtests/bench-strcmp.c: Likewise.
30761         * benchtests/bench-strcpy.c: Likewise.
30762         * benchtests/bench-strcpy_chk.c: Likewise.
30763         * benchtests/bench-strlen.c: Likewise.
30764         * benchtests/bench-strncasecmp.c: Likewise.
30765         * benchtests/bench-strncat.c: Likewise.
30766         * benchtests/bench-strncmp.c: Likewise.
30767         * benchtests/bench-strncpy.c: Likewise.
30768         * benchtests/bench-strnlen.c: Likewise.
30769         * benchtests/bench-strpbrk.c: Likewise.
30770         * benchtests/bench-strrchr.c: Likewise.
30771         * benchtests/bench-strspn.c: Likewise.
30772         * benchtests/bench-strstr.c: Likewise.
30774 2013-09-04  Will Newton  <will.newton@linaro.org>
30776         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
30778 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
30780         [BZ #15427]
30781         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
30782         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
30783         * math/libm-test.inc (lgamma_test_data): Add more tests.
30784         * sysdeps/i386/fpu/libm-test-ulps: Update.
30785         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30787 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
30789         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
30790         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30791         Add ifunc.
30792         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30793         Add strcmp-sse2-unaligned
30794         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
30796 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
30798         * Versions.def (libc): Add GLIBC_2.19.
30800 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
30802         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
30803         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
30805 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
30807         [BZ #14155]
30808         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
30809         intermediate calculations in recurrence.
30810         (__ieee754_ynf): Likewise.
30811         * math/libm-test.inc (jn_test_data): Do not allow spurious
30812         underflow exception.  Add more tests.
30813         (yn_test_data): Add more tests.
30814         * sysdeps/i386/fpu/libm-test-ulps: Update.
30815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30817 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
30819         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
30821 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
30823         * csu/init-first.c: Fix then/than typos.
30824         * locale/programs/ld-collate.c: Likewise.
30825         * locale/programs/linereader.h: Likewise.
30826         * manual/charset.texi: Likewise.
30827         * manual/filesys.texi: Likewise.
30828         * manual/stdio.texi: Likewise.
30829         * manual/string.texi: Likewise.
30830         * stdlib/fmtmsg.c: Likewise.
30831         * sysdeps/i386/stpncpy.S: Likewise.
30832         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30833         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30834         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30835         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30837 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
30839         * elf/dl-open.c: Fix typos.
30840         * iconvdata/gbbig5.c: Likewise.
30841         * iconvdata/iso-2022-jp.c: Likewise.
30842         * iconv/gconv_int.h: Likewise.
30843         * iconv/loop.c: Likewise.
30844         * nis/rpcsvc/nis.h: Likewise.
30845         * resolv/ns_name.c: Likewise.
30846         * stdio-common/vfscanf.c: Likewise.
30847         * streams/stropts.h: Likewise.
30848         * sunrpc/rpc_thread.c: Likewise.
30849         * sysdeps/i386/strpbrk.S: Likewise.
30850         * sysdeps/ieee754/k_standard.c: Likewise.
30851         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30852         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30853         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
30854         * sysdeps/mach/hurd/profil.c: Likewise.
30855         * sysdeps/s390/dl-procinfo.h: Likewise.
30856         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
30857         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
30858         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
30859         * sysdeps/x86_64/dl-trampoline.S: Likewise.
30860         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
30862 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
30864         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
30865         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
30867 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
30869         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
30870         aix specific files.
30871         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
30872         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
30873         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
30874         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
30875         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
30876         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
30877         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
30878         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
30880 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
30881             Roland McGrath  <roland@hack.frob.com>
30883         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
30884         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
30886 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30888         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
30889         __executable_start symbol instead of _start.
30891 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
30893         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
30894         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
30895         Move macros to...
30896         * sysdeps/gnu/ldsodefs.h: ... this new file.
30898         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
30899         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
30900         instead of ELFOSABI_LINUX.
30902         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
30903         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
30904         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
30905         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
30906         Likewise.
30907         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
30908         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
30909         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
30910         Likewise.
30911         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
30912         (ibm_extended_long_double): Add ieee_nan member.
30913         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
30914         (do_test): New function.
30916         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
30917         TEST_TRUNC.
30918         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
30919         functions, renamed from truncdfsf_test, trunctfsf_test,
30920         trunctfdf_test.
30921         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
30922         functions.
30923         (do_test): Run all these.
30925 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
30927         * argp/argp-help.c: Fix typos.
30928         * argp/argp-parse.c: Likewise.
30929         * debug/backtracesyms.c: Likewise.
30930         * elf/elf.h: Likewise.
30931         * malloc/malloc.c: Likewise.
30932         * nis/nis_print.c: Likewise.
30933         * resolv/res_comp.c: Likewise.
30934         * stdlib/stdlib.h: Likewise.
30935         * sunrpc/clnt_tcp.c: Likewise.
30936         * sunrpc/clnt_udp.c: Likewise.
30937         * sunrpc/clnt_unix.c: Likewise.
30938         * sysdeps/unix/bsd/ptsname.c: Likewise.
30939         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
30940         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
30941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
30942         Likewise.
30943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
30944         Likewise.
30945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
30946         Likewise.
30947         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
30949 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30951         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
30952         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30954 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
30956         [BZ #15897]
30957         * dlfcn/Makefile (tests): Add bug-dl-leaf.
30958         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
30959         ($(objpfx)bug-dl-leaf): New rule.
30960         ($(objpfx)bug-dl-leaf.so): Likewise.
30961         ($(objpfx)bug-dl-leaf.out): Likewise.
30962         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
30963         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
30964         * dlfcn/bug-dl-leaf.c: New test.
30965         * dlfcn/bug-dl-leaf-lib.c: Likewise.
30966         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
30967         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
30968         (dlclose): Likewise.
30969         (dlmopen): Likewise.
30971 2013-08-27  Roland McGrath  <roland@hack.frob.com>
30973         * include/netdb.h [!_ISOMAC]:
30974         Don't include <tls.h>.
30975         (h_errno, __libc_h_errno): Move declaration and macros out of
30976         [_LIBC_REENTRANT].
30978         * include/resolv.h [_RESOLV_H_]:
30979         Don't include <tls.h>.
30980         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
30981         * resolv/res_libc.c: Don't include <tls.h>.
30982         (_res): Use __attribute__ ((nocommon)) in place of
30983         __attribute__ ((section (".bss"))).
30985         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
30986         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
30988         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
30990         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
30991         only under [SIOCGIFCONF && SIOCGIFNETMASK].
30993         * resolv/res_mkquery.c: Include <sys/time.h>.
30995         * inet/ifreq.c: Moved to ...
30996         * sysdeps/unix/ifreq.c: ... here.
30997         * inet/ifreq.c: New file, true stub version.
30999         * socket/sa_len.c: New file.
31000         * socket/Makefile (aux): Add it.
31001         * sysdeps/unix/sysv/linux/Makefile
31002         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
31003         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
31004         and #include <socket/sa_len.c>.
31005         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
31006         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
31008         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
31009         * bits/socket.h: ... here.
31011         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
31012         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
31013         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
31015 2013-08-27  Andreas Schwab  <schwab@suse.de>
31017         [BZ #15736]
31018         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
31019         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
31020         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
31021         * string/test-strcasecmp.c (test_main): Run tests in several
31022         locales.
31023         * string/test-strncasecmp.c (test_main): Likewise.
31025         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
31026         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
31027         to __strcasecmp_nonascii and __strncasecmp_nonascii.
31028         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
31029         (__strncasecmp_ssse3) [PIC]: Likewise.
31031 2013-08-26  Roland McGrath  <roland@hack.frob.com>
31033         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
31035         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
31036         instead of explicitly declaring xdecrypt.
31037         * nis/nss_nis/nis-publickey.c: Likewise.
31039 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31041         [BZ #15890]
31042         * nscd/aicache.c: Include res_hconf.h.
31043         (addhstaiX): Initialize res_hconf.
31045 2013-08-26  Andreas Schwab  <schwab@suse.de>
31047         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
31048         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
31050 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31052         * nscd/aicache.c (addhstaiX): Fix indentation.
31054 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
31056         * configure.ac: Quote $build_pt_chown test.
31057         * configure: Regenerated.
31059 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
31061         [BZ #15532]
31062         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
31063         * math/s_cexpf.c (__cexpf): Likewise.
31064         * math/s_cexpl.c (__cexpl): Likewise.
31065         * math/libm-test.inc (cexp_test_data): Correct expected return
31066         value for NaN + i0.  Add another test.
31068 2013-08-22  David S. Miller  <davem@davemloft.net>
31070         * po/ca.po: Update Catalan translation from translation project.
31071         * po/uk.po: Add Ukrainian translations from translation project.
31073 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
31075         [BZ #15797]
31076         * math/s_fdim.c (__fdim): Check for infinite arguments if result
31077         is infinite, not alongside NaN test.
31078         * math/s_fdimf.c (__fdimf): Likewise.
31079         * math/s_fdiml.c (__fdiml): Likewise.
31080         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
31081         errno is unchanged.
31083 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
31085         * argp/argp-help.c: Fix typos.
31086         * crypt/speeds.c: Likewise.
31087         * csu/check_fds.c: Likewise.
31088         * elf/dl-load.c: Likewise.
31089         * elf/dl-open.c: Likewise.
31090         * elf/reldep3.c: Likewise.
31091         * elf/reldep.c: Likewise.
31092         * elf/sprof.c: Likewise.
31093         * iconv/iconv_charmap.c: Likewise.
31094         * iconv/skeleton.c: Likewise.
31095         * iconv/strtab.c: Likewise.
31096         * io/lockf64.c: Likewise.
31097         * libio/libioP.h: Likewise.
31098         * resolv/gai_notify.c: Likewise.
31099         * resolv/ns_name.c: Likewise.
31100         * resolv/ns_samedomain.c: Likewise.
31101         * resolv/res_send.c: Likewise.
31102         * stdlib/random.c: Likewise.
31103         * sunrpc/rpc/xdr.h: Likewise.
31104         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
31105         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31106         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31107         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31108         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31109         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31110         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31111         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31112         * sysdeps/mach/hurd/check_fds.c: Likewise.
31113         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
31114         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
31115         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31116         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31117         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
31118         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
31119         * sysdeps/pthread/aio_notify.c: Likewise.
31120         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
31121         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
31122         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
31123         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31124         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
31126 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31128         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
31129         version if bit_Slow_SSE4_2 is set.
31130         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31131         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31133 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31135         [BZ #15867]
31136         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
31137         trampoline stack frame information.
31138         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
31139         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
31140         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
31141         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
31142         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
31143         * sysdeps/unix/sysv/linux/powerpc/init-first.c
31144         (_libc_vdso_platform_setup): Initialize the signal trampolines.
31145         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
31146         sa_flags value.
31147         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
31148         interrupting a syscall and set with option SA_SIGINFO.
31150 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
31152         [BZ #15531]
31153         * math/s_cproj.c (__cproj): Only return an infinity if one part of
31154         argument is infinite.
31155         * math/s_cprojf.c (__cprojf): Likewise.
31156         * math/s_cprojl.c (__cprojl): Likewise.
31157         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
31158         * math/libm-test.inc (cproj_test_data): Add more tests.
31160         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
31162         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
31163         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
31164         size.  Use __ffs to determine corresponding shift.
31166 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
31167             Roland McGrath  <roland@hack.frob.com>
31169         * Makefile (INSTALL): Remove trailing blank lines from output of
31170         makeinfo.
31172 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31174         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
31175         Align 32 bit compat elf_greg to 8 bytes.
31177 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
31179         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
31181 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
31183         * string/strcoll_l.c (coll_seq): New structure.
31184         (get_next_seq_cached): New function.
31185         (get_next_seq): New function.
31186         (do_compare): New function.
31187         (STRCOLL): Use GNU style definition.  Simplify implementation
31188         by using get_next_seq, get_next_seq_cached and do_compare.
31190 2013-08-16  Florian Weimer  <fweimer@redhat.com>
31192         [BZ #14699]
31193         CVE-2013-4237
31194         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
31195         member.
31196         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
31197         member.
31198         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
31199         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
31200         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
31201         conditional.
31202         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
31203         GETDENTS_64BIT_ALIGNED.
31204         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31205         * manual/filesys.texi (Reading/Closing Directory): Document
31206         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
31207         strongly.
31208         * manual/conf.texi (Limits for Files): Add portability note to
31209         NAME_MAX, PATH_MAX.
31210         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
31212 2013-08-13  Andreas Schwab  <schwab@suse.de>
31214         [BZ #15749]
31215         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
31216         of fabs.
31217         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
31218         LDBL_MAX_EXP >= 16384]: Add tests for it.
31220 2013-08-12  David S. Miller  <davem@davemloft.net>
31222         * version.h (RELEASE): Set to "development".
31223         (VERSION): Set to "2.18.90".
31224         * NEWS: Add 2.19 section.
31226 2013-08-03  David S. Miller  <davem@davemloft.net>
31228         * po/ko.po: Update Korean translation from translation project.
31230 2013-08-01  David S. Miller  <davem@davemloft.net>
31232         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
31233         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
31234         Bilka.
31236 2013-07-30  David S. Miller  <davem@davemloft.net>
31238         * po/fr.po: Update French translation from translation project.
31240 2013-07-28  David S. Miller  <davem@davemloft.net>
31242         * po/cs.po: Update Czech translation from translation project.
31244         * po/sv.po: Update Swedish translation from translation project.
31246 2013-07-27  David S. Miller  <davem@davemloft.net>
31248         * po/eo.po: Update Esperanto translation from translation project.
31250         * po/vi.po: Update Vietnamese translation from translation project.
31252         * po/de.po: Update German translation from translation project.
31254 2013-07-26  David S. Miller  <davem@davemloft.net>
31256         * po/bg.po: Update Bulgarian translation from translation project.
31258         * po/nl.po: Update Dutch translation from translation project.
31259         * po/pl.po: Update Polish translation from translation project.
31260         * po/ru.po: Update Russian translation from translation project.
31262 2013-07-24  David S. Miller  <davem@davemloft.net>
31264         * po/libc.pot: Update.
31266 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31268         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
31269         variable page size.
31270         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
31271         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
31272         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
31274 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31276         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
31278 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31279             Andreas Schwab  <schwab@suse.de>
31280             Roland McGrath  <roland@hack.frob.com>
31281             Joseph Myers  <joseph@codesourcery.com>
31282             Carlos O'Donell  <carlos@redhat.com>
31284         [BZ #15755]
31285         * config.h.in: Define HAVE_PT_CHOWN.
31286         * config.make.in (build-pt-chown): New variable.
31287         * configure.in (--enable-pt_chown): New configure option.
31288         * configure: Regenerate.
31289         * login/Makefile: Include Makeconfig.  Build pt_chown only if
31290         build-pt-chown is enabled.
31291         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
31292         pt_chown to fix pty ownership.
31293         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
31294         CLOSE_ALL_FDS.
31295         * manual/install.texi (Configuring and compiling): Mention
31296         --enable-pt_chown. Add @findex for grantpt.
31297         * INSTALL: Regenerate.
31299 2013-07-20  David S. Miller  <davem@davemloft.net>
31301         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
31302         difference between 32-bit and 64-bit.
31304 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
31306         [BZ #15711]
31307         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
31308         Avoid system header dependency with -ffreestanding.
31309         ($(objpfx)bits/syscall%d): Likewise.
31311 2013-07-13  David S. Miller  <davem@davemloft.net>
31313         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
31314         underflows from atanl/atan2l due to bug 15319.
31315         (casinh_test_data): Likewise.
31317 2013-07-07  David S. Miller  <davem@davemloft.net>
31319         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
31321 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
31323         * sysdeps/i386/fpu/libm-test-ulps: Update.
31324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31326 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31328         * configure.in (--enable-lock-elision): Fix message text.
31329         * INSTALL: Regenerate.
31330         * configure: Regenerate.
31332 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31334         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31336 2013-07-03  Andreas Jaeger  <aj@suse.de>
31338         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
31339         define.
31340         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
31341         (ptrace_peeksiginfo_args): Add.
31342         (__ptrace_peeksiginfo_flags): Add.
31343         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31344         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31345         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31347 2013-07-03  Allan McRae  <allan@archlinux.org>
31349         * sysdeps/i386/fpu/libm-test-ulps: Update.
31351 2013-07-02  David S. Miller  <davem@davemloft.net>
31353         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31355 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
31357         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31359 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
31361         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
31362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31364 2013-07-02  Andi Kleen <ak@linux.intel.com>
31366         * config.h.in (ENABLE_LOCK_ELISION): Add.
31367         * configure.in (--enable-lock-elision): Add option.
31368         * manual/install.texi: Document --enable lock elision.
31369         * configure: Regenerate
31370         * INSTALL: Regenerate.
31372 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
31374         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
31375         SSE4.2 strcasecmp for libc.a.
31376         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
31378 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
31380         [BZ #13304]
31381         * soft-fp/op-common.h (_FP_FMA): New macro.
31382         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
31383         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
31384         (_FP_MUL_MEAT_1_imm): ... here.
31385         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
31386         (_FP_MUL_MEAT_1_wide): ... here.
31387         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
31388         (_FP_MUL_MEAT_1_hard): ... here.
31389         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
31390         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
31391         (_FP_MUL_MEAT_2_wide): ... here.
31392         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
31393         (_FP_MUL_MEAT_2_wide_3mul): ... here.
31394         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
31395         (_FP_MUL_MEAT_2_gmp): ... here.
31396         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
31397         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
31398         (_FP_MUL_MEAT_4_wide): ... here.
31399         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
31400         (_FP_MUL_MEAT_4_gmp): ... here.
31401         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
31402         (_FP_WFRACBITS_DW_S): Likewise.
31403         (_FP_WFRACXBITS_DW_S): Likewise.
31404         (_FP_HIGHBIT_DW_S): Likewise.
31405         (FP_FMA_S): Likewise.
31406         (_FP_FRAC_HIGH_DW_S): Likewise.
31407         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
31408         (_FP_WFRACBITS_DW_D): Likewise.
31409         (_FP_WFRACXBITS_DW_D): Likewise.
31410         (_FP_HIGHBIT_DW_D): Likewise.
31411         (FP_FMA_D): Likewise.
31412         (_FP_FRAC_HIGH_DW_D): Likewise.
31413         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
31414         (_FP_WFRACBITS_DW_E): Likewise.
31415         (_FP_WFRACXBITS_DW_E): Likewise.
31416         (_FP_HIGHBIT_DW_E): Likewise.
31417         (FP_FMA_E): Likewise.
31418         (_FP_FRAC_HIGH_DW_E): Likewise.
31419         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
31420         (_FP_WFRACBITS_DW_Q): Likewise.
31421         (_FP_WFRACXBITS_DW_Q): Likewise.
31422         (_FP_HIGHBIT_DW_Q): Likewise.
31423         (FP_FMA_Q): Likewise.
31424         (_FP_FRAC_HIGH_DW_Q): Likewise.
31425         * soft-fp/fmasf4.c: New file.
31426         * soft-fp/fmadf4.c: Likewise.
31427         * soft-fp/fmatf4.c: Likewise.
31429 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31431         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31432         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
31433         Silvermont.
31434         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
31435         macro.
31436         (index_Slow_SSE4_2): Likewise.
31437         (index_Prefer_PMINUB_for_stringop): Likewise.
31438         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
31439         bit_Slow_SSE4_2 is set.
31440         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31441         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31443 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31445         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
31446         rtld_global._dl_hwcap2.
31447         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
31448         POWER8.
31449         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
31450         POWER8 feature descriptions defined in _dl_hwcap2.
31451         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
31452         string handling for POWER8 feature bits.
31453         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
31454         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
31455         _dl_powerpc_cap_flags.
31456         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
31457         * sysdeps/powerpc/rtld-global-offsets.sym
31458         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
31459         _dl_hwcap2 in the rtld_global_ro structure.
31461 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31463         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
31464         hardware capabilities in support of AT_HWCAP2.
31465         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
31466         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
31467         GLRO(dl_hwcap2).
31468         (_dl_show_auxv): Add support for calling _dl_procinfo to display
31469         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
31470         explicitly the unknown a_type display mechanism is used.
31471         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
31472         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
31473         struct member.
31474         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
31475         to macro prototype for AT_HWCAP2 support.
31476         * sysdeps/i386/dl-procinfo.h: Likewise.
31477         * sysdeps/s390/dl-procinfo.h: Likewise.
31478         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
31479         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
31480         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
31481         return -1 for unknown a_type display fallback.
31482         * sysdeps/sparc/dl-procinfo.h: Likewise.
31483         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
31484         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
31486 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
31488         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
31489         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
31491 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
31493         [BZ #12492]
31494         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
31495         mprotect making __stack_prot writable.
31497 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
31498             Joseph Myers  <joseph@codesourcery.com>
31500         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
31501         as being properly aligned.
31503 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
31505         * dlfcn/modstatic5.c: New file.
31506         * dlfcn/tststatic5.c: New file.
31507         * dlfcn/Makefile (tests): Add tststatic5.
31508         (tests-static): Likewise.
31509         (modules-names): Add modstatic5.
31510         (tststatic5-ENV): New variable.
31511         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
31513         [BZ #15022]
31514         * elf/dl-support.c (_dl_main_map): New variable.
31515         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
31516         (_dl_nns, _dl_load_adds): Set to 1.
31517         (_dl_initial_searchlist): Refer to _dl_main_map.
31518         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
31519         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
31520         call to _dl_get_origin.
31521         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
31522         around call_map.
31523         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
31524         * dlfcn/modstatic3.c: New file.
31525         * dlfcn/tststatic3.c: New file.
31526         * dlfcn/tststatic4.c: New file.
31527         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
31528         (tests-static): Likewise.
31529         (modules-names): Add modstatic3.
31530         (tststatic3-ENV, tststatic4-ENV): New variables.
31531         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
31532         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
31534 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
31536         * configure.in (CC): Require GCC version 4.4 or later.
31537         * configure: Regenerated.
31538         * manual/install.texi (Tools for Compilation): Update GCC version
31539         requirement.
31540         * INSTALL: Regenerated.
31542 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31544         [BZ #15674]
31545         * string/test-memcmp.c (check2): New.
31546         (main): Call check2.
31548         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
31550 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
31552         [BZ #15022]
31553         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
31554         over to...
31555         (dl_open_worker) [!SHARED]: ... here.
31557 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31559         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
31561 2013-06-25  Richard Henderson  <rth@redhat.com>
31563         * locale/programs/locarchive.c: Include <libc-internal.h>
31565 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
31567         * manual/texinfo.tex: Update to version 2013-06-21.17, with
31568         trailing whitespace removed.
31570 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
31572         [BZ #10283]
31573         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
31574         * locale/programs/locarchive.c: Include libc-mmap.h.
31575         (prepare_address_space): Take two new outputs (the mmap base and len).
31576         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
31577         values.
31578         (create_archive): Declare new mmap base and len values for
31579         prepare_address_space, and store the result in ah.
31580         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
31581         (enlarge_archive): If ah->mmap_base is not NULL, use that and
31582         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
31583         Declare new mmap base and len values for
31584         prepare_address_space, and store the result in new_ah.
31585         (open_archive): Declare new mmap base and len values for
31586         prepare_address_space, and store the result in ah.
31587         (close_archive): If ah->mmap_base is not NULL, use that and
31588         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
31589         * sysdeps/generic/libc-mmap.h: New file.
31591 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
31593         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
31594         (ALIGN_UP): Likewise.
31595         (PTR_ALIGN_DOWN): Likewise.
31596         (PTR_ALIGN_UP): Likewise.
31598 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31600         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
31601         entry mapped to PPC_PLATFORM_POWER8.
31602         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
31603         POWER8.
31604         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
31605         (_dl_string_platform): Add case for exporting platform position for
31606         POWER8.
31607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
31608         search path to sysdeps/powerpc/powerpc32/power8 directory.
31609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
31610         search path to sysdeps/powerpc/powerpc64/power8 directory.
31611         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
31612         power7 directories.
31613         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
31614         power7 directories.
31616 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31618         * INSTALL: Regenerate.
31620         * nscd/connections.c (nscd_init): Fix comment.
31622 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
31624         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
31626         [BZ #15667]
31627         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
31628         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
31630 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
31632         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
31633         DL_DST_REQ_STATIC.
31634         (DL_DST_REQ_STATIC): Remove macro.
31636 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
31638         [BZ #7006]
31639         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
31640         with a shift of 0 bits.
31642 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
31644         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
31645         $(tststatic-ENV).
31647 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31649         [BZ #15655]
31650         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
31652 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31654         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
31655         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
31656         accepts -fno-tree-loop-distribute-patterns.
31657         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
31658         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
31659         recursive call.
31660         * string/memset.c (memset): Likewise.
31661         * string/test-memmove.c (simple_memmove): Disable loop transformation
31662         to library calls.
31663         * string/test-memset.c (simple_memset): Likewise.
31664         * benchtests/bench-memmove.c (simple_memmove): Likewise.
31665         * benchtests/bench-memset.c (simple_memset): Likewise.
31666         * configure: Regenerated.
31668 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
31670         * math/test-misc.c (main): Ignore fesetround failure when failures
31671         of subsequent rounding tests would be ignored.
31673         [BZ #15654]
31674         * math/fedisblxcpt.c (fedisableexcept): Return 0.
31675         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
31676         * math/fegetenv.c (__fegetenv): Return 0.
31677         * math/fegetexcept.c (fegetexcept): Return 0.
31678         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
31679         FE_TONEAREST.
31680         * math/feholdexcpt.c (feholdexcept): Return 0.
31681         * math/fesetenv.c (__fesetenv): Return 0.
31682         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
31683         argument FE_TONEAREST.
31684         * math/feupdateenv.c (__feupdateenv): Return 0.
31685         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
31687 2013-06-18  Roland McGrath  <roland@hack.frob.com>
31689         * elf/rtld-Rules (rtld-compile-command.S): New variable.
31690         (rtld-compile-command.s, rtld-compile-command.c): New variables.
31691         ($(objpfx)rtld-%.os rules): Use them.
31693 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31695         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
31696         fields.
31698 2013-06-17  Roland McGrath  <roland@hack.frob.com>
31700         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
31701         length of target pattern, then descending length of dependency pattern.
31702         * configure.in (AWK): Require gawk 3.1.2 or newer.
31703         * manual/install.texi (Tools for Compilation): Say that we do.
31704         * configure: Regenerated.
31706         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
31707         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
31708         * scripts/sysd-rules.awk: ... this new script.
31709         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
31710         than a glob-style pattern.
31712 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
31714         * math/test-misc.c (main): Do not treat incorrectly rounded
31715         conversions as failure unless ROUNDING_TESTS passes.
31717 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
31719         [BZ #15631]
31720         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
31721         restore exception state around main square root computation, then
31722         check for inexactness explicitly.
31724         * math/libm-test.inc (fma_test_data): Add another test.
31726 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31728         * manual/threads.texi (Non-POSIX Extensions): New document
31729         node.  Document pthread_getattr_default_np and
31730         pthread_setattr_default_np.
31732         * Versions.def (libpthread): Add GLIBC_2.18.
31733         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
31734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31735         Likewise.
31736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31737         Likewise.
31738         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31739         Likewise.
31740         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31741         Likewise.
31742         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
31743         Likewise.
31744         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31745         Likewise.
31746         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31747         Likewise.
31748         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
31749         Likewise.
31750         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31751         Likewise.
31753 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31755         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31756         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
31758 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31759             H.J. Lu  <hjl.tools@gmail.com>
31761         [BZ #15627]
31762         * sysdeps/x86_64/rtld-memset.c: Remove file.
31763         * sysdeps/x86_64/rtld-memset.S: New file.
31765 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
31767         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
31768         (test_in_one_mode): Take arguments for whether the rounding mode
31769         is supported for each floating-point type.
31770         (do_test): Pass new arguments to test_in_one_mode using
31771         ROUNDING_TESTS.
31773 2013-06-13  Roland McGrath  <roland@hack.frob.com>
31775         * posix/tst-waitid.c (do_test): Distinguish different instances of
31776         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
31777         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
31778         before entering the kernel for waitpid.
31780 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31782         * NEWS: Fix note on clock function precision.  Text by Roland
31783         McGrath.
31785 2013-06-13  Roland McGrath  <roland@hack.frob.com>
31787         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
31788         it into place only when and if the sanity check passes.
31790 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
31792         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
31793         output for whether conversion result is exact.  Take argument
31794         indicating whether type is IBM long double.
31795         (round_for_all): Change need_exact field to ibm_ld.
31796         * stdlib/tst-strtod-round.c (struct exactness): New type.
31797         (struct test): Change bool ld_ok field to struct exactness exact.
31798         (TEST): Update all definitions for change to field.
31799         (tests): Regenerate array contents.
31800         (test_in_one_mode): Take pointer to new field instead of old ld_ok
31801         field value.  Check for IBM long double here.
31802         (do_test): Update calls to test_in_one_mode.
31804 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31806         [BZ #12515]
31807         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
31808         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
31810 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31812         [BZ #15605]
31813         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
31814         generated by the compiler on loop optimizations.
31815         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
31816         general definitions.
31818 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
31820         * math/bug-nextafter.c: Include <math-tests.h>.
31821         (main): Only test for exceptions if EXCEPTION_TESTS is true for
31822         the relevant type.
31823         * math/bug-nexttoward.c: Include <math-tests.h>.
31824         (main): Only test for exceptions if EXCEPTION_TESTS is true for
31825         the relevant type.
31826         * math/test-misc.c: Include <math-tests.h>.
31827         (main): Only test for exceptions if EXCEPTION_TESTS is true for
31828         the relevant type.
31830 2013-06-12  Andreas Jaeger  <aj@suse.de>
31832         * po/ia.po: Update Interlingua translation from translation
31833         project.
31835 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31837         * include/fenv.h: Include stdbool.h.
31838         (struct rm_ctx): New structure.
31839         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
31840         Define macro.
31841         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
31842         (SET_RESTORE_ROUNDF): Likewise.
31843         (SET_RESTORE_ROUNDL): Likewise.
31844         (SET_RESTORE_ROUND_NOEX): Likewise.
31845         (SET_RESTORE_ROUND_NOEXF): Likewise.
31846         (SET_RESTORE_ROUND_NOEXL): Likewise.
31847         (SET_RESTORE_ROUND_53BIT): Likewise.
31848         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
31849         (libc_feresetround_noexf_ctx): Likewise.
31850         (libc_feresetround_noexl_ctx): Likewise.
31851         (libc_feholdsetround_53bit_ctx): Likewise.
31852         (libc_feresetround_53bit_ctx): Likewise.
31853         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
31854         (libc_feholdexcept_setround_sse_ctx): New function.
31855         (libc_fesetenv_sse_ctx): Likewise.
31856         (libc_feupdateenv_sse_ctx): Likewise.
31857         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
31858         (libc_feholdexcept_setround_387_ctx): Likewise.
31859         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
31860         (libc_feholdsetround_387_prec_ctx): Likewise.
31861         (libc_feholdsetround_387_ctx): Likewise.
31862         (libc_feholdsetround_387_53bit_ctx): Likewise.
31863         (libc_feholdsetround_sse_ctx): Likewise.
31864         (libc_feresetround_sse_ctx): Likewise.
31865         (libc_feresetround_387_ctx): Likewise.
31866         (libc_feupdateenv_387_ctx): Likewise.
31867         (libc_feholdexcept_setroundf_ctx): Define macro.
31868         (libc_fesetenvf_ctx): Likewise.
31869         (libc_feupdateenvf_ctx): Likewise.
31870         (libc_feholdsetroundf_ctx): Likewise.
31871         (libc_feresetroundf_ctx): Likewise.
31872         (libc_feholdexcept_setround_ctx): Likewise.
31873         (libc_fesetenv_ctx): Likewise.
31874         (libc_feupdateenv_ctx): Likewise.
31875         (libc_feholdsetround_ctx): Likewise.
31876         (libc_feresetround_ctx): Likewise.
31877         (libc_feholdexcept_setroundl_ctx): Likewise.
31878         (libc_feupdateenvl_ctx): Likewise.
31879         (libc_feholdsetroundl_ctx): Likewise.
31880         (libc_feresetroundl_ctx): Likewise.
31881         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
31882         (libc_feresetround_53bit_ctx): Likewise.
31884 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31886         * locale/iso-639.def: Convert to UTF-8.
31888 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
31890         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
31891         (EXCEPTION_TESTS_double): Likewise.
31892         (EXCEPTION_TESTS_long_double): Likewise.
31893         (EXCEPTION_TESTS): Likewise.
31894         * math/libm-test.inc (test_exceptions): Only test exceptions if
31895         EXCEPTION_TESTS (FLOAT).
31897 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31899         * benchtests/Makefile (string-bench): Add strcpy_chk and
31900         stpcpy_chk.
31901         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
31902         * benchtests/bench-stpcpy_chk.c: New file.
31903         * benchtests/bench-strcpy_chk-ifunc.c: New file.
31904         * benchtests/bench-strcpy_chk.c: New file.
31905         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
31906         code.
31907         (do_test): Likewise.
31909 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31911         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
31912         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
31913         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
31914         with tabs where appropriate.
31915         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
31916         dl-procinfo.h.
31917         [PPC_PLATFORM_PPC440]: Likewise.
31918         [PPC_PLATFORM_PPC464]: Likewise.
31919         [PPC_PLATFORM_PPC476]: Likewise.
31920         (_dl_string_platform): Add support for detecting ppc405, ppc440,
31921         ppc464, and ppc476 platform strings merging from ports/
31922         dl-procinfo.h.
31924 2013-06-11  Andreas Schwab  <schwab@suse.de>
31926         [BZ #14991]
31927         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
31928         (from_ucs4_idx): Regenerate.
31929         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
31930         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
31931         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
31932         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
31933         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
31934         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
31935         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
31936         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
31937         from FROM_LOOP and TO_LOOP specific macros.
31938         (BODY): Handle combining characters.
31939         * iconvdata/BIG5HKSCS.irreversible: Update.
31940         * iconvdata/BIG5HKSCS.precomposed: New file.
31941         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
31942         characters.
31943         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
31945 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31947         * include/sys/time.h: Fix indentation and add copyright header.
31949         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
31950         (do_test): Likewise.
31951         * string/test-memchr.c (do_one_test): Likewise.
31952         (do_test): Likewise.
31953         * string/test-memcmp.c (do_one_test): Likewise.
31954         (do_test): Likewise.
31955         * string/test-memcpy.c (do_one_test): Likewise.
31956         (do_test): Likewise.
31957         * string/test-memmem.c (do_one_test): Likewise.
31958         (do_test): Likewise.
31959         (do_random_tests): Likewise.
31960         * string/test-memmove.c (do_one_test): Likewise.
31961         (do_test): Likewise.
31962         * string/test-memset.c (do_one_test): Likewise.
31963         (do_test): Likewise.
31964         * string/test-rawmemchr.c (do_one_test): Likewise.
31965         (do_test): Likewise.
31966         * string/test-strcasecmp.c (do_one_test): Likewise.
31967         (do_test): Likewise.
31968         * string/test-strcasestr.c (do_one_test): Likewise.
31969         (do_test): Likewise.
31970         * string/test-strcat.c (do_one_test): Likewise.
31971         (do_test): Likewise.
31972         * string/test-strchr.c (do_one_test): Likewise.
31973         (do_test): Likewise.
31974         * string/test-strcmp.c (do_one_test): Likewise.
31975         (do_test): Likewise.
31976         * string/test-strcpy.c (do_one_test): Likewise.
31977         (do_test): Likewise.
31978         * string/test-string.h: Likewise.
31979         (test_init): Likewise.
31980         * string/test-strlen.c (do_one_test): Likewise.
31981         (do_test): Likewise.
31982         * string/test-strncasecmp.c (do_one_test): Likewise.
31983         (do_test): Likewise.
31984         * string/test-strncat.c (do_one_test): Likewise.
31985         (do_test): Likewise.
31986         * string/test-strncmp.c (do_one_test): Likewise.
31987         (do_test_limit): Likewise.
31988         (do_test): Likewise.
31989         * string/test-strncpy.c (do_one_test): Likewise.
31990         (do_test): Likewise.
31991         * string/test-strnlen.c (do_one_test): Likewise.
31992         (do_test): Likewise.
31993         * string/test-strpbrk.c (do_one_test): Likewise.
31994         (do_test): Likewise.
31995         * string/test-strrchr.c (do_one_test): Likewise.
31996         (do_test): Likewise.
31997         * string/test-strspn.c (do_one_test): Likewise.
31998         (do_test): Likewise.
31999         * string/test-strstr.c (do_one_test): Likewise.
32000         (do_test): Likewise.
32002         * benchtests/Makefile (string-bench): Add string benchmarks.
32003         * benchtests/bench-bcopy-ifunc.c: New file.
32004         * benchtests/bench-bcopy.c: New file.
32005         * benchtests/bench-bzero-ifunc.c: New file.
32006         * benchtests/bench-bzero.c: New file.
32007         * benchtests/bench-memccpy-ifunc.c: New file.
32008         * benchtests/bench-memccpy.c: New file.
32009         * benchtests/bench-memchr-ifunc.c: New file.
32010         * benchtests/bench-memchr.c: New file.
32011         * benchtests/bench-memcmp-ifunc.c: New file.
32012         * benchtests/bench-memcmp.c: New file.
32013         * benchtests/bench-memmem-ifunc.c: New file.
32014         * benchtests/bench-memmem.c: New file.
32015         * benchtests/bench-memmove-ifunc.c: New file.
32016         * benchtests/bench-memmove.c: New file.
32017         * benchtests/bench-mempcpy-ifunc.c: New file.
32018         * benchtests/bench-mempcpy.c: New file.
32019         * benchtests/bench-memset-ifunc.c: New file.
32020         * benchtests/bench-memset.c: New file.
32021         * benchtests/bench-rawmemchr-ifunc.c: New file.
32022         * benchtests/bench-rawmemchr.c: New file.
32023         * benchtests/bench-stpcpy-ifunc.c: New file.
32024         * benchtests/bench-stpcpy.c: New file.
32025         * benchtests/bench-stpncpy-ifunc.c: New file.
32026         * benchtests/bench-stpncpy.c: New file.
32027         * benchtests/bench-strcasecmp-ifunc.c: New file.
32028         * benchtests/bench-strcasecmp.c: New file.
32029         * benchtests/bench-strcasestr-ifunc.c: New file.
32030         * benchtests/bench-strcasestr.c: New file.
32031         * benchtests/bench-strcat-ifunc.c: New file.
32032         * benchtests/bench-strcat.c: New file.
32033         * benchtests/bench-strchr-ifunc.c: New file.
32034         * benchtests/bench-strchr.c: New file.
32035         * benchtests/bench-strchrnul-ifunc.c: New file.
32036         * benchtests/bench-strchrnul.c: New file.
32037         * benchtests/bench-strcmp-ifunc.c: New file.
32038         * benchtests/bench-strcmp.c: New file.
32039         * benchtests/bench-strcpy-ifunc.c: New file.
32040         * benchtests/bench-strcpy.c: New file.
32041         * benchtests/bench-strcspn-ifunc.c: New file.
32042         * benchtests/bench-strcspn.c: New file.
32043         * benchtests/bench-strlen-ifunc.c: New file.
32044         * benchtests/bench-strlen.c: New file.
32045         * benchtests/bench-strncasecmp-ifunc.c: New file.
32046         * benchtests/bench-strncasecmp.c: New file.
32047         * benchtests/bench-strncat-ifunc.c: New file.
32048         * benchtests/bench-strncat.c: New file.
32049         * benchtests/bench-strncmp-ifunc.c: New file.
32050         * benchtests/bench-strncmp.c: New file.
32051         * benchtests/bench-strncpy-ifunc.c: New file.
32052         * benchtests/bench-strncpy.c: New file.
32053         * benchtests/bench-strnlen-ifunc.c: New file.
32054         * benchtests/bench-strnlen.c: New file.
32055         * benchtests/bench-strpbrk-ifunc.c: New file.
32056         * benchtests/bench-strpbrk.c: New file.
32057         * benchtests/bench-strrchr-ifunc.c: New file.
32058         * benchtests/bench-strrchr.c: New file.
32059         * benchtests/bench-strspn-ifunc.c: New file.
32060         * benchtests/bench-strspn.c: New file.
32061         * benchtests/bench-strstr-ifunc.c: New file.
32062         * benchtests/bench-strstr.c: New file.
32064         * benchtests/Makefile: Disable parallel execution of targets.
32065         (string-bench): Add memcpy.
32066         (benchset): New variable to store a list of benchmark sets.
32067         (bench-func): Renamed from bench.
32068         (bench-set): New target.
32069         (bench): Depend on bench-func and bench-set.
32070         * benchtests/README: Add section on benchmark sets.
32071         * benchtests/bench-memcpy-ifunc.c: New file.
32072         * benchtests/bench-memcpy.c: New file.
32073         * benchtests/bench-string.h: New file.
32075 2013-06-11  Andreas Schwab  <schwab@suse.de>
32077         [BZ #15577]
32078         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
32079         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
32080         values in the triple.
32081         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
32082         terminator in the group key.
32084 2013-06-11  Andreas Jaeger  <aj@suse.de>
32086         * po/zh_TW.po: Update Chinese (traditional) translation from
32087         translation project.
32089 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32091         * include/time.h (__clock_gettime): Add libc_hidden_proto.
32092         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
32093         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
32094         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32095         (clock_getcpuclockid): Likewise.
32096         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
32097         Add weak_alias and libc_hidden_def.
32098         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
32099         * rt/clock_gettime.c (clock_gettime): Rename to
32100         __clock_gettime.  Add weak_alias and libc_hidden_def.
32101         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
32102         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
32103         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
32104         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
32105         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
32106         Likewise.
32107         * rt/clock_settime.c (clock_settime): Rename to
32108         __clock_settime.  Add weak_alias and libc_hidden_def.
32109         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
32111 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
32113         * mach/err_boot.sub: Remove trailing whitespace.
32114         * mach/err_ipc.sub: Likewise.
32115         * mach/err_mach.sub: Likewise.
32117         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
32118         (ROUNDING_TESTS_double): Likewise.
32119         (ROUNDING_TESTS_long_double): Likewise.
32120         (ROUNDING_TESTS): Likewise.
32121         * math/libm-test.inc: Include <math-tests.h>.
32122         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
32123         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
32124         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
32125         (IF_ROUND_INIT_FE_UPWARD): Likewise.
32127 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32129         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
32130         of assigning.
32132 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
32134         * sysdeps/gnu/errlist.awk: Do not generate space at end of
32135         otherwise empty TRANS lines.
32136         * sysdeps/gnu/errlist.c: Regenerated.
32138         * catgets/gencat.c (error_print): Use (void) in function
32139         definition.
32140         * crypt/crypt_util.c (__init_des): Likewise.
32141         * crypt/speeds.c (Stop): Likewise.
32142         (main): Likewise.
32143         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
32144         * inet/ruserpass.c (token): Likewise.
32145         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
32146         * intl/localealias.c (extend_alias_table): Likewise.
32147         * intl/plural-exp.c (init_germanic_plural): Likewise.
32148         * libio/fcloseall.c (__fcloseall): Likewise.
32149         * libio/genops.c (_IO_flush_all): Likewise.
32150         (_IO_flush_all_linebuffered): Likewise.
32151         (_IO_cleanup): Likewise.
32152         (_IO_iter_begin): Likewise.
32153         (_IO_iter_end): Likewise.
32154         (_IO_list_lock): Likewise.
32155         (_IO_list_unlock): Likewise.
32156         (_IO_list_resetlock): Likewise.
32157         * libio/getchar.c (getchar): Likewise.
32158         * libio/getchar_u.c (getchar_unlocked): Likewise.
32159         * libio/getwchar.c (getwchar): Likewise.
32160         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
32161         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
32162         * login/getpt.c (__getpt): Likewise.
32163         * login/tst-utmp.c (main): Likewise.
32164         * malloc/hooks.c (__malloc_check_init): Likewise.
32165         * malloc/malloc.c (__malloc_stats): Likewise.
32166         * malloc/mtrace.c (tr_break): Likewise.
32167         (mtrace): Likewise.
32168         (muntrace): Likewise.
32169         * misc/fstab.c (endfsent): Likewise.
32170         * misc/getclktck.c (__getclktck): Likewise.
32171         * misc/getdtsz.c (__getdtablesize): Likewise.
32172         * misc/gethostid.c (gethostid): Likewise.
32173         * misc/getpagesize.c (__getpagesize): Likewise.
32174         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
32175         (__get_nprocs): Likewise.
32176         (__get_phys_pages): Likewise.
32177         (__get_avphys_pages): Likewise.
32178         * misc/getttyent.c (getttyent): Likewise.
32179         (setttyent): Likewise.
32180         (endttyent): Likewise.
32181         * misc/getusershell.c (getusershell): Likewise.
32182         (endusershell): Likewise.
32183         (setusershell): Likewise.
32184         (initshells): Likewise.
32185         * misc/hsearch.c (__hdestroy): Likewise.
32186         * misc/sync.c (sync): Likewise.
32187         * misc/syslog.c (closelog_internal): Likewise.
32188         (closelog): Likewise.
32189         * misc/ttyslot.c (ttyslot): Likewise.
32190         * misc/vhangup.c (vhangup): Likewise.
32191         * posix/fork.c (__fork): Likewise.
32192         * posix/getegid.c (__getegid): Likewise.
32193         * posix/geteuid.c (__geteuid): Likewise.
32194         * posix/getgid.c (__getgid): Likewise.
32195         * posix/getpid.c (__getpid): Likewise.
32196         * posix/getppid.c (__getppid): Likewise.
32197         * posix/getuid.c (__getuid): Likewise.
32198         * posix/pause.c (pause): Likewise.
32199         * posix/setpgrp.c (setpgrp): Likewise.
32200         * posix/setsid.c (__setsid): Likewise.
32201         * posix/test-vfork.c (noop): Likewise.
32202         * resolv/gethnamaddr.c (_endhtent): Likewise.
32203         (_gethtent): Likewise.
32204         (ht_endhostent): Likewise.
32205         (gethostent): Likewise.
32206         (dns_service): Likewise.
32207         * stdlib/drand48.c (drand48): Likewise.
32208         * stdlib/lrand48.c (lrand48): Likewise.
32209         * stdlib/mrand48.c (mrand48): Likewise.
32210         * stdlib/rand.c (rand): Likewise.
32211         * stdlib/random.c (__random): Likewise.
32212         * stdlib/setenv.c (clearenv): Likewise.
32213         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
32214         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
32215         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
32216         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
32217         (__get_nprocs): Likewise.
32218         (__get_phys_pages): Likewise.
32219         (__get_avphys_pages): Likewise.
32220         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
32221         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
32222         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
32223         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
32224         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
32225         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
32226         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
32227         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
32228         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
32229         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
32230         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
32231         * sysdeps/mach/hurd/sync.c (sync): Likewise.
32232         * sysdeps/posix/clock.c (clock): Likewise.
32233         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
32234         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
32235         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
32236         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
32237         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
32238         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32239         (__get_nprocs_conf): Likewise.
32240         (__get_phys_pages): Likewise.
32241         (__get_avphys_pages): Likewise.
32242         * time/clock.c (clock): Likewise.
32243         * time/tzset.c (__tzname_max): Likewise.
32245 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
32247         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
32248         (__bswap_32): Do not use "register".
32249         * crypt/crypt.c (_ufc_doit_r): Likewise.
32250         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
32251         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
32252         * gmon/gmon.c (__monstartup): Likewise.
32253         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
32254         * hurd/hurdmalloc.c (more_memory): Likewise.
32255         (malloc): Likewise.
32256         (free): Likewise.
32257         (realloc): Likewise.
32258         (malloc_fork_prepare): Likewise.
32259         (malloc_fork_parent): Likewise.
32260         (malloc_fork_child): Likewise.
32261         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
32262         (_svcauth_des): Likewise.
32263         * inet/inet_lnaof.c (inet_lnaof): Likewise.
32264         * inet/inet_net.c (inet_network): Likewise.
32265         * inet/inet_netof.c (inet_netof): Likewise.
32266         * inet/rcmd.c (__validuser2_sa): Likewise.
32267         * io/fts.c (fts_open): Likewise.
32268         (fts_load): Likewise.
32269         (fts_close): Likewise.
32270         (fts_read): Likewise.
32271         (fts_children): Likewise.
32272         (fts_build): Likewise.
32273         (fts_stat): Likewise.
32274         (fts_sort): Likewise.
32275         (fts_alloc): Likewise.
32276         (fts_lfree): Likewise.
32277         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
32278         (_IO_file_xsgetn): Likewise.
32279         (_IO_file_xsgetn_mmap): Likewise.
32280         * libio/iofopncook.c (_IO_cookie_read): Likewise.
32281         (_IO_cookie_write): Likewise.
32282         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
32283         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
32284         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
32285         * malloc/obstack.c (_obstack_begin): Likewise.
32286         (_obstack_begin_1): Likewise.
32287         (_obstack_newchunk): Likewise.
32288         (_obstack_allocated_p): Likewise.
32289         (obstack_free): Likewise.
32290         (_obstack_memory_used): Likewise.
32291         * misc/getttyent.c (getttynam): Likewise.
32292         (getttyent): Likewise.
32293         (skip): Likewise.
32294         (value): Likewise.
32295         * misc/getusershell.c (initshells): Likewise.
32296         * misc/syslog.c (__vsyslog_chk): Likewise.
32297         * misc/ttyslot.c (ttyslot): Likewise.
32298         * nis/nis_hash.c (__nis_hash): Likewise.
32299         * posix/fnmatch_loop.c (FCT): Likewise.
32300         * posix/getconf.c (print_all): Likewise.
32301         (main): Likewise.
32302         * posix/getopt.c (exchange): Likewise.
32303         * posix/glob.c (globfree): Likewise.
32304         (prefix_array): Likewise.
32305         (__glob_pattern_type): Likewise.
32306         * resolv/arpa/nameser.h (NS_GET16): Likewise.
32307         (NS_GET32): Likewise.
32308         (NS_PUT16): Likewise.
32309         (NS_PUT32): Likewise.
32310         * resolv/gethnamaddr.c (getanswer): Likewise.
32311         (gethostbyname2): Likewise.
32312         (gethostbyaddr): Likewise.
32313         (_gethtent): Likewise.
32314         (_gethtbyname2): Likewise.
32315         (_gethtbyaddr): Likewise.
32316         * resolv/ns_print.c (dst_s_get_int16): Likewise.
32317         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
32318         * resolv/res_init.c (__res_vinit): Likewise.
32319         (net_mask): Likewise.
32320         * resolv/res_mkquery.c (outchar): Likewise.
32321         (PRINT): Likewise.
32322         * stdio-common/printf_fp.c (outchar): Likewise.
32323         (PRINT): Likewise.
32324         * stdio-common/printf_fphex.c (outchar): Likewise.
32325         (PRINT): Likewise.
32326         * stdio-common/printf_size.c (outchar): Likewise.
32327         (PRINT): Likewise.
32328         * stdio-common/test_rdwr.c (main): Likewise.
32329         * stdio-common/tfformat.c (matches): Likewise.
32330         * stdio-common/vfprintf.c (outchar): Likewise.
32331         (printf_unknown): Likewise.
32332         (buffered_vfprintf): Likewise.
32333         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
32334         * stdio-common/xbug.c (AppendToBuffer): Likewise.
32335         (ReadFile): Likewise.
32336         * stdlib/qsort.c (SWAP): Likewise.
32337         (_quicksort): Likewise.
32338         * stdlib/setenv.c (__add_to_environ): Likewise.
32339         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
32340         * stdlib/strtol_l.c (__strtol_l): Likewise.
32341         * stdlib/tst-strtod.c (main): Likewise.
32342         * stdlib/tst-strtol.c (main): Likewise.
32343         * stdlib/tst-strtoll.c (main): Likewise.
32344         * string/bits/string2.h (__strcmp_cc): Likewise.
32345         (__strcmp_cg): Likewise.
32346         (__strcspn_c1): Likewise.
32347         (__strcspn_c2): Likewise.
32348         (__strcspn_c3): Likewise.
32349         (__strspn_c1): Likewise.
32350         (__strspn_c2): Likewise.
32351         (__strspn_c3): Likewise.
32352         (__strsep_1c): Likewise.
32353         (__strsep_2c): Likewise.
32354         (__strsep_3c): Likewise.
32355         * string/memccpy.c (__memccpy): Likewise.
32356         * string/stpcpy.c (__stpcpy): Likewise.
32357         * string/strcmp.c (strcmp): Likewise.
32358         * string/strrchr.c (strrchr): Likewise.
32359         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
32360         Likewise.
32361         * sysdeps/mach/hurd/getcwd.c
32362         (_hurd_canonicalize_directory_name_internal): Likewise.
32363         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
32364         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
32365         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
32366         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
32367         Likewise, in both definitions.
32368         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
32369         definitions.
32370         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
32371         64] (__bswap_64): Likewise.
32372         * time/test_time.c (main): Likewise.
32373         * time/tzfile.c (__tzfile_read): Likewise.
32374         (__tzfile_compute): Likewise.
32375         * time/tzset.c (__tzset_parse_tz): Likewise.
32376         (tzset_internal): Likewise.
32377         (compute_change): Likewise.
32378         * wcsmbs/wcscat.c (__wcscat): Likewise.
32379         * wcsmbs/wcschr.c (wcschr): Likewise.
32380         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
32381         * wcsmbs/wcscspn.c (wcscspn): Likewise.
32382         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
32383         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
32384         * wcsmbs/wcsspn.c (wcsspn): Likewise.
32385         * wcsmbs/wcsstr.c (wcsstr): Likewise.
32386         * wcsmbs/wmemchr.c (wmemchr): Likewise.
32387         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32388         * wcsmbs/wmemset.c (wmemset): Likewise.
32390 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
32392         * scripts/config.guess: Update to version 2013-05-16.
32393         * scripts/config.sub: Update to version 2013-04-24.
32394         * scripts/install-sh: Update to version 2011-11-20.07.
32395         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
32396         * scripts/move-if-change: Update to version 2012-01-06 07:23.
32398 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
32400         * debug/fgetws_u_chk.c: Fix leading whitespaces.
32401         * elf/sln.c: Likewise.
32402         * hurd/hurd/ioctl.h: Likewise.
32403         * hurd/hurdmalloc.c: Likewise.
32404         * hurd/xattr.c: Likewise.
32405         * include/shlib-compat.h: Likewise.
32406         * inet/ruserpass.c: Likewise.
32407         * libio/iofgets_u.c: Likewise.
32408         * libio/iofgetws_u.c: Likewise.
32409         * locale/programs/ld-identification.c: Likewise.
32410         * locale/programs/ld-time.c: Likewise.
32411         * mach/msg-destroy.c: Likewise.
32412         * nss/nss_files/files-netgrp.c: Likewise.
32413         * resolv/res_data.c: Likewise.
32414         * soft-fp/op-1.h: Likewise.
32415         * soft-fp/op-2.h: Likewise.
32416         * soft-fp/op-4.h: Likewise.
32417         * soft-fp/op-common.h: Likewise.
32418         * stdio-common/printf_fphex.c: Likewise.
32419         * stdlib/strtod_l.c: Likewise.
32420         * sunrpc/rpc/clnt.h: Likewise.
32421         * sysdeps/generic/framestate.c: Likewise.
32422         * sysdeps/i386/bsd-_setjmp.S: Likewise.
32423         * sysdeps/i386/bsd-setjmp.S: Likewise.
32424         * sysdeps/i386/__longjmp.S: Likewise.
32425         * sysdeps/i386/setjmp.S: Likewise.
32426         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32427         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32428         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32429         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32430         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32431         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
32432         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32433         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32434         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32435         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
32436         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
32437         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
32438         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
32439         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
32440         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
32441         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32442         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
32443         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
32444         * sysdeps/ieee754/support.c: Likewise.
32445         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32446         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
32447         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
32448         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
32449         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
32450         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
32451         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
32452         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
32453         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
32454         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
32455         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
32456         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
32457         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
32458         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
32459         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
32460         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
32461         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
32464 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
32466         * posix/transbug.c: Remove executable mode.
32468 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
32470         * crypt/speeds.c: Remove trailing whitespace.
32471         * dlfcn/default.c: Likewise.
32472         * elf/ifuncdep2.c: Likewise.
32473         * elf/ifuncmain1.c: Likewise.
32474         * elf/ifuncmain1vis.c: Likewise.
32475         * elf/testobj.h: Likewise.
32476         * elf/tst-stackguard1.c: Likewise.
32477         * gmon/sys/gmon.h: Likewise.
32478         * hurd/hurdmsg.c: Likewise.
32479         * hurd/new-fd.c: Likewise.
32480         * hurd/ports-get.c: Likewise.
32481         * iconvdata/ibm1008_420.c: Likewise.
32482         * inet/tst-getni1.c: Likewise.
32483         * inet/tst-getni2.c: Likewise.
32484         * libio/ioungetc.c: Likewise.
32485         * libio/wfiledoalloc.c: Likewise.
32486         * manual/libm-err-tab.pl: Likewise.
32487         * math/w_dremf.c: Likewise.
32488         * misc/ftruncate.c: Likewise.
32489         * posix/bug-glob2.c: Likewise.
32490         * posix/tst-pcre.c: Likewise.
32491         * posix/wait4.c: Likewise.
32492         * resolv/README: Likewise.
32493         * resolv/res_debug.h: Likewise.
32494         * resolv/tst-inet_ntop.c: Likewise.
32495         * setjmp/bug269-setjmp.c: Likewise.
32496         * soft-fp/extended.h: Likewise.
32497         * soft-fp/op-1.h: Likewise.
32498         * soft-fp/op-2.h: Likewise.
32499         * soft-fp/op-4.h: Likewise.
32500         * soft-fp/op-8.h: Likewise.
32501         * soft-fp/testit.c: Likewise.
32502         * stdio-common/bug16.c: Likewise.
32503         * stdlib/random.c: Likewise.
32504         * sunrpc/rpcsvc/rquota.x: Likewise.
32505         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
32506         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32507         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32508         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32509         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32510         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32511         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32512         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32513         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32514         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32515         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32516         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
32517         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32518         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
32519         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32520         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
32521         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
32522         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32523         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
32524         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32525         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32526         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32527         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
32528         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
32529         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
32530         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
32531         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32532         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
32533         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32534         * sysdeps/ieee754/s_lib_version.c: Likewise.
32535         * sysdeps/mach/hurd/check_fds.c: Likewise.
32536         * sysdeps/mach/hurd/getsockname.c: Likewise.
32537         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
32538         * sysdeps/mach/hurd/recvfrom.c: Likewise.
32539         * sysdeps/powerpc/bits/link.h: Likewise.
32540         * sysdeps/powerpc/dl-procinfo.c: Likewise.
32541         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
32542         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
32543         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
32544         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
32545         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
32546         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
32547         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
32548         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
32549         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32550         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
32551         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
32552         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
32553         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32554         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32555         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32556         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
32557         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
32558         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32559         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32560         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32561         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
32562         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32563         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
32564         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
32565         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
32566         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
32567         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32568         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32569         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
32570         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
32571         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
32572         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32573         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32574         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
32575         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
32576         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
32577         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
32578         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
32579         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
32580         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
32581         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
32582         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
32583         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
32584         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
32585         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
32586         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
32587         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
32588         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
32589         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
32590         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32591         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32592         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32593         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32594         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
32595         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
32596         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
32597         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32598         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
32599         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
32600         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
32601         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
32602         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
32603         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32604         * sysdeps/powerpc/sysdep.h: Likewise.
32605         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32606         * sysdeps/s390/s390-64/sub_n.S: Likewise.
32607         * sysdeps/sh/dl-trampoline.S: Likewise.
32608         * sysdeps/sh/memset.S: Likewise.
32609         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
32610         * sysdeps/sh/strlen.S: Likewise.
32611         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
32612         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
32613         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
32614         * sysdeps/sparc/sparc32/rem.S: Likewise.
32615         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
32616         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
32617         * sysdeps/sparc/sparc32/strchr.S: Likewise.
32618         * sysdeps/sparc/sparc32/udiv.S: Likewise.
32619         * sysdeps/sparc/sparc32/urem.S: Likewise.
32620         * sysdeps/sparc/sparc64/add_n.S: Likewise.
32621         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32622         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
32623         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
32624         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
32625         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
32626         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
32627         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
32628         * sysdeps/unix/bsd/times.c: Likewise.
32629         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
32630         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
32631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
32632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
32633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
32634         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
32635         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
32636         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
32637         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
32638         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
32639         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
32640         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
32641         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
32642         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32643         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
32644         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
32645         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
32646         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
32647         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
32648         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
32649         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
32650         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
32651         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32652         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
32653         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
32654         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
32655         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
32656         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
32657         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
32658         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
32659         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
32660         * sysdeps/x86_64/strcspn.S: Likewise.
32662 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32664         * locale/C-translit.h: Revert #include <stdint.h> because this is a
32665         generated file.  Regenerate properly from gen-translit.pl.
32666         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
32667         locale/C-translit.h.
32669 2013-06-05  Andreas Schwab  <schwab@suse.de>
32671         [BZ #15100]
32672         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
32673         week as 6 instead of -1.
32674         * time/tst-strptime.c (day_tests): Add test case.
32676 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32678         * sysdeps/generic/math_private.h
32679         (libc_feholdexcept_setround_53bit): Replace with
32680         libc_feholdsetround_53bit.
32681         (libc_feupdateenv_53bit): Replace with
32682         libc_feresetround_53bit.
32683         (SET_RESTORE_ROUND_53BIT): Adjust.
32685 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
32687         * string/test-strchrnul.c: Add copyright header.
32689         * posix/tst-getaddrinfo4.c: Increase test timeout.
32691 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
32693         [BZ #15536]
32694         * math/libm-test.inc (MAX_EXP): Remove
32695         (MIN_EXP): Define.
32696         (ulp): Use MIN_EXP - MANT_DIG.
32697         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
32699 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
32701         * po/be.po: Revert last change.
32702         * po/zh_CN.po: Likewise.
32703         * po/header.pot: Likewise.
32705 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
32707         * Makefile ($(common-objpfx)linkobj/libc.so): Define
32708         link-libc-deps to empty as target-specific variable.
32709         * Makerules (link-libc-args): New variable.
32710         (libc-for-link): Likewise.
32711         (link-libc-deps): Likewise.
32712         (lib%.so): Depend on $(link-libc-deps).  Link with
32713         $(link-libc-args).
32714         (build-module): Link with $(link-libc-args).
32715         (build-module-asneeded): Likewise.
32716         (build-module-helper-objlist): Filter out $(link-libc-deps) from
32717         list of objects.
32718         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
32719         target-specific variable.
32720         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
32721         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
32722         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
32723         libc.
32724         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
32725         libc and ld.so.
32726         ($(objpfx)libpcprofile.so): Likewise.
32727         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
32728         libc_nonshared.a.
32729         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
32730         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
32731         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
32732         $(link-libc-deps).
32733         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
32734         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
32735         * login/Makefile ($(objpfx)libutil.so): Likewise.
32736         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
32737         * math/Makefile ($(objpfx)libm.so): Likewise.
32738         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
32739         $(objpfx)libnsl.so): Define libc-for-link as target-specific
32740         variable instead of depending directly on libc.
32741         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
32742         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
32743         $(link-libc-deps).
32744         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
32745         libc.
32746         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
32747         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
32748         ($(objpfx)libanl.so): Likewise.
32749         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
32750         ld.so.
32751         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
32752         $(link-libc-deps).
32753         * sysdeps/i386/fpu/Makefile: Remove file.
32754         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
32755         ($(objpfx)libm.so): Remove dependency on ld.so.
32757 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
32759         [BZ # 15553]
32760         * nis/yp_xdr.c (XDRMAXNAME): Define.
32761         (XDRMAXRECORD): Define.
32762         (xdr_domainname): Use XDRMAXNAME.
32763         (xdr_mapname): Likewise.
32764         (xdr_peername): Likewise.
32765         (xdr_keydat): Use XDRMAXRECORD.
32766         (xdr_valdat): Likewise.
32768 2013-05-30  Jeff Law  <law@redhat.com>
32770         [BZ #14256]
32771         * manual/errno.texi (ESTALE): Update to account for more than
32772         just NFS file systems.
32773         * sysdeps/gnu/errlist.c: Regenerated.
32775 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
32777         [BZ #15465]
32778         * elf/Makefile (tests): Add tst-null-argv.
32779         (modules-names):  Add tst-null-argv-lib.
32780         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
32781         (tst-null-argv-ENV): Set environment for tst-null-argv.
32782         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
32783         (RTLD_PROGNAME): New macro.
32784         * elf/tst-null-argv.c: New test case.
32785         * elf/tst-null-argv-lib.c: Library for test case.
32786         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
32787         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
32788         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
32789         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
32790         * elf/dl-init.c (call_init): Likewise.
32791         (_dl_init): Likewise.
32792         * elf/dl-load.c (print_search_path): Likewise.
32793         (_dl_map_object): Likewise.
32794         * elf/dl-lookup.c (do_lookup_x): Likewise.
32795         (add_dependency): Likewise.
32796         (_dl_lookup_symbol_x): Likewise.
32797         (_dl_debug_bindings): Likewise.
32798         * elf/dl-open.c (_dl_show_scope): Likewise.
32799         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
32800         * elf/dl-version.c (match_symbol): Likewise.
32801         (_dl_check_map_versions): Likewise.
32802         * elf/rtld.c (dl_main): Likewise.
32803         (print_unresolved): Use RTLD_PROGNAME.
32804         (print_missing_version): Likewise.
32805         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
32806         (elf_machine_rela): Likewise.
32807         * sysdeps/powerpc/powerpc32/dl-machine.c
32808         (__process_machine_rela): Likewise.
32809         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32810         Likewise.
32811         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32812         Likewise.
32813         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
32814         Likewise.
32815         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32816         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
32817         Likewise.
32818         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
32819         Likewise.
32820         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32822 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
32824         * po/be.po: Add descriptive title.
32825         * po/zh_CN.po: Likewise.
32826         * po/header.pot: Likewise.
32828 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
32830         * locale/programs/locarchive.c (create_archive): Inlucde fname in
32831         error message.
32832         (enlarge_archive): Likewise.
32834 2013-05-28  Ben North  <ben@redfrontdoor.org>
32836         * manual/arith.texi (frexp): It is the magnitude of the return
32837         value which lies in [0.5, 1), not the return value itself.
32839 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32841         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32843 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
32845         * stdio-common/bug26.c (main): Correct fscanf template.
32847         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
32848         declare _dl_skip_args.
32850         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
32851         Don't declare.
32853         * manual/platform.texi: Add missing @end deftypefun.
32855 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
32857         [BZ #15529]
32858         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
32859         bit of mantissa of 2^16382.
32860         * math/libm-test.inc (hypot_test_data): Add more tests.
32862         * math/libm-test.inc: Add drem and pow10 to list of tested
32863         functions.
32864         (pow10_test): New function.
32865         (drem_test): Likewise.
32866         (drem_test_tonearest): Likewise.
32867         (drem_test_towardzero): Likewise.
32868         (drem_test_downward): Likewise.
32869         (drem_test_upward): Likewise.
32870         (main): Call the new functions.
32872         * math/libm-test.inc (finite_test_data): Remove.
32873         (finite_test): Run tests from isfinite_test_data.
32874         (gamma_test_data): Remove.
32875         (gamma_test): Run tests from lgamma_test_data.
32876         * sysdeps/i386/fpu/libm-test-ulps: Update.
32877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32879 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32881         * manual/platform.texi: Add PowerPC PPR function set documentation.
32882         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
32883         implementation.
32885 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
32887         * math/libm-test.inc (MAX_EXP): Define.
32888         (ULPDIFF): Define.
32889         (ulp): New function.
32890         (check_float_internal): Use ULPDIFF.
32891         (cpow_test): Disable failing test.
32892         (check_ulp): Test ulp() implemetnation.
32893         (main): Call check_ulp before starting tests.
32895 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
32897         * math/gen-libm-test.pl (generate_testfile): Do not handle
32898         START_DATA and END_DATA.
32899         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
32900         END_DATA.
32901         (acos_tonearest_test_data): Likewise.
32902         (acos_towardzero_test_data): Likewise.
32903         (acos_downward_test_data): Likewise.
32904         (acos_upward_test_data): Likewise.
32905         (acosh_test_data): Likewise.
32906         (asin_test_data): Likewise.
32907         (asin_tonearest_test_data): Likewise.
32908         (asin_towardzero_test_data): Likewise.
32909         (asin_downward_test_data): Likewise.
32910         (asin_upward_test_data): Likewise.
32911         (asinh_test_data): Likewise.
32912         (atan_test_data): Likewise.
32913         (atanh_test_data): Likewise.
32914         (atan2_test_data): Likewise.
32915         (cabs_test_data): Likewise.
32916         (cacos_test_data): Likewise.
32917         (cacosh_test_data): Likewise.
32918         (carg_test_data): Likewise.
32919         (casin_test_data): Likewise.
32920         (casinh_test_data): Likewise.
32921         (catan_test_data): Likewise.
32922         (catanh_test_data): Likewise.
32923         (cbrt_test_data): Likewise.
32924         (ccos_test_data): Likewise.
32925         (ccosh_test_data): Likewise.
32926         (ceil_test_data): Likewise.
32927         (cexp_test_data): Likewise.
32928         (cimag_test_data): Likewise.
32929         (clog_test_data): Likewise.
32930         (clog10_test_data): Likewise.
32931         (conj_test_data): Likewise.
32932         (copysign_test_data): Likewise.
32933         (cos_test_data): Likewise.
32934         (cos_tonearest_test_data): Likewise.
32935         (cos_towardzero_test_data): Likewise.
32936         (cos_downward_test_data): Likewise.
32937         (cos_upward_test_data): Likewise.
32938         (cosh_test_data): Likewise.
32939         (cosh_tonearest_test_data): Likewise.
32940         (cosh_towardzero_test_data): Likewise.
32941         (cosh_downward_test_data): Likewise.
32942         (cosh_upward_test_data): Likewise.
32943         (cpow_test_data): Likewise.
32944         (cproj_test_data): Likewise.
32945         (creal_test_data): Likewise.
32946         (csin_test_data): Likewise.
32947         (csinh_test_data): Likewise.
32948         (csqrt_test_data): Likewise.
32949         (ctan_test_data): Likewise.
32950         (ctan_tonearest_test_data): Likewise.
32951         (ctan_towardzero_test_data): Likewise.
32952         (ctan_downward_test_data): Likewise.
32953         (ctan_upward_test_data): Likewise.
32954         (ctanh_test_data): Likewise.
32955         (ctanh_tonearest_test_data): Likewise.
32956         (ctanh_towardzero_test_data): Likewise.
32957         (ctanh_downward_test_data): Likewise.
32958         (ctanh_upward_test_data): Likewise.
32959         (erf_test_data): Likewise.
32960         (erfc_test_data): Likewise.
32961         (exp_test_data): Likewise.
32962         (exp_tonearest_test_data): Likewise.
32963         (exp_towardzero_test_data): Likewise.
32964         (exp_downward_test_data): Likewise.
32965         (exp_upward_test_data): Likewise.
32966         (exp10_test_data): Likewise.
32967         (exp2_test_data): Likewise.
32968         (expm1_test_data): Likewise.
32969         (fabs_test_data): Likewise.
32970         (fdim_test_data): Likewise.
32971         (finite_test_data): Likewise.
32972         (floor_test_data): Likewise.
32973         (fma_test_data): Likewise.
32974         (fma_towardzero_test_data): Likewise.
32975         (fma_downward_test_data): Likewise.
32976         (fma_upward_test_data): Likewise.
32977         (fmax_test_data): Likewise.
32978         (fmin_test_data): Likewise.
32979         (fmod_test_data): Likewise.
32980         (fpclassify_test_data): Likewise.
32981         (frexp_test_data): Likewise.
32982         (gamma_test_data): Likewise.
32983         (hypot_test_data): Likewise.
32984         (ilogb_test_data): Likewise.
32985         (isfinite_test_data): Likewise.
32986         (isgreater_test_data): Likewise.
32987         (isgreaterequal_test_data): Likewise.
32988         (isinf_test_data): Likewise.
32989         (isless_test_data): Likewise.
32990         (islessequal_test_data): Likewise.
32991         (islessgreater_test_data): Likewise.
32992         (isnan_test_data): Likewise.
32993         (isnormal_test_data): Likewise.
32994         (issignaling_test_data): Likewise.
32995         (isunordered_test_data): Likewise.
32996         (j0_test_data): Likewise.
32997         (j1_test_data): Likewise.
32998         (jn_test_data): Likewise.
32999         (ldexp_test_data): Likewise.
33000         (lgamma_test_data): Likewise.
33001         (lrint_test_data): Likewise.
33002         (lrint_tonearest_test_data): Likewise.
33003         (lrint_towardzero_test_data): Likewise.
33004         (lrint_downward_test_data): Likewise.
33005         (lrint_upward_test_data): Likewise.
33006         (llrint_test_data): Likewise.
33007         (llrint_tonearest_test_data): Likewise.
33008         (llrint_towardzero_test_data): Likewise.
33009         (llrint_downward_test_data): Likewise.
33010         (llrint_upward_test_data): Likewise.
33011         (log_test_data): Likewise.
33012         (log10_test_data): Likewise.
33013         (log1p_test_data): Likewise.
33014         (log2_test_data): Likewise.
33015         (logb_test_data): Likewise.
33016         (logb_downward_test_data): Likewise.
33017         (lround_test_data): Likewise.
33018         (llround_test_data): Likewise.
33019         (modf_test_data): Likewise.
33020         (nearbyint_test_data): Likewise.
33021         (nextafter_test_data): Likewise.
33022         (nexttoward_test_data): Likewise.
33023         (pow_test_data): Likewise.
33024         (pow_tonearest_test_data): Likewise.
33025         (pow_towardzero_test_data): Likewise.
33026         (pow_downward_test_data): Likewise.
33027         (pow_upward_test_data): Likewise.
33028         (remainder_test_data): Likewise.
33029         (remainder_tonearest_test_data): Likewise.
33030         (remainder_towardzero_test_data): Likewise.
33031         (remainder_downward_test_data): Likewise.
33032         (remainder_upward_test_data): Likewise.
33033         (remquo_test_data): Likewise.
33034         (rint_test_data): Likewise.
33035         (rint_tonearest_test_data): Likewise.
33036         (rint_towardzero_test_data): Likewise.
33037         (rint_downward_test_data): Likewise.
33038         (rint_upward_test_data): Likewise.
33039         (round_test_data): Likewise.
33040         (scalb_test_data): Likewise.
33041         (scalbn_test_data): Likewise.
33042         (scalbln_test_data): Likewise.
33043         (signbit_test_data): Likewise.
33044         (sin_test_data): Likewise.
33045         (sin_tonearest_test_data): Likewise.
33046         (sin_towardzero_test_data): Likewise.
33047         (sin_downward_test_data): Likewise.
33048         (sin_upward_test_data): Likewise.
33049         (sincos_test_data): Likewise.
33050         (sinh_test_data): Likewise.
33051         (sinh_tonearest_test_data): Likewise.
33052         (sinh_towardzero_test_data): Likewise.
33053         (sinh_downward_test_data): Likewise.
33054         (sinh_upward_test_data): Likewise.
33055         (sqrt_test_data): Likewise.
33056         (tan_test_data): Likewise.
33057         (tan_tonearest_test_data): Likewise.
33058         (tan_towardzero_test_data): Likewise.
33059         (tan_downward_test_data): Likewise.
33060         (tan_upward_test_data): Likewise.
33061         (tanh_test_data): Likewise.
33062         (tgamma_test_data): Likewise.
33063         (trunc_test_data): Likewise.
33064         (y0_test_data): Likewise.
33065         (y1_test_data): Likewise.
33066         (yn_test_data): Likewise.
33067         (significand_test_data): Likewise.
33069         * math/gen-libm-test.pl (@functions): Remove variable.
33070         (generate_testfile): Don't handle START and END lines.
33071         * math/libm-test.inc (START): New macro.
33072         (END): Likewise.
33073         (END_COMPLEX): Likewise.
33074         (acos_test): Use END macro without arguments.
33075         (acos_test_tonearest): Likewise.
33076         (acos_test_towardzero): Likewise.
33077         (acos_test_downward): Likewise.
33078         (acos_test_upward): Likewise.
33079         (acosh_test): Likewise.
33080         (asin_test): Likewise.
33081         (asin_test_tonearest): Likewise.
33082         (asin_test_towardzero): Likewise.
33083         (asin_test_downward): Likewise.
33084         (asin_test_upward): Likewise.
33085         (asinh_test): Likewise.
33086         (atan_test): Likewise.
33087         (atanh_test): Likewise.
33088         (atan2_test): Likewise.
33089         (cabs_test): Likewise.
33090         (cacos_test): Use END_COMPLEX macro without arguments.
33091         (cacosh_test): Likewise.
33092         (carg_test): Use END macro without arguments.
33093         (casin_test): Use END_COMPLEX macro without arguments.
33094         (casinh_test): Likewise.
33095         (catan_test): Likewise.
33096         (catanh_test): Likewise.
33097         (cbrt_test): Use END macro without arguments.
33098         (ccos_test): Use END_COMPLEX macro without arguments.
33099         (ccosh_test): Likewise.
33100         (ceil_test): Use END macro without arguments.
33101         (cexp_test): Use END_COMPLEX macro without arguments.
33102         (cimag_test): Use END macro without arguments.
33103         (clog_test): Use END_COMPLEX macro without arguments.
33104         (clog10_test): Likewise.
33105         (conj_test): Likewise.
33106         (copysign_test): Use END macro without arguments.
33107         (cos_test): Likewise.
33108         (cos_test_tonearest): Likewise.
33109         (cos_test_towardzero): Likewise.
33110         (cos_test_downward): Likewise.
33111         (cos_test_upward): Likewise.
33112         (cosh_test): Likewise.
33113         (cosh_test_tonearest): Likewise.
33114         (cosh_test_towardzero): Likewise.
33115         (cosh_test_downward): Likewise.
33116         (cosh_test_upward): Likewise.
33117         (cpow_test): Use END_COMPLEX macro without arguments.
33118         (cproj_test): Likewise.
33119         (creal_test): Use END macro without arguments.
33120         (csin_test): Use END_COMPLEX macro without arguments.
33121         (csinh_test): Likewise.
33122         (csqrt_test): Likewise.
33123         (ctan_test): Likewise.
33124         (ctan_test_tonearest): Likewise.
33125         (ctan_test_towardzero): Likewise.
33126         (ctan_test_downward): Likewise.
33127         (ctan_test_upward): Likewise.
33128         (ctanh_test): Likewise.
33129         (ctanh_test_tonearest): Likewise.
33130         (ctanh_test_towardzero): Likewise.
33131         (ctanh_test_downward): Likewise.
33132         (ctanh_test_upward): Likewise.
33133         (erf_test): Use END macro without arguments.
33134         (erfc_test): Likewise.
33135         (exp_test): Likewise.
33136         (exp_test_tonearest): Likewise.
33137         (exp_test_towardzero): Likewise.
33138         (exp_test_downward): Likewise.
33139         (exp_test_upward): Likewise.
33140         (exp10_test): Likewise.
33141         (exp2_test): Likewise.
33142         (expm1_test): Likewise.
33143         (fabs_test): Likewise.
33144         (fdim_test): Likewise.
33145         (finite_test): Likewise.
33146         (floor_test): Likewise.
33147         (fma_test): Likewise.
33148         (fma_test_towardzero): Likewise.
33149         (fma_test_downward): Likewise.
33150         (fma_test_upward): Likewise.
33151         (fmax_test): Likewise.
33152         (fmin_test): Likewise.
33153         (fmod_test): Likewise.
33154         (fpclassify_test): Likewise.
33155         (frexp_test): Likewise.
33156         (gamma_test): Likewise.
33157         (hypot_test): Likewise.
33158         (ilogb_test): Likewise.
33159         (isfinite_test): Likewise.
33160         (isgreater_test): Likewise.
33161         (isgreaterequal_test): Likewise.
33162         (isinf_test): Likewise.
33163         (isless_test): Likewise.
33164         (islessequal_test): Likewise.
33165         (islessgreater_test): Likewise.
33166         (isnan_test): Likewise.
33167         (isnormal_test): Likewise.
33168         (issignaling_test): Likewise.
33169         (isunordered_test): Likewise.
33170         (j0_test): Likewise.
33171         (j1_test): Likewise.
33172         (jn_test): Likewise.
33173         (ldexp_test): Likewise.
33174         (lgamma_test): Likewise.
33175         (lrint_test): Likewise.
33176         (lrint_test_tonearest): Likewise.
33177         (lrint_test_towardzero): Likewise.
33178         (lrint_test_downward): Likewise.
33179         (lrint_test_upward): Likewise.
33180         (llrint_test): Likewise.
33181         (llrint_test_tonearest): Likewise.
33182         (llrint_test_towardzero): Likewise.
33183         (llrint_test_downward): Likewise.
33184         (llrint_test_upward): Likewise.
33185         (log_test): Likewise.
33186         (log10_test): Likewise.
33187         (log1p_test): Likewise.
33188         (log2_test): Likewise.
33189         (logb_test): Likewise.
33190         (logb_test_downward): Likewise.
33191         (lround_test): Likewise.
33192         (llround_test): Likewise.
33193         (modf_test): Likewise.
33194         (nearbyint_test): Likewise.
33195         (nextafter_test): Likewise.
33196         (nexttoward_test): Likewise.
33197         (pow_test): Likewise.
33198         (pow_test_tonearest): Likewise.
33199         (pow_test_towardzero): Likewise.
33200         (pow_test_downward): Likewise.
33201         (pow_test_upward): Likewise.
33202         (remainder_test): Likewise.
33203         (remainder_test_tonearest): Likewise.
33204         (remainder_test_towardzero): Likewise.
33205         (remainder_test_downward): Likewise.
33206         (remainder_test_upward): Likewise.
33207         (remquo_test): Likewise.
33208         (rint_test): Likewise.
33209         (rint_test_tonearest): Likewise.
33210         (rint_test_towardzero): Likewise.
33211         (rint_test_downward): Likewise.
33212         (rint_test_upward): Likewise.
33213         (round_test): Likewise.
33214         (scalb_test): Likewise.
33215         (scalbn_test): Likewise.
33216         (scalbln_test): Likewise.
33217         (signbit_test): Likewise.
33218         (sin_test): Likewise.
33219         (sin_test_tonearest): Likewise.
33220         (sin_test_towardzero): Likewise.
33221         (sin_test_downward): Likewise.
33222         (sin_test_upward): Likewise.
33223         (sincos_test): Likewise.
33224         (sinh_test): Likewise.
33225         (sinh_test_tonearest): Likewise.
33226         (sinh_test_towardzero): Likewise.
33227         (sinh_test_downward): Likewise.
33228         (sinh_test_upward): Likewise.
33229         (sqrt_test): Likewise.
33230         (tan_test): Likewise.
33231         (tan_test_tonearest): Likewise.
33232         (tan_test_towardzero): Likewise.
33233         (tan_test_downward): Likewise.
33234         (tan_test_upward): Likewise.
33235         (tanh_test): Likewise.
33236         (tgamma_test): Likewise.
33237         (trunc_test): Likewise.
33238         (y0_test): Likewise.
33239         (y1_test): Likewise.
33240         (yn_test): Likewise.
33241         (significand_test): Likewise.
33243 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
33245         [BZ #15381]
33246         * libio/genops.c (_IO_no_init): Initialize wide struct info.
33248 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
33250         [BZ #14894]
33251         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
33252         __ppc_mdoio and __ppc_mdoom.
33253         * manual/platform.texi: Document new functions __ppc_yield,
33254         __ppc_mdoio and __ppc_mdoom.
33256 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
33258         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
33259         (main): Mention "tls" pseudo-hwcap is legacy.
33260         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
33262 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
33264         * math/gen-libm-test.pl (parse_args): Output only string of
33265         arguments as text for test name, not full call or descriptions of
33266         tests for extra outputs.
33267         (generate_testfile): Do not pass function name to parse_args.
33268         Generate this_func variable from START.
33269         * math/libm-test.inc (struct test_f_f_data): Rename test_name
33270         field to arg_str.
33271         (struct test_ff_f_data): Likewise.
33272         (test_ff_f_data_nexttoward): Likewise.
33273         (struct test_fi_f_data): Likewise.
33274         (struct test_fl_f_data): Likewise.
33275         (struct test_if_f_data): Likewise.
33276         (struct test_fff_f_data): Likewise.
33277         (struct test_c_f_data): Likewise.
33278         (struct test_f_f1_data): Likewise.  Remove field extra_name.
33279         (struct test_fF_f1_data): Likewise.
33280         (struct test_ffI_f1_data): Likewise.
33281         (struct test_c_c_data): Rename test_name field to arg_str.
33282         (struct test_cc_c_data): Likewise.
33283         (struct test_f_i_data): Likewise.
33284         (struct test_ff_i_data): Likewise.
33285         (struct test_f_l_data): Likewise.
33286         (struct test_f_L_data): Likewise.
33287         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
33288         and extra2_name.
33289         (COMMON_TEST_SETUP): New macro.
33290         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
33291         (COMMON_TEST_CLEANUP): Likewise.
33292         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
33293         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
33294         macros.
33295         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
33296         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
33297         macros.
33298         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
33299         (RUN_TEST_fff_f): Take argument string.  Call new setup and
33300         cleanup macros.
33301         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
33302         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
33303         macros.
33304         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
33305         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
33306         macros.
33307         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
33308         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
33309         cleanup macros.
33310         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
33311         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
33312         cleanup macros.
33313         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
33314         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
33315         cleanup macros.
33316         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
33317         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
33318         macros.
33319         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
33320         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
33321         macros.
33322         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
33323         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
33324         macros.
33325         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
33326         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
33327         cleanup macros.
33328         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
33329         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
33330         cleanup macros.
33331         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
33332         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
33333         macros.
33334         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
33335         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
33336         cleanup macros.
33337         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
33338         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
33339         macros.
33340         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
33341         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
33342         macros.
33343         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
33344         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
33345         cleanup macros.
33346         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
33348 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
33350         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
33351         to _sifields.sigfault.
33352         (si_addr_lsb): Define new macro.
33353         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
33354         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33355         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
33357 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
33359         [BZ #15441]
33360         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
33361         returns -1.
33362         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
33363         null return -1.
33364         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
33365         loading the domain.
33367 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
33369         * math/gen-libm-test.pl (parse_args): Do not include expected
33370         result in test name.
33371         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
33372         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33373         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33374         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33375         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33378 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33380         * benchtests/Makefile: Sort function entries.
33382         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
33383         tanh, asinh, acosh, atanh.
33384         * benchtests/acos-inputs: New file.
33385         * benchtests/acosh-inputs: New file.
33386         * benchtests/asin-inputs: New file.
33387         * benchtests/asinh-inputs: New file.
33388         * benchtests/atanh-inputs: New file.
33389         * benchtests/cosh-inputs: New file.
33390         * benchtests/log-inputs: New file.
33391         * benchtests/sinh-inputs: New file.
33392         * benchtests/tanh-inputs: New file.
33394 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
33396         [BZ #15339]
33397         * posix/tst-getaddrinfo4.c: New test.
33398         * posix/Makefile (tests): Add it.
33400 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33402         [BZ #15339]
33403         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
33404         when no services were used.
33405         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
33406         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
33408 2013-05-21  Andreas Schwab  <schwab@suse.de>
33410         [BZ #15014]
33411         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
33412         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
33413         successful.
33414         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
33415         redundant variable declarations and reallocation of buffer when
33416         parsing as IPv6 address.  Always set NSS status when called from
33417         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
33418         buffer too small.  Correct computation of needed size.
33419         * nss/Makefile (tests): Add test-digits-dots.
33420         * nss/test-digits-dots.c: New test.
33422 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33424         * benchtests/Makefile: Remove instructions for adding
33425         benchmark tests.
33426         * benchtests/README: New file to explain how to execute and
33427         enhance the benchmark tests.
33429 2013-05-21  Andreas Schwab  <schwab@suse.de>
33431         [BZ #15493]
33432         * setjmp/Makefile (tests): Add tst-sigsetjmp.
33433         * setjmp/tst-sigsetjmp.c: New test.
33435 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
33437         * sysdeps/x86_64/memset.S (memset): New implementation.
33438         (__bzero): Likewise.
33439         (__memset_tail): New function.
33441 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
33443         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
33444         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
33445         __memcpy_sse2_unaligned ifunc selection.
33446         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33447         Add memcpy-sse2-unaligned.S.
33448         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33449         Add: __memcpy_sse2_unaligned.
33451 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
33453         [BZ #15490]
33454         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33455         math_force_eval before restoring floating-point envrionment.
33456         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
33457         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
33458         Likewise.
33459         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
33460         <math_private.h>.
33461         (__nearbyintl): Use math_force_eval before restoring
33462         floating-point environment.
33463         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
33465         * math/gen-libm-test.pl (special_functions): Remove.
33466         (parse_args): Don't handle TEST_extra.  Handle functions with no
33467         return value.
33468         * math/libm-test.inc (struct test_sincos_data): Replace with
33469         struct test_fFF_11_data.
33470         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
33471         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
33472         (sincos_test_data): Change element type to struct
33473         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
33474         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
33475         RUN_TEST_LOOP_sincos.
33476         * math/README.libm-test: Don't mention special handling of
33477         individual functions.
33478         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
33479         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33480         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33481         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33482         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33485         * math/gen-libm-test.pl (get_variable): Remove function.
33486         (parse_args): Don't show pointer parameters to call in test
33487         names.  Use "extra output N" in test names for extra outputs
33488         rather than naming variables.
33490 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
33492         [BZ #15488]
33493         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
33494         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
33495         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
33496         double tests.
33497         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
33498         disable.
33499         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
33500         check_long_double.
33502         * math/gen-libm-test.pl (@tests): Remove variable.
33503         ($count): Likewise.
33504         (new_test): Remove function.
33505         (show_exceptions): New function.
33506         (special_functions): Use show_exceptions instead of new_test.
33507         (parse_args): Likewise.
33508         (generate_testfile): Pass only function name in generated call to
33509         print_max_error or print_complex_max_error.
33510         (get_ulps): Do not handle complex tests specially.
33511         (output_test): Rename to ...
33512         (get_all_ulps_for_test): ... this.  Return a string rather than
33513         printing to a file.  Require ulps to be present.
33514         (output_ulps): Generate arrays rather than #defines.
33515         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
33516         (struct ulp_data): New type.
33517         (BUILD_COMPLEX_ULP): Remove macro.
33518         (compare_ulp_data): New function.
33519         (find_ulps): Likewise.
33520         (find_test_ulps): Likewise.
33521         (find_function_ulps): Likewise.
33522         (find_complex_function_ulps): Likewise.
33523         (print_max_error): Determine allowed ulps using
33524         find_function_ulps.
33525         (print_complex_max_error): Determine allowed ulps using
33526         find_complex_function_ulps.
33527         (check_float_internal): Determine max ulps using find_test_ulps.
33528         (check_float): Do not take max_ulp parameter.  Update call to
33529         check_float_internal.
33530         (check_complex): Likewise.
33531         (check_int): Do not take max_ulp parameter.
33532         (check_long): Likewise.
33533         (check_bool): Likewise.
33534         (check_longlong): Likewise.
33535         (struct test_f_f_data): Remove max_ulp field.
33536         (struct test_ff_f_data): Likewise.
33537         (struct test_ff_f_data_nexttoward): Likewise.
33538         (struct test_fi_f_data): Likewise.
33539         (struct test_fl_f_data): Likewise.
33540         (struct test_if_f_data): Likewise.
33541         (struct test_fff_f_data): Likewise.
33542         (struct test_c_f_data): Likewise.
33543         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
33544         (struct test_fF_f1_data): Likewise.
33545         (struct test_ffI_f1_data): Likewise.
33546         (struct test_c_c_data): Remove max_ulp field.
33547         (struct test_cc_c_data): Likewise.
33548         (struct test_f_i_data): Likewise.
33549         (struct test_ff_i_data): Likewise.
33550         (struct test_f_l_data): Likewise.
33551         (struct test_f_L_data): Likewise.
33552         (struct test_sincos_data): Likewise.
33553         (RUN_TEST_f_f): Do not handle ulps.
33554         (RUN_TEST_LOOP_f_f): Likewise.
33555         (RUN_TEST_2_f): Likewise.
33556         (RUN_TEST_LOOP_2_f): Likewise.
33557         (RUN_TEST_fff_f): Likewise.
33558         (RUN_TEST_LOOP_fff_f): Likewise.
33559         (RUN_TEST_c_f): Likewise.
33560         (RUN_TEST_LOOP_c_f): Likewise.
33561         (RUN_TEST_f_f1): Likewise.
33562         (RUN_TEST_LOOP_f_f1): Likewise.
33563         (RUN_TEST_fF_f1): Likewise.
33564         (RUN_TEST_LOOP_fF_f1): Likewise.
33565         (RUN_TEST_fI_f1): Likewise.
33566         (RUN_TEST_LOOP_fI_f1): Likewise.
33567         (RUN_TEST_ffI_f1): Likewise.
33568         (RUN_TEST_LOOP_ffI_f1): Likewise.
33569         (RUN_TEST_c_c): Likewise.
33570         (RUN_TEST_LOOP_c_c): Likewise.
33571         (RUN_TEST_cc_c): Likewise.
33572         (RUN_TEST_LOOP_cc_c): Likewise.
33573         (RUN_TEST_f_i): Likewise.
33574         (RUN_TEST_LOOP_f_i): Likewise.
33575         (RUN_TEST_f_i_tg): Likewise.
33576         (RUN_TEST_LOOP_f_i_tg): Likewise.
33577         (RUN_TEST_ff_i_tg): Likewise.
33578         (RUN_TEST_LOOP_ff_i_tg): Likewise.
33579         (RUN_TEST_f_b): Likewise.
33580         (RUN_TEST_LOOP_f_b): Likewise.
33581         (RUN_TEST_f_b_tg): Likewise.
33582         (RUN_TEST_LOOP_f_b_tg): Likewise.
33583         (RUN_TEST_f_l): Likewise.
33584         (RUN_TEST_LOOP_f_l): Likewise.
33585         (RUN_TEST_f_L): Likewise.
33586         (RUN_TEST_LOOP_f_L): Likewise.
33587         (RUN_TEST_sincos): Likewise.
33588         (RUN_TEST_LOOP_sincos): Likewise.
33590 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
33592         [BZ #15480]
33593         [BZ #15485]
33594         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
33595         main case of finite arguments, set rounding mode to FE_TONEAREST
33596         and discard exceptions.
33597         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
33598         exceptions.
33599         (remainder_tonearest_test_data): New variable.
33600         (remainder_test_tonearest): New function.
33601         (remainder_towardzero_test_data): New variable.
33602         (remainder_test_towardzero): New function.
33603         (remainder_downward_test_data): New variable.
33604         (remainder_test_downward): New function.
33605         (remainder_upward_test_data): New variable.
33606         (remainder_test_upward): New function.
33607         (main): Call the new test functions.
33609         * math/libm-test.inc (struct test_f_f1_data): Remove field
33610         extra_init.
33611         (struct test_fF_f1_data): Likewise.
33612         (struct test_ffI_f1_data): Likewise.
33613         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
33614         based on value of EXTRA_EXPECTED.
33615         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
33616         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
33617         EXTRA_VAR based on value of EXTRA_EXPECTED.
33618         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
33619         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
33620         EXTRA_VAR based on value of EXTRA_EXPECTED.
33621         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
33622         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
33623         EXTRA_VAR based on value of EXTRA_EXPECTED.
33624         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
33625         * math/gen-libm-test.pl (parse_args): Don't output initializers
33626         for extra output values.
33628         * math/libm-test.inc (check_int): Expect result to be exactly
33629         equal to expected value and do not handle ulps.
33630         (check_long): Likewise.
33631         (check_longlong): Likewise.
33633         * math/libm-test.inc (ceil_test_data): Test for "inexact"
33634         exceptions.
33635         (cimag_test_data): Likewise.
33636         (conj_test_data): Likewise.
33637         (copysign_test_data): Likewise.
33638         (cproj_test_data): Likewise.
33639         (creal_test_data): Likewise.
33640         (fabs_test_data): Likewise.
33641         (fdim_test_data): Likewise.
33642         (finite_test_data): Likewise.
33643         (floor_test_data): Likewise.
33644         (fmax_test_data): Likewise.
33645         (fmin_test_data): Likewise.
33646         (fmod_test_data): Likewise.
33647         (fpclassify_test_data): Likewise.
33648         (frexp_test_data): Likewise.
33649         (ilogb_test_data): Likewise.
33650         (isfinite_test_data): Likewise.
33651         (isgreater_test_data): Likewise.
33652         (isgreaterequal_test_data): Likewise.
33653         (isinf_test_data): Likewise.
33654         (isless_test_data): Likewise.
33655         (islessequal_test_data): Likewise.
33656         (islessgreater_test_data): Likewise.
33657         (isnan_test_data): Likewise.
33658         (isnormal_test_data): Likewise.
33659         (issignaling_test_data): Likewise.
33660         (isunordered_test_data): Likewise.
33661         (ldexp_test_data): Likewise.
33662         (lrint_test_data): Likewise.
33663         (lrint_test_data) [TEST_FLOAT]: Disable one test.
33664         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
33665         (lrint_tonearest_test_data): Test for "inexact" exceptions.
33666         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
33667         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
33668         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
33669         test input.
33670         (lrint_towardzero_test_data): Test for "inexact" exceptions.
33671         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
33672         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
33673         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
33674         that test input.
33675         (lrint_downward_test_data): Test for "inexact" exceptions.
33676         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
33677         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
33678         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
33679         test input.
33680         (lrint_upward_test_data): Test for "inexact" exceptions.
33681         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
33682         test input.
33683         (llrint_test_data): Test for "inexact" exceptions.
33684         (llrint_test_data) [TEST_FLOAT]: Disable one test.
33685         (llrint_tonearest_test_data): Test for "inexact" exceptions.
33686         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
33687         (llrint_towardzero_test_data): Test for "inexact" exceptions.
33688         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
33689         (llrint_downward_test_data): Test for "inexact" exceptions.
33690         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
33691         (llrint_upward_test_data): Test for "inexact" exceptions.
33692         (logb_test_data): Likewise.
33693         (logb_downward_test_data): Likewise.
33694         (nextafter_test_data): Likewise.
33695         (nexttoward_test_data): Likewise.
33696         (remainder_test_data): Likewise.
33697         (remquo_test_data): Likewise.
33698         (scalbn_test_data): Likewise.
33699         (scalbln_test_data): Likewise.
33700         (signbit_test_data): Likewise.
33701         (sqrt_test_data): Likewise.
33702         (significand_test_data): Likewise.
33704 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
33706         [BZ #15424]
33707         * benchtests/bench-modf.c (struct args): Mark arg0 as
33708         volatile.
33709         * scripts/bench.pl: Mark members of struct args as volatile.
33711 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33713         [BZ # 15497]
33714         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
33715         negative infinity on POWER6 or lower.
33716         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
33718 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
33720         [BZ #15442]
33721         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
33722         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
33723         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
33724         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
33725         (_FP_SETQNAN): New macro.
33726         (_FP_SETQNAN_SEMIRAW): Likewise.
33727         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
33728         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
33729         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
33730         (FP_EXTEND): Use _FP_FRAC_SNANP.
33731         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
33732         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
33733         into account.
33734         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
33735         New macro.
33736         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
33737         Likewise.
33739 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
33741         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
33742         with DIVIDE_BY_ZERO_EXCEPTION.
33743         (gamma_test_data): Likewise.
33744         (lgamma_test_data): Likewise.
33745         (log_test_data): Likewise.
33746         (log10_test_data): Likewise.
33747         (log2_test_data): Likewise.
33748         (tgamma_test_data): Likewise.
33750         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
33751         (acos_test_tonearest): Likewise.
33752         (acos_test_towardzero): Likewise.
33753         (acos_test_downward): Likewise.
33754         (acos_test_upward): Likewise.
33755         (acosh_test): Likewise.
33756         (asin_test): Likewise.
33757         (asin_test_tonearest): Likewise.
33758         (asin_test_towardzero): Likewise.
33759         (asin_test_downward): Likewise.
33760         (asin_test_upward): Likewise.
33761         (asinh_test): Likewise.
33762         (atan_test): Likewise.
33763         (atanh_test): Likewise.
33764         (atan2_test): Likewise.
33765         (cabs_test): Likewise.
33766         (cacos_test): Likewise.
33767         (cacosh_test): Likewise.
33768         (casin_test): Likewise.
33769         (casinh_test): Likewise.
33770         (catan_test): Likewise.
33771         (catanh_test): Likewise.
33772         (cbrt_test): Likewise.
33773         (ccos_test): Likewise.
33774         (ccosh_test): Likewise.
33775         (cexp_test): Likewise.
33776         (clog_test): Likewise.
33777         (clog10_test): Likewise.
33778         (cos_test): Likewise.
33779         (cos_test_tonearest): Likewise.
33780         (cos_test_towardzero): Likewise.
33781         (cos_test_downward): Likewise.
33782         (cos_test_upward): Likewise.
33783         (cosh_test): Likewise.
33784         (cosh_test_tonearest): Likewise.
33785         (cosh_test_towardzero): Likewise.
33786         (cosh_test_downward): Likewise.
33787         (cosh_test_upward): Likewise.
33788         (cpow_test): Likewise.
33789         (csin_test): Likewise.
33790         (csinh_test): Likewise.
33791         (csqrt_test): Likewise.
33792         (ctan_test): Likewise.
33793         (ctan_test_tonearest): Likewise.
33794         (ctan_test_towardzero): Likewise.
33795         (ctan_test_downward): Likewise.
33796         (ctan_test_upward): Likewise.
33797         (ctanh_test): Likewise.
33798         (ctanh_test_tonearest): Likewise.
33799         (ctanh_test_towardzero): Likewise.
33800         (ctanh_test_downward): Likewise.
33801         (ctanh_test_upward): Likewise.
33802         (erf_test): Likewise.
33803         (erfc_test): Likewise.
33804         (exp_test): Likewise.
33805         (exp_test_tonearest): Likewise.
33806         (exp_test_towardzero): Likewise.
33807         (exp_test_downward): Likewise.
33808         (exp_test_upward): Likewise.
33809         (exp10_test): Likewise.
33810         (exp2_test): Likewise.
33811         (expm1_test): Likewise.
33812         (fmod_test): Likewise.
33813         (gamma_test): Likewise.
33814         (hypot_test): Likewise.
33815         (j0_test): Likewise.
33816         (j1_test): Likewise.
33817         (jn_test): Likewise.
33818         (lgamma_test): Likewise.
33819         (log_test): Likewise.
33820         (log10_test): Likewise.
33821         (log1p_test): Likewise.
33822         (log2_test): Likewise.
33823         (logb_test_downward): Likewise.
33824         (pow_test): Likewise.
33825         (pow_test_tonearest): Likewise.
33826         (pow_test_towardzero): Likewise.
33827         (pow_test_downward): Likewise.
33828         (pow_test_upward): Likewise.
33829         (remainder_test): Likewise.
33830         (remquo_test): Likewise.
33831         (sin_test): Likewise.
33832         (sin_test_tonearest): Likewise.
33833         (sin_test_towardzero): Likewise.
33834         (sin_test_downward): Likewise.
33835         (sin_test_upward): Likewise.
33836         (sincos_test): Likewise.
33837         (sinh_test): Likewise.
33838         (sinh_test_tonearest): Likewise.
33839         (sinh_test_towardzero): Likewise.
33840         (sinh_test_downward): Likewise.
33841         (sinh_test_upward): Likewise.
33842         (sqrt_test): Likewise.
33843         (tan_test): Likewise.
33844         (tan_test_tonearest): Likewise.
33845         (tan_test_towardzero): Likewise.
33846         (tan_test_downward): Likewise.
33847         (tan_test_upward): Likewise.
33848         (tanh_test): Likewise.
33849         (tgamma_test): Likewise.
33850         (y0_test): Likewise.
33851         (y1_test): Likewise.
33852         (yn_test): Likewise.
33854         * math/gen-libm-test.pl (adjust_arg): Remove function.
33855         (special_function): Remove argument $in_func.  Only handle
33856         generating output for tables of tests, not inside functions.
33857         (parse_args): Likewise.
33858         (generate_testfile): Remove variable $in_func.  Update call to
33859         parse_args.
33860         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
33861         (MINUS_ZERO_INIT): Rename macro to minus_zero.
33862         (PLUS_INFTY_INIT): Rename macro to plus_infty.
33863         (MINUS_INFTY_INIT): Rename macro to minus_infty.
33864         (QNAN_VALUE_INIT): Rename macro to qnan_value.
33865         (MAX_VALUE_INIT): Rename macro to max_value.
33866         (MIN_VALUE_INIT): Rename macro to min_value.
33867         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
33868         (plus_zero): Remove variable.
33869         (minus_zero): Likewise.
33870         (plus_infty): Likewise.
33871         (minus_infty): Likewise.
33872         (qnan_value): Likewise.
33873         (max_value): Likewise.
33874         (min_value): Likewise.
33875         (min_subnorm_value): Likewise.
33877 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33879         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
33880         uint64_t or uint32_t usage.
33881         * crypt/sha256-block.c: Likewise.
33882         * crypt/sha256-crypt.c: Likewise.
33883         * crypt/sha256.c: Likewise.
33884         * crypt/sha512-block.c: Likewise.
33885         * crypt/sha512-crypt.c: Likewise.
33886         * crypt/sha512.c: Likewise.
33887         * debug/backtrace-tst.c: Likewise.
33888         * debug/pcprofiledump.c: Likewise.
33889         * elf/cache.c: Likewise.
33890         * elf/dl-cache.c: Likewise.
33891         * elf/dl-misc.c: Likewise.
33892         * elf/dl-profile.c: Likewise.
33893         * elf/dl-support.c: Likewise.
33894         * elf/ldconfig.c: Likewise.
33895         * elf/sprof.c: Likewise.
33896         * iconv/dummy-repertoire.c: Likewise.
33897         * iconv/iconv_charmap.c: Likewise.
33898         * iconv/skeleton.c: Likewise.
33899         * iconvdata/8bit-generic.c: Likewise.
33900         * iconvdata/cp737.h: Likewise.
33901         * iconvdata/cp775.h: Likewise.
33902         * iconvdata/ibm1008.h: Likewise.
33903         * iconvdata/ibm1025.h: Likewise.
33904         * iconvdata/ibm1046.h: Likewise.
33905         * iconvdata/ibm1097.h: Likewise.
33906         * iconvdata/ibm1112.h: Likewise.
33907         * iconvdata/ibm1122.h: Likewise.
33908         * iconvdata/ibm1123.h: Likewise.
33909         * iconvdata/ibm1124.h: Likewise.
33910         * iconvdata/ibm1129.h: Likewise.
33911         * iconvdata/ibm1130.h: Likewise.
33912         * iconvdata/ibm1132.h: Likewise.
33913         * iconvdata/ibm1133.h: Likewise.
33914         * iconvdata/ibm1137.h: Likewise.
33915         * iconvdata/ibm1140.h: Likewise.
33916         * iconvdata/ibm1141.h: Likewise.
33917         * iconvdata/ibm1142.h: Likewise.
33918         * iconvdata/ibm1143.h: Likewise.
33919         * iconvdata/ibm1144.h: Likewise.
33920         * iconvdata/ibm1145.h: Likewise.
33921         * iconvdata/ibm1146.h: Likewise.
33922         * iconvdata/ibm1147.h: Likewise.
33923         * iconvdata/ibm1148.h: Likewise.
33924         * iconvdata/ibm1149.h: Likewise.
33925         * iconvdata/ibm1153.h: Likewise.
33926         * iconvdata/ibm1154.h: Likewise.
33927         * iconvdata/ibm1155.h: Likewise.
33928         * iconvdata/ibm1156.h: Likewise.
33929         * iconvdata/ibm1157.h: Likewise.
33930         * iconvdata/ibm1158.h: Likewise.
33931         * iconvdata/ibm1160.h: Likewise.
33932         * iconvdata/ibm1161.h: Likewise.
33933         * iconvdata/ibm1162.h: Likewise.
33934         * iconvdata/ibm1163.h: Likewise.
33935         * iconvdata/ibm1164.h: Likewise.
33936         * iconvdata/ibm1166.h: Likewise.
33937         * iconvdata/ibm1167.h: Likewise.
33938         * iconvdata/ibm12712.h: Likewise.
33939         * iconvdata/ibm1390.h: Likewise.
33940         * iconvdata/ibm1399.h: Likewise.
33941         * iconvdata/ibm16804.h: Likewise.
33942         * iconvdata/ibm4517.h: Likewise.
33943         * iconvdata/ibm4899.h: Likewise.
33944         * iconvdata/ibm4909.h: Likewise.
33945         * iconvdata/ibm4971.h: Likewise.
33946         * iconvdata/ibm5347.h: Likewise.
33947         * iconvdata/ibm803.h: Likewise.
33948         * iconvdata/ibm856.h: Likewise.
33949         * iconvdata/ibm901.h: Likewise.
33950         * iconvdata/ibm902.h: Likewise.
33951         * iconvdata/ibm9030.h: Likewise.
33952         * iconvdata/ibm9066.h: Likewise.
33953         * iconvdata/ibm921.h: Likewise.
33954         * iconvdata/ibm922.h: Likewise.
33955         * iconvdata/ibm9448.h: Likewise.
33956         * iconvdata/isiri-3342.h: Likewise.
33957         * iconvdata/jis0201.h: Likewise.
33958         * include/link.h: Likewise.
33959         * include/netdb.h: Likewise.
33960         * inet/check_native.c: Likewise.
33961         * inet/check_pf.c: Likewise.
33962         * inet/getipv4sourcefilter.c: Likewise.
33963         * inet/getnameinfo.c: Likewise.
33964         * inet/getsourcefilter.c: Likewise.
33965         * inet/htonl.c: Likewise.
33966         * inet/setipv4sourcefilter.c: Likewise.
33967         * inet/setsourcefilter.c: Likewise.
33968         * inet/test-inet6_opt.c: Likewise.
33969         * inet/tst-network.c: Likewise.
33970         * locale/C-collate.c: Likewise.
33971         * locale/C-ctype.c: Likewise.
33972         * locale/C-time.c: Likewise.
33973         * locale/C-translit.h: Likewise.
33974         * locale/loadarchive.c: Likewise.
33975         * locale/programs/3level.h: Likewise.
33976         * locale/programs/charmap.c: Likewise.
33977         * locale/programs/charmap.h: Likewise.
33978         * locale/programs/ld-address.c: Likewise.
33979         * locale/programs/ld-collate.c: Likewise.
33980         * locale/programs/ld-ctype.c: Likewise.
33981         * locale/programs/ld-identification.c: Likewise.
33982         * locale/programs/ld-measurement.c: Likewise.
33983         * locale/programs/ld-messages.c: Likewise.
33984         * locale/programs/ld-monetary.c: Likewise.
33985         * locale/programs/ld-name.c: Likewise.
33986         * locale/programs/ld-numeric.c: Likewise.
33987         * locale/programs/ld-paper.c: Likewise.
33988         * locale/programs/ld-telephone.c: Likewise.
33989         * locale/programs/ld-time.c: Likewise.
33990         * locale/programs/linereader.c: Likewise.
33991         * locale/programs/locale.c: Likewise.
33992         * locale/programs/locarchive.c: Likewise.
33993         * locale/programs/locfile.h: Likewise.
33994         * locale/programs/repertoire.c: Likewise.
33995         * locale/programs/simple-hash.c: Likewise.
33996         * locale/programs/simple-hash.h: Likewise.
33997         * malloc/memusage.c: Likewise.
33998         * malloc/memusagestat.c: Likewise.
33999         * nis/nis_defaults.c: Likewise.
34000         * nis/nis_hash.c: Likewise.
34001         * nis/nis_print.c: Likewise.
34002         * nis/nis_xdr.c: Likewise.
34003         * nscd/connections.c: Likewise.
34004         * nscd/hstcache.c: Likewise.
34005         * nscd/nscd_gethst_r.c: Likewise.
34006         * nscd/nscd_getserv_r.c: Likewise.
34007         * nscd/nscd_helper.c: Likewise.
34008         * nscd/servicescache.c: Likewise.
34009         * nss/makedb.c: Likewise.
34010         * nss/nss_db/db-XXX.c: Likewise.
34011         * nss/nss_db/db-initgroups.c: Likewise.
34012         * nss/nss_db/db-netgrp.c: Likewise.
34013         * nss/nss_files/files-network.c: Likewise.
34014         * nss/nss_files/files-parse.c: Likewise.
34015         * posix/bug-regex5.c: Likewise.
34016         * posix/fnmatch_loop.c: Likewise.
34017         * posix/regcomp.c: Likewise.
34018         * posix/regexec.c: Likewise.
34019         * posix/tst-rfc3484-2.c: Likewise.
34020         * posix/tst-rfc3484-3.c: Likewise.
34021         * posix/tst-rfc3484.c: Likewise.
34022         * resolv/nss_dns/dns-canon.c: Likewise.
34023         * resolv/nss_dns/dns-network.c: Likewise.
34024         * resolv/res_init.c: Likewise.
34025         * resolv/res_mkquery.c: Likewise.
34026         * resolv/tst-aton.c: Likewise.
34027         * stdlib/cxa_atexit.c: Likewise.
34028         * stdlib/cxa_finalize.c: Likewise.
34029         * stdlib/gen-fpioconst.c: Likewise.
34030         * stdlib/strtol_l.c: Likewise.
34031         * string/tst-endian.c: Likewise.
34032         * sunrpc/auth_des.c: Likewise.
34033         * sunrpc/clnt_udp.c: Likewise.
34034         * sunrpc/rtime.c: Likewise.
34035         * sunrpc/svcauth_des.c: Likewise.
34036         * sunrpc/xdr.c: Likewise.
34037         * sunrpc/xdr_intXX_t.c: Likewise.
34038         * sunrpc/xdr_rec.c: Likewise.
34039         * sysdeps/generic/ldconfig.h: Likewise.
34040         * sysdeps/generic/ldsodefs.h: Likewise.
34041         * sysdeps/generic/memusage.h: Likewise.
34042         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
34043         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
34044         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
34045         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
34046         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34047         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34048         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
34049         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
34050         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34051         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
34052         * sysdeps/posix/getaddrinfo.c: Likewise.
34053         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34054         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34055         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
34056         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34057         * sysdeps/powerpc/test-gettimebase.c: Likewise.
34058         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
34059         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
34060         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
34061         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
34062         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
34063         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
34064         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
34065         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
34066         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
34067         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
34068         * sysdeps/x86_64/dl-tls.h: Likewise.
34069         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
34070         * time/alt_digit.c: Likewise.
34071         * time/era.c: Likewise.
34072         * wcsmbs/tst-c16c32-1.c: Likewise.
34074 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34076         * math/libm-test.inc (struct test_sincos_data): New type.
34077         (RUN_TEST_LOOP_sincos): New macro.
34078         (sincos_test_data): New variable.
34079         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
34081 2013-05-16  Richard Henderson  <rth@redhat.com>
34083         * math/atest-exp2.c (LIMB64): New macro.
34084         (CONSTSZ): New macro.
34085         (mp_exp1, mp_exp_m1, mp_log2): New variables.
34086         (hexdig): Move ...
34087         (print_mpn_fp): ... to function scope.
34088         (read_mpn_hex): Remove.
34089         (get_log2): Remove.
34090         (exp2_mpn): Use mp_log2.
34091         (main): Use mp_exp1.
34093 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34095         * math/libm-test.inc: Remove comment about not testing "inexact"
34096         exceptions.
34097         (INEXACT_EXCEPTION): New macro.
34098         (NO_INEXACT_EXCEPTION): Likewise.
34099         (INVALID_EXCEPTION_OK): Update value.
34100         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34101         (OVERFLOW_EXCEPTION_OK): Likewise.
34102         (UNDERFLOW_EXCEPTION_OK): Likewise.
34103         (IGNORE_ZERO_INF_SIGN): Likewise.
34104         (ERRNO_UNCHANGED): Likewise.
34105         (ERRNO_EDOM): Likewise.
34106         (ERRNO_ERANGE): Likewise.
34107         (test_exceptions): Handle testing "inexact" exceptions.
34108         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
34109         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
34110         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
34111         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
34112         INEXACT_EXCEPTION.
34113         (rint_towardzero_test_data): Likewise.
34114         (rint_downward_test_data): Likewise.
34115         (rint_upward_test_data): Likewise.
34117         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
34118         with OVERFLOW_EXCEPTION.
34119         (exp10_test_data): Likewise.
34120         (exp2_test_data): Likewise.
34121         (expm1_test_data): Likewise.
34122         (lgamma_test_data): Likewise.
34123         (pow_test_data): Likewise.
34124         (tgamma_test_data): Likewise.
34125         (yn_test_data): Remove duplicate test of overflow.
34127         * math/libm-test.inc (struct test_cc_c_data): New type.
34128         (RUN_TEST_LOOP_cc_c): New macro.
34129         (cpow_test_data): New variable.
34130         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
34132         * math/libm-test.inc (struct test_f_L_data): New type.
34133         (RUN_TEST_LOOP_f_L): New macro.
34134         (llrint_test_data): New variable.
34135         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
34136         (llrint_tonearest_test_data): New variable.
34137         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
34138         (llrint_towardzero_test_data): New variable.
34139         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
34140         (llrint_downward_test_data): New variable.
34141         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
34142         (llrint_upward_test_data): New variable.
34143         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
34144         (llround_test_data): New variable.
34145         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
34147 2013-05-13  Peter Collingbourne  <pcc@google.com>
34149         * math/atest-exp2.c (get_log2): Remove const attribute.
34151 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
34153         * math/libm-test.inc (struct test_f_l_data): New type.
34154         (RUN_TEST_LOOP_f_l): New macro.
34155         (lrint_test_data): New variable.
34156         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
34157         (lrint_tonearest_test_data): New variable.
34158         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
34159         (lrint_towardzero_test_data): New variable.
34160         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
34161         (lrint_downward_test_data): New variable.
34162         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
34163         (lrint_upward_test_data): New variable.
34164         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
34165         (lround_test_data): New variable.
34166         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
34168 2013-05-15  Peter Collingbourne  <pcc@google.com>
34170         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
34171         (EXTRACT_WORDS64) Use where appropriate.
34172         (INSERT_WORDS64) Likewise.
34174         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
34175         constraints with x constraints.
34176         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
34178         * malloc/obstack.c (_obstack_compat): Add initializer.
34180 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
34182         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
34183         si_trapno and add si_addr_lsb to _sifields.sigfault.
34184         (si_trapno): Remove macro.
34185         (si_addr_lsb): Define new macro.
34186         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
34188 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
34190         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
34191         instead of TEST_f_l.
34192         (llrint_test_tonearest): Likewise.
34193         (llrint_test_towardzero): Likewise.
34194         (llrint_test_downward): Likewise.
34195         (llrint_test_upward): Likewise.
34196         (llround_test): Likewise.
34198         * math/libm-test.inc (struct test_f_i_data): Add comment.
34199         (RUN_TEST_LOOP_f_b): New macro.
34200         (RUN_TEST_LOOP_f_b_tg): Likewise.
34201         (finite_test_data): New variable.
34202         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
34203         (isfinite_test_data): New variable.
34204         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34205         (isinf_test_data): New variable.
34206         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34207         (isnan_test_data): New variable.
34208         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34209         (isnormal_test_data): New variable.
34210         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34211         (issignaling_test_data): New variable.
34212         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34213         (signbit_test_data): New variable.
34214         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34216         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
34217         with INVALID_EXCEPTION.
34218         (acosh_test_data): Likewise.
34219         (asin_test_data): Likewise.
34220         (atanh_test_data): Likewise.
34221         (fmod_test_data): Likewise.
34222         (log_test_data): Likewise.
34223         (log10_test_data): Likewise.
34224         (log2_test_data): Likewise.
34225         (pow_test_data): Likewise.
34226         (sqrt_test_data): Likewise.
34227         (y0_test_data): Likewise.
34228         (y1_test_data): Likewise.
34229         (yn_test_data): Likewise.
34231         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
34232         function contents.
34234         * math/libm-test.inc (struct test_ff_i_data): New type.
34235         (RUN_TEST_LOOP_ff_i_tg): New macro.
34236         (isgreater_test_data): New variable.
34237         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34238         (isgreaterequal_test_data): New variable.
34239         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34240         (isless_test_data): New variable.
34241         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34242         (islessequal_test_data): New variable.
34243         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34244         (islessgreater_test_data): New variable.
34245         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34246         (isunordered_test_data): New variable.
34247         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34249 2013-05-14  David S. Miller  <davem@davemloft.net>
34251         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34253 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
34255         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
34257         * math/libm-test.inc (struct test_fF_f1_data): Change type of
34258         extra_test to int.
34259         (struct test_f_i_data): Change type of max_ulp to int.
34261         * math/libm-test.inc (test_ffI_f1_data): New type.
34262         (RUN_TEST_LOOP_ffI_f1): New macro.
34263         (remquo_test_data): New variable.
34264         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
34266         * setjmp/tst-setjmp-fp.c: New file.
34267         * setjmp/Makefile (tests): Add tst-setjmp-fp.
34268         (link-libm): New variable.
34269         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
34271         * math/libm-test.inc (struct test_f_i_data): New type.
34272         (RUN_TEST_LOOP_f_i): New macro.
34273         (RUN_TEST_LOOP_f_i_tg): Likewise.
34274         (fpclassify_test_data): New variable.
34275         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
34276         (ilogb_test_data): New variable.
34277         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
34279         * math/libm-test.inc (scalbln_test): Correct function name in END
34280         call.
34282         * math/libm-test.inc (struct test_f_f1_data): Add comment.
34283         (RUN_TEST_LOOP_fI_f1): New macro.
34284         (frexp_test_data): New variable.
34285         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
34287         * math/libm-test.inc (struct test_fF_f1_data): New type.
34288         (RUN_TEST_LOOP_fF_f1): New macro.
34289         (modf_test_data): New variable.
34290         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
34292         * math/libm-test.inc (struct test_f_f1_data): New type.
34293         (RUN_TEST_LOOP_f_f1): New macro.
34294         (gamma_test_data): New variable.
34295         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
34296         (lgamma_test_data): New variable.
34297         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
34299 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
34301         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
34302         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
34303         (main): Comment "tls" pseudo-hwcap.
34305 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
34307         * math/libm-test.inc (struct test_fl_f_data): New type.
34308         (RUN_TEST_LOOP_fl_f): New variable.
34309         (scalbln_test_data): New variable.
34310         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
34312         * math/libm-test.inc (struct test_fi_f_data): New type.
34313         (RUN_TEST_LOOP_fi_f): New macro.
34314         (ldexp_test_data): New variable.
34315         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
34316         (scalbn_test_data): New variable.
34317         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
34319         * math/libm-test.inc (struct test_c_f_data): New type.
34320         (RUN_TEST_LOOP_c_f): New macro.
34321         (cabs_test_data): New variable.
34322         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
34323         (carg_test_data): New variable.
34324         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
34325         (cimag_test_data): New variable.
34326         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
34327         (creal_test_data): New variable.
34328         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
34330         * math/libm-test.inc (struct test_if_f_data): New type.
34331         (RUN_TEST_LOOP_if_f): New macro.
34332         (jn_test_data): New variable.
34333         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
34334         (yn_test_data): New variable.
34335         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
34337         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
34339 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34341         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
34342         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
34344 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
34346         * benchtests/Makefile (CPPFLAGS-nonlib): Add
34347         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
34348         (bench-deps): Add bench-timing.h.
34349         * benchtests-bench-skeleton.c: Include bench-timing.h.
34350         (main): Use TIMING_* macros instead of clock_gettime.
34351         * benchtests/bench-timing.h: New file.
34353         [BZ #14582]
34354         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
34355         Renamed from _LIB_VERSION.
34356         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
34358 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
34360         * math/libm-test.inc (struct test_fff_f_data): New type.
34361         (RUN_TEST_LOOP_fff_f): New macro.
34362         (fma_test_data): New variable.
34363         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
34364         (fma_towardzero_test_data): New variable.
34365         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
34366         (fma_downward_test_data): New variable.
34367         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
34368         (fma_upward_test_data): New variable.
34369         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
34371         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
34372         (struct test_c_c_data): New type.
34373         (RUN_TEST_LOOP_c_c): New macro.
34374         (cacos_test_data): New variable.
34375         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
34376         (cacosh_test_data): New variable.
34377         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
34378         (casin_test_data): New variable.
34379         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
34380         (casinh_test_data): New variable.
34381         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
34382         (catan_test_data): New variable.
34383         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
34384         (catanh_test_data): New variable.
34385         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
34386         (ccos_test_data): New variable.
34387         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
34388         (ccosh_test_data): New variable.
34389         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
34390         (cexp_test_data): New variable.
34391         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
34392         (clog_test_data): New variable.
34393         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
34394         (clog10_test_data): New variable.
34395         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
34396         (conj_test_data): New variable.
34397         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
34398         (cproj_test_data): New variable.
34399         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
34400         (csin_test_data): New variable.
34401         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
34402         (csinh_test_data): New variable.
34403         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
34404         (csqrt_test_data): New variable.
34405         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
34406         (ctan_test_data): New variable.
34407         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
34408         (ctan_tonearest_test_data): New variable.
34409         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
34410         (ctan_towardzero_test_data): New variable.
34411         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
34412         (ctan_downward_test_data): New variable.
34413         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
34414         (ctan_upward_test_data): New variable.
34415         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
34416         (ctanh_test_data): New variable.
34417         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
34418         (ctanh_tonearest_test_data): New variable.
34419         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
34420         (ctanh_towardzero_test_data): New variable.
34421         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
34422         (ctanh_downward_test_data): New variable.
34423         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
34424         (ctanh_upward_test_data): New variable.
34425         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
34426         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
34427         of BUILD_COMPLEX.
34429         * math/libm-test.inc (struct test_ff_f_data): New type.
34430         (struct test_ff_f_data_nexttoward): Likewise.
34431         (RUN_TEST_LOOP_2_f): New macro.
34432         (RUN_TEST_LOOP_ff_f): Likewise.
34433         (atan2_test_data): New variable.
34434         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
34435         (copysign_test_data): New variable.
34436         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
34437         (fdim_test_data): New variable.
34438         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
34439         (fmax_test_data): New variable.
34440         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
34441         (fmin_test_data): New variable.
34442         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
34443         (fmod_test_data): New variable.
34444         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
34445         (hypot_test_data): New variable.
34446         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
34447         (nextafter_test_data): New variable.
34448         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
34449         (nexttoward_test_data): New variable.
34450         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
34451         (pow_test_data): New variable.
34452         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
34453         (pow_tonearest_test_data): New variable.
34454         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
34455         (pow_towardzero_test_data): New variable.
34456         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
34457         (pow_downward_test_data): New variable.
34458         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
34459         (pow_upward_test_data): New variable.
34460         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
34461         (remainder_test_data): New variable.
34462         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
34463         (scalb_test_data): New variable.
34464         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
34465         * sysdeps/i386/fpu/libm-test-ulps: Update.
34467 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
34469         * math/libm-test.inc (fma_test): Use max_value instead of local
34470         variable fltmax.
34471         (nextafter_test): Likewise.
34473         * math/libm-test.inc (acos_towardzero_test_data): New variable.
34474         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34475         (acos_downward_test_data): New variable.
34476         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34477         (acos_upward_test_data): New variable.
34478         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34479         (acosh_test_data): New variable.
34480         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
34481         (asin_test_data): New variable.
34482         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
34483         (asin_tonearest_test_data): New variable.
34484         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34485         (asin_towardzero_test_data): New variable.
34486         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34487         (asin_downward_test_data): New variable.
34488         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34489         (asin_upward_test_data): New variable.
34490         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34491         (asinh_test_data): New variable.
34492         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
34493         (atan_test_data): New variable.
34494         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
34495         (atanh_test_data): New variable.
34496         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
34497         (cbrt_test_data): New variable.
34498         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
34499         (ceil_test_data): New variable.
34500         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
34501         (cos_test_data): New variable.
34502         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
34503         (cos_tonearest_test_data): New variable.
34504         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34505         (cos_towardzero_test_data): New variable.
34506         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34507         (cos_downward_test_data): New variable.
34508         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34509         (cos_upward_test_data): New variable.
34510         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34511         (cosh_test_data): New variable.
34512         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
34513         (cosh_tonearest_test_data): New variable.
34514         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34515         (cosh_towardzero_test_data): New variable.
34516         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34517         (cosh_downward_test_data): New variable.
34518         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34519         (cosh_upward_test_data): New variable.
34520         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34521         (erf_test_data): New variable.
34522         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
34523         (erfc_test_data): New variable.
34524         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
34525         (exp_test_data): New variable.
34526         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
34527         (exp_tonearest_test_data): New variable.
34528         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34529         (exp_towardzero_test_data): New variable.
34530         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34531         (exp_downward_test_data): New variable.
34532         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34533         (exp_upward_test_data): New variable.
34534         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34535         (exp10_test_data): New variable.
34536         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
34537         (exp2_test_data): New variable.
34538         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
34539         (expm1_test_data): New variable.
34540         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
34541         (fabs_test_data): New variable.
34542         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
34543         (floor_test_data): New variable.
34544         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
34545         (j0_test_data): New variable.
34546         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
34547         (j1_test_data): New variable.
34548         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
34549         (log_test_data): New variable.
34550         (log_test): Run tests with RUN_TEST_LOOP_f_f.
34551         (log10_test_data): New variable.
34552         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
34553         (log1p_test_data): New variable.
34554         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
34555         (log2_test_data): New variable.
34556         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
34557         (logb_test_data): New variable.
34558         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
34559         (logb_downward_test_data): New variable.
34560         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34561         (nearbyint_test_data): New variable.
34562         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
34563         (rint_test_data): New variable.
34564         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
34565         (rint_tonearest_test_data): New variable.
34566         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34567         (rint_towardzero_test_data): New variable.
34568         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34569         (rint_downward_test_data): New variable.
34570         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34571         (rint_upward_test_data): New variable.
34572         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34573         (round_test_data): New variable.
34574         (round_test): Run tests with RUN_TEST_LOOP_f_f.
34575         (sin_test_data): New variable.
34576         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
34577         (sin_tonearest_test_data): New variable.
34578         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34579         (sin_towardzero_test_data): New variable.
34580         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34581         (sin_downward_test_data): New variable.
34582         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34583         (sin_upward_test_data): New variable.
34584         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34585         (sinh_test_data): New variable.
34586         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
34587         (sinh_tonearest_test_data): New variable.
34588         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34589         (sinh_towardzero_test_data): New variable.
34590         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34591         (sinh_downward_test_data): New variable.
34592         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34593         (sinh_upward_test_data): New variable.
34594         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34595         (sqrt_test_data): New variable.
34596         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
34597         (tan_test_data): New variable.
34598         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
34599         (tan_tonearest_test_data): New variable.
34600         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34601         (tan_towardzero_test_data): New variable.
34602         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34603         (tan_downward_test_data): New variable.
34604         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34605         (tan_upward_test_data): New variable.
34606         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34607         (tanh_test_data): New variable.
34608         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
34609         (tgamma_test_data): New variable.
34610         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
34611         (trunc_test_data): New variable.
34612         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
34613         (y0_test_data): New variable.
34614         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
34615         (y1_test_data): New variable.
34616         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
34617         (significand_test_data): New variable.
34618         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
34620 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
34622         [BZ #12387]
34623         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
34625 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34627         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
34629 2013-05-10  Andreas Jaeger  <aj@suse.de>
34631         [BZ #15448]
34632         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
34633         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
34635 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
34637         * math/gen-libm-test.pl (adjust_arg): New function.
34638         (special_functions): Handle generating output in both functions
34639         and arrays.
34640         (parse_args): Likewise.
34641         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
34642         $in_func argument to parse_args.
34643         * math/libm-test.inc (struct test_f_f_data): New type.
34644         (IF_ROUND_INIT_): New macro.
34645         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
34646         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
34647         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
34648         (IF_ROUND_INIT_FE_UPWARD): Likewise.
34649         (ROUND_RESTORE_): Likewise.
34650         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
34651         (ROUND_RESTORE_FE_TONEAREST): Likewise.
34652         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
34653         (ROUND_RESTORE_FE_UPWARD): Likewise.
34654         (RUN_TEST_LOOP_f_f): New macro.
34655         (acos_test_data): New variable.
34656         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
34657         (acos_tonearest_test_data): New variable.
34658         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34660 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34662         * benchtests/bench-skeleton.c (startup): Fix coding style.
34664 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
34666         [BZ #6809]
34667         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
34668         negative infinity argument.
34669         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
34670         negative infinity argument.
34671         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
34672         negative infinity argument.
34673         * math/libm-test.inc (tgamma_test): Expect errno to be set for
34674         domain errors.
34676 2013-05-10  Florian Weimer  <fweimer@redhat.com>
34678         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
34679         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
34680         * iconv/iconv_prog.c (main): Likewise.
34681         * locale/programs/charmap-dir.c (charmap_readdir)
34682         (fopen_uncompressed): Likewise.
34683         * locale/programs/locfile.c (siblings_uncached)
34684         (write_locale_data): Use lstat64 instead of lstat.
34685         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
34686         stat.
34688 2013-05-10  Andreas Jaeger  <aj@suse.de>
34690         [BZ #15395]
34691         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
34692         localization.
34693         Include <locale.h>.
34695 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
34697         * elf/dl-close.c (_dl_close_worker): Add comments.
34699 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
34701         [BZ #15359]
34702         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
34703         high part of pi/2.
34704         (__ieee754_rem_pio2l): Update comments.
34706         [BZ #15429]
34707         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
34708         high part of pi/2.
34709         (__ieee754_rem_pio2l): Update comments.
34711         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
34712         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
34714         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
34715         M_PI_4l.
34717         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
34718         (M_PI_34_LOG10El): Likewise.
34719         (M_PI2_LOG10El): Likewise.
34720         (M_PI4_LOG10El): Likewise.
34721         (M_PI_LOG10El): Likewise.
34723 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34725         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34727 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
34729         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
34730         (MINUS_ZERO_INIT): Likewise.
34731         (PLUS_INFTY_INIT): Likewise.
34732         (MINUS_INFTY_INIT): Likewise.
34733         (QNAN_VALUE_INIT): Likewise.
34734         (MAX_VALUE_INIT): Likewise.
34735         (MIN_VALUE_INIT): Likewise.
34736         (MIN_SUBNORM_VALUE_INIT): Likewise.
34737         (plus_zero): Initialize with PLUS_ZERO_INIT.
34738         (minus_zero): Initialize with MINUS_ZERO_INIT.
34739         (plus_infty): Initialize with PLUS_INFTY_INIT.
34740         (minus_infty): Initialize with MINUS_INFTY_INIT.
34741         (qnan_value): Initialize with QNAN_VALUE_INIT.
34742         (max_value): Initialize with MAX_VALUE_INIT.
34743         (min_value): Initialize with MIN_VALUE_INIT.
34744         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
34746         * math/libm-test.inc (RUN_TEST_if_f): New macro.
34747         (jn_test): Use TEST_if_f instead of TEST_ff_f.
34748         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
34749         (yn_test): Use TEST_if_f instead of TEST_ff_f.
34751         * math/libm-test.inc (RUN_TEST_f_f): New macro.
34752         (RUN_TEST_2_f): Likewise.
34753         (RUN_TEST_ff_f): Likewise.
34754         (RUN_TEST_fi_f): Likewise.
34755         (RUN_TEST_fl_f): Likewise.
34756         (RUN_TEST_fff_f): Likewise.
34757         (RUN_TEST_c_f): Likewise.
34758         (RUN_TEST_f_f1): Likewise.
34759         (RUN_TEST_fF_f1): Likewise.
34760         (RUN_TEST_fI_f1): Likewise.
34761         (RUN_TEST_ffI_f1): Likewise.
34762         (RUN_TEST_c_c): Likewise.
34763         (RUN_TEST_cc_c): Likewise.
34764         (RUN_TEST_f_i): Likewise.
34765         (RUN_TEST_f_i_tg): Likewise.
34766         (RUN_TEST_ff_i_tg): Likewise.
34767         (RUN_TEST_f_b): Likewise.
34768         (RUN_TEST_f_b_tg): Likewise.
34769         (RUN_TEST_f_l): Likewise.
34770         (RUN_TEST_f_L): Likewise.
34771         (RUN_TEST_sincos): Likewise.
34772         * math/gen-libm-test.pl (new_test): Take new argument to indicate
34773         whether to show exceptions.  Do not include ");\n" in return
34774         value.
34775         (special_functions): Output call to RUN_TEST_sincos instead of
34776         check_float calls.  Update calls to new_test.
34777         (parse_args): Output call to single RUN_TEST_* macro instead of
34778         check_* calls and other assignments.  Update calls to new_test.
34780         [BZ #2546]
34781         [BZ #2560]
34782         [BZ #5159]
34783         [BZ #15426]
34784         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
34785         input to result for tgamma overflow.
34786         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
34787         (gamma_coeff): New variable.
34788         (NCOEFF): New macro.
34789         (gamma_positive): New function.
34790         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
34791         underflow here.  Use gamma_positive instead of exp (lgamma) for
34792         other arguments.
34793         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
34794         (gamma_coeff): New variable.
34795         (NCOEFF): New macro.
34796         (gammaf_positive): New function.
34797         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
34798         underflow here.  Use gamma_positive instead of exp (lgamma) for
34799         other arguments.
34800         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
34801         (gamma_coeff): New variable.
34802         (NCOEFF): New macro.
34803         (gammal_positive): New function.
34804         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
34805         underflow here.  Use gamma_positive instead of exp (lgamma) for
34806         other arguments.
34807         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
34808         (gamma_coeff): New variable.
34809         (NCOEFF): New macro.
34810         (gammal_positive): New function.
34811         (__ieee754_gammal_r): Handle positive infinity, overflow and
34812         underflow here.  Handle NaN the same as positive infinity.  Remove
34813         check x < 0xffffffff for negative integers.  Use gamma_positive
34814         instead of exp (lgamma) for other arguments.
34815         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
34816         (gamma_coeff): New variable.
34817         (NCOEFF): New macro.
34818         (gammal_positive): New function.
34819         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
34820         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
34821         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
34822         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
34823         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
34824         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
34825         * sysdeps/generic/math_private.h (__gamma_productf): New
34826         prototype.
34827         (__gamma_product): Likewise.
34828         (__gamma_productl): Likewise.
34829         * math/Makefile (libm-calls): Add gamma_product.
34830         * math/libm-test.inc (tgamma_test): Add more tests.
34831         * sysdeps/i386/fpu/libm-test-ulps: Update.
34832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34834 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
34836         * benchtests/bench-skeleton.c (main): Preheat CPU.
34838 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
34840         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
34842 2013-05-07  Roland McGrath  <roland@hack.frob.com>
34844         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
34845         and _dl_skip_args_internal.
34847 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
34849         * manual/message.texi (Message Translation): Talk about users.
34850         Message to key mapping impacts design.
34852 2013-05-06  Roland McGrath  <roland@hack.frob.com>
34854         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
34856         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
34858         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
34859         * sysdeps/wordsize-64/glob64.c: ... here.
34861         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
34862         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
34863         New macros.
34865         * debug/getlogin_r_chk.c: Moved to ...
34866         * login/getlogin_r_chk.c: ... here.
34867         * debug/Makefile (routines): Move getlogin_r_chk to ...
34868         * login/Makefile (routines): ... here.
34869         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
34870         * login/Versions (libc: GLIBC_2.4): ... here.
34872         * io/poll.c (__poll): Renamed from poll.
34873         Add libc_hidden_def.
34874         (poll): Define as weak alias.
34876         * debug/ptsname_r_chk.c: Moved to ...
34877         * login/ptsname_r_chk.c: ... here.
34878         * debug/Makefile (routines): Move ptsname_r_chk to ...
34879         * login/Makefile (routines): ... here.
34880         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
34881         * login/Versions (libc: GLIBC_2.4): ... here.
34883         * posix/getlogin.c: Moved to ...
34884         * login/getlogin.c: ... here.
34885         * posix/getlogin_r.c: Moved to ...
34886         * login/getlogin_r.c: ... here.
34887         * posix/getlogin_r.c: Moved to ...
34888         * login/getlogin_r.c: ... here.
34889         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
34890         * login/Makefile (routines): ... here.
34891         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
34892         * login/Versions (libc: GLIBC_2.0): ... here.
34894         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
34895         (setrlimit): Define as weak alias.
34897         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
34898         Call __ names for open, ftruncate, and close.
34899         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
34900         (truncate): Define as weak alias.
34902 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
34904         * math/gen-libm-test.pl (parse_args): Initialize x before each
34905         test of frexp, modf and remquo.
34907         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
34908         test signgam value.
34910 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34912         [BZ #15418]
34913         [BZ #15419]
34914         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
34915         internal tests.
34916         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34918 2013-05-06  Roland McGrath  <roland@hack.frob.com>
34920         * elf/dl-writev.h: New file.
34921         * elf/dl-misc.c: Include it.
34922         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
34923         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
34925 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
34927         * math/libm-test.inc (noXFails): Remove variable.
34928         (noXPasses): Likewise.
34929         (BUILD_COMPLEX_INT): Remove macro.
34930         (print_screen): Remove xfail argument.
34931         (print_screen_max_error): Likewise.
34932         (update_stats): Likewise.
34933         (print_max_error): Likewise.  Update calls to other affected
34934         functions.
34935         (print_complex_max_error): Likewise.
34936         (test_single_exception): Update calls to print_screen.
34937         (test_single_errno): Likewise.
34938         (check_float_internal): Remove xfail argument.  Update calls to
34939         other affected functions.
34940         (check_float): Likewise.
34941         (check_complex): Likewise.
34942         (check_int): Likewise.
34943         (check_long): Likewise.
34944         (check_bool): Likewise.
34945         (check_longlong): Likewise.
34946         (main): Don't print noXFails and noXPasses.
34947         * math/gen-libm-test.pl (top level): Don't mention expected
34948         failure handling in comment.
34949         (new_test): Don't handle expected failures.
34950         (parse_args): Don't mention expected failure handling in comment.
34951         (generate_testfile): Don't handle expected failures.
34952         (parse_ulps): Likewise.
34953         (print_ulps_file): Likewise.
34954         (get_failure): Remove function.
34955         (output_test): Don't handle expected failures.
34956         * make/README.libm-test: Don't mention expected failure handling.
34958         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
34959         (minus_zero): Likewise.
34960         (plus_infty): Likewise.
34961         (minus_infty): Likewise.
34962         (qnan_value): Likewise.
34963         (max_value): Likewise.
34964         (min_value): Likewise.
34965         (min_subnorm_value): Likewise.
34966         (initialize): Do not initialize those variables dynamically.
34968 2013-05-03  Roland McGrath  <roland@hack.frob.com>
34970         * io/open.c (__open_2): Moved to ...
34971         * io/open_2.c: ... this new file.
34972         * io/open64.c (__open64_2): Moved to ...
34973         * io/open64_2.c: ... this new file.
34974         * io/openat.c (__openat_2): Moved to ...
34975         * io/openat_2.c: ... this new file.
34976         * io/openat64.c (__openat64_2): Moved to ...
34977         * io/openat64_2.c: ... this new file.
34978         * io/Makefile (routines): Add them.
34979         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
34980         * sysdeps/unix/sysv/linux/open_2.c: File removed.
34981         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
34982         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
34983         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
34984         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
34985         (__openat64): Add hidden_ver.
34986         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
34987         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
34989         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
34990         Separately conditionalize setting of GLRO(dl_sysinfo) so
34991         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
34992         as well, but the actual setting is only under [NEED_DL_SYSINFO].
34994 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34996         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
34997         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
34998         definition.
34999         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
35000         * sysdeps/unix/sysv/linux/powerpc/init-first.c
35001         (_libc_vdso_platform_setup): Add __vdso_time initialization.
35002         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
35003         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
35005 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
35007         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
35008         test signgam value.
35010         * math/libm-test.inc (hypot_test): Do not use
35011         IGNORE_ZERO_INF_SIGN.
35013 2013-05-03  Andreas Jaeger  <aj@suse.de>
35015         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
35016         Linux 3.9.
35017         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
35018         (PF_MAX): Adjust for VSOCK change.
35020 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35022         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35024 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
35026         [BZ #15264]
35027         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
35028         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
35029         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
35031 2013-05-02  David S. Miller  <davem@davemloft.net>
35033         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35035 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
35037         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
35039 2013-05-01  Roland McGrath  <roland@hack.frob.com>
35041         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
35043 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
35045         [BZ #14952]
35046         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
35047         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
35048         Use __attribute__ ((__gnu_inline__)).
35049         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
35050         Don't use __attribute__ ((__gnu_inline__)).
35052 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
35054         [BZ #15423]
35055         * math/s_catan.c (__catan): Handle small real or imaginary part of
35056         input specially to avoid spurious underflow.
35057         * math/s_catanf.c (__catanf): Likewise.
35058         * math/s_catanh.c (__catanh): Likewise.
35059         * math/s_catanhf.c (__catanhf): Likewise.
35060         * math/s_catanhl.c (__catanhl): Likewise.
35061         * math/s_catanl.c (__catanl): Likewise.
35062         * math/libm-test.inc (catan_test): Add more tests.
35063         (catanh_test): Likewise.
35064         * sysdeps/i386/fpu/libm-test-ulps: Update.
35065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35067 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35069         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35071 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
35073         [BZ #15416]
35074         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
35075         accurately for denominator in atan2.
35076         * math/s_catanf.c (__catanf): Likewise.
35077         * math/s_catanh.c (__catanh): Likewise.
35078         * math/s_catanhf.c (__catanhf): Likewise.
35079         * math/s_catanhl.c (__catanhl): Likewise.
35080         * math/s_catanl.c (__catanl): Likewise.
35081         * math/libm-test.inc (catan_test): Add more tests.
35082         (catanh_test): Likewise.
35083         * sysdeps/i386/fpu/libm-test-ulps: Update.
35084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35086 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35088         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
35090         * benchtests/Makefile (bench): Remove slow benchmarks.
35091         * benchtests/atan-inputs: Add slow benchmark inputs.
35092         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
35093         (BENCH_FUNC): Accept variant offset.
35094         (VARIANT): Define.
35095         * benchtests/bench-skeleton.c (main): Run benchmark for each
35096         variant.
35097         * benchtests/cos-inputs: Add slow benchmark inputs.
35098         * benchtests/exp-inputs: Likewise.
35099         * benchtests/pow-inputs: Likewise.
35100         * benchtests/sin-inputs: Likewise.
35101         * benchtests/slowatan-inputs: Remove.
35102         * benchtests/slowatan.c: Remove.
35103         * benchtests/slowcos-inputs: Remove.
35104         * benchtests/slowcos.c: Remove.
35105         * benchtests/slowexp-inputs: Remove.
35106         * benchtests/slowexp.c: Remove.
35107         * benchtests/slowpow-inputs: Remove.
35108         * benchtests/slowpow.c: Remove.
35109         * benchtests/slowsin-inputs: Remove.
35110         * benchtests/slowsin.c: Remove.
35111         * benchtests/slowtan-inputs: Remove.
35112         * benchtests/slowtan.c: Remove.
35113         * benchtests/tan-inputs: Add slow benchmark inputs.
35114         * scripts/bench.pl: Parse comments and directives.
35116         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
35117         in CPPFLAGS.
35118         ($(objpfx)bench-%.c): Remove *-ITER.
35119         * benchtests/bench-modf.c: Remove definition of ITER.
35120         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
35121         (main): Loop for DURATION seconds instead of fixed number of
35122         iterations.
35123         * scripts/bench.pl: Don't expect iterations in parameters.
35125 2013-04-29  Roland McGrath  <roland@hack.frob.com>
35127         * io/fchdir.c (__fchdir): Renamed from fchdir.
35128         (fchdir): Define as weak alias.
35130 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
35132         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
35133         (ERRNO_EDOM): Likewise.
35134         (ERRNO_ERANGE): Likewise.
35135         (noErrnoTests): New variable.
35136         (init_max_error): Set errno to 0.
35137         (test_single_errno): New function.
35138         (test_errno): Likewise.
35139         (check_float_internal): Call test_errno.  Set errno to 0.
35140         (check_complex): Refer to errno tests in comment.
35141         (check_int): Call test_errno.  Set errno to 0.
35142         (check_long): Likewise.
35143         (check_bool): Likewise.
35144         (check_longlong): Likewise.
35145         (cos_test): Use ERRNO_* flags for errno tests instead of
35146         check_int.
35147         (expm1_test): Likewise.
35148         (fmod_test): Likewise.
35149         (ilogb_test): Likewise.
35150         (lgamma_test): Likewise.
35151         (pow_test): Likewise.
35152         (remainder_test): Likewise.
35153         (sin_test): Likewise.
35154         (tan_test): Likewise.
35155         (yn_test): Likewise.
35156         (initialize): Set errno to 0.
35157         (main): Print number of errno tests.
35158         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
35160 2013-04-29  Andreas Jaeger  <aj@suse.de>
35162         [BZ #15084]
35163         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
35164         and RES_USEVC.
35166         [BZ #15085]
35167         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
35168         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
35169         unimplemented.
35171         [BZ #15380]
35172         * stdlib/random.c (__initstate): Return NULL if
35173         __initstate fails.
35175         [BZ #15086]
35176         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
35177         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
35178         RES_SNGLKUPREOP.
35180 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35182         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35184 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
35186         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
35187         of individual tests.
35188         (casin_test): Likewise.
35189         (casinh_test): Likewise.
35191 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
35193         [BZ #15409]
35194         * math/s_catan.c (__catan): Handle arguments with large real or
35195         imaginary part separately without squaring.
35196         * math/s_catanf.c (__catanf): Likewise.
35197         * math/s_catanh.c (__catanh): Likewise.
35198         * math/s_catanhf.c (__catanhf): Likewise.
35199         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35200         and redefine.
35201         (__catanhl): Handle arguments with large real or imaginary part
35202         separately without squaring.
35203         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35204         and redefine.
35205         (__catanl): Handle arguments with large real or imaginary part
35206         separately without squaring.
35207         * math/libm-test.inc (catan_test): Add more tests.
35208         (catanh_test): Likewise.
35209         * sysdeps/i386/fpu/libm-test-ulps: Update.
35210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35212 2013-04-27  Andreas Jaeger  <aj@suse.de>
35214         [BZ #15007]
35215         * stdlib/stdlib.h: Update guards for qecvt.
35216         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
35217         <stdlib.h>.
35219 2013-04-27  Allan McRae  <allan@archlinux.org>
35221         * sysdeps/i386/fpu/libm-test-ulps: Update.
35223 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
35225         [BZ #15406]
35226         * math/s_catan.c: Include <float.h>.
35227         (__catan): Ensure underflow exception occurs for underflowed
35228         result.
35229         * math/s_catanf.c: Include <float.h>.
35230         (__catanf): Ensure underflow exception occurs for underflowed
35231         result.
35232         * math/s_catanh.c: Include <float.h>.
35233         (__catanh): Ensure underflow exception occurs for underflowed
35234         result.
35235         * math/s_catanhf.c: Include <float.h>.
35236         (__catanhf): Ensure underflow exception occurs for underflowed
35237         result.
35238         * math/s_catanhl.c: Include <float.h>.
35239         (__catanhl): Ensure underflow exception occurs for underflowed
35240         result.
35241         * math/s_catanl.c: Include <float.h>.
35242         (__catanl): Ensure underflow exception occurs for underflowed
35243         result.
35244         * math/libm-test.inc (catan_test): Add more tests.
35245         (catanh_test): Likewise.
35247         [BZ #15405]
35248         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
35249         underflowed result.
35250         * math/s_ccoshf.c (__ccoshf): Likewise.
35251         * math/s_ccoshl.c (__ccoshl): Likewise.
35252         * math/s_csin.c (__csin): Likewise.
35253         * math/s_csinf.c (__csinf): Likewise.
35254         * math/s_csinh.c (__csinh): Likewise.
35255         * math/s_csinhf.c (__csinhf): Likewise.
35256         * math/s_csinhl.c (__csinhl): Likewise.
35257         * math/s_csinl.c (__csinl): Likewise.
35258         * math/libm-test.inc (ccos_test): Add more tests.
35259         (ccosh_test): Likewise.
35260         (csin_test): Likewise.
35261         (csinh_test): Likewise.
35263 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35265         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
35266         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
35267         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
35268         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
35269         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
35270         powerpc/power5+/fpu folders.
35271         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
35274 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
35276         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35278 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
35280         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
35281         additions to variable.
35282         [$(config-machine) = x86_64] (modules-names): Likewise.
35283         ($(objpfx)tst-audit3): Remove dependency.
35284         ($(objpfx)tst-audit3.out): Likewise.
35285         ($(objpfx)tst-audit4): Likewise.
35286         ($(objpfx)tst-audit4.out): Likewise.
35287         ($(objpfx)tst-audit5): Likewise.
35288         ($(objpfx)tst-audit5.out): Likewise.
35289         ($(objpfx)tst-audit6): Likewise.
35290         ($(objpfx)tst-audit6.out): Likewise.
35291         ($(objpfx)tst-audit7): Likewise.
35292         ($(objpfx)tst-audit7.out): Likewise.
35293         (tst-audit3-ENV): Remove variable.
35294         (tst-audit4-ENV): Likewise.
35295         (tst-audit5-ENV): Likewise.
35296         (tst-audit6-ENV): Likewise.
35297         (tst-audit7-ENV): Likewise.
35298         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
35299         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
35300         addition to variable.
35301         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
35302         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
35303         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
35304         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
35305         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
35306         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
35307         tst-audit3, tst-audit4 and tst-audit5.
35308         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
35309         tst-audit6 and tst-audit7.
35310         [$(subdir) = elf] (modules-names): Add audit modules for those
35311         tests.
35312         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
35313         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
35314         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
35315         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
35316         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
35317         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
35318         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
35319         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
35320         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
35321         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
35322         [$(subdir) = elf] (tst-audit3-ENV): New variable.
35323         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
35324         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
35325         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
35326         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
35327         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
35328         Likewise.
35329         [$(subdir) = elf && $(config-cflags-avx) = yes]
35330         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
35331         [$(subdir) = elf && $(config-cflags-avx) = yes]
35332         (CFLAGS-tst-auditmod4a.c): Likewise.
35333         [$(subdir) = elf && $(config-cflags-avx) = yes]
35334         (CFLAGS-tst-auditmod4b.c): Likewise.
35335         [$(subdir) = elf && $(config-cflags-avx) = yes]
35336         (CFLAGS-tst-auditmod6b.c): Likewise.
35337         [$(subdir) = elf && $(config-cflags-avx) = yes]
35338         (CFLAGS-tst-auditmod6c.c): Likewise.
35339         [$(subdir) = elf && $(config-cflags-avx) = yes]
35340         (CFLAGS-tst-auditmod7b.c): Likewise.
35341         * elf/tst-audit3.c: Move to ...
35342         * sysdeps/x86_64/tst-audit3.c: ... here.
35343         * elf/tst-audit4.c: Move to ...
35344         * sysdeps/x86_64/tst-audit4.c: ... here.
35345         * elf/tst-audit5.c: Move to ...
35346         * sysdeps/x86_64/tst-audit5.c: ... here.
35347         * elf/tst-audit6.c: Move to ...
35348         * sysdeps/x86_64/tst-audit6.c: ... here.
35349         * elf/tst-audit7.c: Move to ...
35350         * sysdeps/x86_64/tst-audit7.c: ... here.
35351         * elf/tst-auditmod3a.c: Move to ...
35352         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
35353         * elf/tst-auditmod3b.c: Move to ...
35354         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
35355         * elf/tst-auditmod4a.c: Move to ...
35356         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
35357         * elf/tst-auditmod4b.c: Move to ...
35358         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
35359         * elf/tst-auditmod5a.c: Move to ...
35360         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
35361         * elf/tst-auditmod5b.c: Move to ...
35362         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
35363         * elf/tst-auditmod6a.c: Move to ...
35364         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
35365         * elf/tst-auditmod6b.c: Move to ...
35366         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
35367         * elf/tst-auditmod6c.c: Move to ...
35368         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
35369         * elf/tst-auditmod7a.c: Move to ...
35370         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
35371         * elf/tst-auditmod7b.c: Move to ...
35372         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
35374 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
35376         [BZ #15366]
35377         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
35378         define unconditionally.
35379         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
35380         define unconditionally.
35381         (INT8_C, INT16_C, etc.): Likewise.
35383 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
35385         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
35386         __ehdr_start with hidden visibility.
35388         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
35390 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
35392         * math/libm-test.inc (cos_test): Use accurate hex constants.
35393         (sincost_test): Likewise.
35395 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
35397         * math/libm-test.inc (catan_test): Add more tests.
35398         (catanh_test): Likewise.
35400         * math/s_catanf.c (__catanf): Use suffixed floating-point
35401         constants.
35402         * math/s_catanhf.c (__catanhf): Likewise.
35403         * math/s_catanhl.c (__catanhl): Likewise.
35404         * math/s_catanl.c (__catanl): Likewise.
35406         [BZ #15394]
35407         * math/s_catan.c (__catan): Calculate imaginary part of result
35408         with log1p not log unless computing log of number close to 0.
35409         * math/s_catanf.c (__catanf): Likewise.
35410         * math/s_catanl.c (__catanl): Likewise.
35411         * math/s_catanh.c (__catanh): Calculate real part of result with
35412         log1p not log unless computing log of number close to 0.
35413         * math/s_catanhf.c (__catanhf): Likewise.
35414         * math/s_catanhl.c (__catanhl): Likewise.
35415         * math/libm-test.inc (catan_test): Add more tests.
35416         (catanh_test): Likewise.
35417         * sysdeps/i386/fpu/libm-test-ulps: Update.
35418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35420 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35422         * benchtests/Makefile: Mention files in which fast and slow
35423         paths of math functions are implemented.
35425 2013-04-23  Roland McGrath  <roland@hack.frob.com>
35427         * sysdeps/posix/timespec_get.c: New file.
35429 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35431         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
35432         POWER.
35433         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
35434         for POWER.
35435         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
35436         powerpc/power5/fpu folders.
35437         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
35438         * benchtests/Makefile: Add modf testcase.
35439         * benchtests/bench-modf.c: New file: Benchmark test for mo
35441 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
35443         [BZ #14888]
35444         * time/Makefile (tests): Add tst-strptime-whitespace.
35445         * time/strptime_l.c (get_number): Use ISSPACE.
35446         (__strptime_internal): Likewise.
35447         * time/tst-strptime-whitespace.c: New test case.
35449 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
35451         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
35452         member.
35453         (_nss_files_init): Set it here.
35455 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
35457         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
35458         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
35459         unsigned.
35461 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
35463         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
35465 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35467         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
35468         size just once.
35470 2013-04-21  David S. Miller  <davem@davemloft.net>
35472         * po/ru.po: Update Russion translation from translation project.
35474 2013-04-17  Adam Conrad  <adconrad@0c3.net>
35476         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
35477         and setfsgid.
35479 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
35481         * configure.in: Remove i386 configure warning. Remove i386 case.
35482         * configure: Regenerate.
35483         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
35484         Add example to error message.
35485         * sysdeps/i386/configure: Regenerate.
35487 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
35489         * benchtests/Makefile (bench): Add cos, tan, slowcos and
35490         slowtan.
35491         * benchtests/cos-inputs: New file.
35492         * benchtests/slowcos-inputs: New file.
35493         * benchtests/slowcos.c: New file.
35494         * benchtests/slowtan-inputs: New file.
35495         * benchtests/slowtan.c: New file.
35496         * benchtests/tan-inputs: New file.
35498 2013-04-16  Roland McGrath  <roland@hack.frob.com>
35500         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
35501         considered kosher.
35503 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35505         * benchtests/Makefile: Include cppflags-iterator.mk to add
35506         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
35508         * Makefile.in (bench-clean): New target.
35509         * benchtests/Makefile (bench-clean): Likewise.
35511 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
35513         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
35515 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
35517         * stdio-common/tstdiomisc.c: Fix coding-style violation.
35519 2013-04-15  Andreas Schwab  <schwab@suse.de>
35521         * nscd/grpcache.c (cache_addgr): Properly check for short write.
35522         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35523         * nscd/pwdcache.c (cache_addpw): Likewise.
35524         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
35525         more than recsize.
35527 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35529         * benchtests/Makefile (bench): Write all output to
35530         bench-out.tmp together.
35532 2013-04-15  Andreas Schwab  <schwab@suse.de>
35534         * nscd/nscd.c (main): Don't fork again after closing files.
35536 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35538         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
35540         * benchtests/Rules (bench-deps): Collect dependencies into a
35541         single variable.  Add Makefile to dependencies.
35542         ($(objpfx)bench-%.c): Depend on bench-deps.
35544 2013-04-12  Roland McGrath  <roland@hack.frob.com>
35545             Xavier Roche  <roche+kml2@exalead.com>
35547         [BZ #15361]
35548         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
35549         just that it's a file descriptor.
35550         * manual/llio.texi (Synchronizing AIO Operations): Update description
35551         for EBADF error from aio_fsync.
35553 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35555         * Rules (bench): Move target definition...
35556         * benchtests/Makefile: ... here.
35558 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
35560         * math/libm-test.inc (cos_test): Fix PI/2 test.
35561         (sincos_test): Likewise.
35562         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
35563         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
35565 2013-04-11  Andreas Schwab  <schwab@suse.de>
35567         [BZ #13988]
35568         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
35569         accept exponent character only when digits were seen.
35570         * stdio-common/Makefile (tests): Add bug26.
35571         * stdio-common/bug26.c: New file.
35573         [BZ #14293]
35574         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
35575         non-freeable.
35577 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35579         * Makeconfig (rtld-prefix): Define built linker prefix.
35580         * Rules (run-bench): Use it.
35581         * math/Makefile (run-regen-ulps): Likewise.
35583         * Rules (bench): Remove eval.
35585 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35586             Roland McGrath  <roland@hack.frob.com>
35587             Ondrej Bilka  <neleai@seznam.cz>
35589         [BZ #15346]
35590         * time/getdate.c: Include ctype.h and alloca.h.
35591         (__getdate_r): Trim leading and trailing spaces of input.
35592         * time/tst-getdate.c (tests): Add tests with leading and
35593         trailing spaces.
35595 2013-04-08  Roland McGrath  <roland@hack.frob.com>
35597         [BZ #14280]
35598         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
35599         when computing value.
35601 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
35603         * math/README.libm-test (How can I generate "libm-test-ulps"?):
35604         Use testrun.sh to run libm tests.
35606         [BZ #15309]
35607         * elf/dl-open.c (dl_open_worker): memset all of seen array.
35609 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
35611         [BZ #15264]
35612         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
35614 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
35616         * Makefile.in (regen-ulps): New target.
35617         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
35618         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
35619         [ifneq (no,$(PERL)] (regen-ulps): New target.
35620         [ifeq (no,$(PERL)] (regen-ulps): New target.
35621         * math/libm-test.inc (ulps_file_name): Define.
35622         (output_dir): New variable.
35623         (options): Add "output-dir" option.
35624         (parse_opt): Handle 'o' case.
35625         (main): If output_dir is non-NULL use it as a prefix
35626         otherwise use "".
35627         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
35629 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
35631         [BZ #10060, #10062]
35632         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
35633         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
35634         fail configure if __sync_val_compare_and_swap is not inlined.
35635         * sysdeps/i386/configure: Regenerate.
35636         * configure.in: Build for i686 when configured for i386.
35637         * configure: Regenerate.
35638         * README: Remove i386 reference.
35640 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
35642         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
35643         * sysdeps/s390/s390-64/sysdep.h: Likewise.
35645 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
35647         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
35648         (lmsnanval): New variables.
35649         (F): Add conversion tests.
35650         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
35651         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
35653         * stdio-common/tstdiomisc.c (F): Properly collect individual
35654         tests' results.
35656         [BZ #14686, #15336]
35657         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
35658         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
35659         Instead, use input NaN values or generate a qNaN by arithmetic
35660         operation.  Also fix bugs to comply with the standard.
35661         * math/libm-test.inc (remainder_test): Add more tests.
35663         [BZ #15335, #15342]
35664         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
35665         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
35666         input NaN values or generate a qNaN by arithmetic operation.
35668         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
35669         unreachable code.
35671         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
35672         definitions.
35674 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
35676         [BZ #14478]
35677         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
35678         underflowed result.
35679         * math/s_cexpf.c (__cexpf): Likewise.
35680         * math/s_cexpl.c (__cexpl): Likewise.
35681         * math/libm-test.inc (cexp_test): Add more tests.
35683 2013-04-03  Andreas Schwab  <schwab@suse.de>
35685         [BZ #15330]
35686         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
35687         order arrays from heap if bigger than alloca cutoff.
35689 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
35691         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
35692         (SNAN_TESTS_double): Refer to GCC PR56831.
35693         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
35694         GCC PR56828.
35696 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
35698         * Rules (bench): Move bench.out after the run is complete.
35700         * Rules (bench): Echo currently running benchmark.
35702         * benchtests/Makefile (bench): Add atan and slowatan.
35703         * benchtests/atan-inputs: New file.
35704         * benchtests/slowatan-inputs: New file.
35705         * benchtests/slowatan.c: New file.
35707         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
35708         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
35709         its value.
35711         [BZ #15305]
35712         * sysdeps/unix/sysv/linux/kernel-features.h
35713         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
35714         __ASSUME_XFS_RESTRICTED_CHOWN.
35715         * sysdeps/unix/sysv/linux/pathconf.c
35716         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
35717         Save and restore errno.
35719 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
35721         [BZ #15327]
35722         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
35723         arguments using __kernel_casinh.
35724         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
35725         arguments using __kernel_casinhf.
35726         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
35727         arguments using __kernel_casinhl.
35728         * math/libm-test.inc (cacosh_test): Add more tests.
35729         * sysdeps/i386/fpu/libm-test-ulps: Update.
35730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35732 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35734         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
35735         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
35737         * bench/Makefile (bench): Add sin and slowsin.
35738         * benchtests/sin-inputs: New file.
35739         * benchtests/slowsin-inputs: New file.
35740         * benchtests/slowsin.c: New file.
35742         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
35743         (bench): Add slowexp and slowpow.
35744         (exp-ITER): Increase iterations.
35745         (pow-ITER): Likewise.
35746         * benchtests/exp-inputs: Change input.
35747         * benchtests/pow-inputs: Likewise.
35748         * benchtests/slowexp-inputs: New file.
35749         * benchtests/slowexp.c: New file.
35750         * benchtests/slowpow-inputs: New file.
35751         * benchtests/slowpow.c: New file.
35753 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35755         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
35756         instructions.
35757         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
35758         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
35759         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
35760         * benchtests/Makefile: Add rint benchtest.
35761         * benchtests/rint-inputs: Input for rint benchtest.
35763 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
35765         * Versions.def (libm): Add GLIBC_2.18.
35766         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
35767         hidden libm prototypes.
35768         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
35769         * math/Makefile (libm-calls): Add s_issignaling.
35770         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
35771         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
35772         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
35773         declaration.
35774         * math/math.h [__USE_GNU] (issignaling): New macro.
35775         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
35776         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
35777         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
35778         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
35779         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
35780         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
35781         * manual/arith.texi (issignaling): New section.
35782         * manual/libm-err-tab.pl (@all_functions): Update comment.
35783         * math/gen-libm-test.pl (parse_args): Apply special handling for
35784         issignaling.
35785         * math/libm-test.inc (print_float, issignaling_test): New
35786         functions.
35787         (check_float_internal): Add issignaling checks.
35788         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
35789         default definition.
35790         * sysdeps/powerpc/math-tests.h: New file.
35791         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
35792         tests.
35793         * math/test-snan.c (TEST_FUNC): Likewise.
35795 2013-03-30  David S. Miller  <davem@davemloft.net>
35797         * po/de.po: Update from translation team.
35799 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
35801         [BZ #10357]
35802         * math/k_casinh.c (__kernel_casinh): Handle arguments with
35803         imaginary part less than 1.0 and real part less than 0.5
35804         specially.
35805         * math/k_casinhf.c (__kernel_casinhf): Likewise.
35806         * math/k_casinhl.c (__kernel_casinhl): Likewise.
35807         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
35808         (cacos_test): Add more tests.
35809         (casin_test): Likewise.
35810         (casinh_test): Likewise.
35811         * sysdeps/i386/fpu/libm-test-ulps: Update.
35812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35814 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35816         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
35817         ONE with its value.
35819         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
35820         (__pow_mp): Replace ONE and MONE with their values.
35821         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35822         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
35823         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35824         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
35825         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35826         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35828         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
35830         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
35831         (__pow_mp): Replace ZERO and MZERO with their values.
35832         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
35833         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35834         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35835         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
35836         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35837         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
35838         (__sqr): Likewise.
35840         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
35842         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
35844 2013-03-28  Roland McGrath  <roland@hack.frob.com>
35846         * include/stdlib.h [!SHARED] (__call_tls_dtors):
35847         Declare with __attribute__ ((weak)).
35848         * stdlib/exit.c (__libc_atexit) [!SHARED]:
35849         Call __call_tls_dtors only if it's not NULL.
35851 2013-03-28  Roland McGrath  <roland@hack.frob.com>
35853         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
35854         didn't do it already, then set _dl_phdr and _dl_phnum based on the
35855         magic __ehdr_start linker symbol if it's defined.
35856         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
35857         them up here if it was already done.
35859         * elf/dl-support.c (_dl_phdr): Make pointer to const.
35860         (_dl_aux_init): Use const in cast when setting it.
35861         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
35862         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
35863         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
35865         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
35866         Declare them here.
35867         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
35868         * csu/libc-tls.c: Nor here.
35869         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
35871         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
35872         (__libc_message): Never call vsyslog.
35874 2013-03-28  Alan Modra  <amodra@gmail.com>
35876         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
35877         Define as empty.
35878         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
35879         Likewise.
35881 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35883         [BZ #15214]
35884         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
35885         underflow.
35886         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35888 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35890         [BZ #15304]
35891         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
35892         Don't add gid passed as argument.
35894         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
35896 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
35898         [BZ #15307]
35899         * math/k_casinh.c (__kernel_casinh): Handle arguments with
35900         imaginary part between 1.0 and 1.5 and real part less than 0.5
35901         specially.
35902         * math/k_casinhf.c (__kernel_casinhf): Likewise.
35903         * math/k_casinhl.c (__kernel_casinhl): Likewise.
35904         * math/libm-test.inc (cacos_test): Add more tests.
35905         (casin_test): Likewise.
35906         (casinh_test): Likewise.
35907         * sysdeps/i386/fpu/libm-test-ulps: Update.
35908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35910 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35912         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
35913         constants.
35914         (norm): Likewise.
35915         (denorm): Likewise.
35916         (__dbl_mp): Likewise.
35917         (add_magnitudes): Likewise.
35918         (sub_magnitudes): Likewise.
35919         (__add): Likewise.
35920         (__sub): Likewise.
35921         (__mul): Likewise.
35922         (__sqr): Likewise.
35923         (__inv): Likewise.
35924         (__dvd): Likewise.
35926         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
35927         commented code.
35928         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
35929         (__dubcos): Likewise.
35930         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
35931         (__ieee754_acos): Likewise.
35932         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
35933         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
35934         (__exp1): Likewise.
35935         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35936         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
35937         (log1): Likewise.
35938         (my_log2): Likewise.
35939         (checkint): Likewise.
35940         * sysdeps/ieee754/dbl-64/e_remainder.c
35941         (__ieee754_remainder): Likewise.
35942         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35943         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
35944         (bsloww): Likewise.
35945         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35947         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
35948         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
35949         MANTISSA_STORE_T to store computations on mantissa.  Use
35950         macros for rounding and division.
35951         (denorm): Likewise.
35952         (__dbl_mp): Likewise.
35953         (add_magnitudes): Likewise.
35954         (sub_magnitudes): Likewise.
35955         (__mul): Likewise.
35956         (__sqr): Likewise.
35957         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
35958         powers of two in terms of TWOPOW macro.
35959         (mp_no): Make type of mantissa as MANTISSA_T.
35960         [!RADIXI]: Define RADIXI.
35961         [!TWO52]: Define TWO52.
35962         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
35964 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35966         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
35967         llroundl symbol when building for PPC32.
35969 2013-03-24  Mark H Weaver  <mhw@netris.org>
35971         * manual/arith.texi (Normalization Functions): Fix prototypes for
35972         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
35974 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35976         [BZ #13889]
35977         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
35978         high value to check if expl overflow.
35979         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
35980         to check for underflow and overflow.
35981         * math/libm-test.inc: Add exp test.
35983 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
35985         [BZ #11120]
35986         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
35987         with NOT_IN_libc.
35989 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35991         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
35992         symbol.
35994 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
35996         * math/gen-libm-test.pl (parse_args, special_functions): Properly
35997         wrap blocks consisting of several statements.
35999         * sysdeps/generic/math-tests.h: New file.
36000         * sysdeps/i386/fpu/math-tests.h: Likewise.
36001         * math/test-snan.c: Include it.
36002         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
36004 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
36006         [BZ #15285]
36007         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
36008         (__ieee754_j0l): Do not improve calculations using cos of twice
36009         input for inputs above LDBL_MAX / 2.0L.
36010         (__ieee754_y0l): Likewise.
36011         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
36012         (__ieee754_j1l): Do not improve calculations using cos of twice
36013         input for inputs above LDBL_MAX / 2.0L.
36014         (__ieee754_y1l): Likewise.
36015         * math/libm-test.inc (j0_test): Add another test.
36016         (j1_test): Likewise.
36017         (y0_test): Likewise.
36018         (y1_test): Likewise.
36019         * sysdeps/i386/fpu/libm-test-ulps: Update.
36021 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36023         * Rules ($(objpfx)bench-%.c): Include code from a C source
36024         file.
36026 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
36028         [BZ #15287]
36029         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36030         imaginary part 1.0 and real part less than 0.5 specially.
36031         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36032         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36033         * math/libm-test.inc (cacos_test): Add more tests.
36034         (casin_test): Likewise.
36035         (casinh_test): Likewise.
36036         * sysdeps/i386/fpu/libm-test-ulps: Update.
36037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36039 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36041         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
36042         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
36044 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
36046         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
36047         * config.make.in (config-cflags-sse4): Remove variable.
36048         (config-cflags-avx): Likewise.
36049         (config-cflags-sse2avx): Likewise.
36050         (config-cflags-novzeroupper): Likewise.
36051         (config-asflags-i686): Likewise.
36052         (have-mfma4): Likewise.
36053         (have-as-vis3): Likewise.
36054         (MIG): Likewise.
36055         * configure.in (MIG): Do not AC_SUBST.
36056         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
36057         (libc_cv_cc_sse4): Do not AC_SUBST.
36058         (libc_cv_cc_avx): Likewise.
36059         (libc_cv_cc_sse2avx): Likewise.
36060         (libc_cv_cc_novzeroupper): Likewise.
36061         (libc_cv_cc_fma4): Likewise.
36062         (libc_cv_as_i686): Likewise.
36063         (libc_cv_sparc_as_vis3): Likewise.
36064         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
36065         LIBC_CONFIG_VAR.
36066         (config-asflags-i686): Likewise.
36067         (config-cflags-avx): Likewise.
36068         (config-cflags-sse2avx): Likewise.
36069         (have-mfma4): Likewise.
36070         (config-cflags-novzeroupper): Likewise.
36071         * sysdeps/mach/configure.in (MIG): Likewise.
36072         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
36073         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
36074         LIBC_CONFIG_VAR.
36075         (config-cflags-avx): Likewise.
36076         (config-cflags-sse2avx): Likewise.
36077         (have-mfma4): Likewise.
36078         (config-cflags-novzeroupper): Likewise.
36079         * configure: Regenerated.
36080         * sysdeps/i386/configure: Likewise.
36081         * sysdeps/mach/configure: Likewise.
36082         * sysdeps/sparc/configure: Likewise.
36083         * sysdeps/x86_64/configure: Likewise.
36085 2013-03-20  Roland McGrath  <roland@hack.frob.com>
36087         [BZ #14812]
36088         * locale/programs/localedef.c (options): Put N_ translation marker
36089         on argument names, not just descriptions.
36091 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36093         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
36095 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
36097         [BZ #14176]
36098         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
36100 2013-03-19  Roland McGrath  <roland@hack.frob.com>
36102         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
36103         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
36104         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
36105         [!BEFORE_ABORT] (before_abort): New function.
36106         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
36107         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
36108         (writev_for_fatal): New function.
36109         (WRITEV_FOR_FATAL): New macro; call that.
36110         (backtrace_and_maps): New function.
36111         (BEFORE_ABORT): New macro; call that.
36112         (struct str_list): Type removed.
36113         (__libc_message, __libc_fatal): Functions removed.
36114         Include <sysdeps/posix/libc_fatal.c> instead.
36116 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
36118         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
36119         constants.
36120         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
36121         double constants.
36123 2013-03-19  Andreas Schwab  <schwab@suse.de>
36125         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
36126         * sysdeps/gnu/configure: Regenerate.
36128         * configure.in: Substitute libc_cv_rtlddir.
36129         * configure: Regenerate.
36130         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
36131         * Makeconfig (rtlddir, inst_rtlddir): New variables.
36132         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
36133         * elf/Makefile (install-others, CFLAGS-interp.c)
36134         (ldso_install, common-ldd-rewrite): Likewise.
36135         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
36136         $(inst_slibdir)/$(rtld-installed-name).
36137         * scripts/rellns-sh: Add -p option.
36138         * Makerules (make-shlib-link): Use rellns-sh to get relative name
36139         for source.
36141 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36143         * manual/nptl.texi: Renamed to ...
36144         * manual/threads.texi: ... this.
36145         * manual/Makefile (chapters): Update.
36147 2013-03-18  Roland McGrath  <roland@hack.frob.com>
36149         [BZ #14812]
36150         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
36151         on argument names, not just descriptions.
36152         * malloc/memusagestat.c (options): Likewise.
36153         * nss/getent.c (options): Likewise.
36155 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
36157         [BZ #14812]
36158         * iconv/iconv_prog.c (options): Put N_ translation marker
36159         on argument names, not just descriptions.
36160         * iconv/iconvconfig.c (options): Likewise.
36162 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
36164         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
36165         implementation which is faster on all x86_64 architectures.
36166         Tested on AMD, Intel Nehalem, SNB, IVB.
36167         * sysdeps/x86_64/strnlen.S: Likewise.
36169         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
36170         Remove all multiarch strlen and strnlen versions.
36171         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
36172         Remove strlen and strnlen related parts.
36174         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
36175         Inline strlen part.
36176         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
36178         * sysdeps/x86_64/multiarch/strlen.S: Remove.
36179         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
36180         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
36181         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
36182         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36183         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
36185 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
36187         * manual/memory.texi (Malloc Tunable Parameters):
36188         Sort parameters alphabetically. Add comments for missing entries.
36190 2013-03-17  David S. Miller  <davem@davemloft.net>
36192         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36194 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
36196         [BZ #15283]
36197         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
36198         for arguments at most half maximum finite value.
36199         * math/libm-test.inc (j0_test): Add more tests.
36200         (j1_test): Likewise.
36201         (y0_test): Likewise.
36202         (y1_test): Likewise.
36203         * sysdeps/i386/fpu/libm-test-ulps: Update.
36204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36206         [BZ #14155]
36207         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
36208         1 / x and functions P and Q for arguments above 0x1p256L.
36209         (__ieee754_y0l): Likewise.
36210         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
36211         (__ieee754_y1l): Likewise.
36212         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
36213         (j1_test): Likewise.
36214         (y0_test): Likewise.
36215         (y1_test): Likewise.
36217 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
36219         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
36220         variable.
36222 2013-03-15  Roland McGrath  <roland@hack.frob.com>
36224         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
36225         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
36226         zero since it's initialized to EXEC_PAGESIZE.
36228         * sysdeps/unix/sysv/linux/ldsodefs.h
36229         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
36230         * sysdeps/generic/ldsodefs.h: ... here.
36232 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
36234         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
36236         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
36237         math/test-snan.c.
36238         * math/test-snan.c: Renamed from
36239         sysdeps/powerpc/fpu/test-powerpc-snan.c.
36240         * math/Makefile (tests): Add test-snan.
36241         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
36242         test-powerpc-snan.
36244         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
36245         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
36246         functions.
36247         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
36248         __builtin_nan family of functions.
36249         * math/libm-test.inc (initialize): Initialize qnan_value with
36250         __builtin_nan family of functions.
36251         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
36252         Remove variables.
36253         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
36254         Remove functions.
36255         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
36256         storage class.  Initialize qNaN_var and sNaN_var with
36257         __builtin_nan and __builtin_nans families of functions,
36258         respectively.
36260         * math/libm-test.inc (acosh_test): Also test with qNaN input.
36261         (sqrt_test): Remove duplicate test with qNaN input.
36262         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
36263         (round_test, signbit_test, significand_test): Note missing +/-Inf
36264         as well as qNaN tests.
36266         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
36267         qNaN_var.  Fix a few strings, too.
36268         * math/libm-test.inc (nan_value): Rename to qnan_value.
36269         * math/gen-libm-test.pl (%beautify): Adjust to that.
36270         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
36271         * math/test-misc.c (main): Likewise.
36272         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
36273         to __qnan_bytes, and __qnan_union, respectively.
36274         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
36275         Likewise.
36276         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
36277         and lqnanval, respectively.
36278         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
36279         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
36280         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
36281         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
36283         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
36284         * math/test-misc.c (main) [__x86_64__]: Enable test for long
36285         doubles.
36287         * math/test-misc.c (main): Fix copy'n'pastos.
36288         * misc/tst-efgcvt.c (special): Likewise.
36290         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
36291         Remove declarations.
36293 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36295         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
36296         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
36297         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
36298         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
36300 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36302         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
36303         macro to return vdso values correctly in IFUNC implementations.
36304         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
36305         Optimization by using IFUNC.
36307 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36308             Richard Henderson  <rth@redhat.com>
36309             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36311         * Makefile.in (bench): New target.
36312         * NEWS: Mention the benchmark framework.
36313         * Rules (bench): Likewise.
36314         (binaries-bench): Generate binaries for functions to
36315         benchmark.
36316         * benchtests/Makefile: New makefile for benchmark tests.
36317         * benchtests/bench-skeleton.c: New skeleton file for benchmark
36318         programs.
36319         * benchtests/exp-inputs: New input file for EXP function.
36320         * benchtests/pow-inputs: New input file for POW function.
36321         * scripts/bench.pl: New script to generate source files for
36322         benchmark programs.
36324 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36326         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
36327         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
36328         computations on mantissa.  Use macros for rounding and
36329         division.
36330         (denorm): Likewise.
36331         (__dbl_mp): Likewise.
36332         (add_magnitudes): Likewise.
36333         (sub_magnitudes): Likewise.
36334         (__mul): Likewise.
36335         (__sqr): Likewise.
36336         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
36337         powers of two in terms of TWOPOW macro.
36338         (mp_no): Make type of mantissa as MANTISSA_T.
36339         [!RADIXI]: Define RADIXI.
36340         [!TWO52]: Define TWO52.
36341         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
36343         * manual/nptl.texi (cindex): Modify threads to pthreads.
36345 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
36347         * sysdeps/x86_64/preconfigure: Regenerated.
36349 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
36351         [BZ #14155]
36352         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
36353         0x1p28 and above.
36354         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
36355         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
36356         0x1p28 and above.
36357         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
36358         * math/libm-test.inc (j0_test): Do not allow one spurious
36359         underflow exception.
36360         (y1_test): Likewise.
36362 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
36364         * manual/Makefile (chapters): Add nptl.
36365         * manual/debug.texi (Debugging Support): Add link to Threads
36366         chapter.
36367         * manual/nptl.texi: New file.
36369         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
36371 2013-03-14  Petr Baudis  <pasky@ucw.cz>
36373         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
36374         for non-NULL pointer before the memory validity test. Pointed
36375         out by Holger Brunck <holger.brunck@keymile.com>.
36377 2013-03-13  Andreas Schwab  <schwab@suse.de>
36379         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
36380         instead of .os.
36382 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
36384         * timezone/zic.c: Update from tzcode 2013b.
36386 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
36388         * manual/install.texi (Configuring and compiling):
36389         Mention i686 and i586.
36390         * INSTALL: Regenerate.
36392 2013-03-12  Roland McGrath  <roland@hack.frob.com>
36394         * sysdeps/init_array/elf-init.c: New file.
36395         * csu/elf-init.c
36396         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
36397         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
36399         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
36400         __gmon_start__ as global, but as static with a .preinit_array pointer.
36401         * sysdeps/init_array/gmon-start.c: New file.  Use that.
36402         * sysdeps/init_array/crti.S: New file, empty except for comments.
36403         * sysdeps/init_array/crtn.S: Likewise.
36405 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
36407         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
36408         definining bcopy.
36409         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36410         Remove Prefer_SSE_for_memop.
36411         * sysdeps/x86_64/multiarch/init-arch.h: Remove
36412         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
36413         HAS_PREFER_SSE_FOR_MEMOP.
36414         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
36415         memset-x86-64.
36416         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36417         Remove bzero, memset ifunc support.
36418         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
36419         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
36420         * sysdeps/x86_64/multiarch/memset.S: Likewise.
36421         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36423 2013-03-11  Andreas Schwab  <schwab@suse.de>
36425         [BZ #15234]
36426         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
36427         by SHLIB_COMPAT.
36428         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
36429         (GLIBC_2.16): Remove pthread_atfork.
36431 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
36433         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
36434         (ptestcases.h): Likewise.
36436 2013-03-08  Roland McGrath  <roland@hack.frob.com>
36438         * Makeconfig ($(common-objpfx)config.status): Depend on
36439         sysdeps/*/preconfigure{,.in} too.
36441 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
36443         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
36444         (__free_hook): Use void * instead of __malloc_ptr_t.
36445         (__malloc_hook): Likewise.
36446         (__realloc_hook): Likewise.
36447         (__memalign_hook): Likewise.
36448         (__after_morecore_hook): Likewise.
36449         * malloc/arena.c (save_malloc_hook): Likewise.
36450         (save_free_hook): Likewise.
36451         * malloc/hooks.c (malloc_hook_ini): Likewise.
36452         (realloc_hook_ini): Likewise.
36453         (memalign_hook_ini): Likewise.
36454         * malloc/malloc.c (malloc_hook_ini): Likewise.
36455         (realloc_hook_ini): Likewise.
36456         (memalign_hook_ini): Likewise.
36457         (__free_hook): Likewise.
36458         (__malloc_hook): Likewise.
36459         (__realloc_hook): Likewise.
36460         (__memalign_hook): Likewise.
36461         (__libc_malloc): Likewise.
36462         (__libc_free): Likewise.
36463         (__libc_realloc): Likewise.
36464         (__libc_memalign): Likewise.
36465         (__libc_valloc): Likewise.
36466         (__libc_pvalloc): Likewise.
36467         (__libc_calloc): Likewise.
36468         (__posix_memalign): Likewise.
36469         * malloc/morecore.c (__sbrk): Likewise.
36470         (__default_morecore): Likewise.
36472         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
36474         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
36475         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
36476         __malloc_ptrdiff_t.
36478         * malloc/malloc.h (__malloc_size_t): Remove macro.
36479         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
36480         __malloc_size_t.
36481         (old_memalign_hook): Likewise.
36482         (old_realloc_hook): Likewise.
36483         (struct hdr): Likewise.
36484         (flood): Likewise.
36485         (mallochook): Likewise.
36486         (memalignhook): Likewise.
36487         (reallochook): Likewise.
36488         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
36489         (tr_old_realloc_hook): Likewise.
36490         (tr_old_memalign_hook): Likewise.
36491         (tr_mallochook): Likewise.
36492         (tr_reallochook): Likewise.
36493         (tr_memalignhook): Likewise.
36495 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36497         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
36498         default_ldbl_pack and using as default implementation.
36499         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
36500         implementation.
36501         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
36502         redundant definition.
36503         (ldbl_insert_mantissa): Likewise.
36504         (ldbl_canonicalize): Likewise.
36505         (ldbl_nearbyint): Likewise.
36506         (ldbl_pack): Rename to ldbl_pack_ppc.
36507         (ldbl_unpack): Rename to ldbl_unpack_ppc.
36508         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
36509         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
36511 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
36513         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
36514         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
36515         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
36516         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
36517         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
36518         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
36519         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
36520         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
36522 2013-03-07  Andreas Jaeger  <aj@suse.de>
36524         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36525         bits/mman-linux.h.
36527 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
36529         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
36530         Include mpa.h and declare __MPEXP.
36531         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
36532         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
36533         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
36534         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
36535         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
36536         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
36537         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
36539         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
36540         (__slowpow): Use long double EXPL and LOGL functions to
36541         compute POW.
36542         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
36543         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
36544         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
36545         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
36546         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
36547         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
36549         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
36550         intermediate variable to calculate exponent.
36551         (__sqr): Likewise.
36552         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
36553         Likewise.
36554         (__sqr): Likewise.
36556         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
36557         [!NO__SQR]: Define __sqr.
36558         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
36559         and NO__SQR.  Remove all code except __mul and __sqr.  Include
36560         sysdeps/ieee754/dbl-64/mpa.c.
36561         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36563         [BZ #12723]
36564         * posix/Makefile (tests): Add tst-pathconf.
36565         * posix/tst-pathconf.c: New test case.
36566         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
36567         _PC_PIPE_BUF.
36568         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
36570 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
36572         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
36574 2013-03-06  Andreas Jaeger  <aj@suse.de>
36576         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
36577         definition via __MAP_ANONYMOUS.
36579         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
36580         it's not part of Linux headers.
36582         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
36583         (MAP_HUGE_MASK): Define.
36585         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
36586         Define.
36587         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36588         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
36589         Define.
36590         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36591         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
36592         Define.
36593         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36594         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
36595         Define.
36596         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36598         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
36599         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
36600         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
36601         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
36602         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
36603         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
36605         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
36606         Handle f2fs.
36608         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36609         Handle f2fs and efivarfs.
36611         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
36612         f2fs.
36614         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
36615         (EFIVARFS_MAGIC): Add.
36616         (F2FS_LINK_MAX): Add.
36618 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
36620         * stdio-common/vfprintf.c: Replace __builtin_expect with
36621         __glibc_unlikely.
36623 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
36625         [BZ #13550]
36626         * sysdeps/generic/bp-sym.h: Remove file.
36627         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
36628         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
36629         <bp-sym.h> and <bp-asm.h>.
36630         (__longjmp): Don't use BP_SYM.
36631         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
36632         and <bp-asm.h>.
36633         (memcpy): Don't use BP_SYM.
36634         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
36635         <bp-sym.h> and <bp-asm.h>.
36636         (memcpy): Don't use BP_SYM.
36637         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
36638         <bp-asm.h>.
36639         (memcpy): Don't use BP_SYM.
36640         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
36641         <bp-asm.h>.
36642         (memset): Don't use BP_SYM.
36643         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36644         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36645         (__bzero): Don't use BP_SYM.
36646         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36647         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36648         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
36649         <bp-sym.h> and <bp-asm.h>.
36650         (memcmp): Don't use BP_SYM.  Remove comment about bounded
36651         pointers.
36652         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
36653         <bp-sym.h> and <bp-asm.h>.
36654         (memcpy): Don't use BP_SYM.
36655         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
36656         <bp-sym.h> and <bp-asm.h>.
36657         (memset): Don't use BP_SYM.
36658         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36659         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36660         (__bzero): Don't use BP_SYM.
36661         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36662         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36663         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
36664         <bp-sym.h> and <bp-asm.h>.
36665         (strncmp): Don't use BP_SYM.  Remove comment about bounded
36666         pointers.
36667         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
36668         <bp-sym.h> and <bp-asm.h>.
36669         (memcpy): Don't use BP_SYM.
36670         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
36671         <bp-sym.h> and <bp-asm.h>.
36672         (memset): Don't use BP_SYM.
36673         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36674         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36675         (__bzero): Don't use BP_SYM.
36676         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36677         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36678         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
36679         <bp-sym.h> and <bp-asm.h>.
36680         (__memchr): Don't use BP_SYM.
36681         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
36682         <bp-sym.h> and <bp-asm.h>.
36683         (memcmp): Don't use BP_SYM.  Remove comment about bounded
36684         pointers.
36685         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
36686         <bp-sym.h> and <bp-asm.h>.
36687         (memcpy): Don't use BP_SYM.
36688         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
36689         <bp-sym.h> and <bp-asm.h>.
36690         (__mempcpy): Don't use BP_SYM.
36691         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
36692         <bp-sym.h> and <bp-asm.h>.
36693         (__memrchr): Don't use BP_SYM.
36694         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
36695         <bp-sym.h> and <bp-asm.h>.
36696         (memset): Don't use BP_SYM.
36697         (__bzero): Likewise.
36698         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
36699         <bp-sym.h> and <bp-asm.h>.
36700         (__rawmemchr): Don't use BP_SYM.
36701         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
36702         <bp-sym.h> and <bp-asm.h>.
36703         (__STRCMP): Don't use BP_SYM.
36704         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
36705         <bp-sym.h> and <bp-asm.h>.
36706         (strchr): Don't use BP_SYM.
36707         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
36708         <bp-sym.h> and <bp-asm.h>.
36709         (__strchrnul): Don't use BP_SYM.
36710         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
36711         <bp-sym.h> and <bp-asm.h>.
36712         (strlen): Don't use BP_SYM.
36713         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
36714         <bp-sym.h> and <bp-asm.h>.
36715         (strncmp): Don't use BP_SYM.  Remove comment about bounded
36716         pointers.
36717         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
36718         <bp-sym.h> and <bp-asm.h>.
36719         (__strnlen): Don't use BP_SYM.
36720         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
36721         <bp-sym.h> and <bp-asm.h>.
36722         (__GI__setjmp): Don't use BP_SYM.
36723         (_setjmp): Likewise.
36724         (__sigsetjmp): Likewise.
36725         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
36726         (L(start_addresses)): Don't use BP_SYM.
36727         (_start): Likewise.
36728         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
36729         <bp-asm.h>.
36730         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
36731         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
36732         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36733         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36734         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
36735         <bp-asm.h>.
36736         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
36737         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
36738         about bounded pointers.
36739         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36740         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36741         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
36742         <bp-asm.h>.
36743         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
36744         about bounded pointers.  Remove GKM FIXME comments.
36745         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36746         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
36747         <bp-asm.h>.
36748         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
36749         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
36750         Remove GKM FIXME comments.
36751         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36752         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36753         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
36754         <bp-asm.h>.
36755         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
36756         about bounded pointers.  Remove GKM FIXME comment.
36757         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
36758         and <bp-asm.h>.
36759         (strncmp): Don't use BP_SYM.  Remove comment about bounded
36760         pointers.
36761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
36762         <bp-sym.h> and <bp-asm.h>.
36763         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
36764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
36765         <bp-sym.h> and <bp-asm.h>.
36766         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
36767         comment.
36769 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
36771         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
36772         call free(NULL).
36774 2013-03-05  David S. Miller  <davem@davemloft.net>
36776         * po/es.po: Update from translation team.
36778 2013-03-05  Andreas Jaeger  <aj@suse.de>
36780         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
36781         <bits/mman-linux.h>.
36782         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36783         is fine.
36784         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
36785         <bits/mman-linux.h> to end of file.
36786         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36787         is fine.
36788         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
36789         <bits/mman-linux.h> to end of file.
36790         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36791         is fine.
36792         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
36793         <bits/mman-linux.h> to end of file.
36795         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
36796         (MCL_CURRENT, MCL_FUTURE): Define here.
36798 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36800         [BZ #15232]
36801         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
36802         attribute_hidden.
36803         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36805 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36807         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
36808         fourth parameter needed for rt_sigprocmask syscall.
36809         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
36810         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
36811         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
36812         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
36813         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
36814         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
36816 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
36818         [BZ #13550]
36819         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
36820         comment about bounded pointers.
36821         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
36822         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
36824 2013-03-04  Andreas Jaeger  <aj@suse.de>
36826         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
36827         common definitions.
36829         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
36830         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
36831         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
36832         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36833         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36834         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36836 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36838         [BZ #15055]
36839         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
36840         __ieee754_sqrl instead of __sqrl.
36842 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
36844         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
36845         * sysdeps/powerpc/fpu_control.h: ... here.
36846         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
36847         * sysdeps/powerpc/bits/fenvinline.h: ... here.
36848         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
36849         * sysdeps/powerpc/bits/mathinline.h: ... here.
36851 2013-03-01  Roland McGrath  <roland@hack.frob.com>
36853         * elf/dl-hwcaps.c (_dl_important_hwcaps):
36854         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
36855         to just [NEED_DL_SYSINFO_DSO].
36856         * elf/dl-support.c: Likewise.
36857         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
36858         * elf/rtld.c (dl_main): Likewise.
36859         * elf/setup-vdso.h (setup_vdso): Likewise.
36860         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
36861         * sysdeps/unix/sysv/linux/dl-sysdep.c
36862         (_dl_discover_osversion): Likewise.
36864 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
36866         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
36867         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
36869 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
36871         * NEWS: Mention libm performance improvements and non-x86 PI
36872         futex support.
36874         * csu/libc-start.c (__pthread_initialize_minimal): Change
36875         function arguments.
36876         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
36878 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
36880         [BZ #13550]
36881         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
36882         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
36883         <bp-sym.h> and <bp-asm.h>.
36884         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36885         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
36886         and <bp-asm.h>.
36887         (memcpy): Don't use BP_SYM.
36888         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
36889         <bp-asm.h>.
36890         (__mpn_add_n): Don't use BP_SYM.
36891         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
36892         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
36893         and <bp-asm.h>.
36894         (__mpn_addmul_1): Don't use BP_SYM.
36895         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36896         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
36897         <bp-sym.h>.
36898         (_setjmp): Don't use BP_SYM.
36899         (__novmx_setjmp): Likewise.
36900         (__GI__setjmp): Likewise.
36901         (__vmx_setjmp): Likewise.
36902         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
36903         <bp-sym.h>.
36904         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
36905         (__bzero): Don't use BP_SYM.
36906         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36907         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36908         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
36909         <bp-sym.h> and <bp-asm.h>.
36910         (memcpy): Don't use BP_SYM.
36911         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
36912         <bp-sym.h> and <bp-asm.h>.
36913         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36914         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
36915         <bp-sym.h> and <bp-asm.h>.
36916         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36917         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
36918         <bp-asm.h>.
36919         (__mpn_lshift): Don't use BP_SYM.
36920         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36921         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
36922         <bp-asm.h>.
36923         (memset): Don't use BP_SYM.
36924         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36925         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36926         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
36927         <bp-asm.h>.
36928         (__mpn_mul_1): Don't use BP_SYM.
36929         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36930         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
36931         <bp-sym.h> and <bp-asm.h>.
36932         (memcmp): Don't use BP_SYM.
36933         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
36934         <bp-sym.h> and <bp-asm.h>.
36935         (memcpy): Don't use BP_SYM.
36936         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
36937         <bp-sym.h> and <bp-asm.h>.
36938         (memset): Don't use BP_SYM.
36939         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
36940         <bp-sym.h> and <bp-asm.h>.
36941         (strncmp): Don't use BP_SYM.
36942         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
36943         <bp-sym.h> and <bp-asm.h>.
36944         (memcpy): Don't use BP_SYM.
36945         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
36946         <bp-sym.h> and <bp-asm.h>.
36947         (memset): Don't use BP_SYM.
36948         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
36949         <bp-sym.h> and <bp-asm.h>.
36950         (__memchr): Don't use BP_SYM.
36951         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
36952         <bp-sym.h> and <bp-asm.h>.
36953         (memcmp): Don't use BP_SYM.
36954         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
36955         <bp-sym.h> and <bp-asm.h>.
36956         (memcpy): Don't use BP_SYM.
36957         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
36958         <bp-sym.h> and <bp-asm.h>.
36959         (__mempcpy): Don't use BP_SYM.
36960         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
36961         <bp-sym.h> and <bp-asm.h>.
36962         (__memrchr): Don't use BP_SYM.
36963         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
36964         <bp-sym.h> and <bp-asm.h>.
36965         (memset): Don't use BP_SYM.
36966         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
36967         <bp-sym.h> and <bp-asm.h>.
36968         (__rawmemchr): Don't use BP_SYM.
36969         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
36970         <bp-sym.h> and <bp-asm.h>.
36971         (__STRCMP): Don't use BP_SYM.
36972         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
36973         <bp-sym.h> and <bp-asm.h>.
36974         (strchr): Don't use BP_SYM.
36975         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
36976         <bp-sym.h> and <bp-asm.h>.
36977         (__strchrnul): Don't use BP_SYM.
36978         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
36979         <bp-sym.h> and <bp-asm.h>.
36980         (strlen): Don't use BP_SYM.
36981         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
36982         <bp-sym.h> and <bp-asm.h>.
36983         (strncmp): Don't use BP_SYM.
36984         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
36985         <bp-sym.h> and <bp-asm.h>.
36986         (__strnlen): Don't use BP_SYM.
36987         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
36988         <bp-asm.h>.
36989         (__mpn_rshift): Don't use BP_SYM.
36990         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36991         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
36992         <bp-sym.h> and <bp-asm.h>.
36993         (__sigsetjmp): Don't use BP_SYM.
36994         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
36995         (L(start_addresses)): Don't use BP_SYM.
36996         (_start): Likewise.
36997         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
36998         <bp-asm.h>.
36999         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
37000         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37001         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37002         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
37003         <bp-asm.h>.
37004         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
37005         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37006         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37007         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
37008         <bp-asm.h>.
37009         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
37010         comments.
37011         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37012         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
37013         <bp-asm.h>.
37014         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
37015         FIXME comments.
37016         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37017         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37018         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
37019         <bp-asm.h>.
37020         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
37021         comment.
37022         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
37023         and <bp-asm.h>.
37024         (strncmp): Don't use BP_SYM,
37025         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
37026         <bp-asm.h>.
37027         (__mpn_sub_n): Don't use BP_SYM.
37028         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37029         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
37030         and <bp-asm.h>.
37031         (__mpn_submul_1): Don't use BP_SYM.
37032         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
37034         <bp-sym.h> and <bp-asm.h>.
37035         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
37036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
37037         <bp-sym.h> and <bp-asm.h>.
37038         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
37039         comment.
37041 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37043         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
37044         Use ZK to minimize writes to Z.
37045         (sub_magnitudes): Simplify code a bit.
37046         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
37047         Use ZK to minimize writes to Z.
37048         (sub_magnitudes): Simplify code a bit.
37050 2013-02-27  Roland McGrath  <roland@hack.frob.com>
37052         * csu/gmon-start.c: Add special exception to license text.
37054 2013-02-27  Richard Henderson  <rth@redhat.com>
37056         * scripts/config.guess: Update from config.git.
37057         * scripts/config.sub: Likewise.
37059 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37061         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
37063         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
37065         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
37067         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
37069         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
37071 2013-02-26  Roland McGrath  <roland@hack.frob.com>
37073         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
37074         [$(build-shared = yes].
37076 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37078         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
37079         (__mul): Reduce iterations for calculating mantissa.
37081         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
37082         MPTWO.
37083         (__mpranred): Likewise.
37085         [BZ #15160]
37086         * malloc/memusagestat.c (main): Draw graphs for heap and stack
37087         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
37089 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
37091         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
37092         Define __attribute__.
37094 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37096         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
37097         unused.
37098         * posix/regex_internal.h (__attribute): Remove.
37099         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
37100         (re_string_context_at): Likewise.
37101         (bitset_not): Use __attribute__ and mark function as possibly
37102         unused.
37103         (bitset_merge): Likewise.
37104         (bitset_mask): Likewise.
37105         (re_string_char_size_at): Likewise.
37106         (re_string_wchar_at): Likewise.
37107         (re_string_elem_size_at): Likewise.
37109 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37111         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
37112         code.
37113         (cc32): Likewise.
37115         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
37116         (__acr): Likewise.
37117         (__cpy): Likewise.
37118         (norm): Likewise.
37119         (denorm): Likewise.
37120         (__dbl_mp): Likewise.
37121         (add_magnitudes): Likewise.
37122         (sub_magnitudes): Likewise.
37123         (__mul): Likewise.
37124         (__inv): Likewise.
37126         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
37127         style.
37129         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
37130         style.
37132         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
37133         code.
37135         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
37136         up changes with default code.
37137         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
37138         Likewise.
37140 2013-02-24  Allan McRae  <allan@archlinux.org>
37142         * manual/socket.texi (The Internet Namespace): Order menu items
37143         to match that in the file.
37145         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
37146         node listing of the info page menu.
37148 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
37150         [BZ #13550]
37151         * sysdeps/i386/bp-asm.h: Remove file.
37152         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
37153         (PARMS): Do not use macros from bp-asm.h.
37154         (S1): Likewise.
37155         (S2): Likewise.
37156         (SIZE): Likewise.
37157         (__mpn_add_n): Do not use BP_SYM
37158         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
37159         "bp-asm.h".
37160         (PARMS): Do not use macros from bp-asm.h.
37161         (S1): Likewise.
37162         (SIZE): Likewise.
37163         (__mpn_addmul_1): Do not use BP_SYM
37164         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
37165         "bp-asm.h".
37166         (PARMS): Do not use macros from bp-asm.h.
37167         (SIGMSK): Likewise.
37168         (_setjmp): Likewise.  Do not use BP_SYM.
37169         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
37170         "bp-asm.h".
37171         (PARMS): Do not use macros from bp-asm.h.
37172         (SIGMSK): Likewise.
37173         (setjmp): Likewise.  Do not use BP_SYM.
37174         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
37175         "bp-asm.h".
37176         (PARMS): Do not use macros from bp-asm.h.
37177         (__frexp): Do not use BP_SYM.
37178         (frexp): Likewise.
37179         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
37180         "bp-asm.h".
37181         (PARMS): Do not use macros from bp-asm.h.
37182         (__frexpf): Do not use BP_SYM.
37183         (frexpf): Likewise.
37184         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
37185         "bp-asm.h".
37186         (PARMS): Do not use macros from bp-asm.h.
37187         (__frexpl): Do not use BP_SYM.
37188         (frexpl): Likewise.
37189         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
37190         "bp-asm.h".
37191         (PARMS): Do not use macros from bp-asm.h.
37192         (__remquo): Do not use BP_SYM.
37193         (remquo): Likewise.
37194         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
37195         "bp-asm.h".
37196         (PARMS): Do not use macros from bp-asm.h.
37197         (__remquof): Do not use BP_SYM.
37198         (remquof): Likewise.
37199         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
37200         "bp-asm.h".
37201         (PARMS): Do not use macros from bp-asm.h.
37202         (__remquol): Do not use BP_SYM.
37203         (remquol): Likewise.
37204         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
37205         "bp-asm.h".
37206         (PARMS): Do not use macros from bp-asm.h.
37207         (DEST): Likewise.
37208         (SRC): Likewise.
37209         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
37210         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
37211         "bp-asm.h".
37212         (PARMS): Do not use macros from bp-asm.h.
37213         (strlen): Do not use BP_SYM.
37214         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
37215         "bp-asm.h".
37216         (PARMS): Do not use macros from bp-asm.h.
37217         (S1): Likewise.
37218         (S2): Likewise.
37219         (SIZE): Likewise.
37220         (__mpn_add_n): Do not use BP_SYM.
37221         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
37222         "bp-asm.h".
37223         (PARMS): Do not use macros from bp-asm.h.
37224         (S1): Likewise.
37225         (SIZE): Likewise.
37226         (__mpn_addmul_1): Do not use BP_SYM.
37227         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
37228         weak_alias.
37229         (bzero): Likewise.
37230         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
37231         "bp-asm.h".
37232         (PARMS): Do not use macros from bp-asm.h.
37233         (S): Likewise.
37234         (SIZE): Likewise.
37235         (__mpn_lshift): Do not use BP_SYM.
37236         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
37237         "bp-asm.h".
37238         (PARMS): Do not use macros from bp-asm.h.
37239         (DEST): Likewise.
37240         (SRC): Likewise.
37241         (LEN): Likewise.
37242         (memcpy): Likewise.  Do not use BP_SYM.
37243         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
37244         libc_hidden_def and weak_alias.
37245         (mempcpy): Do not use BP_SYM in weak_alias.
37246         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
37247         "bp-asm.h".
37248         (PARMS): Do not use macros from bp-asm.h.
37249         (DEST): Likewise.
37250         (LEN): Likewise.
37251         [!BZERO_P] (CHR): Likewise.
37252         (memset): Likewise.  Do not use BP_SYM.
37253         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
37254         "bp-asm.h".
37255         (PARMS): Do not use macros from bp-asm.h.
37256         (S1): Likewise.
37257         (SIZE): Likewise.
37258         (__mpn_mul_1): Do not use BP_SYM.
37259         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
37260         "bp-asm.h".
37261         (PARMS): Do not use macros from bp-asm.h.
37262         (S): Likewise.
37263         (SIZE): Likewise.
37264         (__mpn_rshift): Do not use BP_SYM.
37265         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
37266         "bp-asm.h".
37267         (PARMS): Do not use macros from bp-asm.h.
37268         (STR): Likewise.
37269         (CHR): Likewise.
37270         (strchr): Likewise.  Do not use BP_SYM.
37271         (index): Do not use BP_SYM in weak_alias.
37272         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
37273         "bp-asm.h".
37274         (PARMS): Do not use macros from bp-asm.h.
37275         (DEST): Likewise.
37276         (SRC): Likewise.
37277         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
37278         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
37279         "bp-asm.h".
37280         (PARMS): Do not use macros from bp-asm.h.
37281         (strlen): Do not use BP_SYM.
37282         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
37283         "bp-asm.h".
37284         (PARMS): Do not use macros from bp-asm.h.
37285         (S1): Likewise.
37286         (S2): Likewise.
37287         (SIZE): Likewise.
37288         (__mpn_sub_n): Do not use BP_SYM.
37289         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
37290         "bp-asm.h".
37291         (PARMS): Do not use macros from bp-asm.h.
37292         (S1): Likewise.
37293         (SIZE): Likewise.
37294         (__mpn_submul_1): Do not use BP_SYM.
37295         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
37296         "bp-asm.h".
37297         (PARMS): Do not use macros from bp-asm.h.
37298         (S1): Likewise.
37299         (S2): Likewise.
37300         (SIZE): Likewise.
37301         (__mpn_add_n): Do not use BP_SYM.
37302         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
37303         weak_alias.
37304         (bzero): Likewise.
37305         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
37306         "bp-asm.h".
37307         (PARMS): Do not use macros from bp-asm.h.
37308         (BLK2): Likewise.
37309         (LEN): Likewise.
37310         (memcmp): Do not use BP_SYM.
37311         (bcmp): Do not use BP_SYM in weak_alias.
37312         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
37313         "bp-asm.h".
37314         (PARMS): Do not use macros from bp-asm.h.
37315         (DEST): Likewise.
37316         (SRC): Likewise.
37317         (LEN): Likewise.
37318         (memcpy): Likewise.  Do not use BP_SYM.
37319         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
37320         "bp-asm.h".
37321         (PARMS): Do not use macros from bp-asm.h.
37322         (DEST): Likewise.
37323         (SRC): Likewise.
37324         (LEN): Likewise.
37325         (memmove): Likewise.  Do not use BP_SYM.
37326         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
37327         "bp-asm.h".
37328         (PARMS): Do not use macros from bp-asm.h.
37329         (DEST): Likewise.
37330         (SRC): Likewise.
37331         (LEN): Likewise.
37332         (__mempcpy): Likewise.  Do not use BP_SYM.
37333         (mempcpy): Do not use BP_SYM in weak_alias.
37334         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
37335         "bp-asm.h".
37336         (PARMS): Do not use macros from bp-asm.h.
37337         (DEST): Likewise.
37338         (LEN): Likewise.
37339         [!BZERO_P] (CHR): Likewise.
37340         (memset): Likewise.  Do not use BP_SYM.
37341         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
37342         "bp-asm.h".
37343         (PARMS): Do not use macros from bp-asm.h.
37344         (STR2): Likewise.
37345         (strcmp): Do not use BP_SYM.
37346         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
37347         "bp-asm.h".
37348         (PARMS): Do not use macros from bp-asm.h.
37349         (STR): Likewise.
37350         (DELIM): Likewise.
37351         [USE_AS_STRTOK_R] (SAVE): Likewise.
37352         (FUNCTION): Likewise.  Do not use BP_SYM.
37353         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
37354         aliases.
37355         (strtok_r): Likewise.
37356         (__GI___strtok_r): Likewise.
37357         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
37358         (PARMS): Do not use macros from bp-asm.h.
37359         (S): Likewise.
37360         (SIZE): Likewise.
37361         (__mpn_lshift): Do not use BP_SYM.
37362         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
37363         (PARMS): Do not use macros from bp-asm.h.
37364         (STR): Likewise.
37365         (CHR): Likewise.
37366         (__memchr): Do not use BP_SYM.
37367         (memchr): Do not use BP_SYM in weak_alias.
37368         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
37369         (PARMS): Do not use macros from bp-asm.h.
37370         (BLK2): Likewise.
37371         (LEN): Likewise.
37372         (memcmp): Do not use BP_SYM.
37373         (bcmp): Do not use BP_SYM in weak_alias.
37374         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
37375         (PARMS): Do not use macros from bp-asm.h.
37376         (S1): Likewise.
37377         (SIZE): Likewise.
37378         (__mpn_mul_1): Do not use BP_SYM.
37379         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
37380         "bp-asm.h".
37381         (PARMS): Do not use macros from bp-asm.h.
37382         (STR): Likewise.
37383         (CHR): Likewise.
37384         (__rawmemchr): Do not use BP_SYM.
37385         (rawmemchr): Do not use BP_SYM in weak_alias.
37386         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
37387         (PARMS): Do not use macros from bp-asm.h.
37388         (S): Likewise.
37389         (SIZE): Likewise.
37390         (__mpn_rshift): Do not use BP_SYM.
37391         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
37392         (PARMS): Do not use macros from bp-asm.h.
37393         (SIGMSK): Likewise.
37394         (__sigsetjmp): Likewise.  Do not use BP_SYM.
37395         * sysdeps/i386/start.S: Do not include "bp-sym.h".
37396         (_start): Do not use BP_SYM.
37397         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
37398         (PARMS): Do not use macros from bp-asm.h.
37399         (DEST): Likewise.
37400         (SRC): Likewise.
37401         (__stpcpy): Likewise.  Do not use BP_SYM.
37402         (stpcpy): Do not use BP_SYM in weak_alias.
37403         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
37404         "bp-asm.h".
37405         (PARMS): Do not use macros from bp-asm.h.
37406         (DEST): Likewise.
37407         (SRC): Likewise.
37408         (LEN): Likewise.
37409         (__stpncpy): Likewise.  Do not use BP_SYM.
37410         (stpncpy): Do not use BP_SYM in weak_alias.
37411         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
37412         (PARMS): Do not use macros from bp-asm.h.
37413         (STR): Likewise.
37414         (CHR): Likewise.
37415         (strchr): Likewise.  Do not use BP_SYM.
37416         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
37417         "bp-asm.h".
37418         (PARMS): Do not use macros from bp-asm.h.
37419         (STR): Likewise.
37420         (CHR): Likewise.
37421         (__strchrnul): Likewise.  Do not use BP_SYM.
37422         (strchrnul): Do not use BP_SYM in weak_alias.
37423         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
37424         "bp-asm.h".
37425         (PARMS): Do not use macros from bp-asm.h.
37426         (STOP): Likewise.
37427         (strcspn): Do not use BP_SYM.
37428         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
37429         "bp-asm.h".
37430         (PARMS): Do not use macros from bp-asm.h.
37431         (STR): Likewise.
37432         (STOP): Likewise.
37433         (strpbrk): Likewise.  Do not use BP_SYM.
37434         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
37435         "bp-asm.h".
37436         (PARMS): Do not use macros from bp-asm.h.
37437         (STR): Likewise.
37438         (CHR): Likewise.
37439         (strrchr): Likewise.  Do not use BP_SYM.
37440         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
37441         (PARMS): Do not use macros from bp-asm.h.
37442         (SKIP): Likewise.
37443         (strspn): Do not use BP_SYM.
37444         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
37445         (PARMS): Do not use macros from bp-asm.h.
37446         (STR): Likewise.
37447         (DELIM): Likewise.
37448         (SAVE): Likewise.
37449         (FUNCTION): Likewise.  Do not use BP_SYM.
37450         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
37451         aliases.
37452         (strtok_r): Likewise.
37453         (__GI___strtok_r): Likewise.
37454         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
37455         (PARMS): Do not use macros from bp-asm.h.
37456         (S1): Likewise.
37457         (S2): Likewise.
37458         (SIZE): Likewise.
37459         (__mpn_sub_n): Do not use BP_SYM.
37460         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
37461         "bp-asm.h".
37462         (PARMS): Do not use macros from bp-asm.h.
37463         (S1): Likewise.
37464         (SIZE): Likewise.
37465         (__mpn_submul_1): Do not use BP_SYM.
37466         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
37467         <bp-sym.h>.
37468         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
37469         and <bp-asm.h>.
37470         (PARMS): Do not use macros from bp-asm.h.
37471         (FLAGS): Likewise.
37472         (PTID): Likewise.
37473         (TLS): Likewise.
37474         (CTID): Likewise.
37475         (__clone): Do not use BP_SYM.
37476         (clone): Do not use BP_SYM in weak_alias.
37477         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
37478         and <bp-asm.h>.
37479         (PARMS): Do not use macros from bp-asm.h.
37480         (LEN): Likewise.
37481         (__mmap64): Do not use BP_SYM.
37482         (mmap64): Do not use BP_SYM in weak_alias.
37483         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
37484         <bp-sym.h> and <bp-asm.h>.
37485         (PARMS): Do not use macros from bp-asm.h.
37486         (__posix_fadvise64_l64): Do not use BP_SYM.
37487         * sysdeps/unix/sysv/linux/i386/semtimedop.S
37488         (PARMS): Do not use macros from bp-asm.h.
37489         (NSOPS): Likewise.
37490         (semtimedop): Do not use BP_SYM.
37491         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
37492         and <bp-asm.h>.
37494 2013-02-21  Allan McRae  <allan@archlinux.org>
37496         * manual/message.texi (Charset conversion in gettext):
37497         Move @end statement to beginning of line.
37499 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37501         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
37502         static.
37503         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
37504         Likewise.
37506         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
37507         (denorm): Likewise.
37508         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
37509         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
37511 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37513         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
37514         tail-call to the resolved function if pltexit isn't needed.
37516 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37518         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
37519         or Y being zero as being unlikely.
37520         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
37521         Likewise.
37523 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
37525         * manual/nss.texi (System Databases and Name Service Switch):
37526         Remove frobnicate @pxref.
37528 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
37530         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
37531         __attribute__ ((unused)) to __attribute__ ((__unused__)).
37533 2013-02-20  Petr Machata  <pmachata@redhat.com>
37535         * elf/elf.h (R_ARM_TARGET1): New macro.
37536         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
37537         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
37538         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
37539         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
37540         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
37541         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
37542         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
37543         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
37544         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
37545         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
37546         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
37547         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
37548         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
37549         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
37550         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
37551         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
37552         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
37553         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
37554         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
37555         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
37556         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
37557         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
37558         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
37559         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
37560         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
37561         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
37562         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
37563         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
37564         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
37565         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
37566         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
37567         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
37568         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
37569         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
37570         (R_ARM_THM_GOT_BREL12): Likewise.
37571         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
37572         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
37573         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
37574         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
37575         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
37576         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
37577         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
37578         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
37579         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
37581 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
37583         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
37584         __attribute_used__ to __attribute__ ((unused)).
37586 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
37588         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
37589         powerpc mpa.c.
37590         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
37591         comment formatting.
37592         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
37594 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
37596         [BZ #13550]
37597         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
37598         Remove macro.
37599         (ENTER): Remove both macro definitions.
37600         (LEAVE): Likewise.
37601         (CHECK_BOUNDS_LOW): Likewise.
37602         (CHECK_BOUNDS_HIGH): Likewise.
37603         (CHECK_BOUNDS_BOTH): Likewise.
37604         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
37605         (RETURN_BOUNDED_POINTER): Likewise.
37606         (RETURN_NULL_BOUNDED_POINTER): Likewise.
37607         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
37608         (POP_ERRNO_LOCATION_RETURN): Likewise.
37609         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
37610         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37611         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
37612         macros.
37613         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37614         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
37615         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
37616         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
37617         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
37618         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
37619         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
37620         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
37621         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
37622         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
37623         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
37624         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
37625         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37626         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
37627         removed macros.
37628         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37629         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
37630         macros.
37631         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37632         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
37633         * sysdeps/i386/i586/memset.S (memset): Likewise.
37634         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
37635         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37636         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
37637         macros.
37638         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37639         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
37640         Change uses of L(2) to L(out).
37641         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
37642         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
37643         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
37644         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37645         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
37646         removed macros.
37647         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37648         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
37649         macros.
37650         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37651         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
37652         (RETURN): Do not use macro LEAVE.
37653         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
37654         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
37655         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
37656         * sysdeps/i386/i686/memset.S (memset): Likewise.
37657         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
37658         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
37659         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37660         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
37661         Likewise.
37662         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37663         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
37664         L(1_2) and L(1_3) into L(1).
37665         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
37666         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
37667         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37668         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
37669         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37670         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
37671         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
37672         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37673         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
37674         macros.
37675         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
37676         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37677         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
37678         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
37679         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
37680         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37681         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
37682         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
37683         * sysdeps/i386/strcspn.S (strcspn): Likewise.
37684         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
37685         * sysdeps/i386/strrchr.S (strrchr): Likewise.
37686         * sysdeps/i386/strspn.S (strspn): Likewise.
37687         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
37688         conditional code.
37689         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37690         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
37691         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
37692         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
37693         L(1_3) into L(1_1).
37694         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
37695         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37696         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
37697         macros.
37698         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37700 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
37702         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
37703         macro.
37705 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37707         * math/atest-exp.c (exp_mpn): Remove ROUND.
37708         * math/atest-exp2.c (exp_mpn): Likewise.
37709         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
37711         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
37712         * stdlib/tst-tls-atexit-lib.c: Likewise.
37713         * stdlib/tst-tls-atexit.c: Likewise.
37715 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
37717         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
37718         and __attribute_alloc_size__.
37720 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
37722         * include/programs/xmalloc.h: Change __attribute_alloc_size to
37723         __attribute_alloc_size__.
37724         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
37725         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
37727 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
37729         * include/programs/xmalloc.h: New file.
37730         * catgets/gencat.c: Include it.
37731         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
37732         * elf/pldd.c: Likewise.
37733         * iconv/iconv_charmap.c: Likewise.
37734         * iconv/iconvconfig.c: Likewise.
37735         * iconv/strtab.c: Likewise.
37736         * locale/programs/locale.c: Likewise.
37737         * locale/programs/localedef.h: Likewise.
37738         * locale/programs/simple-hash.c: Likewise.
37739         * nscd/nscd.h: Likewise.
37740         * nss/makedb.c: Likewise.
37741         * sysdeps/generic/ldconfig.h: Likewise.
37743 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37745         * Versions.def: Add GLIBC_2.18.
37746         * include/link.h (struct link_map): New member l_tls_dtor_count.
37747         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
37748         (__call_tls_dtors): Likewise.
37749         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
37750         __cxa_thread_atexit_impl.
37751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37752         Likewise.
37753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37754         Likewise.
37755         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
37756         Likewise.
37757         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
37758         Likewise.
37759         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37760         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
37761         Likewise.
37762         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
37763         Likewise.
37764         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37765         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
37766         Likewise.
37767         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
37768         (tests): Add test case tst-tls-atexit.
37769         (modules-names): Add shared library for tst-tls-atexit.
37770         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
37771         (GLIBC_PRIVATE): Add __call_tls_dtors.
37772         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
37773         for libstdc++.
37774         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
37775         * stdlib/tst-tls-atexit.c: New test case.
37776         * stdlib/tst-tls-atexit-lib.c: New test case.
37778         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
37780         * elf/Versions (ld): Add _dl_find_dso_for_object.
37781         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
37782         * elf/dl-open.c (_dl_find_dso_for_object): New function.
37783         (dl_open_worker): Use _dl_find_dso_for_object.
37784         * elf/dl-sym.c (do_sym): Likewise.
37785         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
37787 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37789         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
37790         Syntactic changes only.
37791         (_dl_runtime_profile): Do a tail-call to the resolved function.
37793 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
37795         [BZ #13550]
37796         * sysdeps/x86_64/bp-asm.h: Remove file.
37797         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
37798         <bp-sym.h> and <bp-asm.h>.
37799         (__clone): Do not use BP_SYM.
37800         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
37801         <bp-sym.h> and <bp-asm.h>.
37802         * sysdeps/unix/x86_64/sysdep.S: Likewise.
37803         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
37804         "bp-asm.h".
37805         (_setjmp): Do not use BP_SYM.
37806         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
37807         "bp-asm.h".
37808         (setjmp): Do not use BP_SYM.
37809         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
37810         libc_hidden_def.
37811         (mempcpy): Do not use BP_SYM in weak_alias.
37812         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
37813         "bp-asm.h".
37814         (strchr): Do not use BP_SYM.
37815         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
37816         "bp-asm.h".
37817         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
37818         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
37819         (_start): Do not use BP_SYM.
37820         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
37821         "bp-asm.h".
37822         (strcat): Do not use BP_SYM.
37823         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
37824         "bp-asm.h".
37825         (STRCMP): Do not use BP_SYM.
37826         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
37827         "bp-asm.h".
37828         (STRCPY): Do not use BP_SYM.
37829         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
37830         "bp-asm.h".
37831         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
37832         "bp-asm.h".
37833         (FUNCTION): Do not use BP_SYM.
37834         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
37835         weak_alias.
37836         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
37838 2013-02-17  Andreas Jaeger  <aj@suse.de>
37840         * time/Versions: Sort entries.
37841         * string/Versions: Likewise.
37842         * resolv/Versions: Likewise.
37843         * posix/Versions: Likewise.
37844         * iconv/Versions: Likewise.
37845         * elf/Versions: Likewise.
37846         * wcsmbs/Versions: Likewise.
37848 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37850         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
37851         loop termination condition.
37853         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
37854         variable to calculate EZ.
37855         (__sqr): Likewise.
37857         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
37858         the lower precision input.
37860 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
37862         [BZ #13550]
37863         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
37864         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
37865         (run-via-rtld-prefix): Do not handle %-bp tests.
37866         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
37867         (all-object-suffixes): Remove .ob.
37868         (bppfx): Remove variable.
37869         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
37870         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
37871         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
37872         [$(build-bounded) = yes] (libtype.ob): Likewise.
37873         * Makerules (elide-routines.ob): Remove variable.
37874         (do-tests-clean): Do not handle *-bp.out.
37875         (common-mostlyclean): Do not handle *-bp and *-bp.out.
37876         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
37877         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
37878         (tests): Do not include $(tests-bp.out).
37879         (xtests): Do not include $(xtests-bp.out).
37880         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
37881         [$(build-bounded) = yes] ($(addprefix
37882         $(objpfx),$(binaries-bounded))): Remove rule.
37883         ($(objpfx)%-bp.out): Remove rule.
37884         * config.make.in (build-bounded): Remove variable.
37885         * crypt/Makefile [$(build-bounded) = yes]
37886         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
37887         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
37888         append to variable.
37889         [$(build-bounded) = yes] (install-lib): Likewise.
37890         [$(build-bounded) = yes] (generated): Likewise.
37891         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
37892         Remove rule.
37893         * intl/Makefile [$(build-bounded) = yes]
37894         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
37895         * math/Makefile [$(build-bounded) = yes]
37896         ($(tests:%=$(objpfx)%-bp): Likewise.
37897         * misc/Makefile [$(build-bounded) = yes]
37898         ($(objpfx)tst-tsearch-bp): Likewise.
37899         * nptl/Makeconfig (bounded-thread-library): Remove variable.
37900         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
37901         Remove dependency.
37902         * string/Makefile (o-objects.ob): Remove variable.
37903         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
37904         (CFLAGS-.ob): Remove variable.
37905         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
37906         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
37907         both definitions of variable.
37908         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
37909         (ASFLAGS-.ob): Remove variable.
37911 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
37913         [BZ #13550]
37914         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
37915         Remove __BOUNDED_POINTERS__ from condition.
37916         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
37917         * string/bits/string2.h [!__NO_STRING_INLINES &&
37918         !__BOUNDED_POINTERS__]: Likewise.
37919         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
37920         Likewise.
37921         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
37922         Remove conditional code.
37923         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
37924         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
37925         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
37926         condition.
37928         [BZ #13550]
37929         * csu/libc-start.c: Do not include <bp-sym.h>.
37930         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
37931         * elf/dl-open.c: Do not include <bp-sym.h>.
37932         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
37933         * math/fegetenv.c: Do not include <bp-sym.h>.
37934         (fegetenv): Do not use BP_SYM in versioned symbols.
37935         * nptl/sysdeps/pthread/bits/libc-lockP.h
37936         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
37937         <bp-sym.h>.
37938         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37939         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
37940         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37941         (__pthread_mutex_destroy): Likewise.
37942         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37943         (__pthread_mutex_lock): Likewise.
37944         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37945         (__pthread_mutex_trylock): Likewise.
37946         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37947         (__pthread_mutex_unlock): Likewise.
37948         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37949         (__pthread_mutexattr_init): Likewise.
37950         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37951         (__pthread_mutexattr_destroy): Likewise.
37952         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37953         (__pthread_mutexattr_settype): Likewise.
37954         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37955         (__pthread_rwlock_init): Likewise.
37956         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37957         (__pthread_rwlock_destroy): Likewise.
37958         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37959         (__pthread_rwlock_rdlock): Likewise.
37960         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37961         (__pthread_rwlock_tryrdlock): Likewise.
37962         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37963         (__pthread_rwlock_wrlock): Likewise.
37964         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37965         (__pthread_rwlock_trywrlock): Likewise.
37966         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37967         (__pthread_rwlock_unlock): Likewise.
37968         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37969         (__pthread_key_create): Likewise.
37970         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37971         (__pthread_setspecific): Likewise.
37972         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37973         (__pthread_getspecific): Likewise.
37974         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
37975         Likewise.
37976         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37977         (_pthread_cleanup_push_defer): Likewise.
37978         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37979         (_pthread_cleanup_pop_restore): Likewise.
37980         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37981         (pthread_setcancelstate): Likewise.
37982         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
37983         <bp-sym.h>.
37984         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
37985         (memchr): Do not use BP_SYM in weak_alias.
37986         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
37987         (fegetenv): Do not use BP_SYM in versioned symbols.
37988         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
37989         (fesetenv): Do not use BP_SYM in versioned symbols.
37990         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
37991         (feupdateenv): Do not use BP_SYM in versioned symbols.
37992         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
37993         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
37994         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
37995         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
37996         (open64): Do not use BP_SYM in weak_alias.
37997         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
37998         (fegetenv): Do not use BP_SYM in versioned symbols.
37999         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
38000         (fesetenv): Do not use BP_SYM in versioned symbols.
38001         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
38002         (feupdateenv): Do not use BP_SYM in versioned symbols.
38003         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
38004         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
38005         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
38006         (feraiseexcept): Do not use BP_SYM in versioned symbols.
38007         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
38008         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
38009         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
38010         <bp-sym.h>.
38011         (__libc_start_main): Do not use BP_SYM.
38013 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
38015         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
38016         redundant return line.
38017         (norm): Likewise.
38018         (denorm): Likewise.
38019         (dbl_mp): Likewise.
38020         (sub_magnitudes): Likewise.
38021         (__add): Likewise.
38022         (__sub): Likewise.
38023         (__mul): Likewise.
38024         (__inv): Likewise.
38025         (__dvd): Likewise.
38026         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
38027         (norm): Likewise.
38028         (denorm): Likewise.
38029         (dbl_mp): Likewise.
38030         (sub_magnitudes): Likewise.
38031         (__add): Likewise.
38032         (__sub): Likewise.
38033         (__mul): Likewise.
38034         (__inv): Likewise.
38035         (__dvd): Likewise.
38037         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
38038         instead of __mul.
38039         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38040         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
38041         (cc32): Likewise.
38043         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
38044         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
38045         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
38046         of __mul for squares.
38047         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
38048         function
38049         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
38050         Likewise.
38051         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
38052         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38054 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
38056         [BZ #13550]
38057         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
38058         code.
38059         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
38060         prototype or function definition.  Rename ubp_* variables and
38061         parameters.  Remove argv definitions conditional on
38062         [__BOUNDED_POINTERS__].
38063         * debug/backtrace.c (__backtrace): Do not use __unbounded.
38064         * elf/dl-runtime.c (_dl_fixup): Likewise.
38065         * include/set-hooks.h (RUN_HOOK): Likewise.
38066         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
38067         definition.
38068         * string/strcpy.c (strcpy): Do not use __unbounded.
38069         * sysdeps/generic/frame.h (struct layout): Likewise.
38070         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
38071         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
38072         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
38073         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
38074         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
38075         (__backtrace): Likewise.
38076         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
38077         use __ptrvalue.
38078         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
38079         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
38080         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
38081         Likewise.
38082         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
38083         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
38084         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
38085         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
38086         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
38087         Do not use __unbounded.
38088         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
38089         Rename __unboundedrlimits parameter to rlimits in prototype.
38090         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
38091         Do not use __unbounded.
38092         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
38093         not use __ptrvalue.
38094         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
38095         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
38096         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
38097         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
38098         __ptrvalue or __unbounded.
38099         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
38100         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
38101         use __unbounded.
38102         (__new_msgctl): Do not use __ptrvalue.
38103         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
38104         __unbounded.
38105         (__libc_msgrcv): Do not use __ptrvalue.
38106         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
38107         startup_info): Do not use __unbounded.
38108         (__libc_start_main): Likewise.  Rename ubp_* variables and
38109         parameters.  Remove argv definitions conditional on
38110         [__BOUNDED_POINTERS__].
38111         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
38112         __ptrvalue.
38113         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
38114         use __unbounded.
38115         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
38116         or __ptrvalue.
38117         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
38118         use __unbounded.
38119         (__new_shmctl): Do not use __ptrvalue.
38120         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
38121         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
38122         Likewise.
38123         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
38124         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
38125         (__libc_sigaction): Likewise.
38126         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
38127         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
38128         Likewise.
38129         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
38131 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
38133         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
38135         * string/mempcpy.c: Implement by calling memcpy.
38137 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
38139         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
38141         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
38142         evaluation.
38144         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
38145         values in the mantissa.
38147         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
38148         minimize writes to Z.
38149         (sub_magnitudes): Simplify code a bit.
38151 2013-02-12  Roland McGrath  <roland@hack.frob.com>
38153         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
38154         from the message.  The linker prefixes all warnings with that already.
38156 2013-02-12  Andreas Schwab  <schwab@suse.de>
38158         [BZ #15078]
38159         * posix/regexec.c (extend_buffers): Add parameter min_len.
38160         (check_matching): Pass minimum needed length.
38161         (clean_state_log_if_needed): Likewise.
38162         (get_subexp): Likewise.
38163         * posix/Makefile (tests): Add bug-regex34.
38164         (bug-regex34-ENV): Define.
38165         * posix/bug-regex34.c: New file.
38167         [BZ #11561]
38168         * posix/regcomp.c (parse_bracket_exp): When looking up collating
38169         elements compare against the byte sequence of it, not its name.
38170         * posix/Makefile (tests): Add bug-regex35.
38171         (bug-regex35-ENV): Define.
38172         * posix/bug-regex35.c: New file.
38174 2013-02-11  Tom de Vries  <tom@codesourcery.com>
38176         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
38177         comment.
38178         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
38179         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
38180         (CHECK_EOL): Add undef.
38182 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
38184         * bits/stdlib-bsearch.h: New file.
38185         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
38186         * stdlib/stdlib.h: Likewise.
38188 2013-02-11  Roland McGrath  <roland@hack.frob.com>
38190         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
38191         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
38192         declaration.
38193         * manual/search.texi (Array Search Function): Add missing const in
38194         lfind prototype.
38195         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
38196         declaration to use rlim_t.
38197         (Basic Scheduling Functions): Remove erroneous const from
38198         sched_getparam prototype.  Remove erroneous * from
38199         sched_get_priority_max and sched_get_priority_min prototypes.
38200         (Resource Usage): Fix summary @comment on vtimes to refer to
38201         sys/vtimes.h rather than vtimes.h.
38202         Add missing *s in vtimes prototype.
38203         (Limits on Resources): Fix ulimit prototype to return long int.
38204         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
38205         prototypes to use long int rather than double.
38206         (BSD Random): Fix initstate and setstate to use char *, not void *.
38207         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
38208         prototype to make second argument 'struct aiocb64 *const[]'.
38209         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
38210         (Status of AIO Operations): Remove erroneous const in aio_return and
38211         aio_return64 prototypes.
38212         (Synchronizing I/O): Fix sync prototype to return void.
38213         * manual/startup.texi (Suboptions): Remove an erroneous const in
38214         getsubopt prototype.
38215         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
38216         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
38217         use size_t rather than int.
38218         (Scanning All Users): Likewise for getpwent_r.
38219         (Setting Groups): Add missing const to setgroups prototype.
38220         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
38221         * manual/socket.texi (Host Names): Fix gethostbyaddr and
38222         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
38223         'const void *' rather than 'const char *'.
38224         (Host Address Functions): Likewise for inet_ntop.
38225         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
38226         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
38227         ssize_t for return value.
38228         (Sending Data): Likewise for send, sendto, sendmsg.
38229         (Socket Option Functions): Add a missing const in setsockopt prototype.
38230         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
38231         use wchar_t for the argument.
38232         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
38233         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
38234         take no arguments.
38235         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
38236         double/float/long double for second argument.
38237         Fix return types of significand, significandf, significandl.
38238         * manual/filesys.texi (Setting Permissions): Use mode_t for second
38239         argument in fchmod prototype.
38240         (File Owner): Use uid_t and gid_t in fchown prototype.
38241         (File Times): Add const to utimes, futimes, and lutimes prototypes.
38242         (Making Special Files): Use mode_t and dev_t in mknod prototype.
38243         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
38244         use 'const struct dirent **' as argument types to CMP function pointer
38245         argument.
38246         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
38247         (File Times): Fix summary magic @comment for struct utimbuf and utime
38248         to refer to utime.h, not time.h.
38249         * manual/string.texi (Argz Functions): Add missing const in
38250         argz_extract and argz_next prototypes.
38251         (Finding Tokens in a String): Likewise for basename.
38252         (String/Array Comparison): Fix typo in wcscasecmp prototype.
38253         (Copying and Concatenation): Fix typo in wmemmove prototype.
38254         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
38255         (Signal Stack): Remove erroneous const in sigstack prototype.
38256         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
38257         prototype.
38258         (Simple Calendar Time): Likewise for stime.
38259         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
38260         prototype.
38261         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
38262         say sys/sysctl.h instead.
38263         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
38264         and vsyslog prototypes.
38266 2013-02-11  Tom de Vries  <tom@codesourcery.com>
38268         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
38269         Remove.
38271 2013-02-11  Roland McGrath  <roland@hack.frob.com>
38273         * misc/sys/mman.h: Fix typo in mremap comment.
38275 2013-02-08  Roland McGrath  <roland@hack.frob.com>
38277         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
38278         the '\0' terminator.
38280 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
38282         [BZ #13550]
38283         * debug/segfault.c: Don't include <bp-checks.h>.
38284         * sysdeps/generic/bp-checks.h: Remove file.
38285         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
38286         (__GETDENTS): Don't use CHECK_N.
38287         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
38288         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
38289         (__getgroups): Don't use CHECK_N.
38290         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
38291         (setgroups): Don't use CHECK_N.
38292         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
38293         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
38294         (__libc_msgrcv): Don't use CHECK_N.
38295         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
38296         (__libc_msgsnd): Don't use CHECK_N.
38297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
38298         <bp-checks.h>.
38299         (__libc_pread): Don't use CHECK_N.
38300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
38301         include <bp-checks.h>.
38302         (__libc_pread64): Don't use CHECK_N.
38303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
38304         include <bp-checks.h>.
38305         (__libc_pwrite): Don't use CHECK_N.
38306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
38307         include <bp-checks.h>.
38308         (__libc_pwrite64): Don't use CHECK_N.
38309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
38310         <bp-checks.h>.
38311         (__libc_pread): Don't use CHECK_N.
38312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
38313         include <bp-checks.h>.
38314         (__libc_pread64): Don't use CHECK_N.
38315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
38316         include <bp-checks.h>.
38317         (__libc_pwrite): Don't use CHECK_N.
38318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
38319         include <bp-checks.h>.
38320         (__libc_pwrite64): Don't use CHECK_N.
38321         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
38322         (do_pread): Don't use CHECK_N.
38323         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
38324         (do_pread64): Don't use CHECK_N.
38325         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
38326         (do_pwrite): Don't use CHECK_N.
38327         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
38328         (do_pwrite64): Don't use CHECK_N.
38329         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
38330         (__libc_readv): Don't use CHECK_N.
38331         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
38332         (semop): Don't use CHECK_N.
38333         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
38334         <bp-checks.h>.
38335         (semtimedop): Don't use CHECK_N.
38336         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
38337         (__libc_pread): Don't use CHECK_N.
38338         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
38339         <bp-checks.h>.
38340         (__libc_pread64): Don't use CHECK_N.
38341         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
38342         <bp-checks.h>.
38343         (__libc_pwrite): Don't use CHECK_N.
38344         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
38345         <bp-checks.h>.
38346         (__libc_pwrite64): Don't use CHECK_N.
38347         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
38348         <bp-checks.h>.
38349         (__libc_msgrcv): Don't use CHECK_N.
38350         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
38351         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
38352         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
38353         (__libc_writev): Don't use CHECK_N.
38355 2013-02-08  Roland McGrath  <roland@hack.frob.com>
38357         * string/strcpy.c: Removed unused variable.
38359         * Makeconfig (+sysdep-includes): Define with := rather than =.
38360         Use an existing include/ subdir of each sysdeps dir before it.
38362 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38364         * nscd/connection.c (register_traced_file): Comment function.
38365         [HAVE_INOTIFY] (union __inev): Define.
38366         [HAVE_INOTIFY] (inotify_check_files): New function.
38367         [HAVE_INOTIFY] (clear_db_cache): Likewise.
38368         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
38369         clear_db_cache.
38370         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
38372 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38374         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
38375         loaded if not already and that a failure is permanent.
38377 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38379         [BZ #15006]
38380         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
38381         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
38383 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
38385         [BZ #13550]
38386         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
38387         (CHECK_1_NULL_OK): Likewise.
38388         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
38389         (__fxstat): Do not use CHECK_1.
38390         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
38391         <bp-checks.h>.
38392         (___fxstat64): Do not use CHECK_1.
38393         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
38394         <bp-checks.h>.
38395         (__fxstatat): Do not use CHECK_1.
38396         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
38397         <bp-checks.h>.
38398         (__fxstatat64): Do not use CHECK_1.
38399         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
38400         <bp-checks.h>.
38401         (__fxstat): Do not use CHECK_1.
38402         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
38403         <bp-checks.h>.
38404         (__fxstatat): Do not use CHECK_1.
38405         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
38406         <bp-checks.h>.
38407         (__getresgid): Do not use CHECK_1.
38408         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
38409         <bp-checks.h>.
38410         (__getresuid): Do not use CHECK_1.
38411         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
38412         <bp-checks.h>.
38413         (__lxstat): Do not use CHECK_1.
38414         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
38415         <bp-checks.h>.
38416         (__old_msgctl): Do not use CHECK_1.
38417         (__new_msgctl): Likewise.
38418         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
38419         <bp-checks.h>.
38420         (__new_setrlimit): Do not use CHECK_1.
38421         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
38422         <bp-checks.h>.
38423         (__old_shmctl): Do not use CHECK_1.
38424         (__new_shmctl): Likewise.
38425         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
38426         <bp-checks.h>.
38427         (__xstat): Do not use CHECK_1.
38428         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
38429         (__lxstat): Do not use CHECK_1.
38430         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
38431         <bp-checks.h>.
38432         (___lxstat64): Do not use CHECK_1.
38433         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
38434         (__old_msgctl): Do not use CHECK_1.
38435         (__new_msgctl): Likewise.
38436         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
38437         <bp-checks.h>.
38438         (__gettimeofday): Do not use CHECK_1.
38439         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
38440         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
38441         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
38442         <bp-checks.h>.
38443         (__gettimeofday): Do not use CHECK_1.
38444         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
38445         (__old_shmctl): Do not use CHECK_1_NULL_OK.
38446         (__new_shmctl): Do not use CHECK_1.
38447         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
38448         <bp-checks.h>.
38449         (do_sigtimedwait): Do not use CHECK_1.
38450         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
38451         <bp-checks.h>.
38452         (do_sigwaitinfo): Do not use CHECK_1.
38453         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
38454         <bp-checks.h>.
38455         (msgctl): Do not use CHECK_1.
38456         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
38457         <bp-checks.h>.
38458         (shmctl): Do not use CHECK_1.
38459         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
38460         (ustat): Do not use CHECK_1.
38461         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
38462         <bp-checks.h>.
38463         (__fxstat): Do not use CHECK_1.
38464         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
38465         <bp-checks.h>.
38466         (__fxstatat): Do not use CHECK_1.
38467         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
38468         <bp-checks.h>.
38469         (__lxstat): Do not use CHECK_1.
38470         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
38471         <bp-checks.h>.
38472         (__xstat): Do not use CHECK_1.
38473         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
38474         (__xstat): Do not use CHECK_1.
38475         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
38476         (___xstat64): Do not use CHECK_1.
38478         [BZ #13550]
38479         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
38480         definitions.
38481         (CHECK_BOUNDS_HIGH): Likewise.
38482         * string/strcpy.c: Do not include <bp-checks.h>.
38483         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
38485 2013-02-07  Roland McGrath  <roland@hack.frob.com>
38487         * nscd/nscd-client.h (__nscd_drop_map_ref):
38488         Add __attribute__ ((unused)).
38489         * nis/nss-nisplus.h (niserr2nss): Likewise.
38491         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
38492         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
38494         * csu/libc-tls.c (init_static_tls, init_slotinfo):
38495         Remove inline keyword.
38496         * include/rounding-mode.h (round_away): Likewise.
38497         * libio/wfileops.c (adjust_wide_data): Likewise.
38498         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
38499         (__m128i_strloadu_tolower): Likewise.
38500         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
38501         (__m128i_strloadu_tolower): Likewise.
38502         * time/mktime.c (ydhms_diff): Likewise.
38503         * locale/elem-hash.h (elem_hash): Likewise.
38504         * locale/setlocale.c (setdata): Likewise.
38505         * posix/regex_internal.h (re_string_char_size_at): Likewise.
38506         (re_string_wchar_at): Likewise.
38507         (bitset_not, bitset_merge, bitset_mask): Likewise.
38508         [!(__GNUC__ > 3)] (inline): Remove macro.
38509         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
38510         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
38511         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
38512         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
38513         * string/memcmp.c (memcmp_bytes): Likewise.
38514         * locale/programs/locarchive.c (compute_hashval): Likewise.
38515         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
38516         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
38517         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
38518         * nss/getent.c (print_rpc, print_protocols): Likewise.
38519         (print_passwd, print_group, print_aliases): Likewise.
38520         * nis/nss-nisplus.h (niserr2nss): Likewise.
38521         * nscd/connections.c (restart_p): Likewise.
38522         Change return type to bool.
38524 2013-02-05  Roland McGrath  <roland@hack.frob.com>
38526         * Makeconfig (all-Depend-files): Add existing
38527         $(sorted-subdirs:=/Depend) files.
38528         (all-subdirs): Remove nss.
38529         * sysdeps/unix/inet/Subdirs: Add it here instead.
38530         * hesiod/Depend: New file.
38532         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
38533         instead of calling alloca.
38535         * io/lseek.c (__lseek): Rename to __libc_lseek.
38536         Define __lseek as an alias.
38538         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
38540 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
38542         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
38543         else clause and remove check for non-standard endianness.
38545 2013-02-04  David S. Miller  <davem@davemloft.net>
38547         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38549 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
38551         [BZ #13550]
38552         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
38553         (__ubp_memchr): Remove prototype.
38554         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
38555         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
38556         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
38557         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
38558         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
38559         Remove alias.
38560         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
38561         (__ubp_memchr): Likewise.
38562         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
38563         (__ubp_memchr): Likewise.
38564         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
38565         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
38566         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
38567         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
38568         CHECK_STRING.
38569         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
38570         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
38571         (__getcwd): Do not use CHECK_STRING.
38572         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
38573         <bp-checks.h>.
38574         (__real_chown): Do not use CHECK_STRING.
38575         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
38576         <bp-checks.h>.
38577         (fchownat): Do not use CHECK_STRING.
38578         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
38579         CHECK_STRING.
38580         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
38581         <bp-checks.h>.
38582         (__lchown): Do not use CHECK_STRING.
38583         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
38584         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
38585         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
38586         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
38587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
38588         include <bp-checks.h>.
38589         (truncate64): Do not use CHECK_STRING.
38590         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
38591         <bp-checks.h>.
38592         (__real_chown): Do not use CHECK_STRING.
38593         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
38594         <bp-checks.h>.
38595         (__lchown): Do not use CHECK_STRING.
38596         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
38597         <bp-checks.h>.
38598         (__chown): Do not use CHECK_STRING.
38599         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
38600         <bp-checks.h>.
38601         (truncate64): Do not use CHECK_STRING.
38602         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
38603         Likewise.
38604         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
38605         (__xmknod): Do not use CHECK_STRING.
38606         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
38607         <bp-checks.h>.
38608         (__xmknodat): Do not use CHECK_STRING.
38609         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
38610         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
38612 2013-02-04  Andreas Schwab  <schwab@suse.de>
38614         [BZ #14142]
38615         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
38616         * include/netdb.h: Likewise for h_errno.
38617         * elf/tst-stackguard1.c: Include <tls.h>.
38619 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
38621         * elf/link.h (struct link_map): Extend the l_addr comment.
38622         * include/link.h (struct link_map): Likewise.
38624 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
38626         [BZ #13550]
38627         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
38628         (BOUNDED_1): Remove macro.
38629         * debug/backtrace.c: Don't include <bp-checks.h>.
38630         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
38631         (__backtrace): Likewise.
38632         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
38633         <bp-checks.h>.
38634         (__backtrace): Don't use BOUNDED_1.
38635         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
38636         <bp-checks.h>.
38637         (__backtrace): Don't use BOUNDED_1.
38638         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
38639         (__backtrace): Don't use BOUNDED_1.
38640         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
38641         (shmat): Don't use BOUNDED_N.
38643 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
38645         [BZ #13550]
38646         * sysdeps/generic/bp-start.h: Remove file.
38647         * csu/libc-start.c: Don't include <bp-start.h>.
38648         (LIBC_START_MAIN): Set up __environ directly instead of using
38649         INIT_ARGV_and_ENVIRON.
38650         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
38651         <bp-start.h>.
38653         [BZ #13550]
38654         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
38655         definitions.
38656         (CHECK_FCNTL): Likewise.
38657         (CHECK_N_PAGES): Likewise.
38659         [BZ #13550]
38660         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
38661         definitions.
38662         (CHECK_SIGSET_NULL_OK): Likewise.
38663         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
38664         <bp-checks.h>.
38665         (sigpending): Don't use CHECK_SIGSET.
38666         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
38667         <bp-checks.h>.
38668         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38669         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
38670         <bp-checks.h>.
38671         (do_sigsuspend): Don't use CHECK_SIGSET.
38672         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
38673         use CHECK_SIGSET.
38674         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
38675         (do_sigwait): Don't use CHECK_SIGSET.
38676         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
38677         use CHECK_SIGSET.
38678         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
38679         include <bp-checks.h>.
38680         (sigpending): Don't use CHECK_SIGSET.
38681         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
38682         include <bp-checks.h>.
38683         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38684         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
38685         <bp-checks.h>.
38686         (sigpending): Don't use CHECK_SIGSET.
38687         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
38688         <bp-checks.h>.
38689         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38691         [BZ #13550]
38692         * sysdeps/generic/bp-semctl.h: Remove file.
38693         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
38694         <bp-checks.h> and <bp-semctl.h>.
38695         (__old_semctl): Don't use CHECK_SEMCTL.
38696         (__new_semctl): Likewise.
38697         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
38698         and <bp-semctl.h>.
38699         (__old_semctl): Don't use CHECK_SEMCTL.
38700         (__new_semctl): Likewise.
38701         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
38702         <bp-checks.h> and <bp-semctl.h>.
38703         (__old_semctl): Don't use CHECK_SEMCTL.
38704         (__new_semctl): Likewise.
38705         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
38706         <bp-checks.h> and <bp-semctl.h>.
38707         (semctl): Don't use CHECK_SEMCTL.
38709         [BZ #13550]
38710         * Makerules (elide-bp-thunks): Remove variable.
38711         (elide-routines.oS): Don't use $(elide-bp-thunks).
38712         (elide-routines.os): Likewise.
38713         (elide-routines.o): Likewise.
38714         (elide-routines.op): Likewise.
38715         (elide-routines.og): Likewise.
38716         (objects): Don't use $(bp-thunks).
38717         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
38718         include.
38719         (common-generated): Do not add s-proto-bp.d.
38720         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
38721         (int): Likewise.
38722         (typ): Likewise.
38723         Do not generate makefile rules for bounded-pointer thunks.
38724         * sysdeps/generic/bp-thunks.h: Remove file.
38725         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
38726         * sysdeps/unix/s-proto-bp.S: Likewise.
38728         [BZ #15062]
38729         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
38730         parts of result separately when argument is not close to line from
38731         -i to i and one part of argument is small.
38732         * math/k_casinhf.c (__kernel_casinhf): Likewise.
38733         * math/k_casinhl.c (__kernel_casinhl): Likewise.
38734         * math/libm-test.inc (cacos_test): Add more tests.
38735         (casin_test): Likewise.
38736         (casinh_test): Likewise.
38737         * sysdeps/i386/fpu/libm-test-ulps: Update.
38738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38740 2013-01-31  David S. Miller  <davem@davemloft.net>
38742         * po/de.po: Update from translation team.
38744 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
38746         * time/tzfile.c: Include stdint.h for SIZE_MAX.
38748 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
38750         * configure.in (_AC_PROG_CC_C89): New definition.
38751         * configure: Regenerate.
38753         * configure.in (AC_PROG_CPP): New definition.
38754         * configure: Regenerate.
38756 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
38758         * debug/tst-backtrace.h: New file.
38759         * debug/tst-backtrace2.c: Include tst-backtrace.h.
38760         (ret): Remove variable.
38761         (x): Likewise.
38762         (FAIL): Remove macro.
38763         (NO_INLINE): Likewise.
38764         (fn1): Use match function instead of strstr.
38765         * debug/tst-backtrace3.c: Include tst-backtrace.h.
38766         (ret): Remove variable.
38767         (x): Likewise.
38768         (FAIL): Remove macro.
38769         (NO_INLINE): Likewise.
38770         (fn): Use match function instead of strstr.
38771         * debug/tst-backtrace4.c: Include tst-backtrace.h.
38772         (ret): Remove variable.
38773         (x): Likewise.
38774         (FAIL): Remove macro.
38775         (NO_INLINE): Likewise.
38776         (handle_signal): Use match function instead of strstr.
38777         * debug/tst-backtrace5.c: Include tst-backtrace.h.
38778         (ret): Remove variable.
38779         (x): Likewise.
38780         (FAIL): Remove macro.
38781         (NO_INLINE): Likewise.
38782         (handle_signal): Use match function instead of strstr.
38784 2013-01-23  Roland McGrath  <roland@hack.frob.com>
38786         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
38788 2013-01-23  David S. Miller  <davem@davemloft.net>
38790         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
38791         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
38792         argument of CAS if possible.
38793         * sysdeps/sparc/sparc64/bits/atomic.h
38794         (__arch_compare_and_exchange_val_32_acq): Likewise.
38795         (__arch_compare_and_exchange_val_64_acq): Likewise.
38797 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
38799         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
38800         * sysdeps/posix/ulimit.c: ... this.
38801         Include <limits.h>.
38802         * sysdeps/unix/bsd/ulimit.c: Remove file.
38804 2013-01-23  Adam Conrad  <adconrad@0c3.net>
38806         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
38807         (LDFLAGS-tst-array5): Likewise.
38809 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
38811         [BZ #15036]
38812         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
38813         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
38814         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
38815         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
38817 2013-01-21  David S. Miller  <davem@davemloft.net>
38819         * sysdeps/sparc/backtrace.c: New file.
38820         * sysdeps/sparc/sparc32/backtrace.h: New file.
38821         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
38822         * sysdeps/sparc/sparc64/backtrace.h: New file.
38823         * sysdeps/sparc/sparc64/backtrace.c: Delete.
38824         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
38825         -funwind-tables.
38827 2013-01-21  Andreas Schwab  <schwab@suse.de>
38829         [BZ #15020]
38830         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
38831         closed its stdout.
38833 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
38835         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
38836         "mpa2.h".
38837         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38839 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
38840             Mark Mitchell  <mark@codesourcery.com>
38841             Tom de Vries  <tom@codesourcery.com>
38842             Paul Pluzhnikov  <ppluzhnikov@google.com>
38844         * debug/tst-backtrace2.c: New file.
38845         * debug/tst-backtrace3.c: Likewise.
38846         * debug/tst-backtrace4.c: Likewise.
38847         * debug/tst-backtrace5.c: Likewise.
38848         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
38849         (CFLAGS-tst-backtrace3.c): Likewise.
38850         (CFLAGS-tst-backtrace4.c): Likewise.
38851         (CFLAGS-tst-backtrace5.c): Likewise.
38852         (LDFLAGS-tst-backtrace2): Likewise.
38853         (LDFLAGS-tst-backtrace3): Likewise.
38854         (LDFLAGS-tst-backtrace4): Likewise.
38855         (LDFLAGS-tst-backtrace5): Likewise.
38856         (tests): Add new tests tst-backtrace2, tst-backtrace3,
38857         tst-backtrace4 and tst-backtrace5.
38859 2013-01-18  Anton Blanchard  <anton@samba.org>
38860             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38862         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
38863         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
38864         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
38865         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
38866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
38867         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
38868         "+r" and remove output regs list as redundant.  Add explicit inline
38869         asm to specify register of return val to work around compiler codegen
38870         bug.  Remove (int) cast on return value.  Add return type parameter to
38871         use in macro so that this macro does not truncate return value for
38872         64-bit values.
38873         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
38874         pass to INTERNAL_VSYSCALL_NCS.
38875         (INLINE_VSYSCALL): Add 'long int' as return type to
38876         INTERNAL_VSYSCALL_NCS macro invocation.
38877         (INTERNAL_VSYSCALL): Add 'long int' as return type to
38878         INTERNAL_VSYSCALL_NCS macro invocation.
38879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38881 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38883         [BZ #14496]
38884         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
38885         Fix application of SIMD FP exception mask.
38887         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
38888         mp_no from a power of two.
38889         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
38890         __mpexp_twomm1.  Use __pow_mp.
38892         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
38893         multiplication.
38895 2013-01-17  David S. Miller  <davem@davemloft.net>
38897         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38899 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
38901         [BZ #15023]
38902         * include/complex.h: Condition contents on [!_COMPLEX_H].
38903         (__kernel_casinhf): New prototype.
38904         (__kernel_casinh): Likewise.
38905         (__kernel_casinhl): Likewise.
38906         * math/Makefile (libm_calls): Add k_casinh.
38907         * math/k_casinh.c: New file.
38908         * math/k_casinhf.c: Likewise.
38909         * math/k_casinhl.c: Likewise.
38910         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
38911         finite nonzero arguments.
38912         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
38913         finite nonzero arguments.
38914         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
38915         finite nonzero arguments.
38916         * math/s_casinh.c: Do not include <float.h>.
38917         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
38918         * math/s_casinhf.c: Do not include <float.h>.
38919         (__casinhf): Move code for finite nonzero arguments to
38920         k_casinhf.c.
38921         * math/s_casinhl.c: Do not include <float.h>.
38922         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
38923         redefine.
38924         (__casinhl): Move code for finite nonzero arguments to
38925         k_casinhl.c.
38926         * math/libm-test.inc (cacos_test): Add more tests.
38927         * sysdeps/i386/fpu/libm-test-ulps: Update.
38928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38930 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
38932         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
38933         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
38934         [!HAVE_MREMAP]: Remove [defined linux] case.
38935         * malloc/arena.c: Do not include <malloc-sysdep.h>.
38937 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
38939         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
38941 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
38943         * elf/elf.h (R_386_SIZE32): New relocation.
38944         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
38945         R_386_SIZE32.
38946         (elf_machine_rela): Likewise.
38947         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38948         R_X86_64_SIZE64 and R_X86_64_SIZE32.
38950 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
38952         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
38953         (FP_FAST_FMA): Do not define.
38954         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
38955         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
38956         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
38957         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
38958         !_SOFT_FLOAT]: Likewise.
38959         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
38960         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
38961         value.
38962         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
38963         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
38964         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
38965         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
38966         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
38967         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
38968         file.
38970 2013-01-16  Andreas Schwab  <schwab@suse.de>
38972         [BZ #14327]
38973         * include/stdlib.h (__mktemp): Add declaration.
38974         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
38975         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
38977 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38979         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
38980         definitions.
38981         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
38982         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
38983         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
38984         definitions here.
38985         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
38986         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
38987         definitions.
38988         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
38989         and ONE.
38990         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
38991         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
38992         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
38993         definitions.
38994         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
38995         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
38996         definitions.
38997         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
38999         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
39001 2013-01-15  David S. Miller  <davem@davemloft.net>
39003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39004         trunc{,f} to libm-sysdep_routes.
39005         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
39007         file.
39008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
39009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
39010         file.
39011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
39012         file.
39013         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
39014         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
39015         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
39016         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
39017         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
39018         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
39019         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
39020         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
39022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39023         nearbyint{,f} to libm-sysdep_routes.
39024         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
39026         New file.
39027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
39028         file.
39029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
39030         New file.
39031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
39032         file.
39033         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
39034         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
39035         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
39036         file.
39037         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
39038         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
39039         file.
39040         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
39041         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
39042         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
39044         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
39045         libc_feholdexcept and libc_fesetenv.
39047 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
39049         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
39051 2013-01-14  David S. Miller  <davem@davemloft.net>
39053         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
39054         (SPARC_ASM_VIS2_IFUNC): Likewise.
39055         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
39056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
39057         use of 'siam' instruction.
39058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
39059         Likewise.
39060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
39061         Likewise.
39062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
39063         Likewise.
39064         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
39065         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
39066         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
39067         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
39068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
39069         file.
39070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
39071         file.
39072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
39073         file.
39074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
39075         file.
39076         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
39077         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
39078         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
39079         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
39080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
39081         new VIS2 routines.
39082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39085         Likewise.
39086         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39087         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39088         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39089         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
39091         routines to libm-sysdep_routines.
39092         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39095         fdim/fdimf to libm-sysdep_routines.
39096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
39097         file.
39098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
39099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
39100         file.
39101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
39102         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
39103         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
39104         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
39105         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
39106         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
39107         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
39109 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
39111         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
39112         to optimize copies.
39114         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
39115         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39116         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39118         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
39119         local variable MPTWO.
39120         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
39121         Likewise.
39123 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
39125         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
39126         GLOB_NOESCAPE.
39128 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
39130         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
39132 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
39134         * manual/pattern.texi (glob_t): Document gl_flags.
39135         (glob64_t): Likewise.
39137 2013-01-11  David S. Miller  <davem@davemloft.net>
39139         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
39140         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
39141         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
39142         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
39143         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
39144         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
39145         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
39146         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
39147         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
39148         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
39149         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
39150         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
39151         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
39153         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
39154         sparc V9 rather than using V8 code.
39155         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39156         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39158         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39159         Move to...
39160         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
39161         Here.
39163 2013-01-11  Roland McGrath  <roland@hack.frob.com>
39165         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
39166         not in the main loop.
39167         * configure: Regenerated.
39169 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
39171         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
39172         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
39173         to just #else.
39174         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
39175         [!__GLIBC_HAVE_LONG_LONG] case.
39176         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
39177         condition to just #else.
39178         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
39179         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
39180         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
39181         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
39182         unconditional.
39183         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
39184         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
39185         #elif condition to just #else.
39186         * sysdeps/unix/sysv/linux/sys/sysmacros.h
39187         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
39188         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
39189         #elif condition to just #else.
39191 2013-01-11  Steve Ellcey  <sellcey@mips.com>
39193         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
39194         (EF_MIPS_ARCH_64): Fix value.
39195         (EF_MIPS_ARCH_32R2): New.
39196         (EF_MIPS_ARCH_64R2): New.
39198 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
39200         * Makeconfig (+link-pie-before-libc): New.
39201         (+link-pie-after-libc): Likewise.
39202         (+link-pie-tests): Likewise.
39203         (+link-pie): Rewritten.
39204         (link-before-libc): Remove $(config-LDFLAGS).
39205         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
39206         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
39207         (config-LDFLAGS): Renamed to ...
39208         (rtld-LDFLAGS): This.
39209         (rtld-tests-LDFLAGS): New macro.
39210         (link-libc-rpath-link): Likewise.
39211         (link-libc-tests-rpath-link): Likewise.
39212         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
39213         (link-libc): Prepand $(link-libc-rpath-link).
39214         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
39215         (test-program-prefix): New macro.
39216         (test-via-rtld-prefix): Likewise.
39217         (test-program-cmd): Likewise.
39218         (host-test-program-cmd): Likewise.
39219         * Makefile ($(common-objpfx)testrun.sh): Replace
39220         $(run-program-prefix) with $(test-program-prefix).
39221         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
39222         $(rtld-LDFLAGS).
39223         ($(common-objpfx)shlib.lds): Likewise.
39224         (build-module-helper): Likewise.
39225         ($(common-objpfx)format.lds): Likewise.
39226         * Rules (binaries-pie-tests): New.
39227         (binaries-pie-notests): Likewise.
39228         (binaries-pie): Rewritten.
39229         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
39230         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
39231         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
39232         (make-test-out): Replace $(host-built-program-cmd) with
39233         $(host-test-program-cmd).
39234         * config.make.in (build-hardcoded-path-in-tests): New variable.
39235         * configure.in (--enable-hardcoded-path-in-tests): New configure
39236         option.
39237         (hardcoded_path_in_tests): New AC_SUBST.
39238         * configure: Regenerated.
39239         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
39240         $(built-program-cmd) with $(test-program-cmd).
39241         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
39242         (test_program_cmd): This.
39243         * elf/Makefile ($(objpfx)order.out): Run test with
39244         $(test-program-prefix).
39245         ($(objpfx)order2.out): Likewise.
39246         ($(objpfx)tst-initorder.out): Likewise.
39247         ($(objpfx)tst-initorder2.out): Likewise.
39248         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
39249         $(test-program-cmd).
39250         ($(objpfx)tst-array1-static.out): Likewise.
39251         ($(objpfx)tst-array2.out): Likewise.
39252         ($(objpfx)tst-array3.out): Likewise.
39253         ($(objpfx)tst-array4.out): Likewise.
39254         ($(objpfx)tst-array5.out): Likewise.
39255         ($(objpfx)tst-array5-static.out): Likewise.
39256         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
39257         $(test-program-cmd).
39258         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
39259         $(run-program-prefix) with $(test-program-prefix).
39260         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
39261         (test_program_prefix): This.
39262         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
39263         $(run-program-prefix) with $(test-program-prefix).
39264         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
39265         (test_program_prefix): This.
39266         * iconvdata/tst-tables.sh: Likewise.
39267         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
39268         $(run-program-prefix) with $(test-program-prefix).
39269         ($(objpfx)tst-translit.out): Likewise.
39270         ($(objpfx)tst-gettext2.out): Likewise.
39271         ($(objpfx)tst-gettext4.out): Likewise.
39272         ($(objpfx)tst-gettext6.out): Likewise.
39273         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
39274         (test_program_prefix): This.
39275         * intl/tst-gettext2.sh: Likewise.
39276         * intl/tst-gettext4.sh  Likewise.
39277         * intl/tst-gettext6.sh: Likewise.
39278         * intl/tst-translit.sh: Likewise.
39279         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
39280         with $(test-program-cmd).
39281         * libio/Makefile ($(objpfx)test-freopen.out): Replace
39282         $(run-program-prefix) with $(test-program-prefix).
39283         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
39284         (test_program_prefix): This.
39285         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
39286         $(run-program-prefix) with $(test-program-prefix).
39287         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
39288         (test_program_prefix): This.
39289         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
39290         * posix/Makefile ($(objpfx)globtest.out): Replace
39291         $(run-via-rtld-prefix) and $(test-wrapper) with
39292         $(test-program-prefix) and $(test-via-rtld-prefix).
39293         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
39294         $(test-program-prefix).
39295         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
39296         $(host-test-program-cmd).
39297         (tst-spawn-ARGS): Likewise.
39298         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
39299         $(test-program-prefix).
39300         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
39301         (test_via_rtld_prefix): This.
39302         (test_wrapper): Renamed to ...
39303         (test_program_prefix): This.
39304         (run_program_prefix): Replaced by test_program_prefix.
39305         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
39306         (test_program_prefix): This.
39307         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
39308         with $(host-test-program-cmd).
39309         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
39310         $(run-program-prefix) with $(test-program-prefix).
39311         ($(objpfx)tst-printf.out): Likewise.
39312         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
39313         $(test-program-cmd).
39314         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
39315         (test_program_prefix): This.
39316         * stdio-common/tst-unbputc.sh: Likewise.
39317         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
39318         $(run-program-prefix) with $(test-program-prefix).
39319         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
39320         (test_program_prefix): This.
39321         * string/Makefile ($(objpfx)tst-svc.out):  Replace
39322         $(built-program-cmd) with $(test-program-cmd).
39324 2013-01-11  Andreas Jaeger  <aj@suse.de>
39326         [BZ #15003]
39327         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
39328         value. Sync with Linux 3.7.
39330 2013-01-10  David S. Miller  <davem@davemloft.net>
39332         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
39333         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39334         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39336 2013-01-10  Roland McGrath  <roland@hack.frob.com>
39338         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
39339         never set.
39340         * configure: Regenerated.
39342 2013-01-10  David S. Miller  <davem@davemloft.net>
39344         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
39345         sparc V9 rather than using V8 code.
39346         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39347         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39349 2013-01-10  Roland McGrath  <roland@hack.frob.com>
39351         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
39352         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
39353         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
39354         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
39355         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
39356         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
39357         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
39358         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
39359         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
39360         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
39361         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
39362         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
39363         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
39364         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
39365         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
39366         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
39367         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
39368         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
39369         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
39370         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
39371         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
39372         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
39373         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
39374         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
39375         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
39376         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
39377         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
39379 2013-01-10  David S. Miller  <davem@davemloft.net>
39381         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39383 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
39385         * posix/Makefile (tests-static): New variable.
39386         (tests): Add $(tests-static).
39387         (tst-exec-static-ARGS): New variable.
39388         (tst-spawn-static-ARGS): Likewise.
39389         * posix/tst-exec-static.c: New file.
39390         * posix/tst-spawn-static.c: Likewise.
39391         * posix/tst-exec.c: Support run directly.
39392         * posix/tst-spawn.c: Likewise.
39394 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
39396         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
39397         long.
39398         * math/bits/mathcalls.h (llrint): Likewise.
39399         (llround): Likewise.
39400         * stdlib/stdlib.h (struct drand48_data): Likewise.
39401         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
39402         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
39403         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
39404         Likewise.
39405         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
39406         Likewise.
39407         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
39408         (elf_greg_t): Likewise.
39409         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
39410         (__jmp_buf): Likewise.
39411         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
39412         definitions.
39413         (llrint): Likewise, for all definitions.
39414         (llrintl): Likewise.
39416         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
39417         Remove [__GNUC__] condition.
39418         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
39419         condition to just [__USE_ISOC99].
39420         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
39422 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
39424         [BZ #14200]
39425         * sysdeps/unix/sysv/linux/x86/bits/environments.h
39426         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
39427         defined.
39428         (_POSIX_V6_ILP32_OFF32): Likewise.
39429         (_XBS5_ILP32_OFF32): Likewise.
39430         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
39431         (__ILP32_OFFBIG_LDFLAGS): Likewise.
39433 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39435         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
39437         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
39438         doubles __mpexp_twomm1.  Adjust usage.
39439         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
39440         Remove.
39442 2013-01-10  Andreas Schwab  <schwab@suse.de>
39444         [BZ #14964]
39445         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
39446         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
39448 2013-01-09  David S. Miller  <davem@davemloft.net>
39450         [BZ #15003]
39451         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
39452         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
39453         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
39454         (TCP_FASTOPEN): Define.
39455         (tcp_repair_opt): New structure.
39456         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
39457         enum values.
39458         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
39459         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
39460         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
39461         (tcp_cookie_transactions): New structure.
39463 2013-01-09  Anton Blanchard  <anton@samba.org>
39465         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
39466         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
39467         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
39468         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
39470 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
39472         * include/features.h (__USE_ANSI): Remove.
39474 2013-01-09  Roland McGrath  <roland@hack.frob.com>
39476         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
39478         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
39480 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
39482         * sysdeps/s390/fpu/libm-test-ulps: Update.
39484         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39486         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
39487         (__acr): Likewise.
39488         (__cpy): Likewise.
39489         (norm): Likewise.
39490         (denorm): Likewise.
39491         (__mp_dbl): Likewise.
39492         (__dbl_mp): Likewise.
39493         (add_magnitudes): Likewise.
39494         (sub_magnitudes): Likewise.
39495         (__add): Likewise.
39496         (__sub): Likewise.
39497         (__mul): Likewise.
39498         (__inv): Likewise.
39499         (__dvd): Likewise.
39500         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
39501         (__acr): Likewise.
39502         (__cpy): Likewise.
39503         (norm): Likewise.
39504         (denorm): Likewise.
39505         (__mp_dbl): Likewise.
39506         (__dbl_mp): Likewise.
39507         (add_magnitudes): Likewise.
39508         (sub_magnitudes): Likewise.
39509         (__add): Likewise.
39510         (__sub): Likewise.
39511         (__mul): Likewise.
39512         (__inv): Likewise.
39513         (__dvd): Likewise.
39514         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
39515         (__acr): Likewise.
39516         (__cpy): Likewise.
39517         (norm): Likewise.
39518         (denorm): Likewise.
39519         (__mp_dbl): Likewise.
39520         (__dbl_mp): Likewise.
39521         (add_magnitudes): Likewise.
39522         (sub_magnitudes): Likewise.
39523         (__add): Likewise.
39524         (__sub): Likewise.
39525         (__mul): Likewise.
39526         (__inv): Likewise.
39527         (__dvd): Likewise.
39529 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
39531         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
39532         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
39533         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
39534         2 && __USE_EXTERN_INLINES]: Likewise.
39536 2013-01-08  Andreas Jaeger  <aj@suse.de>
39538         [BZ# 14985]
39539         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
39540         Remove.
39541         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
39542         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
39544 2013-01-07  Anton Blanchard  <anton@samba.org>
39546         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
39547         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
39548         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
39549         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
39550         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
39551         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39552         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
39553         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
39554         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39555         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39556         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39557         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39558         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39559         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39560         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
39561         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39562         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39563         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
39564         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
39565         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
39566         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
39567         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
39568         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
39569         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
39570         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
39571         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
39572         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39573         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
39574         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
39575         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39576         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
39577         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39578         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39579         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
39580         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
39581         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
39582         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
39583         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39584         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
39585         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
39586         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
39587         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39588         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
39590 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
39592         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
39593         (__MALLOC_PMT): Likewise.
39594         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
39595         [__GNUC__], only on [_LIBC].
39596         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
39597         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
39598         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
39599         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
39600         forward declaration.
39601         (realloc_hook_ini): Likewise.
39602         (memalign_hook_ini): Likewise.
39603         (__libc_memalign): Do not use __MALLOC_PMT in variable
39604         declaration.
39605         (__libc_valloc): Likewise.
39606         (__libc_pvalloc): Likewise.
39607         (__libc_calloc): Likewise.
39608         (__posix_memalign): Likewise.
39610         [BZ #14996]
39611         * math/s_casinh.c: Include <float.h>.
39612         (__casinh): Do not do computation with squaring and square root
39613         for large arguments.
39614         * math/s_casinhf.c: Include <float.h>.
39615         (__casinhf): Do not do computation with squaring and square root
39616         for large arguments.
39617         * math/s_casinhl.c: Include <float.h>.
39618         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
39619         (__casinhl): Do not do computation with squaring and square root
39620         for large arguments.
39621         * math/libm-test.inc (casin_test): Add more tests.
39622         (casinh_test): Likewise.
39623         * sysdeps/i386/fpu/libm-test-ulps: Update.
39624         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39626 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
39628         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
39629         (__x86_64_raw_data_cache_size): Likewise.
39630         (__x86_64_data_cache_size_half): Likewise.
39631         (__x86_64_raw_data_cache_size_half): Likewise.
39632         (__x86_64_shared_cache_size): Likewise.
39633         (__x86_64_raw_shared_cache_size): Likewise.
39634         (__x86_64_shared_cache_size_half): Likewise.
39635         (__x86_64_raw_shared_cache_size_half): Likewise.
39636         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
39637         to ...
39638         (__x86_data_cache_size): This.
39639         (__x86_64_raw_data_cache_size): Renamed to ...
39640         (__x86_raw_data_cache_size): This.
39641         (__x86_64_data_cache_size_half): Renamed to ...
39642         (__x86_data_cache_size_half): This.
39643         (__x86_64_raw_data_cache_size_half): Renamed to ...
39644         (__x86_raw_data_cache_size_half): This.
39645         (__x86_64_shared_cache_size): Renamed to ...
39646         (__x86_shared_cache_size): This.
39647         (__x86_64_raw_shared_cache_size): Renamed to ...
39648         (__x86_raw_shared_cache_size): This.
39649         (__x86_64_shared_cache_size_half): Renamed to ...
39650         (__x86_shared_cache_size_half): This.
39651         (__x86_64_raw_shared_cache_size_half): Renamed to ...
39652         (__x86_raw_shared_cache_size_half): This.
39653         * sysdeps/x86_64/memcpy.S: Updated.
39654         * sysdeps/x86_64/memset.S: Likewise.
39655         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
39656         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
39657         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
39659 2013-01-04  David S. Miller  <davem@davemloft.net>
39661         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39663 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
39665         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
39666         1 to avoid redefinition warning.
39667         (__USE_GNU): Don't define.
39668         (init_signaling_nan): Protoize.
39670         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39672 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39674         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
39675         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
39676         (__cpymn): Likewise.
39677         (norm): Remove commented code.
39678         (denorm): Likewise.
39679         (__mp_dbl): Likewise.
39680         (__inv): Likewise.
39681         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
39682         (__cpymn): Likewise.
39683         (norm): Remove commented code.
39684         (denorm): Likewise.
39685         (__mp_dbl): Likewise.
39686         (__inv): Likewise.
39688         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
39689         mp_no value for 1.0 and 2.0.
39690         (norm): Use RADIXI instead of radixi.d.
39691         (denorm): Likewise.
39692         (__mul): Use 0.0 instead of zero.d.
39693         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
39694         mp_no value for 1.0 and 2.0.
39695         (norm): Use RADIXI instead of radixi.d.
39696         (denorm): Likewise.
39697         (__mul): Use 0.0 instead of zero.d.
39699 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
39701         [BZ #14994]
39702         * math/s_casinh.c (__casinh): Reduce finite argument to first
39703         quadrant then set signs of results at the end.
39704         * math/s_casinhf.c (__casinhf): Likewise.
39705         * math/s_casinhl.c (__casinhl): Likewise.
39706         * math/libm-test.inc (casin_test): Add more tests.
39707         (casinh_test): Likewise.
39708         * sysdeps/i386/fpu/libm-test-ulps: Update.
39709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39711 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39713         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
39715         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
39717         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
39718         declarations.
39719         (denorm): Likewise.
39720         (__mp_dbl): Likewise.
39721         (__inv): Likewise.
39723         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
39724         and adjust the header comment.
39726         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
39727         variable name from declaration.
39729 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
39731         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39732         Initialize COMMON_CPUID_INDEX_7 element.
39733         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
39734         (CPUID_RTM): Likewise.
39735         (HAS_RTM): Likewise.
39736         (COMMON_CPUID_INDEX_7): New enum.
39738 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
39740         [BZ #14981]
39741         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
39742         size is zero, record memory as freed.
39744 2013-01-03  Andreas Jaeger  <aj@suse.de>
39746         * po/ia.po: Add new Interlingua translation.
39748 2012-01-03  Allan McRae  <allan@archlinux.org>
39750         * locale/programs/localedef.c: Fix description of '--posix' flag.
39752 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
39754         * NEWS: Update dates in second copyright notice.
39755         * README: Update copyright dates in example.
39756         * manual/libc.texinfo: Update copyright dates.
39757         * scripts/test-installation.pl: Update copyright date in --version
39758         output.
39760         * hurd/ctty-input.c: Fix copyright notice formatting.
39761         * hurd/ctty-output.c: Likewise.
39762         * hurd/dtable.c: Likewise.
39763         * hurd/hurd-raise.c: Likewise.
39764         * hurd/hurdprio.c: Likewise.
39765         * hurd/msgportdemux.c: Likewise.
39766         * misc/sys/file.h: Likewise.
39767         * misc/sys/ioctl.h: Likewise.
39768         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
39769         * sysdeps/mach/hurd/chdir.c: Likewise.
39770         * sysdeps/mach/hurd/fchdir.c: Likewise.
39771         * sysdeps/mach/hurd/rename.c: Likewise.
39772         * sysdeps/mach/hurd/rmdir.c: Likewise.
39773         * sysdeps/mach/hurd/seekdir.c: Likewise.
39774         * sysdeps/mach/hurd/setsid.c: Likewise.
39775         * sysdeps/posix/wait3.c: Likewise.
39777         * All files with FSF copyright notices: Update copyright dates
39778         using scripts/update-copyrights.
39779         * intl/plural.c: Regenerated.
39780         * locale/programs/charmap-kw.h: Likewise.
39781         * locale/programs/locfile-kw.h: Likewise.
39783 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39785         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
39786         four values.
39788         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
39789         calculation loop and add branch prediction.
39791         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
39792         check access beyond bounds of m1np.
39794         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
39795         MPTWO.
39796         (__inv): Remove local variable MPTWO to use the global
39797         constant.
39798         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
39799         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
39800         variable MPTWO.
39801         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
39802         MP3HALFS static const.
39804 2013-01-01  David S. Miller  <davem@davemloft.net>
39806         * po/ca.po: Update from translation team.
39808 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
39810         * scripts/update-copyrights: New file.
39811         * Makeconfig: Reformat copyright notice.
39812         * ctype/ctype.h: Likewise.
39813         * debug/swprintf_chk.c: Likewise.
39814         * elf/dl-cache.c: Likewise.
39815         * elf/dl-debug.c: Likewise.
39816         * elf/dl-object.c: Likewise.
39817         * grp/initgroups.c: Likewise.
39818         * hurd/Makefile: Likewise.
39819         * hurd/hurd/signal.h: Likewise.
39820         * hurd/hurdfault.c: Likewise.
39821         * hurd/hurdioctl.c: Likewise.
39822         * hurd/hurdlookup.c: Likewise.
39823         * hurd/intr-msg.c: Likewise.
39824         * iconv/gconv_open.c: Likewise.
39825         * libio/swprintf.c: Likewise.
39826         * locale/lc-ctype.c: Likewise.
39827         * locale/nl_langinfo.c: Likewise.
39828         * mach/Machrules: Likewise.
39829         * mach/Makefile: Likewise.
39830         * malloc/obstack.h: Likewise.
39831         * manual/Makefile: Likewise.
39832         * manual/tsort.awk: Likewise.
39833         * misc/bits/stab.def: Likewise.
39834         * nis/nis_print_group_entry.c: Likewise.
39835         * nis/nis_table.c: Likewise.
39836         * nis/nss_compat/compat-pwd.c: Likewise.
39837         * nis/nss_compat/compat-spwd.c: Likewise.
39838         * po/Makefile: Likewise.
39839         * posix/fnmatch.c: Likewise.
39840         * posix/regex.h: Likewise.
39841         * resolv/Makefile: Likewise.
39842         * resolv/nss_dns/dns-network.c: Likewise.
39843         * resolv/res_hconf.c: Likewise.
39844         * scripts/gen-sorted.awk: Likewise.
39845         * soft-fp/soft-fp.h: Likewise.
39846         * stdio-common/printf.h: Likewise.
39847         * stdlib/monetary.h: Likewise.
39848         * stdlib/random.c: Likewise.
39849         * stdlib/random_r.c: Likewise.
39850         * sysdeps/generic/Makefile: Likewise.
39851         * sysdeps/gnu/Makefile: Likewise.
39852         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39853         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39854         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39855         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39856         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39857         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39858         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39859         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39860         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39861         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39862         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39863         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39864         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39865         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39866         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
39867         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39868         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39869         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39870         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39871         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39872         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39873         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39874         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39875         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
39876         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
39877         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
39878         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
39879         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
39880         * sysdeps/mach/hurd/errnos.awk: Likewise.
39881         * sysdeps/mach/hurd/fork.c: Likewise.
39882         * sysdeps/mach/hurd/getcwd.c: Likewise.
39883         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
39884         * sysdeps/mach/hurd/mmap.c: Likewise.
39885         * sysdeps/mach/hurd/utimes.c: Likewise.
39886         * sysdeps/mach/hurd/xmknod.c: Likewise.
39887         * sysdeps/posix/profil.c: Likewise.
39888         * sysdeps/posix/readdir_r.c: Likewise.
39889         * sysdeps/powerpc/bits/mathdef.h: Likewise.
39890         * sysdeps/powerpc/bits/setjmp.h: Likewise.
39891         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
39892         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
39893         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39894         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39895         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39896         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39897         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39898         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39899         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39900         * sysdeps/pthread/lio_listio.c: Likewise.
39901         * sysdeps/sparc/dl-procinfo.h: Likewise.
39902         * sysdeps/unix/i386/sysdep.S: Likewise.
39903         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
39904         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
39905         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
39906         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
39907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39908         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
39909         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
39910         * sysdeps/unix/sysv/linux/speed.c: Likewise.
39911         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
39912         * sysdeps/wordsize-32/divdi3.c: Likewise.
39913         * time/sys/time.h: Likewise.
39914         * wcsmbs/Makefile: Likewise.
39916 2013-01-01  David S. Miller  <davem@davemloft.net>
39918         * po/fr.po: Update from translation team.
39920         * catgets/gencat.c: Update copyright year.
39921         * csu/version.c: Likewise.
39922         * debug/catchsegv.sh: Likewise.
39923         * debug/pcprofiledump.c: Likewise.
39924         * debug/xtrace.sh: Likewise.
39925         * elf/ldconfig.c: Likewise.
39926         * elf/ldd.bash.in: Likewise.
39927         * elf/pldd.c: Likewise.
39928         * elf/sotruss.ksh: Likewise.
39929         * elf/sprof.c: Likewise.
39930         * iconv/iconv_prog.c: Likewise.
39931         * iconv/iconvconfig.c: Likewise.
39932         * locale/programs/locale.c: Likewise.
39933         * locale/programs/localedef.c: Likewise.
39934         * login/programs/pt_chown.c: Likewise.
39935         * malloc/memusage.sh: Likewise.
39936         * malloc/memusagestat.c: Likewise.
39937         * malloc/mtrace.pl: Likewise.
39938         * nscd/nscd.c: Likewise.
39939         * nss/getent.c: Likewise.
39940         * nss/makedb.c: Likewise.
39941         * posix/getconf.c: Likewise.
39943 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
39945         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
39946         numbers.
39948 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
39950         * math/bits/mathcalls.h (modf): Use __nonnull.
39952 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39954         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
39955         (split): Use macro CN instead of the bare value.
39956         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
39957         could be used.
39958         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
39959         instead of the bare value.
39960         (power1): Likewise.
39962 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39964         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
39965         __ATAN_TWOM.
39966         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39968         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
39969         their values.
39970         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
39971         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
39972         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
39973         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
39975 2012-12-28  Andreas Jaeger  <aj@suse.de>
39977         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
39978         values are from Linux 3.7.
39980         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
39981         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
39983 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39985         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
39986         TRUE case.
39988         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
39989         (norm): Likewise.
39990         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
39991         variables with preprocessor constants.
39992         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39993         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39994         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39996 2012-12-27  Bruno Haible  <bruno@clisp.org>
39998         [BZ #14317]
39999         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
40000         only if needed.
40002 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40004         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
40005         and use variable directly.
40006         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
40008         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
40009         MPONE.
40010         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
40011         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
40012         variable MPONE.
40013         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
40014         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
40015         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
40016         include directive.  Remove local variable MPONE.
40017         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
40018         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
40019         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40021 2012-12-25  David S. Miller  <davem@davemloft.net>
40023         * version.h (RELEASE): Set to "development".
40024         (VERSION): Set to "2.17.90".
40025         * NEWS: Add 2.18 section.
40027 2012-12-21  David S. Miller  <davem@davemloft.net>
40029         * po/hr.po: Update from translation team.
40031 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40033         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
40035 2012-12-19  Steve Ellcey  <sellcey@mips.com>
40037         * NEWS:  Mention new memcpy for MIPS.
40039 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40041         * manual/contrib.texi (Contributors): Spelling correction.
40043 2012-12-15  David S. Miller  <davem@davemloft.net>
40045         * po/ru.po: Update from translation team.
40047 2012-12-13  David S. Miller  <davem@davemloft.net>
40049         * NEWS: Mention IFUNC testsuite enhancements.
40051         * po/pl.po: Update from translation team.
40052         * po/bg.po: Likewise.
40054         * manual/contrib.texi (Contributors): Update entries for Hongjiu
40055         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
40057 2012-12-11  David S. Miller  <davem@davemloft.net>
40059         * po/sv.po: Update from translation team.
40061         * po/vi.po: Update from translation team.
40063         * po/cs.po: Update from translation team.
40065         * po/de.po: Update from translation team.
40066         * po/eo.po: Likewise.
40067         * po/nl.po: Likewise.
40069 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40071         [BZ #14246]
40072         * manual/argp.texi (Argp Helper Functions): Move node to follow
40073         Argp Parsing State.
40075         [BZ #14872]
40076         * manual/conf.texi (Limits on File System Capacity): Mention if
40077         terminating null is included in the max size.
40079 2012-12-10  Andreas Jaeger  <aj@suse.de>
40081         * po/cs.po: Update from translation team.
40083 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
40085         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
40086         void pointer and cast to uintptr_t.
40087         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
40088         path.
40089         * sysdeps/s390/s390-64/memcpy.S: Likewise.
40090         * sysdeps/s390/s390-64/memset.S: Likewise.
40092 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
40094         [BZ #14833]
40095         * menual/message.texi (Message Translation): Fix typos.
40096         (Helper programs for gettext): Likewise.
40098 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
40100         [BZ #14898]
40101         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
40102         Change to -1.
40104 2012-12-07  David S. Miller  <davem@davemloft.net>
40106         * po/libc.pot: Update.
40108 2012-12-07  Richard Henderson  <rth@redhat.com>
40110         [BZ #10114]
40111         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
40112         normal/normal case to before the switch.
40113         (_FP_DIV): Likewise.
40115 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
40116             Mike Frysinger  <vapier@gentoo.org>
40118         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
40119         check for __NR_fadvise64_64.
40121 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
40123         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
40124         0, not just to plain "0" as a statement.
40125         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
40126         with cw.
40128 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
40130         * NEWS: Use sourceware.org in Bugzilla URL.
40132 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
40134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
40135         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
40137         * stdio-common/tst-put-error.c (do_test): Add newline to the
40138         padded test to ensure flush.
40140 2012-12-05  Jeff Law  <law@redhat.com>
40142         * sunrpc/etc.rpc (fedfs_admin): Add entry.
40144 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
40146         * README: Don't refer to ports add-on as distributed separately.
40147         Mention AArch64 in list of systems supported in the ports add-on.
40149         * LICENSES: Add more non-FSF copyright and license notices.
40151         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
40152         ((unused)).
40154         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
40156         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
40157         10000 as width of padded output.
40159 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
40161         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
40163         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
40164         variable LX with __attribute__ ((unused)).
40165         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
40166         Likewise.
40167         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
40168         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40169         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
40170         with __attribute__ ((unused)).
40172 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
40174         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
40176 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
40178         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
40179         (CFLAGS-nldbl-acos.c): New variable.
40180         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
40181         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
40182         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
40183         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
40184         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
40185         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
40186         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
40187         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
40188         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
40189         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
40190         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
40191         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
40192         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
40193         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
40194         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
40195         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
40196         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
40197         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
40198         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
40199         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
40200         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
40201         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
40202         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
40203         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
40204         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
40205         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
40206         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
40207         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
40208         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
40209         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
40210         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
40211         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
40212         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
40213         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
40214         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
40215         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
40216         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
40217         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
40218         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
40219         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
40220         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
40221         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
40222         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
40223         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
40224         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
40225         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
40226         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
40227         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
40228         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
40229         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
40230         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
40231         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
40232         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
40233         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
40234         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
40235         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
40236         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
40237         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
40238         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
40239         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
40240         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
40241         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
40242         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
40243         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
40244         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
40245         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
40246         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
40247         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
40248         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
40249         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
40250         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
40251         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
40252         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
40253         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
40254         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
40255         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
40256         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
40257         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
40258         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
40259         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
40260         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
40261         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
40262         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
40263         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
40264         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
40265         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
40266         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
40267         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
40268         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
40269         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
40270         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
40271         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
40272         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
40273         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
40274         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
40275         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
40276         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
40278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40279         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
40281         [BZ #14914]
40282         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
40283         whole low double instead of just low 47 bits when splitting values
40284         into two parts.
40286 2012-12-03  Allan McRae  <allan@archlinux.org>
40288         * manual/stdio.texi (Predefined Printf Handlers): Remove
40289         @hsep and @vsep usage.
40291 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
40293         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
40294         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
40296 2012-12-03  Jeff Law  <law@redhat.com>
40298         * time/sys/time.h (settimeofday): Do not mark TV argument
40299         as __nonnull.
40301 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
40303         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
40304         when currently writing and seek to current position when not.
40305         * libio/Makefile (tests): Remove bug-fclose1.
40306         * libio/bug-fclose1.c: Delete.
40308 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
40310         * manual/arith.texi (feenableexcept): Fix typo.
40311         (fedisableexcept): Likewise.
40313 2012-11-30  Roland McGrath  <roland@hack.frob.com>
40315         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
40316         second, differently-typed declaration, rather than a cast.
40318 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40320         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
40321         * include/rpc/svc.h: ... here.
40323 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
40325         [BZ #13013]
40326         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
40327         depending n and resplen2 to catch cases where answer
40328         equals answerp2.
40330 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
40332         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
40333         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
40335 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
40337         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
40339 2012-11-29  Roland McGrath  <roland@hack.frob.com>
40341         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
40343 2012-11-28  Jeff Law  <law@redhat.com>
40345         [BZ #13761]
40346         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
40347         dataset_temporary.  Track alloca usage into alloca_used.
40348         If dataset is large allocate and release it via malloc/free.
40350 2012-06-04  Florian Weimer  <fweimer@redhat.com>
40352         [BZ #14197]
40353         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
40355 2012-11-28  David S. Miller  <davem@davemloft.net>
40357         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40359 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
40361         [BZ #14803]
40362         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
40363         of pi/2 rounded to nearest to 64 bits.
40364         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
40365         nearest to 64 bits.
40366         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
40367         bits.
40369 2012-11-28  Jeff Law <law@redhat.com>
40370             Martin Osvald <mosvald@redhat.com>
40372         [BZ #14889]
40373         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
40374         * sunrpc/svc.c: Include time.h.
40375         (__svc_accept_failed): New function.
40376         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
40377         any reason other than EINTR, call __svc_accept_failed.
40378         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
40379         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
40381 2012-11-28  Andreas Schwab  <schwab@suse.de>
40383         * scripts/abilist.awk: Also handle indirect functions in .opd
40384         section.
40386 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
40388         [BZ #13881]
40389         * sysdeps/x86/fpu/powl_helper.c: New file.
40390         * sysdeps/x86/fpu/Makefile: Likewise.
40391         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
40392         (p3): New object.
40393         (__ieee754_powl): Use __powl_helper for finite arguments except
40394         integer exponents below 8.
40395         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
40396         (p3): New object.
40397         (__ieee754_powl): Use __powl_helper for finite arguments except
40398         integer exponents below 8.
40399         * math/libm-test.inc (pow_test): Add more tests and enable some
40400         previously disabled tests.
40401         * sysdeps/i386/fpu/libm-test-ulps: Update.
40402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40404 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40405             Carlos O'Donell  <carlos_odonell@mentor.com>
40407         * nss/makedb.c (is_prime): Assert that input is odd and greater
40408         than 4.  Note that fact in a comment too.
40409         (next_prime): Add 4 to input.
40411 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40413         [BZ #11741]
40414         * libio/Makefile (tests): Add test case tst-fwrite-error.
40415         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
40416         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
40417         * libio/tst-fwrite-error.c: New test case.
40419 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
40421         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
40422         before casting to void *.
40423         * include/libc-internal.h (__pointer_type): New macro.
40424         (__integer_if_pointer_type_sub): Likewise.
40425         (__integer_if_pointer_type): Likewise.
40426         (cast_to_integer): Likewise.
40427         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
40428         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
40429         before casting to atomic64_t.
40430         (atomic_exchange_acq): Likewise.
40431         (__arch_exchange_and_add_body): Likewise.
40432         (__arch_add_body): Likewise.
40433         (atomic_add_negative): Likewise.
40434         (atomic_add_zero): Likewise.
40436 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
40438         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
40439         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
40440         (add_fdes): Likewise.
40441         (linear_search_fdes): Likewise.
40442         (binary_search_unencoded_fdes): Likewise.
40444 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
40446         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
40448 2012-11-24  Adam Conrad  <adconrad@0c3.net>
40450         * configure.in: Autodetect C++ header directories.
40451         * configure: Regenerated.
40453 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
40455         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
40457 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
40459         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40461 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
40463         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
40464         LDBL_MANT_DIG == 106]: Disable some tests.
40465         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
40466         Likewise.
40467         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
40468         Likewise.
40470         [BZ #14871]
40471         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
40472         input for small inputs.  Return +/- pi/2 for large inputs.
40473         * math/libm-test.inc (atan_test): Add more tests.
40475         * sysdeps/generic/unwind-dw2-fde-glibc.c
40476         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
40477         __attribute__ ((unused)).
40479         [BZ #14645]
40480         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
40481         x * y if x and y are nonzero and z is zero.
40483         [BZ #14811]
40484         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
40485         nonzero exponents with absolute value below 0x1p-117 to +/-
40486         0x1p-117.
40488         [BZ #14869]
40489         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
40490         up arguments below 2**-450, not just those below 2**-500.
40491         * math/libm-test.inc (hypot_test): Add another test.
40493         [BZ #14868]
40494         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
40495         Return a+b for ratio over 2**120, not 2**60.
40496         * math/libm-test.inc (hypot_test): Add another test.
40498         * math/libm-test.inc (clog_test): Use
40499         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
40500         (clog10_test): Likewise.
40502         [BZ #6778]
40503         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
40505 2012-11-22  Andreas Schwab  <schwab@suse.de>
40507         * sysdeps/i386/fpu/libm-test-ulps: Update.
40509 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
40511         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
40512         printf output with newline.
40514 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
40516         [BZ #14865]
40517         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
40518         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
40519         -z nodlopen, -z initfirst and -z execstack support.
40520         * configure: Regenerated.
40522         * elf/elf.h (DF_1_NODIRECT): New macro.
40523         (DF_1_IGNMULDEF): Likewise.
40524         (DF_1_NOKSYMS): Likewise.
40525         (DF_1_NOHDR): Likewise.
40526         (DF_1_EDITED): Likewise.
40527         (DF_1_NORELOC): Likewise.
40528         (DF_1_SYMINTPOSE): Likewise.
40529         (DF_1_GLOBAUDIT): Likewise.
40530         (DF_1_SINGLETON): Likewise.
40531         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
40532         DT_1_SUPPORTED_MASK bits.
40533         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
40535 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
40537         * sysdeps/unix/make-syscalls.sh: Document prefixes.
40539 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
40541         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
40542         macro.
40544         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
40545         (sendmmsg): Move declarations...
40546         * socket/sys/socket.h: ... here.
40547         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
40548         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
40549         include it from...
40550         * socket/recvmmsg.c: ... this new file.
40551         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
40552         (sendmmsg): Rename to __sendmmsg, create weak alias and make
40553         definition of __sendmmsg hidden.
40554         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
40555         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
40556         Move ENOSYS stub into and include it from...
40557         * socket/sendmmsg.c: ... this new file.
40558         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
40559         (sysdep_routines): Move recvmmsg and sendmmsg...
40560         * socket/Makefile (routines): ... here.
40561         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
40562         (GLIBC_PRIVATE): Add __sendmmsg.
40563         * include/sys/socket.h (__sendmmsg): Add declarations.
40564         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
40565         sendmmsg.
40567 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
40569         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
40570         variable I1 with __attribute__ ((unused)).
40571         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40573 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
40575         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
40576         DUMMY variables with __attribute__ ((unused)).
40578         * bits/byteswap.h: Include <bits/types.h>.
40579         (__bswap_64): Use __uint64_t instead of unsigned long long int.
40581 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
40583         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
40584         string_t.  Do not manually set errno.
40585         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
40586         length with __strnlen.  Make sure to both set errno and return it on
40587         failure.
40589 2012-11-19  David S. Miller  <davem@davemloft.net>
40591         With help from Joseph Myers.
40592         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
40593         very large arguments properly.
40594         * math/libm-test.inc (atan_test): New tests.
40595         (atan2_test): New tests.
40596         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40597         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40599 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
40601         [BZ #14856]
40602         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
40603         Define to 3.
40605         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
40606         [POSIX] (EADDRNOTAVAIL): Likewise.
40607         [POSIX] (EAFNOSUPPORT): Likewise.
40608         [POSIX] (EALREADY): Likewise.
40609         [POSIX] (ECONNABORTED): Likewise.
40610         [POSIX] (ECONNREFUSED): Likewise.
40611         [POSIX] (ECONNRESET): Likewise.
40612         [POSIX] (EDESTADDRREQ): Likewise.
40613         [POSIX] (EDQUOT): Likewise.
40614         [POSIX] (EHOSTUNREACH): Likewise.
40615         [POSIX] (EIDRM): Likewise.
40616         [POSIX] (EISCONN): Likewise.
40617         [POSIX] (ELOOP): Likewise.
40618         [POSIX] (EMULTIHOP): Likewise.
40619         [POSIX] (ENETDOWN): Likewise.
40620         [POSIX] (ENETUNREACH): Likewise.
40621         [POSIX] (ENOBUFS): Likewise.
40622         [POSIX] (ENODATA): Likewise.
40623         [POSIX] (ENOLINK): Likewise.
40624         [POSIX] (ENOMSG): Likewise.
40625         [POSIX] (ENOPROTOOPT): Likewise.
40626         [POSIX] (ENOSR): Likewise.
40627         [POSIX] (ENOSTR): Likewise.
40628         [POSIX] (ENOTCONN): Likewise.
40629         [POSIX] (ENOTSOCK): Likewise.
40630         [POSIX] (EOPNOTSUPP): Likewise.
40631         [POSIX] (EOVERFLOW): Likewise.
40632         [POSIX] (EPROTO): Likewise.
40633         [POSIX] (EPROTONOSUPPORT): Likewise.
40634         [POSIX] (EPROTOTYPE): Likewise.
40635         [POSIX] (ESTALE): Likewise.
40636         [POSIX] (ETIME): Likewise.
40637         [POSIX] (ETXTBSY): Likewise.
40638         [POSIX] (EWOULDBLOCK): Likewise.
40639         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
40640         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
40641         [POSIX] (SEEK_CUR): Likewise.
40642         [POSIX] (SEEK_END): Likewise.
40643         [POSIX || UNIX98] (mode_t): Do not require.
40644         [POSIX] (off_t): Likewise.
40645         [POSIX] (pid_t): Likewise.
40646         [POSIX] (sys/stat.h): Do not allow header.
40647         [POSIX] (unistd.h): Likewise.
40648         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
40649         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
40650         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
40651         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
40652         require.
40653         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
40654         sigevent): Specify elements.
40655         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
40656         entry.
40657         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
40658         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
40660         * conform/data/cpio.h-data [POSIX]: Disable whole file.
40661         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
40662         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
40663         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
40664         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
40665         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
40666         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
40667         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
40668         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
40669         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
40670         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
40671         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
40672         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
40673         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
40674         Likewise.
40675         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
40676         Likewise.
40677         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
40678         Likewise.
40679         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
40680         Likewise.
40681         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
40682         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
40683         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
40684         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
40685         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
40686         Specify lower bound on value.
40687         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
40688         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
40689         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
40690         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
40691         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
40692         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
40693         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
40694         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
40695         value.
40696         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
40697         as optional.
40698         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
40699         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
40700         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
40701         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
40702         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
40703         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
40704         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
40705         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
40706         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
40707         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
40708         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
40709         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
40710         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
40711         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
40712         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
40713         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
40714         entry.
40715         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
40716         optional.
40717         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
40718         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
40719         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
40720         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
40721         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
40722         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
40723         Likewise.
40724         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
40725         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
40726         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
40727         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
40728         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
40729         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
40730         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
40731         as optional.
40732         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
40733         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
40734         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
40735         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
40736         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
40737         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
40738         specify as optional.
40739         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
40740         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
40741         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
40742         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
40743         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
40744         [XPG3] (NL_LANGMAX): Likewise.
40745         [POSIX || XPG3] (NL_MSGMAX): Likewise.
40746         [POSIX || XPG3] (NL_NMAX): Likewise.
40747         [POSIX || XPG3] (NL_SETMAX): Likewise.
40748         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
40749         [XPG3] (NZERO): Likewise.
40750         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
40751         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
40752         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
40753         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
40754         (REG_ERANGE): Expect.
40755         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
40756         optional-constant.
40757         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
40758         Use (void) in prototype.
40759         [POSIX] (*_t): Allow.
40760         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
40761         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
40762         (WRDE_BADVAL): Expect.
40764         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
40765         expect.
40766         [XPG3 || XPG4] (O_RSYNC): Likewise.
40767         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
40768         Likewise.
40769         [XPG3 || XPG4] (pthread_sigmask): Likewise.
40770         [XPG3 || XPG4] (sigqueue): Likewise.
40771         [XPG3 || XPG4] (sigtimedwait): Likewise.
40772         [XPG3 || XPG4] (sigwaitinfo): Likewise.
40773         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
40774         [XPG3 || XPG4] (vsnprintf): Likewise.
40775         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
40776         Likewise.
40777         [XPG3 || XPG4] (blksize_t): Likewise.
40778         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
40779         Likewise.
40780         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
40781         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
40782         [XPG3 || XPG4] (struct itimerspec): Likewise.
40783         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
40784         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
40785         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
40786         [XPG3 || XPG4] (clockid_t): Likewise.
40787         [XPG3 || XPG4] (timer_t): Likewise.
40788         [XPG3 || XPG4] (clock_getres): Likewise.
40789         [XPG3 || XPG4] (clock_gettime): Likewise.
40790         [XPG3 || XPG4] (clock_settime): Likewise.
40791         [XPG3 || XPG4] (nanosleep): Likewise.
40792         [XPG3 || XPG4] (timer_create): Likewise.
40793         [XPG3 || XPG4] (timer_delete): Likewise.
40794         [XPG3 || XPG4] (timer_gettime): Likewise.
40795         [XPG3 || XPG4] (timer_getoverrun): Likewise.
40796         [XPG3 || XPG4] (timer_settime): Likewise.
40797         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
40798         [XPG3 || XPG4] (getlogin_r): Likewise.
40799         [XPG3 || XPG4] (pread): Likewise.
40800         [XPG3 || XPG4] (pthread_atfork): Likewise.
40801         [XPG3 || XPG4] (pwrite): Likewise.
40803         [BZ #14835]
40804         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
40805         <bits/siginfo.h>.
40807 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
40809         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
40810         finalizing MALLSTREAM.
40812         * sysdeps/mach/hurd/syncfs.c: New file.
40814 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
40816         [BZ #14719]
40817         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
40818         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
40819         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
40820         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
40821         (_nss_dns_gethostbyname4_r): Likewise.
40822         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
40823         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
40825 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
40827         [BZ #13763]
40828         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
40830 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
40832         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
40833         * elf/cache.c (print_entry): Print ",AArch64" for
40834         FLAG_AARCH64_LIB64
40836         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
40837         * elf/cache.c (print_entry): Print ",hard-float" for
40838         FLAG_ARM_LIBHF.
40840 2012-11-18  David S. Miller  <davem@davemloft.net>
40842         With help from Joseph Myers.
40843         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
40844         cutoff to 2**-13.
40845         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
40846         cutoff to 2**-25.
40847         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
40848         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
40849         small.
40850         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
40851         * math/libm-test.inc (y0_test): New tests.
40852         (y1_test): New tests.
40853         * sysdeps/i386/fpu/libm-test-ulps: Update.
40854         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40855         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40857 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
40859         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
40860         64-bit targets.
40861         * configure: Regenerated.
40863 2012-11-17  David S. Miller  <davem@davemloft.net>
40865         [BZ #14811]
40866         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
40867         nonzero exponents with absolute value below 0x1p-128 to +/-
40868         0x1p-128.
40870 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
40872         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
40874         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
40876         * posix/getconf-speclist.c: New file.
40877         * posix/posix-envs.def: Likewise.
40878         * posix/confstr.c (START_ENV_GROUP): New macro.
40879         (END_ENV_GROUP): Likewise.
40880         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
40881         (KNOWN_PRESENT_ENV_STRING): Likewise.
40882         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
40883         (UNKNOWN_ENVIRONMENT): Likewise.
40884         (confstr): Include posix-envs.def instead of handling
40885         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
40886         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
40887         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
40888         (END_ENV_GROUP): Likewise.
40889         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
40890         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
40891         (UNKNOWN_ENVIRONMENT): Likewise.
40892         (__sysconf): Include posix-envs.def instead of handling associated
40893         cases directly here.
40894         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
40895         preprocessing getconf-speclist.c rather than running getconf or
40896         generating empty file.
40898 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
40900         * scripts/check-local-headers.sh: Ignore 'mach' headers.
40902 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
40904         [BZ #14672]
40905         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
40907 2012-11-16  David S. Miller  <davem@davemloft.net>
40909         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
40910         smaller than LDBL_EPSILON/2.0L, just return xm1.
40912 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
40914         * elf/tst-array1.c (init): Set constructor priority to 1000.
40915         (fini): Set destructor priority to 1000.
40916         * elf/tst-array2dep.c: Likewise.
40918 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40920         [BZ #11741]
40921         * libio/fileops.c (_IO_new_file_write): Correctly return error.
40922         (_IO_new_file_xsputn): Also return EOF if none of the input
40923         data was written when overflow failed.
40924         * libio/iopadn.c (_IO_padn): Likewise.
40925         * libio/iowpadn.c (_IO_wpadn): Likewise.
40926         * stdio-common/tst-put-error.c: Add copyright notice.
40927         (do_test): Add case for printing padded string.
40928         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
40929         _IO_padn returned error.
40930         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
40931         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
40932         return EOF.
40934 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40936         * libio/libioP.h: Add comment note that the references to C++
40937         bits are now obsolete.
40939 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40941         * math/libm-test.inc (check_complex): Use asprintf.
40943 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
40945         * debug/pcprofiledump.c (print_version): Update copyright year.
40946         * malloc/memusagestat.c (print_version): Likewise.
40948 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
40950         [BZ #14831]
40951         * elf/Makefile (tests): Add tst-audit8.
40952         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
40953         ($(objpfx)tst-audit8.out): New target.
40954         (tst-audit8-ENV): New variable.
40955         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
40956         audit if l_reloc_result is NULL.
40957         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
40958         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
40959         * elf/tst-audit8.c: New file.
40961 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40963         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
40964         * misc/Makefile (CFLAGS-select.c): Define.
40965         * posix/Makefile (CFLAGS-pause.c): Define.
40967 2012-11-13  David S. Miller  <davem@davemloft.net>
40969         * crypt/Makefile: Move test targets after toplevel Rules
40970         inclusion.  Grab any necessary sysdep routines when linking.
40971         * crypt/md5.c (md5_process_block): Remove define, we will always
40972         name it __md5_process_block.
40973         (md5_finish_ctx): Update md5_process_block call.
40974         (md5_stream): Likewise.
40975         (md5_process_bytes): Likewise.
40976         (md5_process_block): Rename to __md5_process_block and move to ...
40977         * crypt/md5-block.c: ... here.
40978         * crypt/sha256.c (sha256_process_block): Move to ...
40979         * crypt/sha256-block.c: ... here.
40980         * crypt/sha512.c (sha512_process_block): Move to ...
40981         * crypt/sha512-block.c: ... here.
40982         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
40983         path.
40984         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
40985         * sysdeps/sparc/sparc64/multiarch/Makefile
40986         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
40987         crypt subdir.
40988         (localedef-aux): Add md5 crypto assembler when in locale subdir.
40989         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
40990         multiarch changes.
40991         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
40992         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
40993         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
40994         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
40995         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
40996         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
40997         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
40998         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
40999         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
41000         file.
41001         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
41002         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
41003         file.
41004         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
41006 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
41008         * timezone/tzselect.ksh: Update from tzcode git revision
41009         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
41010         * timezone/zdump.c: Likewise.
41011         * timezone/zic.c: Likewise.
41012         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
41013         in TZVERSION setting, not $(PKGVERSION).
41014         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
41015         REPORT_BUGS_TO settings.
41017         [BZ #14838]
41018         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
41019         macro.
41021 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41023         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
41024         detection to immediately after _FP_ROUND().
41025         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
41026         bits are 0.
41028 2012-11-11  David S. Miller  <davem@davemloft.net>
41030         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
41031         inttypes.h
41032         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
41033         __close rather than their public counterparts.
41035 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
41037         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
41038         file.
41039         [UNIX98] (sem_timedwait): Do not expect.
41040         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
41041         [XPG4 || UNIX98] (sockatmark): Do not expect.
41042         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
41043         (clock_getcpuclockid): Do not expect.
41044         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
41045         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
41046         Do not expect.
41047         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
41048         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
41049         [UNIX98] (vwscanf): Likewise.
41050         [UNIX98] (vswscanf): Likewise.
41052 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
41054         * timezone/version.h: Remove file.
41055         * timezone/README: Do not refer to version.h.
41056         * timezone/Makefile ($(objpfx)zic.o): New dependency on
41057         $(objpfx)version.h.
41058         ($(objpfx)zdump.o): Likewise.
41059         ($(objpfx)version.h): New target.
41061         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
41062         2012i.
41063         * timezone/README: Don't mention modification to tzselect.ksh.
41064         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
41065         work on unmodified tzselect.ksh.  Substitute version numbers in
41066         tzselect.ksh.
41068         * Makefile (format-me): Remove.
41069         (INSTALL): Adjust indentation.  Use commands directly instead of
41070         using $(format-me).
41072         * aclocal.m4 (ACX_PKGVERSION): New macro.
41073         (ACX_BUGURL): Likewise.
41074         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
41075         (PKGVERSION): New AC_DEFINE_UNQUOTED.
41076         (REPORT_BUGS_TO): Likewise.
41077         * configure: Regenerated.
41078         * config.h.in (PKGVERSION): New macro.
41079         (REPORT_BUGS_TO): Likewise.
41080         * config.make.in (PKGVERSION): New variable.
41081         (PKGVERSION_TEXI): Likewise.
41082         (REPORT_BUGS_TO): Likewise.
41083         (REPORT_BUGS_TEXI): Likewise.
41084         * Makefile (format-me): Use -I$(common-objpfx)manual.
41085         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
41086         ($(common-objpfx)manual/%): New target.
41087         (manual/%): Remove target.
41088         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
41089         (print_version): Use PKGVERSION.
41090         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
41091         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
41092         and REPORT_BUGS_TO.
41093         ($(objpfx)xtrace): Likewise.
41094         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
41095         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
41096         (print_version): Use PKGVERSION.
41097         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
41098         (do_version): Use PKGVERSION.
41099         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
41100         REPORT_BUGS_TO.
41101         (common-ldd-rewrite): Likewise.
41102         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
41103         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
41104         (print_version): Use PKGVERSION.
41105         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
41106         * elf/pldd.c (argp_program_bug_address): Remove variable.
41107         (more_help): New function.
41108         (argp): Use more_help.
41109         (print_version): Use PKGVERSION.
41110         * elf/sln.c (main): Use PKGVERSION.
41111         (usage): Use REPORT_BUGS_TO.
41112         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
41113         (top level): Use PKGVERSION.
41114         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
41115         (print_version): Use PKGVERSION.
41116         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
41117         (print_version): Use PKGVERSION.
41118         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
41119         (print_version): Use PKGVERSION.
41120         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
41121         (print_version): Use PKGVERSION.
41122         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
41123         (print_version): Use PKGVERSION.
41124         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
41125         (print_version): Use PKGVERSION.
41126         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
41127         and BUGURL.
41128         ($(objpfx)memusage): Likewise.
41129         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
41130         (do_version): Use PKGVERSION.
41131         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
41132         (print_version): Use PKGVERSION.
41133         * malloc/mtrace.pl ($PACKAGE): Remove variable.
41134         ($PKGVERSION): New variable.
41135         ($REPORT_BUGS_TO): Likewise.
41136         (usage): Use $REPORT_BUGS_TO.
41137         (top level): Use $PKGVERSION.
41138         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
41139         ($(objpfx)pkgvers.texi): New rule.
41140         ($(objpfx)stamp-pkgvers): Likewise.
41141         * manual/install.texi: Include pkgvers.texi.
41142         (--with-pkgversion): Document new configure option.
41143         (--with-bugurl): Likewise.
41144         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
41145         than necessarily for this particular distribution.  Use
41146         REPORT_BUGS_TO for where to report bugs.
41147         * INSTALL: Regenerated.
41148         * manual/libc.texinfo: Include pkgvers.texi.
41149         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
41150         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
41151         (print_version): Use PKGVERSION.
41152         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
41153         (print_version): Use PKGVERSION.
41154         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
41155         (print_version): Use PKGVERSION.
41156         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
41157         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
41158         macro.
41159         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
41160         (print_version): Use PKGVERSION.
41161         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
41162         (print_version): Use PKGVERSION.
41163         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
41164         and PKGVERSION.
41166         * timezone/checktab.awk: Update from tzcode 2012i.
41167         * timezone/ialloc.c: Likewise.
41168         * timezone/private.h: Likewise.
41169         * timezone/scheck.c: Likewise.
41170         * timezone/tzfile.h: Likewise.
41171         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
41172         (TZVERSION): Hardcode tzcode version number.
41173         * timezone/zdump.c: Update from tzcode 2012i.
41174         * timezone/zic.c: Likewise.
41175         * timezone/version.h: New file.
41176         * timezone/README: Describe version.h.  Update upstream location.
41178         [BZ #14824]
41179         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
41180         (mktemp): Enable declaration.
41181         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
41182         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
41183         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
41184         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
41185         Likewise.
41186         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
41187         Likewise.
41188         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
41189         Likewise.
41190         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
41191         Likewise.
41192         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
41193         Likewise.
41194         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
41195         Likewise.
41197         [BZ #14821]
41198         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
41199         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
41200         for copies of such integer values.
41201         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
41202         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
41204 2012-11-09  Andreas Jaeger  <aj@suse.de>
41206         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
41207         definitions and declarations that are provided by
41208         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
41210 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41212         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
41213         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
41214         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
41215         definition.
41217 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41219         * elf/elf.h: Update comment before AArch64 relocations.
41221 2012-11-07  David S. Miller  <davem@davemloft.net>
41223         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
41224         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
41225         (__start_context): Declare.
41226         (__makecontext_ret): Delete.
41227         (__makecontext): Hook up __start_context instead of
41228         __makecontext_ret.
41229         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
41230         (sysdep_routines): Add __start_context when in stdlib.
41232 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41234         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
41235         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
41236         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
41237         hardcoded "nm".
41238         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
41239         (READELF): New variable.  Use it instead of hardcoded "readelf".
41241 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
41243         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
41244         * sysdeps/x86/Makefile: Here.
41245         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
41246         * sysdeps/x86/tst-xmmymm.sh: This.
41248 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41250         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
41251         expectations.
41252         [UNIX98] (pthread_barrier_t): Do not expect.
41253         [UNIX98] (pthread_barrierattr_t): Likewise.
41254         [UNIX98] (pthread_spinlock_t): Likewise.
41255         [UNIX98] (pthread_barrier_destroy): Likewise.
41256         [UNIX98] (pthread_barrier_init): Likewise.
41257         [UNIX98] (pthread_barrier_wait): Likewise.
41258         [UNIX98] (pthread_barrierattr_destroy): Likewise.
41259         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
41260         [UNIX98] (pthread_barrierattr_init): Likewise.
41261         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
41262         [UNIX98] (pthread_getcpuclockid): Likewise.
41263         [UNIX98] (pthread_mutex_timedlock): Likewise.
41264         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
41265         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
41266         [UNIX98] (pthread_sigmask): Likewise.
41267         [UNIX98] (pthread_spin_destroy): Likewise.
41268         [UNIX98] (pthread_spin_init): Likewise.
41269         [UNIX98] (pthread_spin_lock): Likewise.
41270         [UNIX98] (pthread_spin_trylock): Likewise.
41271         [UNIX98] (pthread_spin_unlock): Likewise.
41272         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
41273         Do not expect.
41274         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
41275         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
41276         [XPG3 || XPG4] (pthread_cond_t): Likewise.
41277         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
41278         [XPG3 || XPG4] (pthread_key_t): Likewise.
41279         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
41280         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
41281         [XPG3 || XPG4] (pthread_once_t): Likewise.
41282         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
41283         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
41284         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
41285         [XPG3 || XPG4] (pthread_t): Likewise.
41287         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
41288         not expect.
41289         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
41291         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
41292         Change function return type to int.
41294         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
41295         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
41296         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
41297         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
41298         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
41299         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
41300         [!POSIX] (posix_madvise): Likewise.
41301         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
41302         && !UNIX98].
41303         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
41304         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
41305         (mode_t): Likewise.
41306         (posix_mem_offset): Likewise.
41307         (posix_typed_mem_get_info): Likewise.
41308         (posix_typed_mem_open): Likewise.
41310         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
41311         Change condition to [XOPEN2K8].
41313         * conform/conformtest.pl: Preprocess allow-header data with -x c
41314         instead of from stdin.
41315         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
41316         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
41317         [C99-based standards] (cerfc): Likewise.
41318         [C99-based standards] (cexp2): Likewise.
41319         [C99-based standards] (cexpm1): Likewise.
41320         [C99-based standards] (clog10): Likewise.
41321         [C99-based standards] (clog1p): Likewise.
41322         [C99-based standards] (clog2): Likewise.
41323         [C99-based standards] (clgamma): Likewise.
41324         [C99-based standards] (ctgamma): Likewise.
41325         [C99-based standards] (cerff): Likewise.
41326         [C99-based standards] (cerfcf): Likewise.
41327         [C99-based standards] (cexp2f): Likewise.
41328         [C99-based standards] (cexpm1f): Likewise.
41329         [C99-based standards] (clog10f): Likewise.
41330         [C99-based standards] (clog1pf): Likewise.
41331         [C99-based standards] (clog2f): Likewise.
41332         [C99-based standards] (clgammaf): Likewise.
41333         [C99-based standards] (ctgammaf): Likewise.
41334         [C99-based standards] (cerfl): Likewise.
41335         [C99-based standards] (cerfcl): Likewise.
41336         [C99-based standards] (cexp2l): Likewise.
41337         [C99-based standards] (cexpm1l): Likewise.
41338         [C99-based standards] (clog10l): Likewise.
41339         [C99-based standards] (clog1pl): Likewise.
41340         [C99-based standards] (clog2l): Likewise.
41341         [C99-based standards] (clgammal): Likewise.
41342         [C99-based standards] (ctgammal): Likewise.
41343         * conform/data/inttypes.h-data [C99-based standards]: Include
41344         stdint.h-data.  Remove all expectations for stdint.h contents.
41345         [C99-based standards] (PRI*): Do not allow.
41346         [C99-based standards] (SCN*): Likewise.
41347         [C99-based standards] (*_t): Likewise.
41348         [C99-based-standards] (PRId8): Expect macro.
41349         [C99-based-standards] (PRIi8): Likewise.
41350         [C99-based-standards] (PRIo8): Likewise.
41351         [C99-based-standards] (PRIu8): Likewise.
41352         [C99-based-standards] (PRIx8): Likewise.
41353         [C99-based-standards] (PRIX8): Likewise.
41354         [C99-based-standards] (SCNd8): Likewise.
41355         [C99-based-standards] (SCNi8): Likewise.
41356         [C99-based-standards] (SCNo8): Likewise.
41357         [C99-based-standards] (SCNu8): Likewise.
41358         [C99-based-standards] (SCNx8): Likewise.
41359         [C99-based-standards] (PRIdLEAST8): Likewise.
41360         [C99-based-standards] (PRIiLEAST8): Likewise.
41361         [C99-based-standards] (PRIoLEAST8): Likewise.
41362         [C99-based-standards] (PRIuLEAST8): Likewise.
41363         [C99-based-standards] (PRIxLEAST8): Likewise.
41364         [C99-based-standards] (PRIXLEAST8): Likewise.
41365         [C99-based-standards] (SCNdLEAST8): Likewise.
41366         [C99-based-standards] (SCNiLEAST8): Likewise.
41367         [C99-based-standards] (SCNoLEAST8): Likewise.
41368         [C99-based-standards] (SCNuLEAST8): Likewise.
41369         [C99-based-standards] (SCNxLEAST8): Likewise.
41370         [C99-based-standards] (PRIdFAST8): Likewise.
41371         [C99-based-standards] (PRIiFAST8): Likewise.
41372         [C99-based-standards] (PRIoFAST8): Likewise.
41373         [C99-based-standards] (PRIuFAST8): Likewise.
41374         [C99-based-standards] (PRIxFAST8): Likewise.
41375         [C99-based-standards] (PRIXFAST8): Likewise.
41376         [C99-based-standards] (SCNdFAST8): Likewise.
41377         [C99-based-standards] (SCNiFAST8): Likewise.
41378         [C99-based-standards] (SCNoFAST8): Likewise.
41379         [C99-based-standards] (SCNuFAST8): Likewise.
41380         [C99-based-standards] (SCNxFAST8): Likewise.
41381         [C99-based-standards] (PRId16): Likewise.
41382         [C99-based-standards] (PRIi16): Likewise.
41383         [C99-based-standards] (PRIo16): Likewise.
41384         [C99-based-standards] (PRIu16): Likewise.
41385         [C99-based-standards] (PRIx16): Likewise.
41386         [C99-based-standards] (PRIX16): Likewise.
41387         [C99-based-standards] (SCNd16): Likewise.
41388         [C99-based-standards] (SCNi16): Likewise.
41389         [C99-based-standards] (SCNo16): Likewise.
41390         [C99-based-standards] (SCNu16): Likewise.
41391         [C99-based-standards] (SCNx16): Likewise.
41392         [C99-based-standards] (PRIdLEAST16): Likewise.
41393         [C99-based-standards] (PRIiLEAST16): Likewise.
41394         [C99-based-standards] (PRIoLEAST16): Likewise.
41395         [C99-based-standards] (PRIuLEAST16): Likewise.
41396         [C99-based-standards] (PRIxLEAST16): Likewise.
41397         [C99-based-standards] (PRIXLEAST16): Likewise.
41398         [C99-based-standards] (SCNdLEAST16): Likewise.
41399         [C99-based-standards] (SCNiLEAST16): Likewise.
41400         [C99-based-standards] (SCNoLEAST16): Likewise.
41401         [C99-based-standards] (SCNuLEAST16): Likewise.
41402         [C99-based-standards] (SCNxLEAST16): Likewise.
41403         [C99-based-standards] (PRIdFAST16): Likewise.
41404         [C99-based-standards] (PRIiFAST16): Likewise.
41405         [C99-based-standards] (PRIoFAST16): Likewise.
41406         [C99-based-standards] (PRIuFAST16): Likewise.
41407         [C99-based-standards] (PRIxFAST16): Likewise.
41408         [C99-based-standards] (PRIXFAST16): Likewise.
41409         [C99-based-standards] (SCNdFAST16): Likewise.
41410         [C99-based-standards] (SCNiFAST16): Likewise.
41411         [C99-based-standards] (SCNoFAST16): Likewise.
41412         [C99-based-standards] (SCNuFAST16): Likewise.
41413         [C99-based-standards] (SCNxFAST16): Likewise.
41414         [C99-based-standards] (PRId32): Likewise.
41415         [C99-based-standards] (PRIi32): Likewise.
41416         [C99-based-standards] (PRIo32): Likewise.
41417         [C99-based-standards] (PRIu32): Likewise.
41418         [C99-based-standards] (PRIx32): Likewise.
41419         [C99-based-standards] (PRIX32): Likewise.
41420         [C99-based-standards] (SCNd32): Likewise.
41421         [C99-based-standards] (SCNi32): Likewise.
41422         [C99-based-standards] (SCNo32): Likewise.
41423         [C99-based-standards] (SCNu32): Likewise.
41424         [C99-based-standards] (SCNx32): Likewise.
41425         [C99-based-standards] (PRIdLEAST32): Likewise.
41426         [C99-based-standards] (PRIiLEAST32): Likewise.
41427         [C99-based-standards] (PRIoLEAST32): Likewise.
41428         [C99-based-standards] (PRIuLEAST32): Likewise.
41429         [C99-based-standards] (PRIxLEAST32): Likewise.
41430         [C99-based-standards] (PRIXLEAST32): Likewise.
41431         [C99-based-standards] (SCNdLEAST32): Likewise.
41432         [C99-based-standards] (SCNiLEAST32): Likewise.
41433         [C99-based-standards] (SCNoLEAST32): Likewise.
41434         [C99-based-standards] (SCNuLEAST32): Likewise.
41435         [C99-based-standards] (SCNxLEAST32): Likewise.
41436         [C99-based-standards] (PRIdFAST32): Likewise.
41437         [C99-based-standards] (PRIiFAST32): Likewise.
41438         [C99-based-standards] (PRIoFAST32): Likewise.
41439         [C99-based-standards] (PRIuFAST32): Likewise.
41440         [C99-based-standards] (PRIxFAST32): Likewise.
41441         [C99-based-standards] (PRIXFAST32): Likewise.
41442         [C99-based-standards] (SCNdFAST32): Likewise.
41443         [C99-based-standards] (SCNiFAST32): Likewise.
41444         [C99-based-standards] (SCNoFAST32): Likewise.
41445         [C99-based-standards] (SCNuFAST32): Likewise.
41446         [C99-based-standards] (SCNxFAST32): Likewise.
41447         [C99-based-standards] (PRId64): Likewise.
41448         [C99-based-standards] (PRIi64): Likewise.
41449         [C99-based-standards] (PRIo64): Likewise.
41450         [C99-based-standards] (PRIu64): Likewise.
41451         [C99-based-standards] (PRIx64): Likewise.
41452         [C99-based-standards] (PRIX64): Likewise.
41453         [C99-based-standards] (SCNd64): Likewise.
41454         [C99-based-standards] (SCNi64): Likewise.
41455         [C99-based-standards] (SCNo64): Likewise.
41456         [C99-based-standards] (SCNu64): Likewise.
41457         [C99-based-standards] (SCNx64): Likewise.
41458         [C99-based-standards] (PRIdLEAST64): Likewise.
41459         [C99-based-standards] (PRIiLEAST64): Likewise.
41460         [C99-based-standards] (PRIoLEAST64): Likewise.
41461         [C99-based-standards] (PRIuLEAST64): Likewise.
41462         [C99-based-standards] (PRIxLEAST64): Likewise.
41463         [C99-based-standards] (PRIXLEAST64): Likewise.
41464         [C99-based-standards] (SCNdLEAST64): Likewise.
41465         [C99-based-standards] (SCNiLEAST64): Likewise.
41466         [C99-based-standards] (SCNoLEAST64): Likewise.
41467         [C99-based-standards] (SCNuLEAST64): Likewise.
41468         [C99-based-standards] (SCNxLEAST64): Likewise.
41469         [C99-based-standards] (PRIdFAST64): Likewise.
41470         [C99-based-standards] (PRIiFAST64): Likewise.
41471         [C99-based-standards] (PRIoFAST64): Likewise.
41472         [C99-based-standards] (PRIuFAST64): Likewise.
41473         [C99-based-standards] (PRIxFAST64): Likewise.
41474         [C99-based-standards] (PRIXFAST64): Likewise.
41475         [C99-based-standards] (SCNdFAST64): Likewise.
41476         [C99-based-standards] (SCNiFAST64): Likewise.
41477         [C99-based-standards] (SCNoFAST64): Likewise.
41478         [C99-based-standards] (SCNuFAST64): Likewise.
41479         [C99-based-standards] (SCNxFAST64): Likewise.
41480         [C99-based-standards] (PRIdMAX): Likewise.
41481         [C99-based-standards] (PRIiMAX): Likewise.
41482         [C99-based-standards] (PRIoMAX): Likewise.
41483         [C99-based-standards] (PRIuMAX): Likewise.
41484         [C99-based-standards] (PRIxMAX): Likewise.
41485         [C99-based-standards] (PRIXMAX): Likewise.
41486         [C99-based-standards] (SCNdMAX): Likewise.
41487         [C99-based-standards] (SCNiMAX): Likewise.
41488         [C99-based-standards] (SCNoMAX): Likewise.
41489         [C99-based-standards] (SCNuMAX): Likewise.
41490         [C99-based-standards] (SCNxMAX): Likewise.
41491         [C99-based-standards] (PRIdPTR): Likewise.
41492         [C99-based-standards] (PRIiPTR): Likewise.
41493         [C99-based-standards] (PRIoPTR): Likewise.
41494         [C99-based-standards] (PRIuPTR): Likewise.
41495         [C99-based-standards] (PRIxPTR): Likewise.
41496         [C99-based-standards] (PRIXPTR): Likewise.
41497         [C99-based-standards] (SCNdPTR): Likewise.
41498         [C99-based-standards] (SCNiPTR): Likewise.
41499         [C99-based-standards] (SCNoPTR): Likewise.
41500         [C99-based-standards] (SCNuPTR): Likewise.
41501         [C99-based-standards] (SCNxPTR): Likewise.
41502         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
41503         allow.
41504         * conform/data/stdint.h-data: Update comments to clarify
41505         requirements.
41506         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
41507         type.
41508         [C99-based standards] (INT8_MAX): Likewise.
41509         [C99-based standards] (INT16_MIN): Likewise.
41510         [C99-based standards] (INT16_MAX): Likewise.
41511         [C99-based standards] (INT32_MIN): Likewise.
41512         [C99-based standards] (INT32_MAX): Likewise.
41513         [C99-based standards] (INT64_MIN): Likewise.
41514         [C99-based standards] (INT64_MAX): Likewise.
41515         [C99-based standards] (UINT8_MAX): Likewise.
41516         [C99-based standards] (UINT16_MAX): Likewise.
41517         [C99-based standards] (UINT32_MAX): Likewise.
41518         [C99-based standards] (UINT64_MAX): Likewise.
41519         [C99-based standards] (INT_LEAST8_MIN): Likewise.
41520         [C99-based standards] (INT_LEAST8_MAX): Likewise.
41521         [C99-based standards] (INT_LEAST16_MIN): Likewise.
41522         [C99-based standards] (INT_LEAST16_MAX): Likewise.
41523         [C99-based standards] (INT_LEAST32_MIN): Likewise.
41524         [C99-based standards] (INT_LEAST32_MAX): Likewise.
41525         [C99-based standards] (INT_LEAST64_MIN): Likewise.
41526         [C99-based standards] (INT_LEAST64_MAX): Likewise.
41527         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
41528         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
41529         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
41530         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
41531         [C99-based standards] (INT_FAST8_MIN): Likewise.
41532         [C99-based standards] (INT_FAST8_MAX): Likewise.
41533         [C99-based standards] (INT_FAST16_MIN): Likewise.
41534         [C99-based standards] (INT_FAST16_MAX): Likewise.
41535         [C99-based standards] (INT_FAST32_MIN): Likewise.
41536         [C99-based standards] (INT_FAST32_MAX): Likewise.
41537         [C99-based standards] (INT_FAST64_MIN): Likewise.
41538         [C99-based standards] (INT_FAST64_MAX): Likewise.
41539         [C99-based standards] (UINT_FAST8_MAX): Likewise.
41540         [C99-based standards] (UINT_FAST16_MAX): Likewise.
41541         [C99-based standards] (UINT_FAST32_MAX): Likewise.
41542         [C99-based standards] (UINT_FAST64_MAX): Likewise.
41543         [C99-based standards] (INTPTR_MIN): Likewise.
41544         [C99-based standards] (INTPTR_MAX): Likewise.
41545         [C99-based standards] (UINTPTR_MAX): Likewise.
41546         [C99-based standards] (INTMAX_MIN): Likewise.
41547         [C99-based standards] (INTMAX_MAX): Likewise.
41548         [C99-based standards] (UINTMAX_MAX): Likewise.
41549         [C99-based standards] (PTRDIFF_MIN): Likewise.
41550         [C99-based standards] (PTRDIFF_MAX): Likewise.
41551         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
41552         [C99-based standards] (SIZE_MAX): Likewise.
41553         [C99-based standards] (WCHAR_MAX): Likewise.
41554         [C99-based standards] (WINT_MAX): Likewise.
41555         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
41556         constraint on value.
41557         [C99-based standards] (WCHAR_MIN): Likewise.
41558         [C99-based standards] (WINT_MIN): Likewise.
41559         [C99-based standards] (*_t): Allow.
41560         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
41561         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
41562         Include math.h-data and complex.h-data.  Remove all expectations
41563         of math.h and complex.h contents.
41564         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
41565         at end of line.
41566         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
41567         (struct tm): Expect tag.
41568         [C99-based-standards] (wcstof): Expect function.
41569         [C99-based-standards] (wcstold): Likewise.
41570         [C99-based-standards] (wcstoll): Likewise.
41571         [C99-based-standards] (wcstoull): Likewise.
41572         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
41573         macro-int-constant.  Specify type.
41574         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
41575         constraint on value.
41576         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
41577         Specify type.
41578         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
41579         Specify value.
41580         [ISO C standards]: Do not allow headers.
41581         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
41582         wcs[abcdefghijklmnopqrstuvwxyz]*.
41583         [ISO C standards] (*_t): Do not allow.
41584         * conform/data/wctype.h-data [C99-based standards] (iswblank):
41585         Expect function.
41586         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
41587         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
41588         Specify type.
41589         [ISO C standards]: Do not allow headers.
41590         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
41591         is[abcdefghijklmnopqrstuvwxyz]*.
41592         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
41593         to[abcdefghijklmnopqrstuvwxyz]*.
41594         [ISO C standards] (*_t): Do not allow.
41595         * conform/data/stdalign.h-data: New file.
41596         * conform/data/stdbool.h-data: Likewise.
41597         * conform/data/stdnoreturn.h-data: Likewise.
41599 2012-11-07  Roland McGrath  <roland@hack.frob.com>
41601         [BZ #14815]
41602         * manual/filesys.texi (Directory Entries): Typo fix.
41603         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
41605 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41607         * elf/elf.h (EM_AARCH64): New macro.
41608         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
41609         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
41610         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
41611         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
41612         (R_AARCH64_TLSDESC): Likewise.
41613         (NT_ARM_TLS): Likewise.
41614         (NT_ARM_HW_BREAK): Likewise.
41615         (NT_ARM_HW_WATCH): Likewise.
41617 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41619         [BZ #14811]
41620         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
41621         (__ieee754_powl): Saturate nonzero exponents with absolute value
41622         below 0x1p-79 to +/- 0x1p-79.
41623         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
41624         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
41625         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
41626         nonzero exponents with absolute value below 0x1p-32 to +/-
41627         0x1p-32.
41628         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
41629         (__ieee754_powl): Saturate nonzero exponents with absolute value
41630         below 0x1p-79 to +/- 0x1p-79.
41631         * math/libm-test.inc (pow_test): Add more tests.
41633 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41635         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
41636         _dl_s390_cap_flags with kernel. Increase string length.
41637         (_dl_s390_platforms): Add z196 and zEC12.
41639 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41641         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
41642         Change XOPEN21K to XOPEN2K.
41644 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
41646         * string/memmove.c: Use memcpy when possible.
41648 2012-11-06  Andreas Jaeger  <aj@suse.de>
41650         * po/eo.po: Update from translation team.
41652 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
41654         [BZ #14793]
41655         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
41656         exponent and small x and y exponents, scale x or y up.  Increase
41657         by 2 the exponent used in scaling up.
41658         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41659         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41660         * math/libm-test.inc (fma_test): Add more tests.
41661         (fma_test_towardzero): Likewise.
41662         (fma_test_downward): Likewise.
41663         (fma_test_upward): Likewise.
41665 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
41667         [BZ #14805]
41668         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
41669         fenv_t *.
41671         [BZ #14801]
41672         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
41673         namespace for names of struct fields.
41674         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
41675         fenv_t fields.
41676         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
41677         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
41679 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41681         [BZ #3665]
41682         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
41684 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
41686         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
41687         PTR_DEMANGLE.
41689         [BZ #5246]
41690         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
41691         PTR_DEMANGLE.
41693 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
41695         [BZ #14797]
41696         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
41697         definitely overflow as x * y not x * y + z.
41698         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41699         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41700         * math/libm-test.inc (fma_test): Add more tests.
41701         (fma_test_towardzero): Likewise.
41702         (fma_test_downward): Likewise.
41703         (fma_test_upward): Likewise.
41705 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
41707         [BZ #157]
41709         * include/stub-tag.h: Remove file.
41710         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
41711         '#include' of it.
41712         * manual/maint.texi (Porting): Don't reference it.
41713         * Makerules ($(objpfx)stubs): Likewise.
41714         * dirent/closedir.c: Don't include <stub-tag.h>.
41715         * dirent/dirfd.c: Likewise.
41716         * dirent/fdopendir.c: Likewise.
41717         * dirent/getdents.c: Likewise.
41718         * dirent/getdents64.c: Likewise.
41719         * dirent/opendir.c: Likewise.
41720         * dirent/readdir.c: Likewise.
41721         * dirent/readdir64.c: Likewise.
41722         * dirent/readdir64_r.c: Likewise.
41723         * dirent/readdir_r.c: Likewise.
41724         * dirent/rewinddir.c: Likewise.
41725         * dirent/seekdir.c: Likewise.
41726         * dirent/telldir.c: Likewise.
41727         * gmon/profil.c: Likewise.
41728         * grp/setgroups.c: Likewise.
41729         * inet/if_index.c: Likewise.
41730         * io/access.c: Likewise.
41731         * io/chdir.c: Likewise.
41732         * io/chmod.c: Likewise.
41733         * io/chown.c: Likewise.
41734         * io/close.c: Likewise.
41735         * io/dup.c: Likewise.
41736         * io/dup2.c: Likewise.
41737         * io/dup3.c: Likewise.
41738         * io/euidaccess.c: Likewise.
41739         * io/faccessat.c: Likewise.
41740         * io/fchdir.c: Likewise.
41741         * io/fchmod.c: Likewise.
41742         * io/fchmodat.c: Likewise.
41743         * io/fchown.c: Likewise.
41744         * io/fchownat.c: Likewise.
41745         * io/fcntl.c: Likewise.
41746         * io/flock.c: Likewise.
41747         * io/fstatfs.c: Likewise.
41748         * io/fstatfs64.c: Likewise.
41749         * io/fstatvfs.c: Likewise.
41750         * io/fstatvfs64.c: Likewise.
41751         * io/futimens.c: Likewise.
41752         * io/fxstat.c: Likewise.
41753         * io/fxstat64.c: Likewise.
41754         * io/fxstatat.c: Likewise.
41755         * io/fxstatat64.c: Likewise.
41756         * io/getcwd.c: Likewise.
41757         * io/isatty.c: Likewise.
41758         * io/lchmod.c: Likewise.
41759         * io/lchown.c: Likewise.
41760         * io/link.c: Likewise.
41761         * io/linkat.c: Likewise.
41762         * io/lseek.c: Likewise.
41763         * io/lseek64.c: Likewise.
41764         * io/lxstat64.c: Likewise.
41765         * io/mkdir.c: Likewise.
41766         * io/mkdirat.c: Likewise.
41767         * io/mkfifo.c: Likewise.
41768         * io/mkfifoat.c: Likewise.
41769         * io/open.c: Likewise.
41770         * io/open64.c: Likewise.
41771         * io/openat.c: Likewise.
41772         * io/openat64.c: Likewise.
41773         * io/pipe.c: Likewise.
41774         * io/pipe2.c: Likewise.
41775         * io/poll.c: Likewise.
41776         * io/posix_fadvise.c: Likewise.
41777         * io/posix_fadvise64.c: Likewise.
41778         * io/posix_fallocate.c: Likewise.
41779         * io/posix_fallocate64.c: Likewise.
41780         * io/read.c: Likewise.
41781         * io/readlink.c: Likewise.
41782         * io/readlinkat.c: Likewise.
41783         * io/rmdir.c: Likewise.
41784         * io/sendfile.c: Likewise.
41785         * io/sendfile64.c: Likewise.
41786         * io/statfs.c: Likewise.
41787         * io/statfs64.c: Likewise.
41788         * io/statvfs.c: Likewise.
41789         * io/statvfs64.c: Likewise.
41790         * io/symlink.c: Likewise.
41791         * io/symlinkat.c: Likewise.
41792         * io/ttyname.c: Likewise.
41793         * io/ttyname_r.c: Likewise.
41794         * io/umask.c: Likewise.
41795         * io/unlink.c: Likewise.
41796         * io/unlinkat.c: Likewise.
41797         * io/utime.c: Likewise.
41798         * io/utimensat.c: Likewise.
41799         * io/write.c: Likewise.
41800         * io/xmknod.c: Likewise.
41801         * io/xmknodat.c: Likewise.
41802         * io/xstat.c: Likewise.
41803         * io/xstat64.c: Likewise.
41804         * login/getpt.c: Likewise.
41805         * login/grantpt.c: Likewise.
41806         * login/unlockpt.c: Likewise.
41807         * math/e_acoshl.c: Likewise.
41808         * math/e_acosl.c: Likewise.
41809         * math/e_asinl.c: Likewise.
41810         * math/e_atan2l.c: Likewise.
41811         * math/e_atanhl.c: Likewise.
41812         * math/e_coshl.c: Likewise.
41813         * math/e_expl.c: Likewise.
41814         * math/e_fmodl.c: Likewise.
41815         * math/e_gammal_r.c: Likewise.
41816         * math/e_hypotl.c: Likewise.
41817         * math/e_j0l.c: Likewise.
41818         * math/e_j1l.c: Likewise.
41819         * math/e_jnl.c: Likewise.
41820         * math/e_lgammal_r.c: Likewise.
41821         * math/e_log10l.c: Likewise.
41822         * math/e_log2l.c: Likewise.
41823         * math/e_logl.c: Likewise.
41824         * math/e_powl.c: Likewise.
41825         * math/e_rem_pio2l.c: Likewise.
41826         * math/e_sinhl.c: Likewise.
41827         * math/e_sqrtl.c: Likewise.
41828         * math/fclrexcpt.c: Likewise.
41829         * math/fedisblxcpt.c: Likewise.
41830         * math/feenablxcpt.c: Likewise.
41831         * math/fegetenv.c: Likewise.
41832         * math/fegetexcept.c: Likewise.
41833         * math/fegetround.c: Likewise.
41834         * math/feholdexcpt.c: Likewise.
41835         * math/fesetenv.c: Likewise.
41836         * math/fesetround.c: Likewise.
41837         * math/feupdateenv.c: Likewise.
41838         * math/fgetexcptflg.c: Likewise.
41839         * math/fraiseexcpt.c: Likewise.
41840         * math/fsetexcptflg.c: Likewise.
41841         * math/ftestexcept.c: Likewise.
41842         * math/k_cosl.c: Likewise.
41843         * math/k_rem_pio2l.c: Likewise.
41844         * math/k_sinl.c: Likewise.
41845         * math/k_tanl.c: Likewise.
41846         * math/s_asinhl.c: Likewise.
41847         * math/s_atanl.c: Likewise.
41848         * math/s_cbrtl.c: Likewise.
41849         * math/s_erfl.c: Likewise.
41850         * math/s_expm1l.c: Likewise.
41851         * math/s_log1pl.c: Likewise.
41852         * math/s_tanhl.c: Likewise.
41853         * misc/acct.c: Likewise.
41854         * misc/brk.c: Likewise.
41855         * misc/chflags.c: Likewise.
41856         * misc/chroot.c: Likewise.
41857         * misc/fchflags.c: Likewise.
41858         * misc/fgetxattr.c: Likewise.
41859         * misc/flistxattr.c: Likewise.
41860         * misc/fremovexattr.c: Likewise.
41861         * misc/fsetxattr.c: Likewise.
41862         * misc/fsync.c: Likewise.
41863         * misc/ftruncate.c: Likewise.
41864         * misc/futimes.c: Likewise.
41865         * misc/futimesat.c: Likewise.
41866         * misc/getdomain.c: Likewise.
41867         * misc/getdtsz.c: Likewise.
41868         * misc/gethostid.c: Likewise.
41869         * misc/gethostname.c: Likewise.
41870         * misc/getloadavg.c: Likewise.
41871         * misc/getpagesize.c: Likewise.
41872         * misc/getsysstats.c: Likewise.
41873         * misc/getxattr.c: Likewise.
41874         * misc/gtty.c: Likewise.
41875         * misc/ioctl.c: Likewise.
41876         * misc/lgetxattr.c: Likewise.
41877         * misc/listxattr.c: Likewise.
41878         * misc/llistxattr.c: Likewise.
41879         * misc/lremovexattr.c: Likewise.
41880         * misc/lsetxattr.c: Likewise.
41881         * misc/lutimes.c: Likewise.
41882         * misc/madvise.c: Likewise.
41883         * misc/mincore.c: Likewise.
41884         * misc/mlock.c: Likewise.
41885         * misc/mlockall.c: Likewise.
41886         * misc/mmap.c: Likewise.
41887         * misc/mprotect.c: Likewise.
41888         * misc/msync.c: Likewise.
41889         * misc/munlock.c: Likewise.
41890         * misc/munlockall.c: Likewise.
41891         * misc/munmap.c: Likewise.
41892         * misc/preadv.c: Likewise.
41893         * misc/preadv64.c: Likewise.
41894         * misc/ptrace.c: Likewise.
41895         * misc/pwritev.c: Likewise.
41896         * misc/pwritev64.c: Likewise.
41897         * misc/readv.c: Likewise.
41898         * misc/reboot.c: Likewise.
41899         * misc/remap_file_pages.c: Likewise.
41900         * misc/removexattr.c: Likewise.
41901         * misc/revoke.c: Likewise.
41902         * misc/select.c: Likewise.
41903         * misc/setdomain.c: Likewise.
41904         * misc/setegid.c: Likewise.
41905         * misc/seteuid.c: Likewise.
41906         * misc/sethostid.c: Likewise.
41907         * misc/sethostname.c: Likewise.
41908         * misc/setregid.c: Likewise.
41909         * misc/setreuid.c: Likewise.
41910         * misc/setxattr.c: Likewise.
41911         * misc/sstk.c: Likewise.
41912         * misc/stty.c: Likewise.
41913         * misc/swapoff.c: Likewise.
41914         * misc/swapon.c: Likewise.
41915         * misc/sync.c: Likewise.
41916         * misc/syncfs.c: Likewise.
41917         * misc/syscall.c: Likewise.
41918         * misc/truncate.c: Likewise.
41919         * misc/ualarm.c: Likewise.
41920         * misc/usleep.c: Likewise.
41921         * misc/ustat.c: Likewise.
41922         * misc/utimes.c: Likewise.
41923         * misc/vhangup.c: Likewise.
41924         * misc/writev.c: Likewise.
41925         * posix/_exit.c: Likewise.
41926         * posix/alarm.c: Likewise.
41927         * posix/execve.c: Likewise.
41928         * posix/fexecve.c: Likewise.
41929         * posix/fork.c: Likewise.
41930         * posix/fpathconf.c: Likewise.
41931         * posix/getaddrinfo.c: Likewise.
41932         * posix/getegid.c: Likewise.
41933         * posix/geteuid.c: Likewise.
41934         * posix/getgid.c: Likewise.
41935         * posix/getgroups.c: Likewise.
41936         * posix/getlogin.c: Likewise.
41937         * posix/getlogin_r.c: Likewise.
41938         * posix/getpgid.c: Likewise.
41939         * posix/getpid.c: Likewise.
41940         * posix/getppid.c: Likewise.
41941         * posix/getresgid.c: Likewise.
41942         * posix/getresuid.c: Likewise.
41943         * posix/getsid.c: Likewise.
41944         * posix/getuid.c: Likewise.
41945         * posix/glob64.c: Likewise.
41946         * posix/nanosleep.c: Likewise.
41947         * posix/pathconf.c: Likewise.
41948         * posix/pause.c: Likewise.
41949         * posix/posix_madvise.c: Likewise.
41950         * posix/pread.c: Likewise.
41951         * posix/pread64.c: Likewise.
41952         * posix/pwrite.c: Likewise.
41953         * posix/pwrite64.c: Likewise.
41954         * posix/sched_getaffinity.c: Likewise.
41955         * posix/sched_getp.c: Likewise.
41956         * posix/sched_gets.c: Likewise.
41957         * posix/sched_primax.c: Likewise.
41958         * posix/sched_primin.c: Likewise.
41959         * posix/sched_rr_gi.c: Likewise.
41960         * posix/sched_setaffinity.c: Likewise.
41961         * posix/sched_setp.c: Likewise.
41962         * posix/sched_sets.c: Likewise.
41963         * posix/sched_yield.c: Likewise.
41964         * posix/setgid.c: Likewise.
41965         * posix/setlogin.c: Likewise.
41966         * posix/setpgid.c: Likewise.
41967         * posix/setresgid.c: Likewise.
41968         * posix/setresuid.c: Likewise.
41969         * posix/setsid.c: Likewise.
41970         * posix/setuid.c: Likewise.
41971         * posix/sleep.c: Likewise.
41972         * posix/spawni.c: Likewise.
41973         * posix/sysconf.c: Likewise.
41974         * posix/times.c: Likewise.
41975         * posix/wait.c: Likewise.
41976         * posix/wait3.c: Likewise.
41977         * posix/wait4.c: Likewise.
41978         * posix/waitpid.c: Likewise.
41979         * resolv/gai_sigqueue.c: Likewise.
41980         * resource/getpriority.c: Likewise.
41981         * resource/getrlimit.c: Likewise.
41982         * resource/getrusage.c: Likewise.
41983         * resource/nice.c: Likewise.
41984         * resource/setpriority.c: Likewise.
41985         * resource/setrlimit.c: Likewise.
41986         * resource/ulimit.c: Likewise.
41987         * rt/aio_cancel.c: Likewise.
41988         * rt/aio_fsync.c: Likewise.
41989         * rt/aio_read.c: Likewise.
41990         * rt/aio_sigqueue.c: Likewise.
41991         * rt/aio_suspend.c: Likewise.
41992         * rt/aio_write.c: Likewise.
41993         * rt/clock_getres.c: Likewise.
41994         * rt/clock_gettime.c: Likewise.
41995         * rt/clock_nanosleep.c: Likewise.
41996         * rt/clock_settime.c: Likewise.
41997         * rt/lio_listio.c: Likewise.
41998         * rt/mq_close.c: Likewise.
41999         * rt/mq_getattr.c: Likewise.
42000         * rt/mq_notify.c: Likewise.
42001         * rt/mq_open.c: Likewise.
42002         * rt/mq_receive.c: Likewise.
42003         * rt/mq_send.c: Likewise.
42004         * rt/mq_setattr.c: Likewise.
42005         * rt/mq_timedreceive.c: Likewise.
42006         * rt/mq_timedsend.c: Likewise.
42007         * rt/mq_unlink.c: Likewise.
42008         * rt/shm_open.c: Likewise.
42009         * rt/shm_unlink.c: Likewise.
42010         * rt/timer_create.c: Likewise.
42011         * rt/timer_delete.c: Likewise.
42012         * rt/timer_getoverr.c: Likewise.
42013         * rt/timer_gettime.c: Likewise.
42014         * rt/timer_settime.c: Likewise.
42015         * setjmp/__longjmp.c: Likewise.
42016         * setjmp/setjmp.c: Likewise.
42017         * signal/kill.c: Likewise.
42018         * signal/killpg.c: Likewise.
42019         * signal/raise.c: Likewise.
42020         * signal/sigaction.c: Likewise.
42021         * signal/sigaltstack.c: Likewise.
42022         * signal/sigblock.c: Likewise.
42023         * signal/sigignore.c: Likewise.
42024         * signal/sigintr.c: Likewise.
42025         * signal/signal.c: Likewise.
42026         * signal/sigpause.c: Likewise.
42027         * signal/sigpending.c: Likewise.
42028         * signal/sigqueue.c: Likewise.
42029         * signal/sigreturn.c: Likewise.
42030         * signal/sigset.c: Likewise.
42031         * signal/sigsetmask.c: Likewise.
42032         * signal/sigstack.c: Likewise.
42033         * signal/sigsuspend.c: Likewise.
42034         * signal/sigtimedwait.c: Likewise.
42035         * signal/sigvec.c: Likewise.
42036         * signal/sigwait.c: Likewise.
42037         * signal/sigwaitinfo.c: Likewise.
42038         * signal/sysv_signal.c: Likewise.
42039         * socket/accept.c: Likewise.
42040         * socket/accept4.c: Likewise.
42041         * socket/bind.c: Likewise.
42042         * socket/connect.c: Likewise.
42043         * socket/getpeername.c: Likewise.
42044         * socket/getsockname.c: Likewise.
42045         * socket/getsockopt.c: Likewise.
42046         * socket/isfdtype.c: Likewise.
42047         * socket/listen.c: Likewise.
42048         * socket/recv.c: Likewise.
42049         * socket/recvfrom.c: Likewise.
42050         * socket/recvmsg.c: Likewise.
42051         * socket/send.c: Likewise.
42052         * socket/sendmsg.c: Likewise.
42053         * socket/sendto.c: Likewise.
42054         * socket/setsockopt.c: Likewise.
42055         * socket/shutdown.c: Likewise.
42056         * socket/sockatmark.c: Likewise.
42057         * socket/socket.c: Likewise.
42058         * socket/socketpair.c: Likewise.
42059         * stdio-common/ctermid.c: Likewise.
42060         * stdio-common/cuserid.c: Likewise.
42061         * stdio-common/remove.c: Likewise.
42062         * stdio-common/rename.c: Likewise.
42063         * stdio-common/renameat.c: Likewise.
42064         * stdio-common/tempname.c: Likewise.
42065         * stdlib/getcontext.c: Likewise.
42066         * stdlib/makecontext.c: Likewise.
42067         * stdlib/setcontext.c: Likewise.
42068         * stdlib/swapcontext.c: Likewise.
42069         * stdlib/system.c: Likewise.
42070         * streams/fattach.c: Likewise.
42071         * streams/fdetach.c: Likewise.
42072         * streams/getmsg.c: Likewise.
42073         * streams/getpmsg.c: Likewise.
42074         * streams/putmsg.c: Likewise.
42075         * streams/putpmsg.c: Likewise.
42076         * sysdeps/unix/bsd/getpt.c: Likewise.
42077         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
42078         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
42079         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
42080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
42081         Likewise.
42082         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
42083         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42084         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
42085         * sysvipc/msgctl.c: Likewise.
42086         * sysvipc/msgget.c: Likewise.
42087         * sysvipc/msgrcv.c: Likewise.
42088         * sysvipc/msgsnd.c: Likewise.
42089         * sysvipc/semctl.c: Likewise.
42090         * sysvipc/semget.c: Likewise.
42091         * sysvipc/semop.c: Likewise.
42092         * sysvipc/semtimedop.c: Likewise.
42093         * sysvipc/shmat.c: Likewise.
42094         * sysvipc/shmctl.c: Likewise.
42095         * sysvipc/shmdt.c: Likewise.
42096         * sysvipc/shmget.c: Likewise.
42097         * termios/tcdrain.c: Likewise.
42098         * termios/tcflow.c: Likewise.
42099         * termios/tcflush.c: Likewise.
42100         * termios/tcgetattr.c: Likewise.
42101         * termios/tcgetpgrp.c: Likewise.
42102         * termios/tcsendbrk.c: Likewise.
42103         * termios/tcsetattr.c: Likewise.
42104         * termios/tcsetpgrp.c: Likewise.
42105         * time/adjtime.c: Likewise.
42106         * time/clock.c: Likewise.
42107         * time/getitimer.c: Likewise.
42108         * time/gettimeofday.c: Likewise.
42109         * time/setitimer.c: Likewise.
42110         * time/settimeofday.c: Likewise.
42111         * time/stime.c: Likewise.
42112         * time/time.c: Likewise.
42114 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
42116         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
42117         /usr/old/bin.
42119         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
42120         instead of spaces.
42121         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
42123 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
42125         [BZ #14796]
42126         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
42127         FE_TONEAREST before applying Dekker multiplication and Knuth
42128         addition.  Clear inexact exceptions and check for exact zero
42129         results afterwards.
42130         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42131         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42132         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42133         * math/libm-test.inc (fma_test): Add more tests.
42134         (fma_test_towardzero): Likewise.
42135         (fma_test_downward): Likewise.
42136         (fma_test_upward): Likewise.
42137         * sysdeps/generic/math_private.h (default_libc_fesetround): New
42138         function.
42139         (libc_fesetround): New macro.
42140         (libc_fesetroundf): Likewise.
42141         (libc_fesetroundl): Likewise.
42142         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
42143         function.
42144         (libc_fesetround_387): Likewise.
42145         (libc_fesetroundf): New macro.
42146         (libc_fesetround): Likewise.
42147         (libc_fesetroundl): Likewise.
42148         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
42149         function.
42150         (libc_fesetroundf): New macro.
42151         (libc_fesetround): Likewise.
42152         (libc_fesetroundl): Likewise.
42153         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
42154         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
42155         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
42156         libm_hidden_ver.
42157         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
42158         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
42159         libm_hidden_def.
42160         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
42161         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
42162         libm_hidden_ver.
42163         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
42164         libm_hidden_def.
42166         [BZ #3439]
42167         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
42168         integer constant usable in #if and use that to give value to enum
42169         constant.
42170         (FE_DIVBYZERO): Likewise.
42171         (FE_UNDERFLOW): Likewise.
42172         (FE_OVERFLOW): Likewise.
42173         (FE_INVALID): Likewise.
42174         (FE_INVALID_SNAN): Likewise.
42175         (FE_INVALID_ISI): Likewise.
42176         (FE_INVALID_IDI): Likewise.
42177         (FE_INVALID_ZDZ): Likewise.
42178         (FE_INVALID_IMZ): Likewise.
42179         (FE_INVALID_COMPARE): Likewise.
42180         (FE_INVALID_SOFTWARE): Likewise.
42181         (FE_INVALID_SQRT): Likewise.
42182         (FE_INVALID_INTEGER_CONVERSION): Likewise.
42183         (FE_TONEAREST): Likewise.
42184         (FE_TOWARDZERO): Likewise.
42185         (FE_UPWARD): Likewise.
42186         (FE_DOWNWARD): Likewise.
42187         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
42188         (FE_DIVBYZERO): Likewise.
42189         (FE_OVERFLOW): Likewise.
42190         (FE_UNDERFLOW): Likewise.
42191         (FE_INEXACT): Likewise.
42192         (FE_TONEAREST): Likewise.
42193         (FE_DOWNWARD): Likewise.
42194         (FE_UPWARD): Likewise.
42195         (FE_TOWARDZERO): Likewise.
42196         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
42197         (FE_UNDERFLOW): Likewise.
42198         (FE_OVERFLOW): Likewise.
42199         (FE_DIVBYZERO): Likewise.
42200         (FE_INVALID): Likewise.
42201         (FE_TONEAREST): Likewise.
42202         (FE_TOWARDZERO): Likewise.
42203         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
42204         (FE_OVERFLOW): Likewise.
42205         (FE_UNDERFLOW): Likewise.
42206         (FE_DIVBYZERO): Likewise.
42207         (FE_INEXACT): Likewise.
42208         (FE_TONEAREST): Likewise.
42209         (FE_TOWARDZERO): Likewise.
42210         (FE_UPWARD): Likewise.
42211         (FE_DOWNWARD): Likewise.
42212         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
42213         (FE_DIVBYZERO): Likewise.
42214         (FE_OVERFLOW): Likewise.
42215         (FE_UNDERFLOW): Likewise.
42216         (FE_INEXACT): Likewise.
42217         (FE_TONEAREST): Likewise.
42218         (FE_DOWNWARD): Likewise.
42219         (FE_UPWARD): Likewise.
42220         (FE_TOWARDZERO): Likewise.
42222 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
42224         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
42226 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
42228         * scripts/cross-test-ssh.sh (command): Use newlines to separate
42229         commands.  Quote $PWD.
42230         (blacklist_exports): Don't use remove_newlines.  Replace "declare
42231         -x" by "export".
42232         (remove_newlines): Remove.
42234 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
42236         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
42237         * stdlib/stdlib.h (atof): Moved to ...
42238         * include/bits/stdlib-float.h: Here.  New file.
42239         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
42240         * stdlib/bits/stdlib-float.h: New file.
42241         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
42242         -mno-sse -mno-mmx.
42243         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
42244         <xmmintrin.h>.
42246 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
42248         * conform/conformtest.pl (@headers): Add fenv.h.
42249         * conform/data/fenv.h-data: New file.
42250         * include/fenv.h [_ISOMAC]: Disable all contents of file except
42251         include of <math/fenv.h>.
42253         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
42254         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
42255         && !UNIX98].  Enables tests for XOPEN2K8.
42256         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
42257         POSIX2008]: Likewise.
42259         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
42260         (struct rusage): Do not expect type or its members.
42262         [BZ #3439]
42263         * math/math.h (FP_NAN): Define macro to integer constant usable in
42264         #if and use that to give value to enum constant.
42265         (FP_INFINITE): Likewise.
42266         (FP_ZERO): Likewise.
42267         (FP_SUBNORMAL): Likewise.
42268         (FP_NORMAL): Likewise.
42270 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
42272         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
42273         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
42274         arguments.
42276 2012-11-02  Roland McGrath  <roland@hack.frob.com>
42278         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
42279         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
42280         autoconf-time if not.
42281         * configure.in: Remove AC_PREREQ.
42283 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42285         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
42286         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
42287         of the internal implementation.
42289 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
42291         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
42292         except include of <misc/sys/syslog.h>.
42294 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
42296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
42297         function returns with a NULL context exit with zero.
42299 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42301         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
42303 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
42305         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
42306         (run_program_cmd): This.
42307         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
42308         (tst_langinfo): New variable.  Use it.
42310 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
42312         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
42313         floating point opcodes.
42315 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42317         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
42318         variable.
42320         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
42322         * sysdeps/mach/hurd/powerpc: Remove directory.
42323         * sysdeps/mach/powerpc: Likewise.
42325 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
42327         * scripts/check-local-headers.sh: Ignore c++ headers.
42329 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42331         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
42332         __libc_cleanup_region_start argument.
42334 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
42336         [BZ #14784]
42337         [BZ #14785]
42338         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
42339         x * y using scaling, not as x * y + z.
42340         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42341         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42342         * math/libm-test.inc (fma_test): Add more tests.
42343         (fma_test_towardzero): Likewise.
42344         (fma_test_downward): Likewise.
42345         (fma_test_upward): Likewise.
42347 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42349         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
42351 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
42353         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
42354         New variable.
42356 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
42358         * rt/tst-shm.c (worker): Correct checking for mmap failure.
42360 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
42362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42363         Fix sort order.
42364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42365         Likewise.
42367 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42370         Fix the order of the list for glibc 2.17.
42371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42372         Likewise.
42374 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
42376         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42378 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
42380         [BZ #14610]
42381         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
42382         for low part of x being zero before using __atanl (y).
42383         * math/libm-test.inc (atan2_test): Add another test.
42385         * manual/install.texi (Configuring and compiling): Document
42386         general use of test-wrapper and test-wrapper-env.
42387         * INSTALL: Regenerated.
42389         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
42390         (__fma): Do not extract and scale down low bits on after-rounding
42391         systems when result rounded to normal precision would have normal
42392         exponent.
42393         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
42394         (__fmal): Do not extract and scale down low bits on after-rounding
42395         systems when result rounded to normal precision would have normal
42396         exponent.
42397         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
42398         (__fmal): Do not extract and scale down low bits on after-rounding
42399         systems when result rounded to normal precision would have normal
42400         exponent.
42401         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
42402         macro.
42403         (fma_test): Add more tests.
42404         (fma_test_towardzero): Likewise.
42405         (fma_test_downward): Likewise.
42406         (fma_test_upward): Likewise.
42408 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
42410         * sysdeps/i386/tininess.h: Renamed to ...
42411         * sysdeps/x86/tininess.h: This.
42412         * sysdeps/x86_64/tininess.h: Removed.
42414 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
42416         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
42417         input.  Use $(build-program-cmd).
42418         ($(objpfx)tst-array1-static.out): Likewise.
42419         ($(objpfx)tst-array2.out): Likewise.
42420         ($(objpfx)tst-array3.out): Likewise.
42421         ($(objpfx)tst-array4.out): Likewise.
42422         ($(objpfx)tst-array5.out): Likewise.
42423         ($(objpfx)tst-array5-static.out): Likewise.
42425 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
42427         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
42428         if defined.
42430         * nss/nsswitch.h (nss_interface_function): Provide new
42431         macro for use with NSS functions.
42432         * grp/initgroups.c: Use new macro.
42433         * nss/getXXbyYY.c: Likewise.
42434         * nss/getXXbyYY_r.c: Likewise.
42435         * nss/getXXent.c: Likewise.
42436         * nss/getXXent_r.c: Likewise.
42437         * sysdeps/posix/getaddrinfo.c: Likewise.
42439 2012-10-30  Andreas Jaeger  <aj@suse.de>
42441         * po/ru.po: Update Russion translation from translation project.
42443 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
42445         [BZ #14152]
42446         [BZ #14783]
42447         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
42448         result and shift together with sticky bit instead of replicating
42449         round-to-nearest rounding.
42450         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42451         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42452         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
42453         missing underflow exceptions.
42454         (fma_test_towardzero): Add more tests.
42455         (fma_test_downward): Likewise.
42456         (fma_test_upward): Likewise.
42458         [BZ #14047]
42459         * sysdeps/generic/tininess.h: New file.
42460         * sysdeps/i386/tininess.h: Likewise.
42461         * sysdeps/sh/tininess.h: Likewise.
42462         * sysdeps/x86_64/tininess.h: Likewise.
42463         * stdlib/tst-strtod-underflow.c: Likewise.
42464         * stdlib/tst-tininess.c: Likewise.
42465         * stdlib/strtod_l.c: Include <tininess.h>.
42466         (round_and_return): Do not set errno for exact underflow cases.
42467         Force an underflow exception when setting errno for underflow.
42468         Determine underflow based on rounding to normal precision if
42469         TININESS_AFTER_ROUNDING.
42470         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
42471         ERANGE for exact underflow cases.
42472         * stdlib/Makefile (tests): Add tst-tininess and
42473         tst-strtod-underflow.
42474         ($(objpfx)tst-tininess): Use $(link-libm).
42475         ($(objpfx)tst-strtod-underflow): Likewise.
42477 2012-10-30  Andreas Jaeger  <aj@suse.de>
42479         [BZ#14767]
42480         * elf/Makefile (tests): Remove conditional for have-initfini-array
42481         since this is now always required and the variable does not exist
42482         anymore.
42483         (tests-static): Likewise.
42484         (modules-names): Likewise.
42486         * po/eo.po: Add Esperanto translation from translation project.
42488         * elf/tst-array1.c (fini_array): Make writeable so that it can be
42489         merged with constructor/destructor.
42490         (init_array): Likewise.
42491         * elf/tst-array2dep.c (fini_array): Likewise.
42492         (init_array): Likewise.
42494 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
42496         * manual/message.texi: Delete @cartouche tags.
42498 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
42500         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
42501         EOPNOTSUPP.
42502         * sysdeps/mach/hurd/fsync.c: Likewise.
42504         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
42505         [_POSIX_REALTIME_SIGNALS]: Change condition to
42506         [_POSIX_REALTIME_SIGNALS > 0].
42508 2012-10-27  Andreas Jaeger  <aj@suse.de>
42510         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
42511         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
42512         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
42513         [__WORDSIZE != 64]: Likewise.
42515 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
42517         *  iconvdata/tst-table.sh: Remove ${SHELL}.
42518         *  iconvdata/tst-tables.sh: Likewise.
42520 2012-10-25  David S. Miller  <davem@davemloft.net>
42522         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42523         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
42524         of strtoull.
42526         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
42527         ifunc-impl-list.c
42528         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42529         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
42530         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
42531         file.
42533 2012-10-25  Roland McGrath  <roland@hack.frob.com>
42535         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42536         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
42537         __getdirentries.
42539 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
42540             Jim Blandy  <jimb@codesourcery.com>
42542         * scripts/cross-test-ssh.sh: New file.
42543         * manual/install.texi (Configuring and compiling): Document use of
42544         cross-test-ssh.sh.
42545         * INSTALL: Regenerated.
42547 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
42549         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
42550         EOPNOTSUPP.
42552 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
42554         * Makeconfig (run-program-prefix): Fix comment.
42556 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
42557             Jim Blandy  <jimb@codesourcery.com>
42559         * Makeconfig (test-wrapper): New variable,
42560         (test-wrapper-env): Likewise.
42561         [$(cross-compiling) = yes && $(test-wrapper) != ""]
42562         (run-built-tests): Define to yes.
42563         (run-program-prefix): Use $(test-wrapper).
42564         (built-program-cmd): Likewise.
42565         * Rules (make-test-out): Use $(test-wrapper-env) and
42566         $(host-built-program-cmd).
42567         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
42568         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
42569         tst-pathopt.sh.
42570         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
42571         $(test-wrapper-env) to tst-rtld-load-self.sh.
42572         ($(objpfx)order2.out): Use $(test-wrapper).
42573         ($(objpfx)tst-initorder.out): Likewise.
42574         ($(objpfx)tst-initorder2.out): Likewise.
42575         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
42576         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
42577         (test_wrapper_env): New variable.  Use it to run ld.so.
42578         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
42579         Use it to run ld.so.
42580         (test_wrapper_env): Likewise.
42581         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
42582         $(test-wrapper) to run-iconv-test.sh.
42583         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
42584         (ICONV): Use $test_wrapper.
42585         * posix/Makefile ($(objpfx)globtest.out): Pass
42586         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
42587         globtest.sh, not $(run-program-prefix).
42588         * posix/globtest.sh (run_via_rtld_prefix): New variable.
42589         (test_wrapper): Likewise.
42590         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
42591         set together with run_via_rtld_prefix.
42592         (run_program_prefix): Define in terms of test_wrapper and
42593         run_via_rtld_prefix.
42595 2012-10-24  Roland McGrath  <roland@hack.frob.com>
42597         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
42598         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
42599         Targets removed.
42601         [BZ #14743]
42602         * include/time.h: Remove librt_hidden_proto (clock_gettime).
42603         Declare __clock_getres, __clock_gettime, __clock_settime,
42604         __clock_nanosleep, and __clock_getcpuclockid.
42605         * rt/clock_gettime.c: Define __clock_gettime as an alias.
42606         Remove librt_hidden_def (clock_gettime).
42607         * sysdeps/unix/clock_gettime.c: Likewise.
42608         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
42609         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
42610         * rt/clock_getres.c: Define __clock_getres as an alias.
42611         * sysdeps/posix/clock_getres.c: Likewise.
42612         * rt/clock_settime.c: Define __clock_settime as an alias.
42613         * sysdeps/unix/clock_settime.c: Likewise.
42614         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
42615         * sysdeps/unix/clock_nanosleep.c: Likewise.
42616         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
42617         * rt/clock-compat.c: New file.
42618         * rt/Makefile (librt-routines): Add clock-compat and move
42619         $(clock-routines) to ...
42620         (routines): ... here, new variable.
42621         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
42622         Don't add get_clockfreq here.
42623         * rt/Versions (libc: GLIBC_2.17): New version set.
42624         Add clock_* symbols here.
42625         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
42626         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
42627         (GLIBC_2.17): Add clock_* symbols.
42628         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
42629         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
42630         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
42631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42632         Likewise.
42633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42634         Likewise.
42635         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
42636         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
42637         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
42638         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
42639         * NEWS: Mention the move.
42641         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
42642         Use __open, __read, __close rather than their public counterparts.
42643         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42644         (__get_clockfreq_via_cpuinfo): Likewise.
42645         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
42646         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
42648         * config.h.in (HAVE_IFUNC): New #undef.
42649         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
42650         was successful.
42651         * configure: Regenerated.
42653 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
42655         * configure.in: Move READELF check to start of file.
42656         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
42657         libc_cv_asm_gnu_indirect_function in the process.
42658         * configure: Regenerated.
42660 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
42662         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
42663         send the output to /dev/null.
42664         (libc_cv_cc_with_libunwind): Likewise.
42665         (libc_cv_as_noexecstack): Likewise.
42666         * configure: Regenerate.
42668 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
42670         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
42672         * posix/globtest.sh (TMPDIR): Do not set.
42673         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
42674         (testout): Likewise.
42676 2012-10-24  Andreas Jaeger  <aj@suse.de>
42678         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
42679         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
42680         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
42681         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
42682         posix_fadvise64, posix_fallocate64.
42684         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
42685         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
42686         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
42687         Likewise.
42688         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
42689         Likewise.
42690         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
42692         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
42693         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
42694         <bits/fcntl-linux.h>.
42695         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
42697         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
42698         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
42699         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
42700         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
42701         [__WORDSIZE != 64]: Likewise.
42703 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
42705         * Makeconfig (run-built-tests): New variable.
42706         * Rules [$(cross-compiling) = yes]: Change condition to
42707         [$(run-built-tests) = no].
42708         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
42709         to [$(run-built-tests) = yes].
42710         * elf/Makefile [$(cross-compiling) = no]: Likewise
42711         * grp/Makefile [$(cross-compiling) = no]: Likewise.
42712         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
42713         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
42714         * intl/Makefile [$(cross-compiling) = no]: Likewise.
42715         * io/Makefile [$(cross-compiling) = no]: Likewise.
42716         * libio/Makefile [$(cross-compiling) = no]: Likewise.
42717         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
42718         * misc/Makefile [$(cross-compiling) = no]: Likewise.
42719         * posix/Makefile [$(cross-compiling) = no]: Likewise.
42720         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
42721         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
42722         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
42723         * string/Makefile [$(cross-compiling) = no]: Likewise.
42725         * posix/Makefile ($(objpfx)globtest.out): Pass
42726         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
42727         $(rtld-installed-name).
42728         * posix/globtest.sh (elf_objpfx): Remove variable.
42729         (rtld_installed_name): Likewise.
42730         (library_path): Likewise.
42731         (run_program_prefix): New variable.  Use for running globtest
42732         binary.
42734 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
42735             Joseph Myers  <joseph@codesourcery.com>
42737         * Makeconfig (host-built-program-cmd): New variable.
42738         * elf/Makefile (tst-stackguard1-ARGS): Use
42739         $(host-built-program-cmd).
42740         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
42741         (tst-spawn-ARGS): Likewise.
42742         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
42744 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
42745             Jim Blandy  <jimb@codesourcery.com>
42747         * Makeconfig (run-via-rtld-prefix): New variable.
42748         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
42749         (built-program-cmd): Likewise.
42751 2012-10-22  Andreas Jaeger  <aj@suse.de>
42753         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
42754         __O_RSYNC if it exists, otherwise to O_SYNC.
42756 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
42757             Joseph Myers  <joseph@codesourcery.com>
42759         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
42760         /dev/null.
42761         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
42762         from /dev/null
42763         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
42764         /dev/null.
42766 2012-10-22  Andreas Jaeger  <aj@suse.de>
42768         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
42769         Define always.
42770         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
42772         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42773         bits/fcntl-linux.h.
42775         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
42776         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
42778         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
42779         to __O_LARGEFILE.
42780         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
42781         to __O_LARGEFILE.
42783 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
42784             Joseph Myers  <joseph@codesourcery.com>
42786         * config.make.in (NM): New variable.
42788 2012-10-21  Andreas Jaeger  <aj@suse.de>
42790         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
42791         definitions and declarations that are provided by
42792         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
42794 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
42796         [BZ #14683]
42797         * elf/Makefile (tests-static): Add tst-leaks1-static.
42798         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
42799         ($(objpfx)tst-leaks1-static): New rule.
42800         ($(objpfx)tst-leaks1-static-mem): Likewise.
42801         (tst-leaks1-static-ENV): New macro.
42802         * elf/dl-open.c (dl_open_worker): Check the main application
42803         only if SHARED is defined.
42804         * elf/tst-leaks1-static.c: New file.
42806 2012-10-20  Andreas Jaeger  <aj@suse.de>
42808         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
42809         generic values for Linux.
42810         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
42811         and declarations that are provided by <bits/fcntl-linux.h> and
42812         include <bits/fcntl-linux.h>.
42813         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42814         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42816 2012-10-20  Roland McGrath  <roland@hack.frob.com>
42818         * io/fcntl.h: Move include of <bits/types.h> to the top and
42819         include it unconditionally.
42821 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
42823         * wcsmbs/Makefile (tests-ifunc): New variable.
42824         (tests): Add $(tests-ifunc).
42825         * wcsmbs/test-wcschr-ifunc.c: New file.
42826         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
42827         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
42828         * wcsmbs/test-wcslen-ifunc.c: Likewise.
42829         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
42830         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
42832         * string/Makefile (tests-ifunc): New variable.
42833         (tests): Add $(tests-ifunc).
42834         * string/test-memccpy.c (TEST_NAME): New macro.
42835         * string/test-memchr.c (TEST_NAME): Likewise.
42836         * string/test-memcmp.c (TEST_NAME): Likewise.
42837         * string/test-memcpy.c (TEST_NAME): Likewise.
42838         * string/test-memmem.c (TEST_NAME): Likewise.
42839         * string/test-memmove.c (TEST_NAME): Likewise.
42840         * string/test-memset.c (TEST_NAME): Likewise.
42841         * string/test-rawmemchr.c (TEST_NAME): Likewise.
42842         * string/test-stpcpy.c (TEST_NAME): Likewise.
42843         * string/test-stpncpy.c (TEST_NAME): Likewise.
42844         * string/test-strcasecmp.c (TEST_NAME): Likewise.
42845         * string/test-strcasestr.c (TEST_NAME): Likewise.
42846         * string/test-strcat.c (TEST_NAME): Likewise.
42847         * string/test-strchr.c (TEST_NAME): Likewise.
42848         * string/test-strcmp.c(TEST_NAME): Likewise.
42849         * string/test-strcpy.c (TEST_NAME): Likewise.
42850         * string/test-strcspn.c (TEST_NAME): Likewise.
42851         * string/test-strlen.c (TEST_NAME): Likewise.
42852         * string/test-strncasecmp.c (TEST_NAME): Likewise.
42853         * string/test-strncmp.c (TEST_NAME): Likewise.
42854         * string/test-strncpy.c (TEST_NAME): Likewise.
42855         * string/test-strnlen.c (TEST_NAME): Likewise.
42856         * string/test-strpbrk.c (TEST_NAME): Likewise.
42857         * string/test-strrchr.c (TEST_NAME): Likewise.
42858         * string/test-strspn.c (TEST_NAME): Likewise.
42859         * string/test-strstr.c (TEST_NAME): Likewise.
42860         * string/test-bcopy-ifunc.c: New file.
42861         * string/test-bzero-ifunc.c: Likewise.
42862         * string/test-memccpy-ifunc.c: Likewise.
42863         * string/test-memchr-ifunc.c: Likewise.
42864         * string/test-memcmp-ifunc.c: Likewise.
42865         * string/test-memcpy-ifunc.c: Likewise.
42866         * string/test-memmem-ifunc.c: Likewise.
42867         * string/test-memmove-ifunc.c: Likewise.
42868         * string/test-mempcpy-ifunc.c: Likewise.
42869         * string/test-memset-ifunc.c: Likewise.
42870         * string/test-rawmemchr-ifunc.c: Likewise.
42871         * string/test-stpcpy-ifunc.c: Likewise.
42872         * string/test-stpncpy-ifunc.c: Likewise.
42873         * string/test-strcasecmp-ifunc.c: Likewise.
42874         * string/test-strcasestr-ifunc.c: Likewise.
42875         * string/test-strcat-ifunc.c: Likewise.
42876         * string/test-strchr-ifunc.c: Likewise.
42877         * string/test-strchrnul-ifunc.c: Likewise.
42878         * string/test-strcmp-ifunc.c: Likewise.
42879         * string/test-strcpy-ifunc.c: Likewise.
42880         * string/test-strcspn-ifunc.c: Likewise.
42881         * string/test-strlen-ifunc.c: Likewise.
42882         * string/test-strncasecmp-ifunc.c: Likewise.
42883         * string/test-strncat-ifunc.c: Likewise.
42884         * string/test-strncmp-ifunc.c: Likewise.
42885         * string/test-strncpy-ifunc.c: Likewise.
42886         * string/test-strnlen-ifunc.c: Likewise.
42887         * string/test-strpbrk-ifunc.c: Likewise.
42888         * string/test-strrchr-ifunc.c: Likewise.
42889         * string/test-strspn-ifunc.c: Likewise.
42890         * string/test-strstr-ifunc.c: Likewise.
42892         * debug/Makefile (tests-ifunc): New variable.
42893         (tests): Add $(tests-ifunc).
42894         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
42895         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
42896         * debug/test-stpcpy_chk-ifunc.c: New file.
42897         * debug/test-strcpy_chk-ifunc.c: Likewise.
42899 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42901         [BZ #13601]
42902         * elf/dl-load.c (open_verify): Retry read if the entire ELF
42903         header is not read in.
42905 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
42907         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
42908         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
42909         directly.  Pass built executable to script as
42910         $(built-program-cmd).
42911         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
42912         $testprogram without using LD_LIBRARY_PATH and $ldso.
42914         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
42915         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
42916         $(rtld-installed-name).
42917         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
42918         (rtld_installed_name): Likewise.
42919         (library_path): Likewise.
42920         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
42921         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
42922         $(run-program-prefix) to tst-tables.sh.
42923         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
42924         it to run tst-table-from and tst-table-to.
42925         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
42926         Pass it to tst-table.sh.
42927         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
42928         $(run-program-prefix) to tst-gettext.sh.
42929         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
42930         tst-translit.sh.
42931         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
42932         tst-gettext2.sh.
42933         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
42934         to run tst-gettext.
42935         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
42936         to run tst-gettext2.
42937         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
42938         to run tst-translit.
42939         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
42940         $(run-program-prefix) to tst-mtrace.sh.
42941         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
42942         to run tst-mtrace.
42943         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
42944         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
42945         $(rtld-installed-name).
42946         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
42947         (rtld_installed_name): Likewise.
42948         (run_program_prefix): New variable.  Use it to run wordexp-test.
42950         * Makeconfig (ARCH): Remove all definitions.
42951         (machine): Likewise.
42952         [ARCH]: Remove conditional code.
42953         [!objdir]: Give error.
42954         [!objdir] (objpfx): Remove.
42955         [!objdir] (common-objpfx): Likewise.
42956         [!objdir] (common-objdir): Likewise.
42957         * configure.in (config_makefile): Remove.  Hardcode Makefile in
42958         AC_CONFIG_FILES call.
42959         * configure: Regenerated.
42961         [BZ #13888]
42962         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
42963         or TMPDIR.
42964         (testout): Likewise.
42966         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
42967         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
42968         $(rtld-installed-name).
42969         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
42970         (rtld_installed_name): Likwise.
42971         (runit): Remove function.
42972         (run_getconf): New variable,  Use it for running getconf binary.
42974 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
42976         [BZ #14716]
42977         * string/test-memmem.c (check_result): New function.
42978         (do_one_test): Use it.
42979         (check1): New function.
42980         (test_main): Use it.
42982 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
42984         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
42986 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
42988         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
42989         (_G_LSEEK64): Likewise.
42990         (_G_MMAP64): Likewise.
42991         (_G_FSTAT64): Likewise.
42992         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
42993         (_G_LSEEK64): Likewise.
42994         (_G_MMAP64): Likewise.
42995         (_G_FSTAT64): Likewise.
42996         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
42997         unconditional.  Call __mmap64 directly.
42998         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
42999         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
43000         __lseek64 directly.
43001         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
43002         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
43003         __mmap64 directly.
43004         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
43005         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
43006         __lseek64 directly.
43007         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
43008         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
43009         __lseek64 directly.
43010         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
43011         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
43012         __lseek64 directly.
43013         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
43014         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
43015         __fxstat64 directly.
43016         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
43017         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
43018         unconditional.
43019         (freopen64) [!_G_OPEN64]: Remove conditional code.
43020         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
43021         unconditional.
43022         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
43023         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
43024         unconditional.
43025         (ftello64) [!_G_LSEEK64]: Remove conditional code.
43026         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
43027         unconditional.
43028         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
43029         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
43030         unconditional.
43031         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
43032         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
43033         unconditional.
43034         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
43035         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
43036         unconditional.
43037         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
43038         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
43039         unconditional.
43040         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
43042 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
43044         [BZ #12140]
43045         * manual/memory.texi (Malloc Tunable Parameters): Add note
43046         about free list pointers overwriting some perturb bytes.
43047         Wording suggested by Roland McGrath.
43049 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
43051         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
43052         (lgamma_test): Likewise.
43053         (tgamma_test): Likewise.
43055 2012-10-16  Florian Weimer  <fweimer@redhat.com>
43057         [BZ #14700]
43058         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
43059         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
43061 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
43063         * NEWS: Mention BZ #14716.
43064         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
43065         when removing AVAILABLE1_USES_J macro.
43067 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
43069         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
43070         (__bswap_64): __uint64_t for unsigned 64-bit int.
43072 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
43074         * include/string.h (memmem): Declare libc hidden alias.
43075         * string/memmem.c (memmem): Define libc hidden alias.
43076         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
43077         __read, __close instead of open, read, close.
43079 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
43081         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
43082         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
43083         global and hidden.
43084         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
43085         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
43086         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
43087         Likewise.
43088         (__rawmemchr_sse2): Likewise.
43089         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
43090         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
43091         (__strchr_sse2): Likewise.
43092         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
43093         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
43094         (__strcasecmp_sse2): Likewise.
43095         (__strncasecmp_sse2): Likewise.
43096         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
43097         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
43098         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
43099         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
43100         (__strrchr_sse2): Likewise.
43101         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
43102         ifunc-impl-list.c.
43103         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
43104         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
43105         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
43106         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
43107         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
43108         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
43109         * sysdeps/x86_64/multiarch/memset.S: Likewise.
43110         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43111         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
43112         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
43113         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
43114         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
43115         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
43116         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
43117         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
43118         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
43119         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
43120         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
43121         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
43122         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
43123         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
43124         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
43125         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
43126         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
43127         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
43128         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43129         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
43130         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
43131         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
43132         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
43134         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
43135         global and hidden.
43136         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
43137         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
43138         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
43139         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
43140         Likewise.
43141         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
43142         Likewise.
43143         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
43144         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
43145         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
43146         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
43147         ifunc-impl-list.c.
43148         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43149         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43150         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43151         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43152         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43153         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43154         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43155         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43156         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43157         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43158         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43159         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43160         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43161         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
43162         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
43163         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
43164         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
43165         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
43166         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43167         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43168         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43169         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43170         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43171         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43172         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43173         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
43174         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
43175         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
43176         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
43177         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43178         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
43179         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43180         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43181         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
43182         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43183         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43184         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43185         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43186         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43187         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43188         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
43190         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
43191         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
43192         * include/ifunc-impl-list.h: New file.
43193         * misc/ifunc-impl-list.c: Likewise.
43194         * misc/Makefile (routines): Add ifunc-impl-list.
43195         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
43196         * string/test-string.h: Include <ifunc-impl-list.h>.
43197         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
43198         TEST_NAME]: New variables.
43199         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
43200         are defined.
43201         (test_init): Call __libc_ifunc_impl_list to initialize
43202         func_list if TEST_IFUNC and TEST_NAME are defined.
43204         * string/Makefile (strop-tests): Add bcopy and bzero.
43205         * string/test-bcopy.c: New file.
43206         * string/test-bzero.c: Likewise.
43207         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
43208         defined.
43209         * string/test-memset.c: Support bzero test if TEST_BZERO is
43210         defined.
43211         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
43212         __libc_memmove.
43213         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
43214         __libc_memset.
43215         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
43216         of memset.
43218 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
43220         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
43221         * configure: Regenerated.
43223         * Makeconfig (+link-static-before-libc): Don't include
43224         $(link-static-libc).
43226         * libio/libio.h (_IO_pos_t): Remove.
43228 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43230         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
43231         McGrath.
43233 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43235         * crypt/crypt-entry.c: Include fips-private.h.
43236         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
43237         * crypt/md5c-test.c (main): Tolerate disabled MD5.
43238         * sysdeps/unix/sysv/linux/fips-private.h: New file.
43239         * sysdeps/generic/fips-private.h: New file, dummy fallback.
43241 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43243         * crypt/crypt-private.h: Include stdbool.h.
43244         (_ufc_setup_salt_r): Return bool.
43245         * crypt/crypt-entry.c: Include errno.h.
43246         (__crypt_r): Return NULL with EINVAL for bad salt.
43247         * crypt/crypt_util.c (bad_for_salt): New.
43248         (_ufc_setup_salt_r): Check that salt is long enough and within
43249         the specified alphabet.
43250         * crypt/badsalttest.c: New file.
43251         * crypt/Makefile (tests): Add it.
43252         ($(objpfx)badsalttest): New.
43254 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
43256         * NEWS: Add entry for BZ #14602.
43258 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
43260         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
43261         type-generic.
43262         * math/libm-test.inc: Update comment listing what functions and
43263         macros are tested.
43264         (isgreater_test): New function.
43265         (isgreaterequal_test): Likewise.
43266         (isless_test): Likewise.
43267         (islessequal_test): Likewise.
43268         (islessgreater_test): Likewise.
43269         (isunordered_test): Likewise.
43270         (main): Call the new functions.
43272 2012-10-09  Roland McGrath  <roland@hack.frob.com>
43274         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
43275         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
43276         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
43277         * sysdeps/i386/configure: Regenerated.
43278         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
43279         * sysdeps/mach/configure: Regenerated.
43280         * sysdeps/mach/hurd/configure: Regenerated.
43281         * sysdeps/powerpc/configure: Regenerated.
43282         * sysdeps/powerpc/powerpc32/configure: Regenerated.
43283         * sysdeps/powerpc/powerpc64/configure: Regenerated.
43284         * sysdeps/s390/s390-32/configure: Regenerated.
43285         * sysdeps/s390/s390-64/configure: Regenerated.
43286         * sysdeps/sh/configure: Regenerated.
43287         * sysdeps/sparc/configure: Regenerated.
43288         * sysdeps/unix/sysv/linux/configure: Regenerated.
43289         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
43290         * sysdeps/x86_64/configure: Regenerated.
43292         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
43293         defined.  Don't check if MAP is NULL.
43295 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
43297         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
43298         (_G_stat64): Likewise.
43299         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
43300         (_G_stat64): Likewise.
43301         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
43302         instead of struct _G_stat64.
43303         * libio/fileops.c (mmap_remap_check): Likewise.
43304         (decide_maybe_mmap): Likewise.
43305         (_IO_new_file_seekoff): Likewise.
43306         (_IO_file_stat): Likewise.
43307         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
43308         _G_off64_t.
43309         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
43310         instead of struct _G_stat64.
43311         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
43313 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
43315         [BZ #14602]
43316         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43317         Replace with ...
43318         (CHECK_EOL): New macro.
43319         (two_way_short_needle): Check beginning of haystack for EOL.  Use
43320         CHECK_EOL.
43321         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43322         Replace with CHECK_EOL.
43323         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43324         Replace with CHECK_EOL.
43326 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
43328         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
43329         type-generic.
43330         * math/libm-test.inc: Update comment listing what functions and
43331         macros are tested.
43332         (finite_test): New function.
43333         (isinf_test): Likewise.
43334         (isnan_test): Likewise.
43335         (fpclassify_test): Test subnormal input.
43336         (isfinite_test): Likewise.
43337         (isnormal_test): Likewise.
43338         (main): Call the new functions.
43340 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
43342         [BZ #14660]
43343         * Makerules (%.dynsym): Force C locale when running
43344         $(OBJDUMP) --dynamic-syms.
43346 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
43348         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
43349         <stdint.h>.
43351 2012-10-06  David S. Miller  <davem@davemloft.net>
43353         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
43354         upper 32-bits of the length value in %o2 since we use branch-on-register
43355         tests which consider the entire 64-bit register.
43357 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
43359         * string/test-strstr.c (check2): Add a test for page boundary.
43361 2012-10-05  David S. Miller  <davem@davemloft.net>
43363         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
43364         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
43365         file.
43366         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
43367         sysdep_routines.
43368         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
43369         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
43370         and bzero when HWCAP_SPARC_CRYPTO is present.
43372 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
43374         [BZ #14602]
43375         * string/test-strstr.c (check2): New function.
43376         (test_main): Call check2.
43378         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
43379         and bug-strchr1.
43380         * string/bug-strcasestr1.c (do_test): Moved to ...
43381         * string/test-strcasestr.c (check1): Here.  New function.
43382         (do_one_test): Break out result checking code into ...
43383         (check_result): This.  New function.
43384         (do_one_test): Call check_result.
43385         (test_main): Call check1.
43386         * string/bug-strchr1.c (do_test): Moved to ...
43387         * string/test-strchr.c (check1): Here.  New function.
43388         (do_one_test): Break out result checking code into ...
43389         (check_result): This.  New function.
43390         (do_one_test): Call check_result.
43391         (test_main): Call check1.
43392         * string/bug-strstr1.c (main): Moved to ...
43393         * string/test-strstr.c (check1): Here.  New function.
43394         (do_one_test): Break out result checking code into ...
43395         (check_result): This.  New function.
43396         (do_one_test): Call check_result.
43397         (test_main): Call check1.
43398         * string/bug-strcasestr1.c: Removed.
43399         * string/bug-strchr1.c: Likewise.
43400         * string/bug-strstr1.c: Likewise.
43402         * elf/Makefile (dl-routines): Add hwcaps.
43403         * elf/dl-support.c (_dl_important_hwcaps): Removed.
43404         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
43405         (_dl_important_hwcaps): Moved to ...
43406         * elf/dl-hwcaps.c: Here.  New file.
43407         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
43409         [BZ #14557]
43410         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
43411         if IS_IN_rtld isn't defined.
43413         * elf/dl-support.c (_dl_sysinfo_map): New.
43414         Include "get-dynamic-info.h" and "setup-vdso.h".
43415         (_dl_non_dynamic_init): Call setup_vdso.
43416         * elf/dynamic-link.h: Don't include <assert.h>.
43417         (elf_get_dynamic_info): Moved to ...
43418         * elf/get-dynamic-info.h: Here.  New file.
43419         * elf/dynamic-link.h: Include "get-dynamic-info.h".
43420         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
43421         * elf/setup-vdso.h: Here.  New file.
43422         * elf/rtld.c: Include "setup-vdso.h".
43423         (dl_main): Call setup_vdso.
43425 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
43427         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
43428         creal in comment listing functions tested.  List finite, isinf,
43429         isnan, isless, islessequal, isgreater, isgreaterequal,
43430         islessgreater, isunordered, lgamma_r and pow10 as functions and
43431         macros not tested.  Mention which functions not tested are aliases
43432         for other functions.  Fix typo.  Note that signs of NaNs are not
43433         tested.
43435         * scripts/config.guess: Update from config.git.
43436         * scripts/config.sub: Likewise.
43438 2012-10-04  Roland McGrath  <roland@hack.frob.com>
43440         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
43441         * misc/madvise.c (madvise): Renamed to __madvise.
43442         Make madvise a weak alias.
43443         * include/sys/mman.h: Declare __madvise.
43444         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
43445         * sysdeps/unix/syscalls.list
43446         (madvise): Make __madvise the strong name, and madvise a weak alias.
43447         * sysdeps/unix/sysv/linux/syscalls.list
43448         (madvise, mmap): Remove redundant entries.
43449         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
43450         * malloc/malloc.c (mtrim): Likewise.
43451         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
43453 2012-10-03  Roland McGrath  <roland@hack.frob.com>
43455         * sysdeps/mach/hurd/dl-cache.c: File removed.
43456         * config.h.in (USE_LDCONFIG): New #undef.
43457         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
43458         * configure: Regenerated.
43459         * elf/Makefile (dl-routines): Add dl-cache only under
43460         [$(use-ldconfig) = yes].
43461         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
43462         cache on [USE_LDCONFIG].
43463         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
43464         [USE_LDCONFIG].
43465         * elf/rtld.c (dl_main): Likewise.
43467 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
43469         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
43470         _SC_LEVEL4_CACHE_LINESIZE.
43472 2012-10-03  Roland McGrath  <roland@hack.frob.com>
43474         * sysdeps/unix/bsd/confstr.h: File removed.
43476 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
43478         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
43479         sys/sdt-config.h.
43481 2012-10-02  Roland McGrath  <roland@hack.frob.com>
43483         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
43484         Make 'mapoff' field ElfW(Off) rather than off_t.
43486 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
43488         * nscd/Makefile: Remove nscd-cflags and all its users.
43489         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
43490         (CFLAGS-nonlib): Add compiler flags for nscd modules.
43492         [BZ #10631]
43493         * malloc.c (malloc_printerr): Clarify error message.
43495 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
43497         [BZ #14648]
43498         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43499         Set bit_FMA_Usable if FMA is supported.
43500         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
43501         macro.
43502         (bit_FMA4_Usable): Updated.
43503         (index_FMA_Usable): New macro.
43504         (CPUID_FMA): Likewise
43505         (HAS_FMA): Defined with bit_FMA_Usable.
43507 2012-10-01  Roland McGrath  <roland@hack.frob.com>
43509         * bits/types.h (__swblk_t): Type removed.
43510         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
43511         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
43512         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43513         (__SWBLK_T_TYPE): Likewise.
43514         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43515         (__SWBLK_T_TYPE): Likewise.
43516         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43517         (__SWBLK_T_TYPE): Likewise.
43518         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43519         (__SWBLK_T_TYPE): Likewise.
43521 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
43522             Honza Horak <hhorak@redhat.com>
43524         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
43525         (xdr_mapname): Use YPMAXMAP as maxsize.
43526         (xdr_peername): Use YPMAXPEER as maxsize.
43527         (xdr_keydat): Use YPAXRECORD as maxsize.
43528         (xdr_valdat): Use YPMAXRECORD as maxsize.
43530 2012-10-01  Roland McGrath  <roland@hack.frob.com>
43532         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
43534         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
43535         * csu/init-first.c: ... here.
43536         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
43537         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
43538         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
43539         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
43540         * sysdeps/i386/init-first.c: File removed.
43541         * sysdeps/sh/init-first.c: File removed.
43543 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
43545         [BZ #14645]
43546         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
43547         if x * y might underflow to zero and z is zero.
43548         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43549         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43550         * math/libm-test.inc (min_subnorm_value): New variable.
43551         (fma_test): Add more tests.
43552         (fma_test_towardzero): Likewise.
43553         (fma_test_downward): Likewise
43554         (fma_test_upward): Likewise.
43555         (initialize): Set min_subnorm_value.
43557 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
43559         [BZ #14638]
43560         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
43561         0 + 0.
43562         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
43563         mode for addition resulting in exact zero.
43564         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
43565         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
43566         exact 0 + 0.
43567         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
43568         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43569         * math/libm-test.inc (fma_test): Add more tests.
43570         (fma_test_towardzero): New function.
43571         (fma_test_downward): Likewise.
43572         (fma_test_upward): Likewise.
43573         (main): Call the new functions.
43575 2012-09-28  David S. Miller  <davem@davemloft.net>
43577         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
43579 2012-09-28  Roland McGrath  <roland@hack.frob.com>
43581         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
43582         instead of SIGALRM.
43584         * sysdeps/gnu/_G_config.h: Moved to ...
43585         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
43586         * sysdeps/mach/hurd/_G_config.h: Moved to ...
43587         * sysdeps/generic/_G_config.h: ... here.
43589         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
43591         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
43593         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
43594         Conditionalize target on [libnss_test1.so-version].
43596         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
43598         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
43599         (elfobjdir): Move out of conditionals.
43601         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
43602         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
43603         (__nss_lookup_function): Conditionalize label remove_from_tree on
43604         [!DO_STATIC_NSS || SHARED], matching its only use.
43606 2012-09-28  David S. Miller  <davem@davemloft.net>
43608         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
43609         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
43610         file.
43611         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
43612         sysdep_routines.
43613         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
43614         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
43615         when HWCAP_SPARC_CRYPTO is present.
43617 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
43619         * io/tst-mknodat.c: Create a FIFO instead of a socket.
43621 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
43623         [BZ #6530]
43624         * stdio-common/vfprintf.c (process_string_arg): Revert
43625         2000-07-22 change.
43627 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
43629         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
43630         for testcase.
43631         * stdio-common/tst-sprintf.c: Include <locale.h>
43632         (main): Test sprintf's handling of incomplete multibyte
43633         characters.
43635 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
43637         * elf/dl-runtime.c (VERSYMIDX): Removed.
43638         * elf/dl-version.c (VERSYMIDX): Likewise.
43639         * elf/do-rel.h (VERSYMIDX): Likewise.
43640         (VALIDX): Likewise.
43641         * elf/dynamic-link.h (VERSYMIDX): Likewise.
43642         * elf/rtld.c (VALIDX): Likewise.
43643         (ADDRIDX): Likewise.
43644         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
43645         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
43646         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
43647         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
43648         (VALIDX): Likewise.
43649         (ADDRIDX): Likewise.
43651 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
43653         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
43655 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
43657         [BZ #11438]
43658         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
43659         to global scope.
43660         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
43661         addresses are in the same scope as 192.0.2/24.
43662         * posix/gai.conf: Document new scope table defaults.
43664 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43666         [BZ #5298]
43667         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
43668         for ftell.  Compute offsets from write pointers instead.
43669         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
43671 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43673         [BZ #14543]
43674         * libio/Makefile (tests): New test case tst-fseek.
43675         * libio/tst-fseek.c: New test case to verify that fseek/ftell
43676         combination works in wide mode.
43677         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
43678         state when the external buffer state changes.
43680 2012-09-27  David S. Miller  <davem@davemloft.net>
43682         [BZ #14376]
43683         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
43684         pass reloc->r_addend in as the 'high' argument to
43685         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
43687         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43689 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
43691         * rt/tst-aio2.c: Include <pthread.h>.
43692         * rt/tst-aio3.c: Likewise.
43694 2012-09-27  Steve Ellcey  <sellcey@mips.com>
43696         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
43698 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
43700         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
43701         contents on [SHARED].
43703 2012-09-26  Marek Polacek  <polacek@redhat.com>
43705         [BZ #14530]
43706         [BZ #13741]
43707         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
43708         for C++ and GCC <4.3 as well as for non GCC compilers.
43710 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
43712         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43714 2012-09-25  Roland McGrath  <roland@hack.frob.com>
43716         * Makefile.in (all, install): Declare with .PHONY.
43717         Reported by Michael Hope <michael.hope@linaro.org>.
43719 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43721         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
43722         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
43723         system header.
43724         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
43725         Likewise.
43726         (sydep_routines): Add the new and the internal functions.
43727         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
43728         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
43729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
43730         (GLIBC_2.17): Add the new function.
43731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
43732         (GLIBC_2.17): Likewise.
43733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
43734         (GLIBC_2.17): Likewise.
43735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
43736         (GLIBC_2.17): Likewise.
43737         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
43739 2012-09-25  Alan Modra  <amodra@gmail.com>
43741         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
43742         Add release barrier before setting once_control to say
43743         initialisation is done.  Add hints on lwarx.  Use macro in
43744         place of isync.
43745         (clear_once_control): Add release barrier.
43747 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
43749         [BZ #13629]
43750         * math/s_clog.c (__clog): Handle more values close to |z| = 1
43751         specially.
43752         * math/s_clog10.c (__clog10): Likewise.
43753         * math/s_clog10f.c (__clog10f): Likewise.
43754         * math/s_clog10l.c (__clog10l): Likewise.
43755         * math/s_clogf.c (__clogf): Likewise.
43756         * math/s_clogl.c (__clogl): Likewise.
43757         * math/Makefile (libm-calls): Add x2y2m1.
43758         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
43759         (__x2y2m1): Likewise.
43760         (__x2y2m1l): Likewise.
43761         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
43762         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
43763         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
43764         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
43765         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
43766         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
43767         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
43768         * sysdeps/i386/fpu/libm-test-ulps: Update.
43769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43771         [BZ #14621]
43772         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
43773         int as type of variable DEPTH.
43774         (glob): Use size_t instead of int as type of variables NEWCOUNT
43775         and OLD_PATHC.
43777 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43779         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
43780         Add s_sincosf-sse2.
43781         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
43782         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
43783         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
43784         macros for using routine as __sincosf_ia32.
43785         Use macro for function declaration and weak_alias.
43786         * sysdeps/i386/fpu/libm-test-ulps: Update.
43788         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
43789         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43791         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
43792         subnormal argument.
43793         * math/s_cexpf.c (__cexpf): Likewise.
43794         * math/s_csinf.c (__csinf): Likewise.
43795         * math/s_csinhf.c (__csinhf): Likewise.
43796         * math/s_ctanf.c (__ctanf): Likewise.
43797         * math/s_ctanhf.c (__ctanhf): Likewise.
43798         * math/s_ccosh.c (__ccoshf): Likewise.
43799         * math/s_cexp.c (__cexpl): Likewise.
43800         * math/s_csin.c (__csin): Likewise.
43801         * math/s_csinh.c (__csinh): Likewise.
43802         * math/s_ctan.c (__ctan): Likewise.
43803         * math/s_ctanh.c (ctanh): Likewise.
43804         * math/s_ccoshl.c (__ccoshl): Likewise.
43805         * math/s_cexpl.c (__cexpl): Likewise.
43806         * math/s_csinl.c (__csinl): Likewise.
43807         * math/s_csinhl.c (__csinhl): Likewise.
43808         * math/s_ctanl.c (__ctanl): Likewise.
43809         * math/s_ctanhl.c (__ctanhl): Likewise.
43811 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
43813         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
43814         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
43815         (_IO_off_t): Define to __off_t, not _G_off_t.
43816         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
43817         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
43818         (_IO_wint_t): Define to wint_t, not _G_wint_t.
43819         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
43820         type of __dummy and __dummy2 fields.
43821         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
43822         (_G_ssize_t): Likewise.
43823         (_G_off_t): Likewise.
43824         (_G_pid_t): Likewise.
43825         (_G_uid_t): Likewise.
43826         (_G_wchar_t): Likewise.
43827         (_G_wint_t): Likewise.
43828         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
43829         (_G_ssize_t): Likewise.
43830         (_G_off_t): Likewise.
43831         (_G_pid_t): Likewise.
43832         (_G_uid_t): Likewise.
43833         (_G_wchar_t): Likewise.
43834         (_G_wint_t): Likewise.
43835         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
43836         (_G_ssize_t): Likewise.
43837         (_G_off_t): Likewise.
43838         (_G_pid_t): Likewise.
43839         (_G_uid_t): Likewise.
43840         (_G_wchar_t): Likewise.
43841         (_G_wint_t): Likewise.
43843 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43845         * malloc/arena.c: Include malloc-sysdep.h.
43846         (shrink_heap): Use check_may_shrink_heap to decide if madvise
43847         is sufficient to shrink the heap or an unmap is needed.
43848         * sysdeps/generic/malloc-sysdep.h: New file.  Define
43849         new function check_may_shrink_heap.
43850         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
43851         new function check_may_shrink_heap.
43853 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43855         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
43856         comments.
43858 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
43860         * catgets/test-gencat.sh: Add "set -e".
43861         * elf/tst-pathopt.sh: Likewise.
43862         * grp/tst_fgetgrent.sh: Likewise.
43863         * iconvdata/run-iconv-test.sh: Likewise.
43864         * intl/tst-gettext.sh: Likewise.
43865         * intl/tst-gettext2.sh: Likewise.
43866         * intl/tst-gettext4.sh: Likewise.
43867         * intl/tst-gettext6.sh: Likewise.
43868         * intl/tst-translit.sh: Likewise.
43869         * io/ftwtest-sh: Likewise.
43870         * libio/test-freopen.sh: Likewise.
43871         * malloc/tst-mtrace.sh: Likewise.
43872         * posix/globtest.sh: Likewise.
43873         * posix/tst-getconf.sh: Likewise.
43874         * posix/wordexp-tst.sh: Likewise.
43875         * stdio-common/tst-printf.sh: Likewise.
43876         * stdio-common/tst-unbputc.sh: Likewise.
43877         * stdlib/tst-fmtmsg.sh: Likewise.
43878         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
43879         * catgets/Makefile: Do not specify -e option when running
43880         testsuite shell scripts.
43881         * elf/Makefile: Likewise.
43882         * grp/Makefile: Likewise.
43883         * iconvdata/Makefile: Likewise.
43884         * intl/Makefile: Likewise.
43885         * io/Makefile: Likewise.
43886         * libio/Makefile: Likewise.
43887         * malloc/Makefile: Likewise.
43888         * posix/Makefile: Likewise.
43889         * stdio-common/Makefile: Likewise.
43890         * stdlib/Makefile: Likewise.
43891         * sysdeps/x86_64/Makefile: Likewise.
43893         * io/ftwtest-sh: Add copyright header.
43894         * posix/globtest.sh: Likewise.
43895         * posix/tst-getconf.sh: Likewise.
43896         * posix/wordexp-tst.sh: Likewise.
43897         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
43899 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
43901         [BZ #13679]
43902         * Makeconfig (+link): Defined as $(+link-static) if
43903         $(build-shared) isn't yes.
43904         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
43905         isn't yes.
43906         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
43908         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
43910         [BZ #14562]
43911         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
43912         new chunk size with MALLOC_ALIGN_MASK.
43914 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
43916         [BZ #5044]
43917         * stdio-common/printf_fphex.c: Include <stdbool.h> and
43918         <rounding-mode.h>.
43919         (__printf_fphex): Determine rounding using get_rounding_mode and
43920         round_away.
43921         * stdio-common/tst-printf-round.c (struct hex_test): New
43922         structure.
43923         (hex_tests): New variable.
43924         (test_hex_in_one_mode): New function.
43925         (do_test): Also run tests for hex float output.
43927 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
43929         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
43930         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
43931         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
43932         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
43933         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
43934         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
43935         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
43936         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
43938 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
43940         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
43941         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
43942         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
43943         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
43945 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
43947         [BZ #14579]
43948         * elf/rtld.c (dl_main): Limit the check for self loading to normal
43949         mode only.
43950         * elf/tst-rtld-load-self.sh: New test.
43951         * elf/Makefile: Run it.
43953 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
43955         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
43956         (tst-writev-ENV): Remove.
43957         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
43959 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
43961         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
43963 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
43965         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
43966         unconditional.
43967         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
43968         Likewise.
43969         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
43970         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
43971         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
43972         Likewise.
43974 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
43976         [BZ #14587]
43977         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
43978         * config.make.in (have-cpp-asm-debuginfo): Removed.
43979         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
43980         * configure: Regenerated.
43982 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
43984         [BZ #5044]
43985         * stdio-common/printf_fp.c: Include <stdbool.h> and
43986         <rounding-mode.h>.
43987         (___printf_fp): Determine rounding using get_rounding_mode and
43988         round_away.
43989         * stdio-common/tst-printf-round.c: New file.
43990         * stdio-common/Makefile (tests): Add tst-printf-round.
43991         (link-libm): New variable.
43992         ($(objpfx)tst-printf-round): Depend in $(link-libm).
43994 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
43996         [BZ #14576]
43997         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
43998         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
43999         Likewise.
44000         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
44001         Likewise.
44003 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
44005         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
44006         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44007         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44008         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44010 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
44012         [BZ #14518]
44013         * include/rounding-mode.h: New file.
44014         * sysdeps/generic/get-rounding-mode.h: Likewise.
44015         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
44016         * stdlib/strtod_l.c: Include <rounding-mode.h>.
44017         (MAX_VALUE): New macro.
44018         (MIN_VALUE): Likewise.
44019         (overflow_value): New function.
44020         (underflow_value): Likewise.
44021         (round_and_return): Use overflow_value and underflow_value to
44022         determine return values in overflow and underflow cases.  Use
44023         round_away to determine rounding depending on rounding mode.
44024         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
44025         determine return values in overflow and underflow cases.
44026         * stdlib/tst-strtod-round.c: Include <fenv.h>.
44027         (struct test_results): New structure.
44028         (struct test): Use struct test_results to store expected results
44029         for all rounding modes.
44030         (TEST): Include expected results for all rounding modes.
44031         (test_in_one_mode): New function.
44032         (do_test): Use test_in_one_mode to compute and check results.
44033         Check results for all rounding modes.
44034         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
44035         $(link-libm).
44037 2012-12-09  Allan McRae  <allan@archlinux.org>
44039         * sysdeps/i386/fpu/libm-test-ulps: Update
44041 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
44043         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
44044         (_G_int32_t): Likewise.
44045         (_G_uint16_t): Likewise.
44046         (_G_uint32_t): Likewise.
44047         (_G_HAVE_BOOL): Likewise.
44048         (_G_HAVE_ATEXIT): Likewise.
44049         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44050         (_G_HAVE_IO_FILE_OPEN): Likewise.
44051         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
44052         (_G_int32_t): Likewise.
44053         (_G_uint16_t): Likewise.
44054         (_G_uint32_t): Likewise.
44055         (_G_HAVE_BOOL): Likewise.
44056         (_G_HAVE_ATEXIT): Likewise.
44057         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44058         (_G_HAVE_IO_FILE_OPEN): Likewise.
44059         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
44060         (_G_int32_t): Likewise.
44061         (_G_uint16_t): Likewise.
44062         (_G_uint32_t): Likewise.
44063         (_G_HAVE_BOOL): Likewise.
44064         (_G_HAVE_ATEXIT): Likewise.
44065         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44066         (_G_HAVE_IO_FILE_OPEN): Likewise.
44068 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
44070         * csu/libc-tls.c: Update copyright years.
44072 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
44074         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
44075         [!_G_USING_THUNKS]: Remove conditional code.
44076         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
44077         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
44079         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
44080         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
44081         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44082         (_G_VTABLE_LABEL_PREFIX): Likewise.
44083         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44084         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44085         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44086         (_G_VTABLE_LABEL_PREFIX): Likewise.
44087         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
44088         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44089         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44090         (_G_VTABLE_LABEL_PREFIX): Likewise.
44091         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
44093 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
44095         * libio/Makefile: Include ../Makeconfig before tests.
44096         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
44097         only if $(build-shared) is yes.
44099         * iconv/gconv_db.c: Update copyright years.
44101 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44103         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
44104         unwind info if defined PIC. Fix special cases description.
44105         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
44107         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
44108         DP_HI_MASK entry.
44109         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
44111 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
44113         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
44115         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
44116         is NULL.
44118         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
44119         (LDLIBS-tst-chk4): This.
44120         (LDFLAGS-tst-chk5): Renamed to ...
44121         (LDLIBS-tst-chk5): This.
44122         (LDFLAGS-tst-chk6): Renamed to ...
44123         (LDLIBS-tst-chk6): This.
44124         (LDFLAGS-tst-lfschk4): Renamed to ...
44125         (LDLIBS-tst-lfschk4): This.
44126         (LDFLAGS-tst-lfschk5): Renamed to ...
44127         (LDLIBS-tst-lfschk5): This.
44128         (LDFLAGS-tst-lfschk6): Renamed to ...
44129         (LDLIBS-tst-lfschk6): This.
44131         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
44132         on $(common-objpfx)soversions.mk.
44134 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
44136         [BZ #10014]
44137         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
44138         example host name.
44140 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
44142         * malloc/arena.c (arena_get_retry): New function that gets
44143         another arena for the caller to try its request on.
44144         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
44145         current arena cannot fulfill the request.
44146         (__libc_memalign): Likewise.
44147         (__libc_memalign): Likewise.
44148         (__libc_pvalloc): Likewise.
44149         (__libc_calloc): Likewise.
44151 2012-09-05  John Tobey  <john.tobey@gmail.com>
44153         [BZ #13542]
44154         * manual/arith.texi (Operations on Complex): Fix description
44155         of carg branch cut.
44157 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
44159         [BZ #10014]
44160         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
44161         host name.
44163         [BZ #10038]
44164         * manual/memory.texi (Memory): Make order of menu items match
44165         order of sections.
44167 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44169         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
44170         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
44171         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
44173 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44175         * csu/libc-tls.c (static_dtv): Renamed to ...
44176         (_dl_static_dtv): This.  Make it global.
44177         (_dl_initial_dtv): Removed.
44178         (__libc_setup_tls): Updated.
44179         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
44180         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
44181         DL_INITIAL_DTV.
44183 2012-09-06  Petr Machata  <pmachata@redhat.com>
44185         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
44186         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
44187         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
44188         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
44190 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44192         [BZ #14545]
44193         * csu/libc-tls.c (_dl_initial_dtv): New variable.
44194         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
44195         freeing dtv[-1].
44197 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44199         [BZ #14544]
44200         * Makeconfig (link-static-before-libc): Replace $(+prector)
44201         with $(+prectorT).
44202         (link-static-after-libc): Replace $(+postctor) with
44203         $(+postctorT).
44204         (link-bounded): Replace $(+prector)/$(+postctor) with
44205         $(+prectorT)/$(+postctorT).
44206         (+prectorT): New macro.
44207         (+postctorT): Likewise.
44209 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
44211         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
44212         (round_str): Handle values above the maximum for IBM long double
44213         as inexact.
44214         * stdlib/tst-strtod-round.c (tests): Regenerated.
44216 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44218         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
44219         assembler flag.
44220         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
44221         zarch_nohighgprs around the zarch optimized routines.
44222         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
44223         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
44224         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
44225         for zarch.
44227 2012-09-05  David S. Miller  <davem@davemloft.net>
44229         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44231         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
44232         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
44233         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
44234         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44235         entries.
44237 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44239         * malloc/arena.c: Fold copyright years.
44240         * malloc/mcheck.c, malloc/memusage.c: Likewise.
44242 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44244         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
44246 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44248         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
44250 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44252         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
44253         change internal state upon failure.
44255 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44257         * malloc/mcheck.c (mcheck_check_all): Fix typo.
44258         * malloc/memusage.c (mmap): Likewise.
44259         (mmap64, mremap): Likewise.  Adjust name in comment.
44261 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44263         * libio/fileops.c: Fix typos in comments.
44264         * libio/oldfileops.c: Likewise.
44265         * libio/wfileops.c: Likewise.
44267 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44269         [BZ #1349]
44270         * malloc/Makefile (tests): Add tst-malloc-usable test case.
44271         (tst-malloc-usable-ENV): Set environment for test case.
44272         * malloc/hooks.c (malloc_check_get_size): New function to get
44273         requested size.
44274         * malloc/malloc.c (musable): Use malloc_check_get_size.
44275         * malloc/tst-malloc-usable.c: New test case.
44277 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
44279         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
44281 2012-09-05  Allan McRae  <allan@archlinux.org>
44283         [BZ #13966]
44284         * configure.in (CXX_SYSINCLUDES): Use compiler output to
44285         determine header location.
44286         * configure: Regenerated.
44288 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
44290         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
44291         float format.
44292         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
44293         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
44294         format.
44295         (test): Regenerate.
44297 2012-09-04  David S. Miller  <davem@davemloft.net>
44299         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
44300         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
44301         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
44303 2012-09-04  Florian Weimer  <fweimer@redhat.com>
44305         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
44306         failures.
44308         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
44310 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
44312         [BZ #9914]
44313         * libio/iogetdelim.c: Include <limits.h>.
44314         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
44315         + len + 1 would overflow.
44317 2012-09-03  Andreas Jaeger  <aj@suse.de>
44319         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44320         * sysdeps/i386/fpu/libm-test-ulps: Update.
44322 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44324         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
44325         Add s_sinf-sse2, s_conf-sse2.
44327         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
44328         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
44329         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
44330         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
44332         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
44333         for using routine as __sinf_ia32.
44334         Use macro for function declaration and weak_alias.
44335         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
44336         for using routine as __cosf_ia32.
44337         Use macro for function declaration and weak_alias.
44339         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
44340         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
44342         * sysdeps/x86_64/fpu/s_sinf.S: New file.
44343         * sysdeps/x86_64/fpu/s_cosf.S: New file.
44344         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44346         * math/libm-test.inc (cos_test): Add more test cases.
44347         (sin_test): Likewise.
44348         (sincos_test): Likewise.
44350 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44352         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
44353         (IFUNC_RESOLVE): Make pointers to the specialized implementations
44354         hidden.
44355         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
44357 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
44359         [BZ #14538]
44360         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
44361         first element of the GOT.
44362         (elf_machine_load_address): Return the difference between
44363         the runtime address of _DYNAMIC and elf_machine_dynamic ().
44365 2012-09-01  Allan McRae  <allan@archlinux.org>
44367         [BZ #13412]
44368         * configure.in (AWK): Require gawk version 3.0 or later.
44369         * configure: Regenerated.
44371 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
44373         * sysdeps/unix/sysv/linux/kernel-features.h
44374         (__ASSUME_POSIX_CPU_TIMERS): Remove.
44375         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44376         [__NR_clock_getres]: Make code unconditional.
44377         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
44378         (clock_getcpuclockid): Remove code left unreachable by removal of
44379         conditionals.
44380         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
44381         code unconditional.
44382         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
44383         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44384         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
44385         Make code unconditional.
44386         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
44387         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44388         * sysdeps/unix/sysv/linux/clock_settime.c
44389         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
44390         conditional code.
44391         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
44392         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44394 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
44396         [BZ #14476]
44397         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
44398         scripts/test-installation.pl.
44400         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
44401         and $ld_so_version if it is set.
44403 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44405         [BZ #14516]
44406         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
44407         failure if reading from procfs failed.
44408         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
44410 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
44412         * sysdeps/unix/sysv/linux/kernel-features.h
44413         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
44414         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
44415         Remove conditional code.
44416         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44417         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
44418         Remove conditional code.
44419         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44420         * sysdeps/unix/sysv/linux/i386/fxstat.c
44421         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44422         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44423         * sysdeps/unix/sysv/linux/i386/fxstatat.c
44424         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44425         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44426         * sysdeps/unix/sysv/linux/i386/lxstat.c
44427         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44428         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44429         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
44430         Remove conditional code.
44431         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44432         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
44433         Remove conditional code.
44434         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44435         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
44436         <kernel-features.h>.
44437         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
44438         Remove.
44439         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
44440         Remove conditional code.
44441         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44442         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
44443         Remove conditional.
44445 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
44447         [BZ #5400]
44448         * NEWS: Add fixed bug number.
44450 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
44452         [BZ #14519]
44453         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
44454         underflowing exponent in case of negative sign.
44455         * stdlib/tst-strtod-round-data: Add more tests.
44456         * stdlib/tst-strtod-round.c (tests): Regenerated.
44458         [BZ #3479]
44459         * stdlib/strtod_l.c (NDIG): Remove.
44460         (HEXNDIG): Likewise.
44461         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
44462         smallest representable value.
44463         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
44464         lie within an exact representation of 1/2 ulp of the result.
44465         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
44466         unconditionally.
44467         (TENS_P9_IDX): Define unconditionally.
44468         (TENS_P9_SIZE): Likewise.
44469         (TENS_P10_IDX): Likewise.
44470         (TENS_P10_SIZE): Likewise.
44471         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
44472         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
44473         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
44474         entries for 10^2^13 and 10^2^14.
44475         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
44476         (TENS_P13_IDX): Define.
44477         (TENS_P13_SIZE): Likewise.
44478         (TENS_P14_IDX): Likewise.
44479         (TENS_P14_SIZE): Likewise.
44480         (_fpioconst_pow10): Change array size to
44481         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
44482         unconditional.
44483         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
44484         1024]: Add entries for 10^2^13 and 10^2^14.
44485         [LAST_POW10 > _LAST_POW10]: Remove #error.
44486         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
44487         (_fpioconst_pow10): Change array size to
44488         FPIOCONST_POW10_ARRAY_SIZE.
44489         * stdlib/gen-fpioconst.c: New file.
44490         * stdlib/gen-tst-strtod-round.c: Likewise.
44491         * stdlib/tst-strtod-round-data: Likewise.
44492         * stdlib/tst-strtod-round.c: Likewise.
44493         * stdlib/Makefile (tests): Add tst-strtod-round.
44495         [BZ #14459]
44496         * stdlib/strtod_l.c: Include <stdint.h>.
44497         (NDEBUG): Do not define.
44498         (round_and_return): Change EXPONENT parameter to type intmax_t.
44499         Rearrange calculations to avoid internal overflow possibilities.
44500         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
44501         Rearrange calculations to avoid internal overflow possibilities.
44502         Assert that number fits inside MPNSIZE limbs.
44503         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
44504         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
44505         calculations and add assertions to avoid internal overflow
44506         possibilities.  Add casts to avoid signed/unsigned operations.
44507         * stdlib/tst-strtod-overflow.c: New file.
44508         * stdlib/Makefile (tests): Add tst-strtod-overflow.
44510 2012-08-25  Marek Polacek  <polacek@redhat.com>
44512         * time/time.h: Fix some typos in comments.
44514 2012-08-23  Roland McGrath  <roland@hack.frob.com>
44516         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
44517         * posix/tst-rfc3484-2.c: Likewise.
44518         * posix/tst-rfc3484-3.c: Likewise.
44520 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
44522         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
44523         (EF_ARM_ABI_FLOAT_HARD): Likewise.
44525 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
44527         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
44528         #include of fxstatat64.c.
44530 2012-08-22  Roland McGrath  <roland@hack.frob.com>
44532         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
44533         * shadow/getspent_r.c: Likewise.
44534         * shadow/getspnam.c: Likewise.
44535         * shadow/getspnam_r.c: Likewise.
44536         * gshadow/getsgent.c: Likewise.
44537         * gshadow/getsgent_r.c: Likewise.
44538         * gshadow/getsgnam.c: Likewise.
44539         * gshadow/getsgnam_r.c: Likewise.
44540         * inet/getnetbyad.c: Likewise.
44541         * inet/getnetbyad_r.c: Likewise.
44542         * inet/getnetbynm.c: Likewise.
44543         * inet/getnetbynm_r.c: Likewise.
44544         * inet/getnetent.c: Likewise.
44545         * inet/getnetent_r.c: Likewise.
44546         * inet/getproto.c: Likewise.
44547         * inet/getproto_r.c: Likewise.
44548         * inet/getprtent.c: Likewise.
44549         * inet/getprtent_r.c: Likewise.
44550         * inet/getprtname.c: Likewise.
44551         * inet/getprtname_r.c: Likewise.
44552         * inet/getrpcbyname.c: Likewise.
44553         * inet/getrpcbyname_r.c: Likewise.
44554         * inet/getrpcbynumber.c: Likewise.
44555         * inet/getrpcbynumber_r.c: Likewise.
44556         * inet/getrpcent.c: Likewise.
44557         * inet/getrpcent_r.c: Likewise.
44558         * inet/getaliasent.c: Likewise.
44559         * inet/getaliasent_r.c: Likewise.
44560         * inet/getaliasname.c: Likewise.
44561         * inet/getaliasname_r.c: Likewise.
44562         * nscd/getgrgid_r.c: Likewise.
44563         * nscd/getgrnam_r.c: Likewise.
44564         * nscd/gethstbyad_r.c: Likewise.
44565         * nscd/gethstbynm3_r.c: Likewise.
44566         * nscd/getpwnam_r.c: Likewise.
44567         * nscd/getpwuid_r.c: Likewise.
44568         * nscd/getsrvbynm_r.c: Likewise.
44569         * nscd/getsrvbypt_r.c: Likewise.
44570         * nscd/gai.c: Likewise.
44572         * configure.in (build_nscd): New substituted variable, set
44573         by --disable-build-nscd and defaults to $use_nscd.
44574         * configure: Regenerated.
44575         * config.make.in (build-nscd): New substituted variable.
44576         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
44577         Change conditional to require [$(build-nscd) = yes] as well.
44578         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
44580         [BZ# 13696]
44581         * configure.in (use_nscd): New substituted variable, set by
44582         --disable-nscd.  If enabled, define USE_NSCD.
44583         * configure: Regenerated.
44584         * config.h.in: Add USE_NSCD.
44585         * config.make.in (use-nscd): New substituted variable.
44586         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
44587         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
44588         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
44589         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
44590         (CFLAGS-getgrnam_r.c): Likewise.
44591         (CFLAGS-initgroups.c): Likewise.
44592         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
44593         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
44594         Variables removed.
44595         * inet/getnetgrent_r.c
44596         (nscd_setnetgrent): New function, broken out of ...
44597         (setnetgrent): ... here.  Call it.
44598         (innetgr): Conditionalize nscd bits on [USE_NSCD].
44599         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
44600         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
44601         * nscd/Makefile (routines, aux): Move definitions after include of
44602         Makeconfig.  Conditionalize on [$(use-nscd) != no].
44603         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
44604         Conditionalize on [USE_NSCD].
44605         (is_nscd, nscd_init_cb): Likewise.
44606         (nss_load_library): Conditionalize init callback on [USE_NSCD].
44607         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
44608         * nss/nss_db/db-init.c: Likewise.
44609         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
44610         [USE_NSCD].
44611         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
44612         (make_request): Use it.
44613         (cache_valid_p): New function.
44614         (__check_pf): Use it.
44615         * NEWS: Add item for --disable-nscd.
44617 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
44619         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
44620         to support sed >= 4.2.1-20-ga9bf076.
44621         * configure: Regenerated.
44623 2012-08-22  Roland McGrath  <roland@hack.frob.com>
44625         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
44626         Conditionalize whole body on [IREL].
44628 2012-08-22  Jeff Law <law@redhat.com>
44630         [BZ #14505]
44631         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
44632         if the family is PF_UNSPEC.
44634 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
44636         * Makerules (lib-version): Rename from V.
44637         (install-lib-nosubdir): Change V to lib-version.
44639 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
44641         [BZ #14252]
44642         * powerpc32/power6/wcschr.c: New file.
44643         * powerpc32/power6/wcscpy.c: New file.
44644         * powerpc32/power6/wcsrchr.c: New file.
44645         * powerpc64/power6/wcschr.c: New file.
44646         * powerpc64/power6/wcscpy.c: New file.
44647         * powerpc64/power6/wcsrchr.c: New file.
44649 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
44651         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
44652         (two_way_short_needle): Use it.
44653         * string/strstr.c (AVAILABLE1_USES_J): Define.
44654         * string/strcasestr.c: Likewise.
44656         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
44657         array references.
44658         * string/strcasestr.c (TOLOWER): Make side-effect safe.
44660         [BZ #11607]
44661         * NEWS: Add an entry.
44662         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
44663         define their defaults.
44664         (two_way_short_needle): Detect end-of-string on-the-fly.
44665         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
44666         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
44667         * string/bug-strcasestr1.c: New test.
44668         * string/Makefile: Run it.
44670 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
44672         [BZ #11607]
44673         * string/str-two-way.h (two_way_short_needle): Optimize matching of
44674         the first character.
44676 2012-08-21  Roland McGrath  <roland@hack.frob.com>
44678         * csu/elf-init.c (__libc_csu_irel): Function removed.
44679         * csu/libc-start.c (apply_irel): New function.
44680         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
44682 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
44684         * sysdeps/unix/sysv/linux/kernel-features.h
44685         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
44686         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
44687         <kernel-features.h>.
44688         [__NR_fadvise64_64]: Make code unconditional.
44689         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
44690         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
44691         !__NR_fadvise64_64)]: Likewise.
44692         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
44693         !__NR_fadvise64_64))]: Likewise.
44694         [__NR_fadvise64]: Make code unconditional.
44695         [!__NR_fadvise64]: Remove conditional code.
44696         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
44697         <kernel-features.h>.
44698         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44699         unconditional.
44700         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44701         conditional code.
44702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
44703         not include <kernel-features.h>.
44704         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44705         unconditional.
44706         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44707         conditional code.
44708         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
44709         include <kernel-features.h>.
44710         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44711         unconditional.
44712         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44713         conditional code.
44715 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
44717         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
44718         slight instruction rearrangements per scrollpipe analysis.
44719         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
44721 2012-08-20  Roland McGrath  <roland@hack.frob.com>
44723         * manual/syslog.texi (syslog; vsyslog, closelog):
44724         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
44725         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
44727         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
44728         DSOCAPS to match condition on defining it.
44730 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
44732         * sysdeps/unix/sysv/linux/kernel-features.h
44733         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
44734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
44735         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44736         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
44738         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44739         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
44741         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44742         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44744         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
44745         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
44747         * sysdeps/unix/sysv/linux/kernel-features.h
44748         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
44749         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
44750         unconditional.
44751         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44752         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
44753         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
44754         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44755         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
44756         Make code unconditional.
44757         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44758         (__mmap64) [!__NR_mmap2]: Likewise.
44759         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
44760         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
44761         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44762         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
44763         [__NR_mmap2]: Make code unconditional.
44764         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44765         (__mmap64) [!__NR_mmap2]: Likewise.
44767 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44769         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
44771 2012-08-18  Andreas Jaeger  <aj@suse.de>
44773         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
44775 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
44777         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
44778         * include/unistd.h (__have_sock_cloexec): Likewise.
44779         (__have_pipe2): Likewise.
44780         (__have_dup3): Likewise.
44782 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
44784         [BZ #9685]
44785         * include/unistd.h (__have_pipe2): Change define into an extern int.
44786         (__have_dup3): Likewise.
44787         * socket/have_sock_cloexec.c: Include fcntl.h.
44788         (__have_pipe2): New variable.
44789         (__have_dup3): Likewise.
44791 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
44793         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
44795 2012-08-17  Marek Polacek  <polacek@redhat.com>
44797         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
44798         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
44800 2012-08-17  Roland McGrath  <roland@hack.frob.com>
44802         * configure.in: Add AC_SUBST for sysheaders.
44803         * configure: Regenerated.
44804         * config.make.in (sysheaders): New substituted variable.
44806         * sysdeps/unix/mkfifo.c: Moved ...
44807         * sysdeps/posix/mkfifo.c: ... here.
44808         * sysdeps/unix/mkfifoat.c: Moved ...
44809         * sysdeps/posix/mkfifoat.c: ... here.
44811         * sysdeps/unix/utime.c: Moved ...
44812         * sysdeps/posix/utime.c: ... here.
44814         * sysdeps/unix/time.c: Moved ...
44815         * sysdeps/posix/time.c: ... here.
44816         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
44817         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
44819         * sysdeps/unix/nice.c: Moved ...
44820         * sysdeps/posix/nice.c: ... here.
44822         * sysdeps/unix/alarm.c: Moved ...
44823         * sysdeps/posix/alarm.c: ... here.
44825         * intl/Makefile ($(codeset_mo)): Depend on the input file.
44827 2012-08-17  Jeff Law <law@redhat.com>
44829         * intl/Makefile (codeset_mo): New variable.
44830         ($(codeset_mo)): New target.
44831         (tst-codeset.out): Depend on that.  Remove explicit rule.
44832         (tst-gettext3.out, tst-gettext5.out): Likewise.
44833         (LOCPATH-ENV, tst-codeset-ENV): New variables.
44834         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
44835         * intl/tst-codeset.sh: Remove.
44836         * intl/tst-gettext3.sh: Likewise.
44837         * intl/tst-gettext5.sh: Likewise.
44839 2012-08-17  Roland McGrath  <roland@hack.frob.com>
44841         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
44842         * sysdeps/unix/syscalls.list: ... here.
44844         * sysdeps/posix/getaddrinfo.c
44845         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
44846         (gaiconf_init, gaiconf_reload): Use them.
44847         [!_STATBUF_ST_NSEC]
44848         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
44849         Define using time_t rather than struct timespec.
44851         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
44852         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
44853         Macros removed.
44854         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
44855         [!NO_THREADS].
44856         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
44857         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
44858         Likewise.
44860         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
44861         __libc_cleanup_push argument.
44863         * bits/param.h: New file.
44864         * misc/sys/param.h: New file.
44865         * include/sys/param.h: New file.
44866         * misc/Makefile (headers): Add bits/param.h.
44867         * sysdeps/generic/sys/param.h: File removed.
44868         * sysdeps/unix/sysv/linux/bits/param.h: New file.
44869         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
44870         * sysdeps/mach/hurd/bits/param.h: New file.
44871         * sysdeps/mach/hurd/sys/param.h: File removed.
44873         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
44874         last change.
44876         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
44877         [_IO_MTSAFE_IO].
44878         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
44879         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
44880         New macros.
44882         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
44883         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
44884         rather than -D_IO_MTSAFE_IO conditionally.
44885         * stdio-common/Makefile (CPPFLAGS): Likewise.
44886         * wcsmbs/Makefile (CPPFLAGS): Likewise.
44887         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
44888         Use $(libio-mtsafe).
44889         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
44890         of -D_IO_MTSAFE_IO.
44891         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
44892         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
44893         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
44894         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
44895         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
44896         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
44897         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
44898         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
44899         (CFLAGS-fread_u_chk.c): Likewise.
44900         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
44901         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
44902         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
44903         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
44904         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
44905         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
44906         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
44907         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
44908         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
44910         * libio/Makefile: Test [$(libc-reentrant) = yes]
44911         instead of [$(filter %REENTRANT, $(defines)) nonempty].
44913         * Makeconfig
44914         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
44915         * sysdeps/pthread/configure: File removed.
44916         * sysdeps/pthread/Makeconfig: New file.
44917         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
44918         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
44920 2012-08-16  Gary Benson  <gbenson@redhat.com>
44922         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
44923         unmapping the first object in a namespace.
44925 2012-08-16  Roland McGrath  <roland@hack.frob.com>
44927         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
44928         (__internal_setnetgrent): ... this.  Add internal_function to
44929         definition.  Add libc_hidden_def.
44930         (setnetgrent): Update caller.
44931         (internal_endnetgrent): Renamed to ...
44932         (__internal_endnetgrent): ... this.  Add internal_function to
44933         definition.  Add libc_hidden_def.
44934         (endnetgrent): Update caller.
44935         (internal_getnetgrent_r): Renamed to ...
44936         (__internal_getnetgrent_r): ... this.  Add internal_function to
44937         definition.  Add libc_hidden_def.
44938         (__getnetgrent_r): Update caller.
44939         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
44941 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
44943         * stdlib/longlong.h: Update from GCC.
44945 2012-08-16  Roland McGrath  <roland@hack.frob.com>
44947         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
44948         on _QL, which is set by umul_ppmm but never used.
44949         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
44950         variables, which are set by GMP macros but never used.
44951         * stdio-common/_itowa.c (_itowa): Likewise.
44952         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
44953         * stdlib/mod_1.c (mpn_mod_1): Likewise.
44955 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
44957         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
44958         struct La_sh_regs is not constant.
44959         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
44960         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
44961         and struct La_sparc64_regs are not constant.
44963 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
44965         * sysdeps/unix/sysv/linux/kernel-features.h
44966         (__ASSUME_POSIX_TIMERS): Remove.
44967         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44968         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44969         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
44970         Make code unconditional.
44971         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44972         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
44973         Make code unconditional.
44974         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44975         * sysdeps/unix/sysv/linux/clock_nanosleep.c
44976         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
44977         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44978         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
44979         Make code unconditional.
44980         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44981         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
44982         (__libc_missing_posix_timers): Remove.
44984 2012-08-15  Roland McGrath  <roland@hack.frob.com>
44986         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
44987         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
44989         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
44991         * elf/dl-sym.c: Include <stdlib.h>.
44993         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
44994         constants, which avoids warnings in 32-bit builds.
44996         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
44997         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
44999         * misc/lseek.c: File moved to ...
45000         * io/lseek.c: ... here.
45002         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
45004         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
45005         shifting LEN more than 31 bits at once.
45007 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45009         [BZ #14195]
45010         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
45011         segmentation fault for a case of two empty input strings.
45012         * string/test-strncasecmp.c (check1): Renamed to...
45013         (bz12205): ...this.
45014         (bz14195): Add new testcase for two empty input strings and N > 0.
45015         (test_main): Call new testcase, adapt for renamed function.
45017 2012-08-15  Andreas Jaeger  <aj@suse.de>
45019         [BZ #14090]
45020         * crypt/md5test2.c: New test, based on test supplied by Serge
45021         Belyshev <belyshev@depni.sinp.msu.ru>.
45022         * crypt/Makefile (xtests): Add md5test-giant..
45023         * crypt/Makefile ($(objpfx)md5test-giant): Add.
45025 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
45027         [BZ #14090]
45028         * crypt/md5.c (md5_process_block): Don't assume the buffer
45029         length is less than 2**32.
45030         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
45031         length is less than 2**64.
45033 2012-08-15  Roland McGrath  <roland@hack.frob.com>
45035         * string/str-two-way.h: Include <sys/param.h>.
45036         (MAX): Macro removed.
45038         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
45039         Move #define and #undef of memmove to just before and after
45040         including <string.h>.
45042         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
45043         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
45044         and after including <string.h>.  Move declarations of
45045         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
45046         to before #include "string/memmove.c".
45048         * include/dirent.h: Declare __getdirentries.
45050         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
45051         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
45053 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
45055         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
45056         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
45057         * sysdeps/i386/configure: Regenerated.
45058         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
45059         STABS_CURRENT_FILE, and STABS_FUN.
45060         (END): Remove call to STABS_FUN_END.
45061         (STABS_CURRENT_FILE1): Delete.
45062         (STABS_CURRENT_FILE): Likewise.
45063         (STABS_FUN): Likewise.
45064         (STABS_FUN_END): Likewise.
45065         (STABS_FUN2): Likewise.
45066         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
45067         * sysdeps/x86_64/configure: Regenerated.
45069 2012-08-14  Roland McGrath  <roland@hack.frob.com>
45071         * elf/dl-open.c: Include <atomic.h>.
45072         * elf/dl-lookup.c: Likewise.
45074 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
45076         * sysdeps/unix/sysv/linux/kernel-features.h
45077         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
45078         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
45079         unconditionally.
45080         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
45081         unconditionally.
45082         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
45083         condition on __ASSUME_CLONE_THREAD_FLAGS.
45085 2012-08-14  Andreas Jaeger  <aj@suse.de>
45087         * sysdeps/i386/fpu/libm-test-ulps: Update.
45089 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
45091         * include/atomic.h (atomic_exchange_and_add): Split into ...
45092         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
45093         New atomic macros.
45095 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
45097         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45099 2012-08-13  Jeff Law <law@redhat.com>
45101         * manual/stdio.texi (snprintf): Clarify handling of the trailing
45102         null byte in the output string.
45104 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
45106         * sysdeps/unix/sysv/linux/kernel-features.h
45107         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
45108         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
45109         (__ASSUME_ARG_MAX_STACK_BASED): Define.
45110         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
45111         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
45112         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
45113         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
45115 2012-08-09  Jeff Law <law@redhat.com>
45117         [BZ #13939]
45118         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
45119         When avoid_arena is set, don't retry in the that arena.  Pick the
45120         next one, whatever it might be.
45121         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
45122         (arena_lock): Pass in new parameter to arena_get2.
45123         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
45124         arena_get2.
45125         (__libc_malloc): Unify retrying after main arena failure with
45126         __libc_memalign version.
45127         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
45129 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
45131         [BZ #14166]
45132         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
45133         to __redirect_strstr.
45134         (__strstr_sse42): Use typeof __redirect_strstr.
45135         (__strstr_ia32): Likewise.
45136         (__libc_strstr): New prototype.
45137         (strstr): Renamed to ...
45138         (__libc_strstr): This.
45139         (strstr): New strong alias of __libc_strstr.
45140         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
45141         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
45142         __redirect_time.
45143         Include <time.h>.
45144         (__libc_time): New prototype.
45145         (time_ifunc): Replace time with __libc_time.
45146         (time): New strong alias and hidden definition of __libc_time.
45147         (__GI_time): Remove strong alias.
45148         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
45149         Include <stddef.h>.
45150         (memmove): Redefined to __redirect_memmove.
45151         (__memmove_sse2): Use typeof __redirect_memmove.
45152         (__memmove_ssse3): Likewise.
45153         (__memmove_ssse3_back): Likewise.
45154         (__libc_memmove): New prototype.
45155         (memmove): Renamed to ...
45156         (__libc_memmove): This.
45157         (memmove): New strong alias of __libc_memmove.
45159 2012-08-08  Mark Salter  <msalter@redhat.com>
45161         * elf/elf.h
45162         (R_MN10300_TLS_GD): Define.
45163         (R_MN10300_TLS_LD): Likewise.
45164         (R_MN10300_TLS_LDO): Likewise.
45165         (R_MN10300_TLS_GOTIE): Likewise.
45166         (R_MN10300_TLS_IE): Likewise.
45167         (R_MN10300_TLS_LE): Likewise.
45168         (R_MN10300_TLS_DTPMOD): Likewise.
45169         (R_MN10300_TLS_DTPOFF): Likewise.
45170         (R_MN10300_TLS_TPOFF): Likewise.
45171         (R_MN10300_SYM_DIFF): Likewise.
45172         (R_MN10300_ALIGN): Likewise.
45173         (R_MN10300_NUM): Update.
45175 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
45177         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
45178         Remove.
45180 2012-08-08  Roland McGrath  <roland@hack.frob.com>
45182         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
45184         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
45185         sysdeps/unix -> sysdeps/posix move.
45186         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
45188 2012-08-07      Allan McRae     <allan@archlinux.org>
45190         [BZ #14303]
45191         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
45192         (SUNOS_CPP): Likewise.
45193         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
45194         not found.
45195         (open_input): Call CPP using execvp.
45197 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
45199         * sysdeps/unix/sysv/linux/kernel-features.h
45200         (__ASSUME_PROT_GROWSUPDOWN): Remove.
45201         (__ASSUME_NO_CLONE_DETACHED): Likewise.
45202         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
45203         (__ASSUME_WAITID_SYSCALL): Likewise.
45204         * sysdeps/unix/sysv/linux/dl-execstack.c
45205         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
45206         code unconditional.
45207         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
45208         conditional code.
45209         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
45210         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
45211         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
45212         code.
45213         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
45214         unconditional.
45215         [__ASSUME_WAITID_SYSCALL]: Likewise.
45216         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
45218 2012-08-07  Roland McGrath  <roland@hack.frob.com>
45220         * sysdeps/unix/closedir.c: Renamed to ...
45221         * sysdeps/posix/closedir.c: ... here.
45222         * sysdeps/unix/dirfd.c: Renamed to ...
45223         * sysdeps/posix/dirfd.c: ... here.
45224         * sysdeps/unix/dirstream.h: Renamed to ...
45225         * sysdeps/posix/dirstream.h: ... here.
45226         * sysdeps/unix/fdopendir.c: Renamed to ...
45227         * sysdeps/posix/fdopendir.c: ... here.
45228         * sysdeps/unix/opendir.c: Renamed to ...
45229         * sysdeps/posix/opendir.c: ... here.
45230         * sysdeps/unix/readdir.c: Renamed to ...
45231         * sysdeps/posix/readdir.c: ... here.
45232         * sysdeps/unix/readdir_r.c: Renamed to ...
45233         * sysdeps/posix/readdir_r.c: ... here.
45234         * sysdeps/unix/rewinddir.c: Renamed to ...
45235         * sysdeps/posix/rewinddir.c: ... here.
45236         * sysdeps/unix/seekdir.c: Renamed to ...
45237         * sysdeps/posix/seekdir.c: ... here.
45238         * sysdeps/unix/telldir.c: Renamed to ...
45239         * sysdeps/posix/telldir.c: ... here.
45240         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
45241         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
45242         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
45243         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
45245         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
45246         * bits/fcntl.h: ... here.
45248         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
45249         not 0.
45250         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
45251         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
45252         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
45253         (struct flock): Move l_start, l_len to the beginning.
45254         Use __pid_t for l_pid.
45255         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
45256         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
45257         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
45258         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
45259         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
45260         [__USE_LARGEFILE64] (struct flock64): New type.
45261         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
45263         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
45264         * bits/dirent.h: ... here.
45266         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
45267         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
45269 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
45271         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45272         Change from 2.6.0 to 2.6.16.
45273         * sysdeps/unix/sysv/linux/configure: Regenerated.
45274         * sysdeps/unix/sysv/linux/kernel-features.h
45275         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
45276         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
45277         version.
45278         (__ASSUME_UTIMES): Likewise.
45279         (__ASSUME_CLONE_STOPPED): Remove.
45280         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
45281         architectures, not kernel version.
45282         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
45283         (__ASSUME_NO_CLONE_DETACHED): Likewise.
45284         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
45285         (__ASSUME_WAITID_SYSCALL): Likewise.
45286         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
45287         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
45288         * README: State 2.6.16 as minimum Linux kernel version.  Do not
45289         refer to older versions.
45291 2012-08-06  Roland McGrath  <roland@hack.frob.com>
45293         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
45294         Define alphasort64 as an alias.
45295         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
45296         Define versionsort64 as an alias.
45297         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
45298         Define scandir64 as an alias.
45299         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
45300         Define scandirat64 as an alias.
45301         * dirent/alphasort64.c (alphasort64):
45302         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
45303         * dirent/versionsort64.c: Likewise.
45304         * dirent/scandir64.c: Likewise.
45305         * dirent/scandirat64.c: Likewise.
45306         * sysdeps/wordsize-64/alphasort.c: File removed.
45307         * sysdeps/wordsize-64/alphasort64.c: File removed.
45308         * sysdeps/wordsize-64/scandir.c: File removed.
45309         * sysdeps/wordsize-64/scandir64.c: File removed.
45310         * sysdeps/wordsize-64/scandirat.c: File removed.
45311         * sysdeps/wordsize-64/scandirat64.c: File removed.
45312         * sysdeps/wordsize-64/versionsort.c: File removed.
45313         * sysdeps/wordsize-64/versionsort64.c: File removed.
45314         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
45315         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
45316         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
45317         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
45318         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
45319         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
45320         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
45321         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
45323         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
45324         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
45325         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
45326         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45327         [defined __arch64__ || defined __sparcv9]
45328         (__INO_T_MATCHES_INO64_T): New macro.
45329         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45330         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
45331         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
45332         * sysdeps/unix/sysv/linux/bits/dirent.h
45333         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
45334         (_DIRENT_MATCHES_DIRENT64): New macro.
45336         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
45337         Define lockf64 as an alias.
45338         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
45339         Define fseeko64 as an alias.
45340         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
45341         Define ftello64 as an alias.
45342         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
45343         Define _IO_fgetpos64 and fgetpos64 as aliases.
45344         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
45345         Define _IO_fsetpos64 and fsetpos64 as aliases.
45346         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
45347         Conditionalize body on this.
45348         * libio/fseeko64.c: Likewise.
45349         * libio/ftello64.c: Likewise.
45350         * libio/iofgetpos64.c: Likewise.
45351         * libio/iofsetpos64.c: Likewise.
45352         * sysdeps/wordsize-64/lockf.c: File removed.
45353         * sysdeps/wordsize-64/lockf64.c: File removed.
45354         * sysdeps/wordsize-64/fseeko.c: File removed.
45355         * sysdeps/wordsize-64/fseeko64.c: File removed.
45356         * sysdeps/wordsize-64/ftello.c: File removed.
45357         * sysdeps/wordsize-64/ftello64.c: File removed.
45358         * sysdeps/wordsize-64/iofgetpos.c: File removed.
45359         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
45360         * sysdeps/wordsize-64/iofsetpos.c: File removed.
45361         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
45362         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
45363         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
45364         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
45365         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
45366         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
45367         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
45368         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
45369         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
45370         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
45371         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
45373         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
45374         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
45375         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
45376         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45377         [defined __arch64__ || defined __sparcv9]
45378         (__OFF_T_MATCHES_OFF64_T): New macro.
45379         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45380         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
45381         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45382         (__OFF_T_MATCHES_OFF64_T): New macro.
45384 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
45386         * stdlib/secure-getenv.c (__secure_getenv): Replace
45387         GLIBC_2_16 with GLIBC_2_17.
45389 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
45391         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
45392         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
45394 2012-08-03  David S. Miller  <davem@davemloft.net>
45396         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45398 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
45400         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
45401         Remove.
45402         (__ASSUME_CORRECT_SI_PID): Likewise.
45403         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
45404         (__ASSUME_TMPFS_NAME): Likewise.
45405         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
45406         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
45407         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
45408         (HAVE_AUX_SECURE): Make definition unconditional.
45409         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
45410         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
45412 2012-08-03  Roland McGrath  <roland@hack.frob.com>
45414         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
45415         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
45416         * sysdeps/mach/hurd/eloop-threshold.h: New file.
45417         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
45418         __eloop_threshold instead of SYMLOOP_MAX.
45420         * sysdeps/generic/eloop-threshold.h: New file.
45421         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
45422         of MAXSYMLINKS.
45423         * elf/chroot_canon.c (chroot_canon): Likewise.
45425 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
45427         [BZ #13717]
45428         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45429         Change to 2.6.0 everywhere.
45430         * sysdeps/unix/sysv/linux/configure: Regenerated.
45431         * sysdeps/unix/sysv/linux/kernel-features.h
45432         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
45433         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
45434         kernel versions.
45435         (__ASSUME_POSIX_TIMERS): Define unconditionally.
45436         (__ASSUME_FUTEX_REQUEUE): Remove.
45437         (__ASSUME_STATFS64): Define unconditionally.
45438         (__ASSUME_AT_SECURE): Likewise.
45439         (__ASSUME_CORRECT_SI_PID): Likewise.
45440         (__ASSUME_TGKILL): Define without depending on kernel version for
45441         i386.
45442         (__ASSUME_UTIMES): Likewise.
45443         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
45444         kernel version.
45445         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
45446         (__ASSUME_TMPFS_NAME): Likewise.
45447         * README: Update reference to Linux kernel versions.
45449 2012-08-02  Marek Polacek  <polacek@redhat.com>
45451         [BZ# 14150]
45452         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
45453         libc_cv_asm_type_prefix with %.
45454         * configure: Regenerated.
45455         * include/libc-symbols.h: Remove comment about
45456         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
45457         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
45458         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
45459         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
45460         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
45461         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
45462         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
45463         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
45464         * elf/tst-unique2mod1.c: Likewise.
45465         * elf/tst-unique1mod2.c: Likewise.
45466         * elf/tst-unique1mod1.c: Likewise.
45467         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
45468         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
45469         Replace ASM_TYPE_DIRECTIVE with .type.
45470         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45471         * sysdeps/i386/sysdep.h: Likewise.
45472         * sysdeps/x86_64/sysdep.h: Likewise.
45473         * sysdeps/sh/sysdep.h: Likewise.
45474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45475         Do not define ASM_TYPE_DIRECTIVE.
45476         * sysdeps/powerpc/sysdep.h: Likewise.
45477         * sysdeps/powerpc/powerpc32/sysdep.h:
45478         Replace ASM_TYPE_DIRECTIVE with .type.
45479         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
45480         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45481         * sysdeps/i386/fpu/e_powf.S: Likewise.
45482         * sysdeps/i386/fpu/e_expl.S: Likewise.
45483         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45484         * sysdeps/i386/fpu/e_acosh.S: Likewise.
45485         * sysdeps/i386/fpu/e_pow.S: Likewise.
45486         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
45487         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45488         * sysdeps/i386/fpu/s_expm1.S: Likewise.
45489         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
45490         * sysdeps/i386/fpu/e_log2.S: Likewise.
45491         * sysdeps/i386/fpu/e_log2l.S: Likewise.
45492         * sysdeps/i386/fpu/e_scalb.S: Likewise.
45493         * sysdeps/i386/fpu/e_powl.S: Likewise.
45494         * sysdeps/i386/fpu/e_log10f.S: Likewise.
45495         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
45496         * sysdeps/i386/fpu/e_logl.S: Likewise.
45497         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
45498         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
45499         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
45500         * sysdeps/i386/fpu/e_log2f.S: Likewise.
45501         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45502         * sysdeps/i386/fpu/e_log.S: Likewise.
45503         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45504         * sysdeps/i386/fpu/e_logf.S: Likewise.
45505         * sysdeps/i386/fpu/e_log10l.S: Likewise.
45506         * sysdeps/i386/fpu/e_atanh.S: Likewise.
45507         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
45508         * sysdeps/i386/fpu/e_log10.S: Likewise.
45509         * sysdeps/i386/fpu/s_frexp.S: Likewise.
45510         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45511         * sysdeps/i386/fpu/s_asinh.S: Likewise.
45512         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
45513         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45514         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
45515         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
45516         * sysdeps/i386/i686/strtok.S: Likewise.
45517         * sysdeps/i386/i386-mcount.S: Likewise.
45518         * sysdeps/i386/strtok.S: Likewise.
45519         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
45520         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45521         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45522         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45523         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
45524         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45525         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
45526         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
45527         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45528         * sysdeps/x86_64/_mcount.S: Likewise.
45529         * sysdeps/x86_64/strtok.S: Likewise.
45530         * sysdeps/sh/_mcount.S: Likewise.
45532 2012-08-01  Roland McGrath  <roland@hack.frob.com>
45534         * libio/iofopen.c: Include <fcntl.h>.
45535         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
45536         (_IO_fopen64, fopen64): Define as aliases.
45537         * libio/iofopen64.c: Include <fcntl.h>.
45538         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
45539         Conditionalize body on this.
45540         * sysdeps/wordsize-64/iofopen.c: File removed.
45541         * sysdeps/wordsize-64/iofopen64.c: File removed.
45543 2012-08-01  Marek Polacek  <polacek@redhat.com>
45545         * libc/Makeconfig: Use elf in place of binfmt-subdir.
45546         Use dlfcn directly instead of a variable.
45547         (binfmt-subdir): Do not define.
45548         (dlfcn): Likewise.
45550 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
45552         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
45553         Remove all definitions.
45554         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
45555         <kernel-features.h>.
45556         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
45557         (miss_F_GETOWN_EX): Remove all definitions.
45558         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
45559         macro definition.
45560         [!__ASSUME_FCNTL64]: Remove conditional code.
45561         [__ASSUME_FCNTL64]: Make code unconditional.
45562         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
45563         <kernel-features.h>.
45564         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
45565         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
45566         (lockf64) [__NR_fcntl64]: Make code unconditional.
45567         (lockf64) [__ASSUME_FCNTL64]: Likewise.
45569         * sysdeps/unix/sysv/linux/kernel-features.h
45570         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
45571         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
45572         Make code unconditional.
45573         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
45574         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
45575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
45576         [__NR_vfork]: Make code unconditional.
45577         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
45578         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
45579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
45580         [__NR_vfork]: Make code unconditional.
45581         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
45582         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
45584 2012-08-01  Roland McGrath  <roland@hack.frob.com>
45586         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
45587         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
45589         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45590         Define mkstemp64 as an alias.
45591         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45592         Define mkstemps64 as an alias.
45593         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45594         Define mkostemp64 as an alias.
45595         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45596         Define mkostemps64 as an alias.
45597         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
45598         Conditionalize body on this.
45599         * misc/mkostemp64.c: Likewise.
45600         * misc/mkostemps64.c: Likewise.
45601         * misc/mkstemps64.c: Likewise.
45602         * sysdeps/wordsize-64/mkstemp64.c: File removed.
45603         * sysdeps/wordsize-64/mkostemp64.c: File removed.
45604         * sysdeps/wordsize-64/mkostemp.c: File removed.
45605         * sysdeps/wordsize-64/mkstemp.c: File removed.
45606         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
45607         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
45608         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
45609         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
45611         [BZ #14138]
45612         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
45613         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
45614         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
45615         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
45617         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
45618         compat_symbol macros from <shlib-compat.h> rather than the underlying
45619         default_symbol_version and symbol_version macros, so that DEFAULT
45620         lines in shlib-versions are respected.
45621         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
45623 2012-08-01  Florian Weimer  <fweimer@redhat.com>
45625         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
45626         Declare with warn_unused_result.
45627         (setgid, setregid, setegid, setresgid): Likewise.
45628         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
45629         Likewise.
45630         * WUR-REPORT: Remove set*id functions.
45632 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
45634         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
45636 2012-07-31  Roland McGrath  <roland@hack.frob.com>
45638         [BZ #10191]
45639         * include/sys/socket.h (__libc_accept, __libc_accept4):
45640         Add attribute_hidden.
45641         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
45643         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
45644         use of PTR_MANGLE.
45645         * inet/getnetgrent_r.c (setup): Likewise.
45647         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
45649 2012-07-31  David S. Miller  <davem@davemloft.net>
45651         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45653 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
45655         [BZ #13629]
45656         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
45657         value between 1.0 and 2.0 and smaller part has absolute value less
45658         than 1.0.
45659         * math/s_clog10.c (__clog10): Likewise.
45660         * math/s_clog10f.c (__clog10f): Likewise.
45661         * math/s_clog10l.c (__clog10l): Likewise.
45662         * math/s_clogf.c (__clogf): Likewise.
45663         * math/s_clogl.c (__clogl): Likewise.
45664         * math/libm-test.inc (clog_test): Add more tests.
45665         (clog10_test): Likewise.
45666         * sysdeps/i386/fpu/libm-test-ulps: Update.
45667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45669 2012-07-31  Florian Weimer  <fweimer@redhat.com>
45671         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
45672         Exit with zero in case no suitable GID is found, and write a
45673         message to standard error.
45675 2012-07-30  Roland McGrath  <roland@hack.frob.com>
45677         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
45678         rather than to 1.
45679         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
45680         (MAXPATHLEN): Removed.
45681         (NOGROUP, NODEV): New macros.
45682         (setbit, clrbit, isset, isclr): New macros.
45683         (howmany, roundup, powerof2): New macros.
45684         (DEV_BSIZE): New macro.
45686         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
45687         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
45689         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
45690         definition on [!__NO_LONG_DOUBLE_MATH].
45692         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
45693         PTR_MANGLE and PTR_DEMANGLE.
45695         * socket/accept4.c (accept4): Rename to __libc_accept4.
45696         Define accept4 as a weak alias.
45698         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
45699         on [_DIRENT_HAVE_D_TYPE].
45700         * io/ftw.c (ftw_dir): Likewise.
45702         * io/xmknod.c (__xmknod): Don't check PATH for being null.
45704         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
45706         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
45707         Use the BSD numbers rather than the arbitrary ones we had.
45708         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
45709         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
45710         (SIGXCPU, SIGXFSZ): New macros.
45711         (_NSIG): Now 32.
45713         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
45714         initializer on [_LIBC_REENTRANT].
45716         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
45717         definitions inside [_POSIX_MAPPED_FILES].
45719         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
45721         * dirent/opendir.c: Include <fcntl.h>.
45723         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
45724         (__libc_getspecific): Likewise.
45725         (__libc_key_create): Likewise.
45727         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
45728         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
45729         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
45730         (tmpfile64): Define as alias.
45731         * sysdeps/wordsize-64/tmpfile.c: File removed.
45732         * sysdeps/wordsize-64/tmpfile64.c: File removed.
45733         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
45734         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
45736         * stdio-common/vfscanf.c: Include <stdbool.h>.
45737         * nss/makedb.c: Likewise.
45738         * stdio-common/_i18n_number.h: Likewise.
45739         * argp/argp-help.c: Likewise.
45740         * posix/wordexp.c: Likewise.
45741         * sysdeps/posix/spawni.c: Likewise.
45742         * nss/nss_files/files-initgroups.c: Likewise.
45743         * stdio-common/reg-modifier.c: Include <stdlib.h>.
45744         * nss/nss_files/files-initgroups.c: Likewise.
45745         * nss/nss_db/db-netgrp.c: Likewise.
45746         * nss/nss_db/db-initgroups.c: Likewise.
45747         * io/fchmodat.c: Include <sys/stat.h>.
45749         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
45750         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
45752         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
45753         [HAVE_MMAP].
45755         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
45756         Add multiple inclusion protection.
45758 2012-07-27  David S. Miller  <davem@davemloft.net>
45760         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45762 2012-07-27  Gary Benson  <gbenson@redhat.com>
45764         [BZ #14298]
45765         * elf/rtld.c: Include <stap-probe.h>.
45766         (dl_main): Added static probes "init_start" and "init_complete".
45767         * elf/dl-load.c: Include <stap-probe.h>.
45768         (lose): Take new parameter "nsid".
45769         Added static probe "map_failed".
45770         (_dl_map_object_from_fd): Pass namespace id to lose.
45771         Added static probe "map_start".
45772         (open_verify): Pass namespace id to lose.
45773         * elf/dl-open.c: Include <stap-probe.h>.
45774         (dl_open_worker) Added static probes "map_complete", "reloc_start"
45775         and "reloc_complete".
45776         * elf/dl-close.c: Include <stap-probe.h>.
45777         (_dl_close_worker): Added static probes "unmap_start" and
45778         "unmap_complete".
45779         * elf/rtld-debugger-interface.txt: New file documenting the above.
45781 2012-07-26  Roland McGrath  <roland@hack.frob.com>
45783         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
45784         rather than a string variable.
45785         * sunrpc/rpc_main.c (h_output): Likewise.
45786         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
45788 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
45790         * inet/check_native.c: New file.
45792 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
45794         [BZ #13629]
45795         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
45796         if larger part has absolute value 1.0.
45797         * math/s_clog10.c (__clog10): Likewise.
45798         * math/s_clog10f.c (__clog10f): Likewise.
45799         * math/s_clog10l.c (__clog10l): Likewise.
45800         * math/s_clogf.c (__clogf): Likewise.
45801         * math/s_clogl.c (__clogl): Likewise.
45802         * math/libm-test.inc (clog_test): Add more tests.
45803         (clog10_test): Likewise.
45804         * sysdeps/i386/fpu/libm-test-ulps: Update.
45805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45807         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
45808         (pltexit): Likewise.
45809         (La_regs): Likewise.
45810         (La_retval): Likewise.
45811         (int_retval): Likewise.
45812         Update #error for removed macros to refer only to definitions in
45813         tst-audit.h.
45814         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
45815         macro.
45816         (pltexit): Likewise.
45817         (La_regs): Likewise.
45818         (La_retval): Likewise.
45819         (int_retval): Likewise.
45820         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
45821         macro.
45822         (pltexit): Likewise.
45823         (La_regs): Likewise.
45824         (La_retval): Likewise.
45825         (int_retval): Likewise.
45826         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
45827         macro.
45828         (pltexit): Likewise.
45829         (La_regs): Likewise.
45830         (La_retval): Likewise.
45831         (int_retval): Likewise.
45832         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
45833         macro.
45834         (pltexit): Likewise.
45835         (La_regs): Likewise.
45836         (La_retval): Likewise.
45837         (int_retval): Likewise.
45838         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
45839         macro.
45840         (pltexit): Likewise.
45841         (La_regs): Likewise.
45842         (La_retval): Likewise.
45843         (int_retval): Likewise.
45844         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
45845         macro.
45846         (pltexit): Likewise.
45847         (La_regs): Likewise.
45848         (La_retval): Likewise.
45849         (int_retval): Likewise.
45850         * sysdeps/generic/tst-audit.h: Update comment to refer only to
45851         macro definitions in tst-audit.h.
45852         * sysdeps/i386/tst-audit.h: New file.
45853         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
45854         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
45855         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
45856         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
45857         * sysdeps/sh/tst-audit.h: Likewise.
45858         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
45859         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
45860         * sysdeps/x86_64/tst-audit.h: Likewise.
45862 2012-07-26  Andreas Jaeger  <aj@suse.de>
45864         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
45865         ptrace.
45867         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
45868         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
45869         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
45870         PTRACE_O_MASK.
45871         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
45872         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
45873         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
45875         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
45876         value.
45878         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
45879         _sigsys.
45880         (si_call_addr, si_syscall, si_arch): Define new macro.
45881         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
45882         _sigsys.
45883         (si_call_addr, si_syscall, si_arch): Define new marcro.
45884         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
45885         _sigsys.
45886         (si_call_addr, si_syscall, si_arch): Define new macro.
45887         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
45888         _sigsys.
45889         (si_call_addr, si_syscall, si_arch): Define new macro.
45891 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
45893         [BZ #13717]
45894         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45895         Change to 2.4.21 where previously 2.4.1.
45896         * sysdeps/unix/sysv/linux/configure: Regenerated.
45897         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
45898         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
45899         Linux kernel version.
45900         (__ASSUME_STD_AUXV): Remove.
45901         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
45902         kernel version.
45903         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
45904         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
45905         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
45906         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
45907         (__ASSUME_NETLINK_SUPPORT): Likewise.
45908         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
45909         (__no_netlink_support): Remove conditional definition.
45910         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
45911         Remove.
45912         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
45913         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
45914         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
45915         (if_nameindex_ioctl): Remove.
45916         (if_nameindex_netlink): Do not handle __no_netlink_support.
45917         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
45918         code.
45919         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
45920         Remove conditional code.
45921         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
45922         code.
45923         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
45924         unconditional.
45925         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
45926         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
45927         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
45928         Remove.
45929         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
45930         [!__ASSUME_STD_AUXV]: Remove conditional code.
45931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
45932         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
45933         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
45934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
45935         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
45936         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
45937         code.
45938         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
45939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45940         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
45941         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
45942         conditional code.
45943         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
45944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
45945         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
45946         code.
45947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45948         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
45949         conditional code.
45950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
45951         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45952         code unconditional.
45953         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45954         conditional code.
45955         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45956         unconditional.
45957         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45958         conditional code.
45959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45960         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45961         unconditional.
45962         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45963         conditional code.
45964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
45965         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45966         code unconditional.
45967         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45968         conditional code.
45969         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45970         unconditional.
45971         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45972         conditional code.
45973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
45974         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45975         code unconditional.
45976         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45977         conditional code.
45978         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45979         unconditional.
45980         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45981         conditional code.
45983 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
45985         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
45986         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
45987         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
45988         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
45989         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
45990         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
45991         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
45992         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
45993         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
45994         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
45995         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
45996         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
45997         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
45998         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
45999         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
46000         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
46001         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
46002         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
46003         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
46004         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
46005         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
46006         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
46007         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
46009 2012-07-25  Florian Weimer  <fweimer@redhat.com>
46011         * Versions.def: Add GLIBC_2.17.
46012         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
46013         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
46014         Introduce __libc_secure_getenv.
46015         * stdlib/Versions (2.17): Add secure_getenv
46016         (GLIBC_PRIVATE): Add __libc_secure_getenv.
46017         * stdlib/secure-getenv.c: Rename __secure_getenv to
46018         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
46019         symbol __secure_getenv for GLIBC_2.0.
46020         * stdlib/tst-secure-getenv.c: New.
46021         * stdlib/Makefile (tests): Add testcase.
46022         * manual/startup.texi (Environment Access): Document
46023         secure_getenv.
46024         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
46025         __libc_secure_getenv.
46026         * inet/ruserpass.c (ruserpass): Likewise.
46027         * malloc/mtrace.c (mtrace): Likewise.
46028         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
46029         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
46030         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
46031         * sysdeps/posix/tempname.c: Likewise.  Evaluate
46032         HAVE_SECURE_GETENV.
46033         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
46034         __secure_getenv to __libc_secure_getenv.
46035         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
46036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46037         Likewise.
46038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46039         Likewise.
46040         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
46041         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
46042         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
46043         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
46044         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
46045         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
46046         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
46048 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
46050         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
46051         (struct La_i86_retval): Likewise.
46052         (struct La_x86_64_regs): Likewise.
46053         (struct La_x86_64_retval): Likewise.
46054         (struct La_x32_regs): Likewise.
46055         (struct La_x32_retval): Likewise.
46056         (struct La_ppc32_regs): Likewise.
46057         (struct La_ppc32_retval): Likewise.
46058         (struct La_ppc64_regs): Likewise.
46059         (struct La_ppc64_retval): Likewise.
46060         (struct La_sh_regs): Likewise.
46061         (struct La_sh_retval): Likewise.
46062         (struct La_s390_32_regs): Likewise.
46063         (struct La_s390_32_retval): Likewise.
46064         (struct La_s390_64_regs): Likewise.
46065         (struct La_s390_64_retval): Likewise.
46066         (struct La_sparc32_regs): Likewise.
46067         (struct La_sparc32_retval): Likewise.
46068         (struct La_sparc64_regs): Likewise.
46069         (struct La_sparc64_retval): Likewise.
46070         (struct audit_ifaces): Remove architecture-specific pltenter and
46071         pltexit members.
46072         * sysdeps/i386/ldsodefs.h: New file.
46073         * sysdeps/powerpc/ldsodefs.h: Likewise.
46074         * sysdeps/s390/ldsodefs.h: Likewise.
46075         * sysdeps/sh/ldsodefs.h: Likewise.
46076         * sysdeps/sparc/ldsodefs.h: Likewise.
46077         * sysdeps/x86_64/ldsodefs.h: Likewise.
46079 2012-07-25  Marek Polacek  <polacek@redhat.com>
46081         [BZ #6808]
46082         * math/libm-test.inc (yn_test): Add another test.
46083         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
46084         to ERANGE when the result is +-Inf.
46085         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
46086         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
46087         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
46088         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
46090 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
46092         * conform/data/time.h-data (NULL): Use macro-constant.  Require
46093         equal to 0.
46094         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
46095         clock_t.
46096         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
46098 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
46100         * configure.in <sysdeps resolving>: Correct printing
46101         Implies_before.
46102         * configure: Regenerate.
46104 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
46106         * math/w_ilogb.c: Include <limits.h>.
46107         * math/w_ilogbl.c: Likewise.
46109 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
46111         * manual/lang.texi (__va_copy): Document primarily as ISO C99
46112         va_copy.  Document allowing for unavailable va_copy only as
46113         pre-C99 compatibility.
46114         * manual/string.texi (Copying and Concatenation): Use va_copy
46115         instead of __va_copy in concat example.
46117 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
46119         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
46120         (__sendto): Use create_address_port.  Initialize APORT and deallocate
46121         it if not null.
46123         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
46124         with O_NOLINK passed to __file_name_lookup.
46126         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
46127         with O_NOLINK passed to __file_name_lookup.
46129         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
46130         negative N or less than NGIDS.
46132         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
46133         type to string_t.  Set ERANGE as errno and return it if NAME is not big
46134         enough.  Use memcpy instead of strncpy.
46136 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
46138         * elf/Makefile (check-data): Remove.
46139         (localplt.data): New vpath directive.
46140         ($(objpfx)check-localplt.out): Use localplt.data from vpath
46141         instead of $(check-data).
46142         * scripts/data/localplt-generic.data: Move to ...
46143         * sysdeps/generic/localplt.data: ... here.
46144         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
46145         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
46146         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
46147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
46148         ... here.
46149         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
46150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
46151         ... here.
46152         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
46153         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
46154         ... here.
46155         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
46156         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
46157         ... here.
46158         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
46159         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
46160         ... here.
46161         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
46162         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
46163         ... here.
46165 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46167         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
46168         PPC32 and PPC64 files.
46169         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
46170         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
46172 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46174         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
46175         __makecontext_ret to ...
46176         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
46177         ... here and call exit if uc_link is NULL.  New file.
46178         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
46179         __makecontext_ret.S.
46180         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
46181         __makecontext_ret to ...
46182         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
46183         ... here and call exit if uc_link is NULL.  New file.
46184         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
46185         __makecontext_ret.S.
46187 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46189         * elf/elf.h (R_390_IRELATIVE): New definition.
46190         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
46191         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
46192         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
46193         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
46194         (elf_machine_lazy_rel): Likewise.
46195         * sysdeps/s390/dl-irel.h: New file.
46196         * sysdeps/s390/s390-64/memcpy.S: New asm code.
46197         * sysdeps/s390/s390-64/memset.S: New asm code.
46198         * sysdeps/s390/s390-64/memcmp.S: New asm code.
46199         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
46200         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
46201         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
46202         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
46203         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
46204         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
46205         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
46206         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
46207         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
46208         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
46209         * sysdeps/s390/s390-32/memcpy.S: New asm code.
46210         * sysdeps/s390/s390-32/memset.S: New asm code.
46211         * sysdeps/s390/s390-32/memcmp.S: New asm code.
46213 2012-07-17  Marek Polacek  <polacek@redhat.com>
46215         [BZ #14349]
46216         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
46217         * sysdeps/s390/s390-64/configure.in: Likewise.
46218         * sysdeps/sparc/configure.in: Likewise.
46219         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
46220         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
46221         * sysdeps/i386/configure.in: Likewise.
46222         * sysdeps/x86_64/configure.in: Likewise.
46223         * sysdeps/sh/configure.in: Likewise.
46224         * sysdeps/s390/s390-32/configure: Regenerated.
46225         * sysdeps/s390/s390-64/configure: Likewise.
46226         * sysdeps/x86_64/configure: Likewise.
46227         * sysdeps/sh/configure: Likewise.
46228         * sysdeps/powerpc/powerpc64/configure: Likewise.
46229         * sysdeps/powerpc/powerpc32/configure: Likewise.
46230         * sysdeps/sparc/configure: Likwise.
46231         * sysdeps/i386/configure: Likewise.
46233         * elf/dl-open.c: Comment fixes.
46235 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
46237         * Makefile [CXX] (check-data): Remove.
46238         [CXX] (c++-types.data): New vpath directive.
46239         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
46240         vpath.  Do not allow for C++ type data being missing.
46241         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
46242         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
46243         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
46244         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
46245         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
46246         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
46247         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
46248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
46249         ... here.
46250         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
46251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
46252         ... here.
46253         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
46254         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
46255         ... here.
46256         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
46257         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
46258         ... here.
46259         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
46260         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
46261         ... here.
46262         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
46263         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
46264         ... here.
46265         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
46266         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
46267         ... here.
46268         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
46269         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
46271         * elf/tls-macros.h (TLS_LE): Move architecture-specific
46272         definitions to architecture-specific files.
46273         (TLS_IE): Likewise.
46274         (TLS_LD): Likewise.
46275         (TLS_GD): Likewise.
46276         * sysdeps/i386/tls-macros.h: New file.
46277         * sysdeps/powerpc/tls-macros.h: Likewise.
46278         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
46279         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
46280         * sysdeps/sh/tls-macros.h: Likewise.
46281         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
46282         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
46283         * sysdeps/x86_64/tls-macros.h: Likewise.
46285 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
46287         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
46288         zero value for regular exit case.
46290         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
46291         (__start_context): Preserve zero value for regular exit case.
46293 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
46294             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46296         * manual/setjmp.texi (setcontext): Clarify normal process
46297         termination when uc_link is the null pointer.
46298         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
46299         exit call.
46301 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
46303         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
46304         preprocessor.  Test for each exception mask separately.
46306 2012-07-16  Andreas Jaeger  <aj@suse.de>
46308         * po/ru.po: Update from translation team.
46310 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
46312         * conform/data/string.h-data (NULL): Use macro-constant.  Require
46313         equal to 0.
46314         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
46315         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
46316         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
46317         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
46318         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46320 2012-07-13  Andreas Jaeger  <aj@suse.de>
46322         * po/fr.po: Update from translation team.
46324 2012-07-12  Marek Polacek  <polacek@redhat.com>
46326         [BZ #14173]
46327         * math/libm-test.inc (yn_test): Add test for BZ #14173.
46328         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
46329         loop condition.
46331 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
46333         [BZ #13717]
46334         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46335         Change to 2.4.1 where previously 2.4.0.
46336         * sysdeps/unix/sysv/linux/configure: Regenerated.
46337         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
46338         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
46339         version.
46340         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
46341         (__ASSUME_AT_CLKTCK): Remove.
46342         (__ASSUME_AT_PAGESIZE): Likewise.
46343         (__ASSUME_AT_XID): Likewise.
46344         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
46345         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
46346         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
46347         unconditionally.
46348         (HAVE_AUX_PAGESIZE): Likewise.
46349         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
46350         [__ASSUME_AT_CLKTCK]: Make code unconditional.
46351         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
46353 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
46355         [BZ #14307]
46356         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
46357         the temporary buffer used to invoke __gethostbyname2_r,
46358         __gethostbyaddr_r and gethostbyname4_r to make room for struct
46359         host_data / struct gaih_addrtuple.
46360         * resolv/nss_dns/dns-host.c (global scope): Move definition of
46361         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
46362         header file nss/nsswitch.h.
46363         * nss/nsswitch.h (global scope): Add definition of implementation
46364         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
46365         resolv/nss_dns/dns-host.c).
46367 2012-07-11  Andreas Jaeger  <aj@suse.de>
46369         * po/fr.po: Update from translation team.
46371         * po/sv.po: Update from translation team
46372         * po/fr.po: Another update from translation team.
46374 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46376         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
46377         for subnormals or multiply small sinh result by itself.
46378         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
46379         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46381 2012-07-11  David S. Miller  <davem@davemloft.net>
46383         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46385 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
46387         [BZ #14347]
46388         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
46389         (INTERNAL_MARK): Shift it here.
46391 2012-07-10  Marek Polacek  <polacek@redhat.com>
46393         [BZ #14151]
46394         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
46395         libc_cv_asm_global_directive with .globl.
46396         * configure: Regenerated.
46397         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
46398         with .globl.
46399         * sysdeps/i386/configure: Regenerated.
46400         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
46401         with .globl.
46402         * sysdeps/x86_64/configure: Regenerated.
46403         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
46404         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
46405         * elf/tst-unique2mod2.c: Likewise.
46406         * elf/tst-unique2mod1.c: Likewise.
46407         * elf/tst-unique1mod2.c: Likewise.
46408         * elf/tst-unique1mod1.c: Likewise.
46409         * sysdeps/s390/s390-32/sysdep.h: Likewise.
46410         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
46411         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46412         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46413         * sysdeps/mach/sysdep.h: Likewise.
46414         * sysdeps/i386/sysdep.h: Likewise.
46415         * sysdeps/i386/i386-mcount.S: Likewise.
46416         * sysdeps/x86_64/_mcount.S: Likewise.
46417         * sysdeps/x86_64/sysdep.h: Likewise.
46418         * sysdeps/sh/_mcount.S: Likewise.
46419         * sysdeps/sh/sysdep.h: Likewise.
46420         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
46421         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
46422         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
46423         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
46424         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
46425         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
46426         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
46427         * locale/localeinfo.h: Likewise.
46428         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
46429         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
46431 2012-07-09  Roland McGrath  <roland@hack.frob.com>
46433         [BZ #14336]
46434         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
46435         system".
46436         * manual/message.texi (The Uniforum approach): Likewise.
46437         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
46438         (glibc iconv Implementation): Likewise.
46440 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
46442         [BZ #14337]
46443         * math/s_clog.c (__clog): Avoid scaling a value down where that
46444         could result in underflow.
46445         * math/s_clog10.c (__clog10): Likewise.
46446         * math/s_clog10f.c (__clog10f): Likewise.
46447         * math/s_clog10l.c (__clog10l): Likewise.
46448         * math/s_clogf.c (__clogf): Likewise.
46449         * math/s_clogl.c (__clogl): Likewise.
46450         * math/libm-test.inc (clog_test): Add more tests.
46451         (clog10_test): Likewise.
46452         * sysdeps/i386/fpu/libm-test-ulps: Update.
46453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46455 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
46457         [BZ #14283]
46458         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
46459         by 7 not 8 to examine high bit of fractional part.
46461         [BZ #14042]
46462         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
46463         for call to __mcount_internal.
46464         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
46465         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
46466         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
46468 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
46470         [BZ #14154]
46471         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
46472         approximation for values within 0x1p-13f of an odd multiple of
46473         pi/4.
46474         * math/libm-test.inc (tan_test): Do not allow spurious underflow
46475         exception.  Add more tests.
46476         * sysdeps/i386/fpu/libm-test-ulps: Update.
46478         [BZ #6778]
46479         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
46480         inputs and return -1 for them.  Do not check for +Inf in case not
46481         reachable for +Inf.
46482         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
46483         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
46484         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
46485         and return -1 for them.  Do not check for +Inf in case not
46486         reachable for +Inf.
46487         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
46488         define.
46489         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
46490         and return -1 for them.  Do not check for +Inf in case not
46491         reachable for +Inf.
46492         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
46493         spurious underflow.
46494         * sysdeps/i386/fpu/libm-test-ulps: Update.
46495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46497 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
46499         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
46501 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
46503         [BZ #14157]
46504         [BZ #14331]
46505         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
46506         could result in spurious underflow.  Scale down values above
46507         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
46508         * math/s_csqrtf.c (__csqrtf): Likewise.
46509         * math/s_csqrtl.c (__csqrtl): Likewise.
46510         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
46511         spurious underflow.
46512         * sysdeps/i386/fpu/libm-test-ulps: Update.
46513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46515 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
46517         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
46518         xopen-msg.sed.
46519         * catgets/xopen-msg.awk: New file.
46520         * catgets/xopen-msg.sed: Removed.
46522         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
46523         po2text.sed.
46524         * intl/po2test.awk: New file.
46525         * intl/po2test.sed: Removed.
46527 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
46529         [BZ #14328]
46530         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
46531         or multiply small sinh result by itself.
46532         * math/s_ctanf.c (__ctanf): Likewise.
46533         * math/s_ctanh.c (__ctanh): Likewise.
46534         * math/s_ctanhf.c (__ctanhf): Likewise.
46535         * math/s_ctanhl.c (__ctanhl): Likewise.
46536         * math/s_ctanl.c (__ctanl): Likewise.
46537         * math/libm-test.inc (ctan_test_tonearest): New function.
46538         (ctan_test_towardzero): Likewise.
46539         (ctan_test_downward): Likewise.
46540         (ctan_test_upward): Likewise.
46541         (ctanh_test_tonearest): Likewise.
46542         (ctanh_test_towardzero): Likewise.
46543         (ctanh_test_downward): Likewise.
46544         (ctanh_test_upward): Likewise.
46545         (main): Call these new functions.
46546         * sysdeps/i386/fpu/libm-test-ulps: Update.
46547         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46549 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
46551         * .gitignore: Delete /ports entry.
46553 2012-07-03  Andreas Jaeger  <aj@suse.de>
46555         * po/bg.po: Update from translation team.
46556         * po/cs.po: Likewise.
46557         * po/de.po: Likewise.
46558         * po/hr.po: Likewise.
46559         * po/nl.pl: Likewise.
46560         * po/pl.po: Likewise.
46561         * po/vi.po: Likewise.
46563 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
46565         * Makeconfig [!+link] (+link-before-libc): New variable.
46566         [!+link] (+link-after-libc): Likewise.
46567         [!+link] (+link-tests): Likewise.
46568         [!+link] (+link): Define in terms of $(+link-before-libc) and
46569         $(+link-after-libc).
46570         [!+link-static] (+link-static-before-libc): New variable.
46571         [!+link-static] (+link-static-after-libc): Likewise.
46572         [!+link-static] (+link-static-tests): Likewise.
46573         [!+link-static] (+link-static): Define in terms of
46574         $(+link-static-before-libc) and $(+link-static-after-libc).
46575         [build-shared] (link-libc-before-gnulib): New variable.
46576         [build-shared] (link-libc-tests): Likewise.
46577         [build-shared] (link-libc): Define in terms of
46578         $(link-libc-before-gnulib).
46579         [!build-shared] (link-libc-tests): New variable.
46580         (link-libc-static-tests): New variable.
46581         [!gnulib] (gnulib-arch): New variable.
46582         [!gnulib] (gnulib-tests): Likewise.
46583         [!gnulib] (static-gnulib-arch): Likewise.
46584         [!gnulib] (static-gnulib-tests): Likewise.
46585         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
46586         Define with "=" instead of ":=".
46587         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
46588         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
46589         * Rules (binaries-all-notests): New variable.
46590         (binaries-all-tests): Likewise.
46591         (binaries-static-notests): Likewise.
46592         (binaries-static-tests): Likewise.
46593         (binaries-all): Define using $(binaries-all-notests) and
46594         $(binaries-all-tests).
46595         (binaries-static): Define using $(binaries-static-notests) and
46596         $(binaries-static-tests).
46597         (binaries-shared-tests): New variable.
46598         (binaries-shared-notests): Likewise.
46599         (binaries-shared): Remove variable.
46600         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
46601         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
46602         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
46603         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
46604         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
46605         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
46606         * elf/Makefile (sln-modules): New variable.
46607         (extra-objs): Add $(sln-modules:=.o).
46608         (ldconfig-modules): Add static-stubs.
46609         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
46610         * elf/static-stubs.c: New file.
46612         [BZ #14283]
46613         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
46614         by 7 not 8 to examine high bit of fractional part.  Use volatile
46615         variables when splitting into final array of floats if
46616         __FLT_EVAL_METHOD__ != 0.
46617         * math/libm-test.inc (cos_test): Add another test.
46618         (sin_test): Likewise.
46619         * sysdeps/i386/fpu/libm-test-ulps: Update.
46621         [BZ #14273]
46622         * math/libm-test.inc (cosh_test): Add more tests.
46624         * version.h (RELEASE): Set to "development".
46625         (VERSION): Set to "2.16.90".
46627 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
46629         * NEWS: Update copyright. Remove last-updated date.
46630         Mention math library bug fixes and timezone data changes.
46631         * README: Mention GNU/Hurd, x32, and HPPA support status.
46633 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
46635         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
46637 2012-06-27  Andreas Jaeger  <aj@suse.de>
46639         * manual/contrib.texi (Contributors): Add Samuel Thibault.
46641 2012-06-25  Andreas Jaeger  <aj@suse.de>
46643         * sysdeps/s390/fpu/libm-test-ulps: Update.
46645 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
46646             Thomas Schwinge  <thomas@codesourcery.com>
46648         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
46649         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
46650         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
46651         fanotify_mark.
46653 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
46655         * sysdeps/mach/start.c: Remove file.
46656         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
46657         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
46658         * sysdeps/sh/init-first.c: Likewise.
46660         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
46661         registers for frame unwinding purposes, add CFI directives.
46662         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
46663         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
46664         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
46665         Likewise.
46667         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
46668         __fortify_fail returning.
46669         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
46671         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
46672         sysdeps/sh/____longjmp_chk.S.
46673         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
46674         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
46675         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
46676         (gen-as-const-headers): Append sigaltstack-offsets.sym.
46678         * sysdeps/sh/abort-instr.h: New file.
46679         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
46680         process in case exit returns.
46682         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
46683         initialize the GOT register before use.
46685         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
46686         calculation of ARGC > 4.
46688         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
46689         meaningful names to some local labels.
46691 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46692             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46694         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
46695         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
46696         (__arch_compare_and_exchange_val_16_acq): Likewise.
46697         (__arch_compare_and_exchange_val_32_acq): Likewise.
46698         (atomic_exchange_and_add): Fix gUSA sequence.
46699         (atomic_add): Likewise.
46700         (atomic_add_negative): Likewise.
46701         (atomic_add_zero): Likewise.
46702         (atomic_bit_test_set): Likewise.
46704 2012-06-22  Andreas Schwab  <schwab@redhat.com>
46706         [BZ #13579]
46707         * include/link.h (struct link_map): Add l_free_initfini.
46708         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
46709         l_initfini.
46710         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
46711         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
46712         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
46713         set.
46715 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
46717         * configure.in: Use AC_LANG_SOURCE.
46718         * configure: Regenerate.
46720 2012-06-22  Roland McGrath  <roland@hack.frob.com>
46722         * configure.in (libc_cv_localstatedir): New substituted variable.
46723         * configure: Regenerated.
46724         * config.make.in (localstatedir): New variable, substituted from
46725         libc_cv_localstatedir.
46726         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
46727         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
46728         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
46729         * sysdeps/gnu/configure: Regenerated.
46731 2012-06-21  Jeff Law  <law@redhat.com>
46733         [BZ #14277]
46734         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
46735         free.  Simplify list management for _LIBC case.
46737 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
46739         [BZ #14273]
46740         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
46741         Clear sign bit of 64-bit integer value before comparing against
46742         overflow value.
46744         * sysdeps/mach/configure: Regenerated.
46746 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
46748         [BZ #14278]
46749         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
46751 2012-06-21  Jeff Law  <law@redhat.com>
46753         [BZ #13882]
46754         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
46755         uint16_t for elements in the "seen" array to avoid char overflows.
46756         * elf/dl-fini.c (_dl_sort_fini): Likewise.
46757         * elf/dl-open.c (dl_open_worker): Likewise.
46759 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
46761         * scripts/list-sources.sh: Scan PORTS for translations.
46762         * po/libc.pot: Regenerated.
46764 2012-06-21  Andreas Jaeger  <aj@suse.de>
46766         [BZ #12194]
46767         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
46768         warning.
46769         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
46770         * bits/byteswap-16.h (__bswap_16): Likewise.
46771         * bits/byteswap.h (__bswap_constant_16): Likewise.
46773 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
46775         [BZ #14117]
46776         * sysdeps/i386/fpu_control.h: Removed.
46777         * sysdeps/x86_64/fpu_control.h: Moved to ...
46778         * sysdeps/x86/fpu_control.h: Here.
46780         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
46781         (_FPU_SETCW): Likewise.
46783 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
46785         [BZ #14117]
46786         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
46787         * sysdeps/x86/fpu/bits/mathinline.h: This.
46788         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
46790         [BZ #14050]
46791         [BZ #14117]
46792         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
46793         functions if __x86_64__ is defined.
46795 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
46797         * string/endian.h: Add !__ASSEMBLER__ condition for including
46798         conversion interfaces.
46800 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
46802         [BZ #14241]
46803         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
46804         of ABS(x) in calculating zero to negative powers other than odd
46805         integers.
46806         * math/libm-test.inc (pow_test): Add more tests.
46808 2012-06-15  Andreas Jaeger  <aj@suse.de>
46810         * manual/contrib.texi (Contributors): Update entry of Liubov
46811         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
46812         Machado Filho.
46814 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
46816         * string/string.h: Add __wur to GNU version of strerror_r.
46818 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
46820         [BZ #14229]
46821         * string/Makefile (tests): Add tst-strtok_r.
46822         * string/tst-strtok_r.c: New file.
46823         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
46824         RAX_LP/RDX_LP on SAVE_PTR.
46826 2012-06-14  Roland McGrath  <roland@hack.frob.com>
46828         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
46830 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
46832         * libm_test.inc (csqrt_test): Allow more spurious underflow
46833         exceptions.
46834         (j0_test): Likewise.
46835         (j1_test): Likewise.
46836         (y0_test): Likewise.
46837         (y1_test): Likewise.
46839 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
46841         * po/Makefile (libc.pot): Use UTF-8 charset.
46843 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
46845         [BZ #14210]
46846         Suppress sign-conversion warning from FD_SET.
46847         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
46848         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
46849         not unsigned long int.
46850         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
46852 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
46854         [BZ #14050]
46855         [BZ #14117]
46856         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
46857         __extern_always_inline instead of __extern_inline.
46858         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
46859         (__signbit): Likewise.
46860         (__signbitl): Support C++ namespace.
46861         (lrintf): New inline function.
46862         (lrint): Likewise.
46863         (llrintf): Likewise.
46864         (llrint): Likewise.
46865         (fmaxf): Likewise.
46866         (fmax): Likewise.
46867         (fminf): Likewise.
46868         (fmin): Likewise.
46869         (rint): Likewise.
46870         (rintf): Likewise.
46871         (ceil): Likewise.
46872         (ceilf): Likewise.
46873         (floor): Likewise.
46874         (floorf): Likewise.
46875         (nearbyint): Likewise.
46876         (nearbyintf): Likewise.
46878 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
46880         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
46881         non-default versions.
46883 2012-06-11  Roland McGrath  <roland@hack.frob.com>
46885         [BZ #14218]
46886         * manual/argp.texi (Argp): Reword argp_parse description slightly.
46888 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
46890         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
46891         (FE_UPWARD, FE_DOWNWARD): Don't define.
46892         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
46893         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
46895         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
46896         reading it.
46897         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
46898         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46900 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46902         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
46903         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
46904         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
46905         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
46907 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
46909         [BZ #14117]
46910         * sysdeps/i386/fpu/bits/fenv.h: Removed.
46911         * sysdeps/i386/fpu/Implies: New file.
46912         * sysdeps/x86_64/fpu/Implies: Likewise.
46913         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
46914         * sysdeps/x86/fpu/bits/fenv.h: This.
46916         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
46917         __SSE_MATH__.
46919 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
46921         [BZ #14134]
46922         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
46923         character 0xffff that matches the last element of the
46924         conversion table.
46926 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46928         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
46929         fmodl commit.
46931 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46933         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
46934         values higher than 25.6283.
46936 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46938         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
46939         subnormal exponent extraction and add some __builtin_expect.
46940         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
46941         Fix for subnormal mantissa calculation.
46943 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
46945         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
46946         cpu2 is -1 and errno is not ENOSYS.
46948 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
46950         [BZ #14117]
46951         * sysdeps/i386/i486/bits/string.h: Renamed to ...
46952         * sysdeps/x86/bits/string.h: This.
46953         * sysdeps/x86_64/bits/string.h: Removed.
46955         * sysdeps/i386/i486/bits/string.h: Define inline functions only
46956         if not compiling for x86-64, but compiling for >= i486.
46958         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
46959         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
46961         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
46962         New macro from Linux kernel 3.4.0.
46963         (FP_XSTATE_MAGIC2): Likewise.
46964         (FP_XSTATE_MAGIC2_SIZE): Likewise.
46965         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
46966         (struct _fpx_sw_bytes): New struct.
46967         (struct _xsave_hdr): Likewise.
46968         (struct _ymmh_state): Likewise.
46969         (struct _xstate): Likewise.
46971         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
46972         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
46973         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
46974         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
46975         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
46976         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
46978         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
46979         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
46980         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
46981         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
46982         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
46983         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
46985 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
46987         [BZ #13743]
46988         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
46989         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
46990         (sysdep_headers): Include sys/platform/ppc.h.
46991         * sysdeps/powerpc/test-gettimebase.c: Test for
46992         __ppc_get_timebase() to catch future ISA opcode/insn changes.
46993         * manual/Makefile (appendices): Include platform.texi.
46994         * manual/contrib.texi (Contributors): Update @node pointers.
46995         * manual/maint.texi (Maintenance): Likewise.
46996         (Platform): New node.
46997         * manual/platform.texi: New file.  Document the new features.
46999 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47000             Jakub Jelinek  <jakub@redhat.com>
47002         [BZ #14188]
47003         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
47004         where __builtin_expect is unavailable.
47006 2012-06-03  David S. Miller  <davem@davemloft.net>
47008         * stdlib/longlong.h: Updated from GCC.
47010 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
47012         [BZ #14042]
47013         * sysdeps/powerpc/powerpc32/mcount.c: New file.
47014         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
47015         __mcount_internal.
47016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
47017         (GLIBC_2.16): Likewise.
47019 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47021         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
47023 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
47025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
47026         (default-abi): New variable.
47027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
47028         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
47029         variable.
47030         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
47031         Likewise.
47032         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
47033         Likewise.
47034         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
47035         Likewise.
47037         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
47038         definition.  Document in comment.
47040 2012-06-01  David S. Miller  <davem@davemloft.net>
47042         * stdlib/longlong.h: Updated from GCC.
47044 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47046         [BZ #14117]
47047         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
47048         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
47049         sys/debugreg.h sys/io.h here.
47050         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
47051         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
47052         sys/io.h.
47053         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
47054         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
47055         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
47056         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
47057         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
47058         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
47060         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
47061         Define only if __x86_64__ is defined.
47063 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
47065         [BZ #14048]
47066         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
47067         Use int64_t for variable i.
47068         * math/libm-test.inc (fmod_test): Add more tests.
47070         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
47071         z computation is not scheduled after fetestexcept.
47072         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
47073         Use math_force_eval instead of asm to ensure calculation scheduled
47074         before exception test.
47075         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
47076         Ensure a1 + u.d computation is not scheduled after fetestexcept.
47078 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
47080         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
47081         computation is not scheduled after fetestexcept.
47083 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47085         [BZ #14117]
47086         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
47087         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
47089 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47091         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
47092         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47094 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
47096         [BZ #14117]
47097         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
47098         <bits/wordsize.h>.
47099         (__WCHAR_MIN): Support __WORDSIZE == 64.
47100         (__WCHAR_MAX): Likewise.
47102         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
47103         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
47105         [BZ #14183]
47106         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
47107         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
47109         [BZ #14117]
47110         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
47111         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
47113         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
47114         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
47116         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
47117         Defined to 1 if __x86_64__ isn't defined.
47118         (_STAT_VER_LINUX_OLD): New.
47119         (st_atime): Remove duplicate.
47120         (st_mtime): Likewise.
47121         (st_ctime): Likewise.
47123 2012-05-31  David S. Miller  <davem@davemloft.net>
47125         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
47126         entries.
47128 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
47130         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
47131         gen-libm-test.pl.
47133         [BZ #14132]
47134         * elf/dl-reloc.c: Include <_itoa.h>.
47135         (_dl_reloc_bad_type): Remove use of INTUSE.
47136         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
47137         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
47138         * stdio-common/psiginfo.c (psiginfo): Likewise.
47139         * stdio-common/psignal.c (psignal): Likewise.
47140         * string/strsignal.c (strsignal): Likewise.
47141         * include/signal.h (_sys_siglist): Declare hidden proto.
47142         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
47143         INTVARDEF with libc_hidden_data_def.
47144         * stdio-common/itoa-udigits.c: Likewise.
47145         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
47146         (_itoa_lower_digits_internal): Remove declaration.
47147         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
47148         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
47149         (_sys_sigabbrev_internal): Remove aliases.
47150         (_sys_siglist): Define hidden alias.
47152 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
47154         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47155         bits/sysctl.h.
47157 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
47159         [BZ #14117]
47160         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
47161         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
47163         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
47164         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
47165         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
47166         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
47167         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
47168         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
47170         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
47171         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
47172         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
47174         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
47175         with __addr.
47176         (insw): Likewise.
47177         (insl): Likewise.
47178         (outsb): Likewise.
47179         (outsw): Likewise.
47180         (outsl): Likewise.
47182         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
47183         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
47184         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
47186         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
47187         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
47188         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
47189         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
47190         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
47191         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
47193         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
47194         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
47196         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
47197         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
47199         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
47200         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
47201         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
47203         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
47204         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
47205         to ...
47206         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
47208         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
47209         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
47210         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
47212         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
47213         for x86-64.
47214         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
47216 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
47218         * math/math.h (M_El): Use two more decimal places.
47219         (M_LOG2El): Likewise.
47220         (M_LOG10El): Likewise.
47221         (M_LN2l): Likewise.
47222         (M_LN10l): Likewise.
47223         (M_PIl): Likewise.
47224         (M_PI_2l): Likewise.
47225         (M_PI_4l): Likewise.
47226         (M_1_PIl): Likewise.
47227         (M_2_PIl): Likewise.
47228         (M_2_SQRTPIl): Likewise.
47229         (M_SQRT2l): Likewise.
47230         (M_SQRT1_2l): Likewise.
47232 2012-05-31  David S. Miller  <davem@davemloft.net>
47234         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
47235         values between float registers.
47236         * sysdeps/sparc/sparc64/memset.S: Likewise.
47237         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
47239 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
47241         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
47242         -D_FORTIFY_SOURCE=1.
47243         (CPPFLAGS-tst-longjmp_chk.c): Define.
47244         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
47245         (CPPFLAGS-tst-longjmp_chk2.c): Define.
47246         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
47247         CFLAGS-tst-wchar-h.c.
47249 2012-05-31  Marek Polacek  <polacek@redhat.com>
47251         [BZ #14132]
47252         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
47253         __endmntent_internal): Remove declaration.
47254         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
47255         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
47256         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
47258 2012-05-30  David S. Miller  <davem@davemloft.net>
47260         * sysdeps/sparc/sparc32/soft-fp/q_util.c
47261         (___Q_simulate_exceptions): Use real FP ops rather than writing
47262         into the %fsr.
47263         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
47264         Likewise.
47266 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47268         [BZ #14117]
47269         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
47270         * sysdeps/x86/bits/xtitypes.h: This.
47272         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
47273         * sysdeps/x86/bits/wordsize.h: This.
47275         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
47276         * sysdeps/x86/bits/huge_vall.h: This.
47278         * sysdeps/i386/bits/select.h: Removed.
47279         * sysdeps/x86_64/bits/select.h: Renamed to ...
47280         * sysdeps/x86/bits/select.h: This.
47282         * sysdeps/i386/bits/setjmp.h: Removed.
47283         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
47284         * sysdeps/x86/bits/setjmp.h: This.
47286         * sysdeps/i386/bits/mathdef.h: Removed.
47287         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
47288         * sysdeps/x86/bits/mathdef.h: This.
47290 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
47292         [BZ #14132]
47293         * include/sys/socket.h (__connect_internal)
47294         (__libc_sa_len_internal): Remove declaration.
47295         (__connect, __libc_sa_len): Declare hidden_proto.
47296         (SA_LEN): Remove use of INTUSE.
47297         * socket/connect.c: Add libc_hidden_def.
47298         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
47299         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
47300         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
47301         alias.
47302         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
47303         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
47304         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
47305         of adding _internal alias.
47307 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47309         [BZ #14117]
47310         * sysdeps/i386/bits/link.h: Removed.
47311         * sysdeps/i386/bits/linkmap.h: Likewise.
47312         * sysdeps/x86_64/bits/link.h: Renamed to ...
47313         * sysdeps/x86/bits/link.h: This.
47314         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
47315         * sysdeps/x86/bits/linkmap.h: This.
47317         * sysdeps/i386/bits/endian.h: Removed.
47318         * sysdeps/x86_64/bits/endian.h: Renamed to ...
47319         * sysdeps/x86/bits/endian.h: This.
47321         * sysdeps/i386/bits/byteswap.h: Removed.
47322         * sysdeps/i386/bits/byteswap-16.h: Likewise.
47323         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
47324         * sysdeps/x86/bits/byteswap.h: This.
47325         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
47326         * sysdeps/x86/bits/byteswap-16.h: This.
47327         * sysdeps/i386/Implies: Add x86.
47328         * sysdeps/x86_64/Implies: Likewise.
47330 2012-05-30  David S. Miller  <davem@davemloft.net>
47332         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
47333         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
47334         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
47335         (FP_TRAPPING_EXCEPTIONS): Define.
47336         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
47337         (FP_TRAPPING_EXCEPTIONS): Define.
47338         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
47339         subnormals only when inexact has been signalled or underflow
47340         exceptions are enabled.
47341         (_FP_PACK_CANONICAL): Likewise.
47343 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47345         [BZ #14183]
47346         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
47347         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
47349 2012-05-30  Richard Henderson  <rth@twiddle.net>
47351         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
47352         with #ifndef NOT_IN_libc.
47354         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
47355         marked to avoid plt entry.
47357 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47359         [BZ #14112]
47360         * Makeconfig (default-abi): New macro.
47361         (abi-includes): Likewise.
47362         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
47363         $(abi-$(default-abi)-lib-soname) for soname if defined.
47364         ($(common-objpfx)gnu/lib-names.stmp): Generate from
47365         abi-variants.
47366         * Makefile (installed-stubs): Likewise.
47367         * include/stubs-biarch.h: Removed.
47368         * scripts/lib-names.awk: Only handle one library at a time.
47369         * scripts/soversions.awk: Remove WORDSIZE support.
47370         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
47371         entries.
47372         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
47373         Removed.
47374         (syscall-list-default-condition): Likewise.
47375         (syscall-list-default-condition): Likewise.
47376         (syscall-list-includes): Likewise.
47377         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
47378         syscall-list-* with abi-*.  Handle undefined abi-variants.
47379         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
47380         * sysdeps/unix/sysv/linux/i386/Implies: New file.
47381         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
47382         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
47383         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
47384         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
47385         Removed.
47386         (syscall-list-32-options): Likewise.
47387         (syscall-list-32-condition): Likewise.
47388         (syscall-list-64-options): Likewise.
47389         (syscall-list-64-condition): Likewise.
47390         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
47391         macro.
47392         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
47393         Renamed to ...
47394         (abi-*): This.
47395         (abi-64-ld-soname): New macro.
47396         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
47397         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
47398         Renamed to ...
47399         (abi-*): This.
47400         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
47401         * sysdeps/x86_64/x32/shlib-versions: Likewise.
47403 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
47405         * sysdeps/unix/sysv/linux/kernel-features.h
47406         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
47407         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
47408         include <kernel-features.h>.
47409         [!__NR_ftruncate64]: Remove conditional code.
47410         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47411         [__NR_ftruncate64]: Make code unconditional.
47412         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47413         * sysdeps/unix/sysv/linux/truncate64.c: Do not
47414         include <kernel-features.h>.
47415         [!__NR_ftruncate64]: Remove conditional code.
47416         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47417         [__NR_ftruncate64]: Make code unconditional.
47418         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
47420         include <kernel-features.h>.
47421         [!__NR_ftruncate64]: Remove conditional code.
47422         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47423         [__NR_ftruncate64]: Make code unconditional.
47424         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
47426         include <kernel-features.h>.
47427         [!__NR_ftruncate64]: Remove conditional code.
47428         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47429         [__NR_ftruncate64]: Make code unconditional.
47430         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47432         * configure.in (libc_cv_fpie): Weaken to a compile test using
47433         LIBC_TRY_CC_OPTION.
47434         * configure: Regenerated.
47436 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47438         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
47439         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
47440         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
47441         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47442         Refreshed.
47443         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
47444         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
47445         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
47446         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
47447         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
47448         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47449         Refreshed.
47451 2012-05-27  David S. Miller  <davem@davemloft.net>
47453         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
47454         (___Q_zero): New.
47455         (__Q_simulate_exceptions): Return void.  Change to simulate
47456         exceptions by writing into the %fsr.
47457         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
47458         (__Qp_handle_exceptions): Likewise.
47459         (numbers): Delete.
47460         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
47461         __Qp_handle_exceptions.
47462         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
47463         __Qp_handle_exceptions.
47464         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
47465         as unused and give dummy FP_RND_NEAREST initializer.
47466         (FP_INHIBIT_RESULTS): Define.
47467         (___Q_simulate_exceptions): Update declaration.
47468         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
47469         formatting.
47470         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
47471         as unused and give dummy FP_RND_NEAREST initializer.
47472         (__Qp_handle_exceptions): Update declaration.
47473         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
47474         formatting.
47476 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
47478         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
47479         the temporary FPU control word.
47480         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
47481         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
47482         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
47483         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
47484         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
47485         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
47486         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
47487         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
47488         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
47489         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
47490         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47492 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47494         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
47495         fields.
47497 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
47499         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
47500         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
47501         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
47502         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
47503         Likewise.
47504         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
47505         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
47506         Likewise.
47508 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
47510         * po/h.po: Update from translation team.
47512 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
47514         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
47516         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
47517         handling of denormals.
47518         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
47519         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
47520         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
47521         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
47522         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47523         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
47524         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
47525         Likewise.
47527 2012-05-26  Marek Polacek  <polacek@redhat.com>
47529         [BZ #14152]
47530         * math/libm-test.inc (fma_test): Don't always expect underflow
47531         exception.
47533 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47535         [BZ #12416]
47536         * elf/tst-execstack.c: Include stackinfo.h.
47537         (do_test): Adjust test case to ensure that pthread_getattr_np
47538         behaviour remains the same after marking stack executable.
47540 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
47542         * sysdeps/unix/sysv/linux/kernel-features.h
47543         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
47544         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
47545         kernel-features.h.
47546         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
47547         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
47548         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
47549         kernel-features.h.
47550         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
47551         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
47553 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
47555         * configure.in: Define the default includes to being none.
47556         * configure: Regenerated.
47558 2012-05-25  Roland McGrath  <roland@hack.frob.com>
47560         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
47561         * sysdeps/x86_64/setjmp.S: Likewise.
47562         * sysdeps/i386/bsd-setjmp.S: Likewise.
47563         * sysdeps/i386/bsd-_setjmp.S: Likewise.
47564         * sysdeps/i386/setjmp.S: Likewise.
47565         * sysdeps/i386/__longjmp.S: Likewise.
47566         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
47567         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
47569         * include/stap-probe.h: New file.
47570         * configure.in: Handle --enable-systemtap.
47571         * configure: Regenerated.
47572         * config.h.in (USE_STAP_PROBE): New #undef.
47573         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
47574         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
47575         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
47577 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
47579         [BZ #13717]
47580         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
47581         to 2.4.0 where earlier.
47582         * sysdeps/unix/sysv/linux/configure: Regenerated.
47583         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
47584         <kernel-features.h>.
47585         [__ASSUME_32BITUIDS]: Make code unconditional.
47586         [!__ASSUME_32BITUIDS]: Remove conditional code.
47587         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
47588         <kernel-features.h>.
47589         [__ASSUME_32BITUIDS]: Make code unconditional.
47590         [!__ASSUME_32BITUIDS]: Remove conditional code.
47591         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
47592         [__ASSUME_32BITUIDS]: Make code unconditional.
47593         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
47594         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
47595         <kernel-features.h>.
47596         [__ASSUME_32BITUIDS]: Make code unconditional.
47597         [!__ASSUME_32BITUIDS]: Remove conditional code.
47598         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
47599         <kernel-features.h>.
47600         [__ASSUME_32BITUIDS]: Make code unconditional.
47601         [!__ASSUME_32BITUIDS]: Remove conditional code.
47602         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
47603         <kernel-features.h>.
47604         [__ASSUME_32BITUIDS]: Make code unconditional.
47605         [!__ASSUME_32BITUIDS]: Remove conditional code.
47606         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
47607         <kernel-features.h>.
47608         [__ASSUME_32BITUIDS]: Make code unconditional.
47609         [!__ASSUME_32BITUIDS]: Remove conditional code.
47610         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
47611         <kernel-features.h>.
47612         [__ASSUME_32BITUIDS]: Make code unconditional.
47613         [!__ASSUME_32BITUIDS]: Remove conditional code.
47614         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
47615         <kernel-features.h>.
47616         [__ASSUME_32BITUIDS]: Make code unconditional.
47617         [!__ASSUME_32BITUIDS]: Remove conditional code.
47618         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
47619         <kernel-features.h>.
47620         [__ASSUME_32BITUIDS]: Make code unconditional.
47621         [!__ASSUME_32BITUIDS]: Remove conditional code.
47622         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
47623         <kernel-features.h>.
47624         [__ASSUME_32BITUIDS]: Make code unconditional.
47625         [!__ASSUME_32BITUIDS]: Remove conditional code.
47626         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
47627         <kernel-features.h>.
47628         [__ASSUME_32BITUIDS]: Make code unconditional.
47629         [!__ASSUME_32BITUIDS]: Remove conditional code.
47630         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
47631         <kernel-features.h>.
47632         [__ASSUME_32BITUIDS]: Make code unconditional.
47633         [!__ASSUME_32BITUIDS]: Remove conditional code.
47634         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
47635         <kernel-features.h>.
47636         [__NR_setresgid] (__setresgid): Do not declare.
47637         [__ASSUME_32BITUIDS]: Make code unconditional.
47638         [!__ASSUME_32BITUIDS]: Remove conditional code.
47639         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
47640         <kernel-features.h>.
47641         [__NR_setresuid] (__setresuid): Do not declare.
47642         [__ASSUME_32BITUIDS]: Make code unconditional.
47643         [!__ASSUME_32BITUIDS]: Remove conditional code.
47644         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
47645         <kernel-features.h>.
47646         [__ASSUME_32BITUIDS]: Make code unconditional.
47647         [!__ASSUME_32BITUIDS]: Remove conditional code.
47648         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
47649         <kernel-features.h>.
47650         [__ASSUME_32BITUIDS]: Make code unconditional.
47651         [!__ASSUME_32BITUIDS]: Remove conditional code.
47652         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
47653         <kernel-features.h>.
47654         [__ASSUME_32BITUIDS]: Make code unconditional.
47655         [!__ASSUME_32BITUIDS]: Remove conditional code.
47656         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
47657         <kernel-features.h>.
47658         [__ASSUME_32BITUIDS]: Make code unconditional.
47659         [!__ASSUME_32BITUIDS]: Remove conditional code.
47660         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
47661         <kernel-features.h>.
47662         [__ASSUME_32BITUIDS]: Make code unconditional.
47663         [!__ASSUME_32BITUIDS]: Remove conditional code.
47664         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
47665         <kernel-features.h>.
47666         [__ASSUME_32BITUIDS]: Make code unconditional.
47667         [!__ASSUME_32BITUIDS]: Remove conditional code.
47668         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
47669         <kernel-features.h>.
47670         [__ASSUME_32BITUIDS]: Make code unconditional.
47671         [!__ASSUME_32BITUIDS]: Remove conditional code.
47672         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
47673         <kernel-features.h>.
47674         [__ASSUME_32BITUIDS]: Make code unconditional.
47675         [!__ASSUME_32BITUIDS]: Remove conditional code.
47676         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
47677         <kernel-features.h>.
47678         [__ASSUME_32BITUIDS]: Make code unconditional.
47679         [!__ASSUME_32BITUIDS]: Remove conditional code.
47680         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
47681         <kernel-features.h>.
47682         [__ASSUME_32BITUIDS]: Make code unconditional.
47683         [!__ASSUME_32BITUIDS]: Remove conditional code.
47684         * sysdeps/unix/sysv/linux/kernel-features.h
47685         (__ASSUME_SETRESUID_SYSCALL): Remove.
47686         (__ASSUME_SETRESGID_SYSCALL): Likewise.
47687         (__ASSUME_32BITUIDS): Likewise.
47688         (__ASSUME_LDT_WORKS): Likewise.
47689         (__ASSUME_O_DIRECTORY): Likewise.
47690         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
47691         architecture but not kernel version.
47692         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
47693         (__ASSUME_MMAP2_SYSCALL): Likewise.
47694         (__ASSUME_STAT64_SYSCALL): Likewise.
47695         (__ASSUME_IPC64): Likewise.
47696         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
47697         <kernel-features.h>.
47698         [__ASSUME_32BITUIDS]: Make code unconditional.
47699         [!__ASSUME_32BITUIDS]: Remove conditional code.
47700         * sysdeps/unix/sysv/linux/opendir.c: Do not include
47701         <kernel-features.h>.
47702         [__ASSUME_O_DIRECTORY]: Make code unconditional.
47703         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
47704         132096]: Remove conditional code.
47705         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
47706         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
47707         <kernel-features.h>.
47708         [__ASSUME_32BITUIDS]: Make code unconditional.
47709         [!__ASSUME_32BITUIDS]: Remove conditional code.
47710         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
47711         <kernel-features.h>.
47712         [__ASSUME_32BITUIDS]: Make code unconditional.
47713         [!__ASSUME_32BITUIDS]: Remove conditional code.
47714         * sysdeps/unix/sysv/linux/setegid.c: Do not include
47715         <kernel-features.h>.
47716         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
47717         unconditional.
47718         (__setresgid): Do not declare.
47719         [__ASSUME_32BITUIDS]: Make code unconditional.
47720         [!__ASSUME_32BITUIDS]: Remove conditional code.
47721         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
47722         <kernel-features.h>.
47723         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
47724         unconditional.
47725         (__setresuid): Do not declare.
47726         [__ASSUME_32BITUIDS]: Make code unconditional.
47727         [!__ASSUME_32BITUIDS]: Remove conditional code.
47728         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
47729         <kernel-features.h>.
47730         [__ASSUME_32BITUIDS]: Make code unconditional.
47731         [!__ASSUME_32BITUIDS]: Remove conditional code.
47732         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
47733         <kernel-features.h>.
47734         [__ASSUME_32BITUIDS]: Make code unconditional.
47735         [!__ASSUME_32BITUIDS]: Remove conditional code.
47737 2012-05-25  Richard Henderson  <rth@twiddle.net>
47739         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
47740         dl_hwcap to ifunc resolver.
47741         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
47742         elf_ifunc_invoke.
47743         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
47744         dl_hwcap to ifunc resolver.
47745         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
47747 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
47749         [BZ #14153]
47750         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
47751         for |x| <= 2**-26, not 2**-57.
47752         * math/libm-test.inc (acos_test): Do not allow spurious underflow
47753         exception.
47755 2012-05-24  Jeff Law  <law@redhat.com>
47757         * stdio-common/Makefile (tests): Add bug25.
47758         * stdio-common/bug25.c: New test.
47760 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
47762         [BZ #13576]
47763         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
47764         multiple of MALLOC_ALIGNMENT in size.
47765         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
47767 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
47769         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
47770         Require >= 256.
47771         (FILENAME_MAX): Use macro-int-constant.
47772         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
47773         (_IOFBF): Use macro-int-constant.
47774         (_IOLBF): Likewise.
47775         (_IONBF): Likewise.
47776         (SEEK_CUR): Likewise.
47777         (SEEK_END): Likewise.
47778         (SEEK_SET): Likewise.
47779         (TMP_MAX): Likewise.
47780         (EOF): Use macro-int-constant.  Require < 0.
47781         (NULL): Use macro-constant.  Require == 0.
47782         (stdin): Require type to be FILE *.
47783         (stdout): Likewise.
47784         (stderr): Likewise.
47785         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
47786         macro-int-constant.
47787         (EXIT_SUCCESS): Likewise.
47788         (NULL): Use macro-constant.  Require == 0.
47789         (RAND_MAX): Use macro-int-constant.
47790         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
47791         [C99-based standards] (strtof): Require function.
47792         [C99-based standards] (strtold): Likewise.
47793         [C99-based standards] (strtoll): Likewise.
47794         [C99-based standards] (strtoull): Likewise.
47795         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
47796         [ISO || ISO99 || ISO11] (limits.h): Likewise.
47797         [ISO || ISO99 || ISO11] (math.h): Likewise.
47798         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
47799         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
47800         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47802 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
47804         [BZ #14132]
47805         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
47806         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
47807         * intl/dgettext.c (DCGETTEXT): Likewise.
47808         * intl/gettext.c (DCGETTEXT): Likewise.
47809         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
47810         * posix/regex_internal.h (gettext): Likewise.
47811         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
47812         Remove declaration.
47813         * include/argz.h (__argz_count_internal)
47814         (__argz_stringify_internal): Remove declaration.
47815         (__argz_count, __argz_stringify): Declare hidden proto.
47816         * intl/dcgettext.c: Remove use of INTDEF.
47817         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
47818         * string/argz-stringify.c: Likewise.
47819         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
47820         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
47821         Declare hidden proto.
47822         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
47823         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
47824         Declare hidden proto.
47825         * include/stdio.h (__asprintf_internal): Don't declare.
47826         (__asprintf): Don't define as macro.  Declare hidden proto.
47827         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
47828         (__fsetlocking): Declare hidden proto.
47829         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
47830         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
47831         hidden proto.
47832         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
47833         (_IO_setlinebuf): Remove use of INTUSE.
47834         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
47835         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
47836         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
47837         Remove declaration.
47838         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
47839         (_IO_do_flush): Remove use of INTUSE.
47840         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
47841         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
47842         (_IO_adjust_column, _IO_least_wmarker)
47843         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
47844         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
47845         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
47846         (_IO_default_doallocate, _IO_wdefault_doallocate)
47847         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
47848         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
47849         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
47850         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
47851         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
47852         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
47853         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
47854         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
47855         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
47856         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
47857         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
47858         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
47859         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
47860         proto.
47861         (_IO_flush_all_internal, _IO_adjust_column_internal)
47862         (_IO_default_uflow_internal, _IO_default_finish_internal)
47863         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
47864         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
47865         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
47866         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
47867         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
47868         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
47869         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
47870         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
47871         (_IO_file_close_internal, _IO_file_close_it_internal)
47872         (_IO_file_underflow_internal, _IO_file_overflow_internal)
47873         (_IO_file_init_internal, _IO_file_attach_internal)
47874         (_IO_file_fopen_internal, _IO_file_read_internal)
47875         (_IO_file_sync_internal, _IO_file_seek_internal)
47876         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
47877         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
47878         (_IO_str_underflow_internal, _IO_str_overflow_internal)
47879         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
47880         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
47881         (_IO_list_all_internal, _IO_link_in_internal)
47882         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
47883         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
47884         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
47885         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
47886         (_IO_do_write_internal, _IO_padn_internal)
47887         (_IO_getline_info_internal, _IO_getline_internal)
47888         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
47889         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
47890         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
47891         (_IO_vfscanf_internal, _IO_vfprintf_internal)
47892         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
47893         (_IO_init_internal, _IO_un_link_internal): Don't declare.
47894         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
47895         with libc_hidden_ver, remove use of INTUSE.
47896         * libio/genops.c: Likewise.
47897         * libio/freopen.c: Likewise.
47898         * libio/freopen64.c: Likewise.
47899         * libio/iofclose.c: Likewise.
47900         * libio/iofdopen.c: Likewise.
47901         * libio/iofflush.c: Likewise.
47902         * libio/iofflush_u.c: Likewise.
47903         * libio/iofgets.c: Likewise.
47904         * libio/iofgets_u.c: Likewise.
47905         * libio/iofopen.c: Likewise.
47906         * libio/iofopncook.c: Likewise.
47907         * libio/iofread.c: Likewise.
47908         * libio/iofread_u.c: Likewise.
47909         * libio/ioftell.c: Likewise.
47910         * libio/iofwrite.c: Likewise.
47911         * libio/iogetline.c: Likewise.
47912         * libio/iogets.c: Likewise.
47913         * libio/iogetwline.c: Likewise.
47914         * libio/iopadn.c: Likewise.
47915         * libio/iopopen.c: Likewise.
47916         * libio/ioseekoff.c: Likewise.
47917         * libio/ioseekpos.c: Likewise.
47918         * libio/iosetbuffer.c: Likewise.
47919         * libio/iosetvbuf.c: Likewise.
47920         * libio/ioungetc.c: Likewise.
47921         * libio/ioungetwc.c: Likewise.
47922         * libio/iovdprintf.c: Likewise.
47923         * libio/iovsprintf.c: Likewise.
47924         * libio/iovsscanf.c: Likewise.
47925         * libio/memstream.c: Likewise.
47926         * libio/obprintf.c: Likewise.
47927         * libio/oldfileops.c: Likewise.
47928         * libio/oldiofclose.c: Likewise.
47929         * libio/oldiofdopen.c: Likewise.
47930         * libio/oldiofopen.c: Likewise.
47931         * libio/oldiopopen.c: Likewise.
47932         * libio/oldstdfiles.c: Likewise.
47933         * libio/putc.c: Likewise.
47934         * libio/setbuf.c: Likewise.
47935         * libio/setlinebuf.c: Likewise.
47936         * libio/stdfiles.c: Likewise.
47937         * libio/strops.c: Likewise.
47938         * libio/vasprintf.c: Likewise.
47939         * libio/vscanf.c: Likewise.
47940         * libio/vsnprintf.c: Likewise.
47941         * libio/vswprintf.c: Likewise.
47942         * libio/wfiledoalloc.c: Likewise.
47943         * libio/wfileops.c: Likewise.
47944         * libio/wgenops.c: Likewise.
47945         * libio/wmemstream.c: Likewise.
47946         * libio/wstrops.c: Likewise.
47947         * libio/__fpurge.c: Likewise.
47948         * libio/__fsetlocking.c: Likewise.
47949         * assert/assert.c: Likewise.
47950         * debug/fgets_chk.c: Likewise.
47951         * debug/fgets_u_chk.c: Likewise.
47952         * debug/fread_chk.c: Likewise.
47953         * debug/fread_u_chk.c: Likewise.
47954         * debug/gets_chk.c: Likewise.
47955         * debug/obprintf_chk.c: Likewise.
47956         * debug/vasprintf_chk.c: Likewise.
47957         * debug/vdprintf_chk.c: Likewise.
47958         * debug/vsnprintf_chk.c: Likewise.
47959         * debug/vsprintf_chk.c: Likewise.
47960         * malloc/mtrace.c: Likewise.
47961         * misc/error.c: Likewise.
47962         * misc/syslog.c: Likewise.
47963         * stdio-common/asprintf.c: Likewise.
47964         * stdio-common/fxprintf.c: Likewise.
47965         * stdio-common/getw.c: Likewise.
47966         * stdio-common/isoc99_fscanf.c: Likewise.
47967         * stdio-common/isoc99_scanf.c: Likewise.
47968         * stdio-common/isoc99_vfscanf.c: Likewise.
47969         * stdio-common/isoc99_vscanf.c: Likewise.
47970         * stdio-common/isoc99_vsscanf.c: Likewise.
47971         * stdio-common/printf-prs.c: Likewise.
47972         * stdio-common/printf_fp.c: Likewise.
47973         * stdio-common/printf_fphex.c: Likewise.
47974         * stdio-common/printf_size.c: Likewise.
47975         * stdio-common/putw.c: Likewise.
47976         * stdio-common/scanf.c: Likewise.
47977         * stdio-common/sprintf.c: Likewise.
47978         * stdio-common/tmpfile.c: Likewise.
47979         * stdio-common/vfprintf.c: Likewise.
47980         * stdio-common/vfscanf.c: Likewise.
47981         * stdlib/strfmon_l.c: Likewise.
47982         * sunrpc/openchild.c: Likewise.
47983         * sunrpc/xdr_stdio.c: Likewise.
47984         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
47985         * sysdeps/mach/hurd/tmpfile.c: Likewise.
47987 2012-05-24  Roland McGrath  <roland@hack.frob.com>
47989         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
47991         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
47992         in the third column, to generate for the shared library an IFUNC
47993         that uses _dl_vdso_vsym.
47994         * Makerules (COMPILE.c, compile-stdin.c): New variables.
47995         * Makeconfig (object-suffixes-noshared): New variable.
47997         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
47998         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
47999         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
48000         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
48002         [BZ #14132]
48003         * include/sys/time.h (__gettimeofday): Remove macro.
48004         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
48005         * time/gettimeofday.c (__gettimeofday): Remove #undef.
48006         Remove INTDEF.
48007         (__gettimeofday): Add libc_hidden_def.
48008         (gettimeofday): Add libc_hidden_weak.
48009         * sysdeps/mach/gettimeofday.c: Likewise.
48010         * sysdeps/posix/gettimeofday.c: Likewise.
48011         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
48012         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
48013         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
48014         (__gettimeofday_internal): Remove strong_alias.
48015         (__gettimeofday): Add libc_hidden_def.
48016         (gettimeofday): Add libc_hidden_weak.
48017         * sysdeps/unix/syscalls.list (gettimeofday):
48018         Remove __gettimeofday_internal alias.
48020 2012-05-24  Daniel Jacobowitz  <drow@false.org>
48021             H.J. Lu  <hongjiu.lu@intel.com>
48023         [BZ #12495]
48024         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
48025         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
48026         (largebin_index_32_big): New.
48027         (largebin_index): Use it for 16-byte alignment.
48028         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
48029         correction with front_misalign.
48031 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
48033         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
48034         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
48035         Likewise.
48036         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
48037         Likewise.
48038         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
48039         Likewise.
48040         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
48041         Likewise.
48042         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
48043         Likewise.
48044         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
48045         Likewise.
48046         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
48047         Likewise.
48048         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
48049         Likewise.
48050         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
48051         Likewise.
48052         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
48053         Likewise.
48054         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
48055         Likewise.
48056         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
48057         Likewise.
48059         * scripts/data/c++-types-x32-linux-gnu.data: New file.
48060         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
48062 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48064         [BZ #10846]
48065         [BZ #14036]
48066         * math/libm-test.inc (exp_test): Add test from bug 14036.
48067         (pow_test): Add test from bug 10846.
48069         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
48070         and other flags.
48071         (special_function): Do not include flags in test name.
48072         (parse_args): Likewise.
48073         * sysdeps/i386/fpu/libm-test-ulps: Update.
48074         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48075         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48076         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48077         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48079         * math/gen-libm-test.pl (%beautify): Add entries for underflow
48080         exceptions.
48081         * math/libm-test.inc ("Philosophy"): Update comment about
48082         exception testing.
48083         (UNDERFLOW_EXCEPTION): New macro.
48084         (UNDERFLOW_EXCEPTION_OK): Likewise.
48085         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
48086         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
48087         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
48088         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
48089         (INVALID_EXCEPTION_OK): Update value.
48090         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
48091         (OVERFLOW_EXCEPTION_OK): Likewise.
48092         (IGNORE_ZERO_INF_SIGN): Likewise.
48093         (test_exceptions): Handle underflow exceptions.
48094         (acos_test): Update for underflow exception expectations.
48095         (cexp_test): Likewise.
48096         (clog_test): Likewise.
48097         (clog10_test): Likewise.
48098         (csqrt_test): Likewise.
48099         (ctan_test): Likewise.
48100         (ctanh_test): Likewise.
48101         (exp_test): Likewise.
48102         (exp10_test): Likewise.
48103         (exp2_test): Likewise.
48104         (expm1_test): Likewise.
48105         (fma_test): Likewise.
48106         (j0_test): Likewise.
48107         (jn_test): Likewise.
48108         (nexttoward_test): Likewise.
48109         (pow_test): Likewise.
48110         (scalbn_test): Likewise.
48111         (scalbln_test): Likewise.
48112         (tan_test): Likewise.
48113         (y1_test): Likewise.
48114         * sysdeps/i386/fpu/libm-test-ulps: Update.
48115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48117 2012-05-23  David S. Miller  <davem@davemloft.net>
48119         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
48120         (__libc_sigaction): Remove unused local variables.
48122 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
48124         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
48126 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
48128         mktime: avoid signed integer overflow
48129         * time/mktime.c (__mktime_internal): Do not mishandle the case
48130         where diff == INT_MIN.
48132         mktime: simplify computation of average
48133         * time/mktime.c (ranged_convert): Use new time_t_avg function
48134         instead of rolling our own (probably-slower) code.
48136         mktime: do not assume signed right shift propagates sign bit
48137         * time/mktime.c (isdst_differ): New static function.
48138         (__mktime_internal): No need to normalize tm_isdst now.
48139         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
48140         tm_isdst values.
48142         mktime: merge another wrapv change from gnulib
48143         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
48144         from some compilers.
48146         mktime: remove incorrect attempt at unusual arithmetics
48147         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
48148         The code didn't really work on such machines anyway.
48149         (TYPE_MINIMUM): Assume two's complement.
48150         (twos_complement_arithmetic): Verify that long_int and time_t
48151         are two's complement (or unsigned, in the latter case).
48153         mktime: check signed shifts on long_int and time_t, too
48154         * time/mktime.c (SHR): Check that shifts work as desired
48155         on the types long_int and time_t too, as SHR is used on
48156         such types.
48158         mktime: do not assume 'long' is wide enough
48159         * time/mktime.c (verify): Move decl up.
48160         (long_int): New type.
48161         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
48162         to remove assumption in the code that 'long' is wide enough to
48163         store year values.  This assumption is not true on x32 and on
48164         some non-glibc platforms.
48166         mktime: merge wrapv change from gnulib
48167         * time/mktime.c (WRAPV): New macro.
48168         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
48169         (guess_time_tm, __mktime_internal): Do not assume that signed
48170         integer overflow wraps around; modern compilers generate code
48171         where this assumption is no longer valid.
48173 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
48175         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
48176         Replace "jmp L(pseudo_end)" with "ret".
48177         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
48178         Likewise.
48180 2012-05-23  Andreas Jaeger  <aj@suse.de>
48182         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
48183         * sysdeps/unix/sysv/linux/poll.c: Remove file.
48185 2012-05-23  Andreas Jaeger  <aj@suse.de>
48186             Maximilian Attems  <max@stro.at>
48188         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
48189         New macros.
48191 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
48193         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
48194         code so that pseudo_end is just ret and the stack pointer is
48195         correct also for static library in error case.
48197 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
48199         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
48200         move to syscalls.list.
48201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
48202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
48203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
48204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
48206         * manual/install.texi (Running make install): Do not mention Linux
48207         kernel version for which pt_chown is not needed.
48208         (Linux): Do not mention problems with nscd with 2.0 kernels.
48209         * INSTALL: Regenerated.
48211 2012-05-23  Andreas Jaeger  <aj@suse.de>
48213         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
48214         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
48215         macro.
48216         * sysdeps/unix/sysv/linux/s390/bits/mman.h
48217         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48218         * sysdeps/unix/sysv/linux/sh/bits/mman.h
48219         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48220         * sysdeps/unix/sysv/linux/i386/bits/mman.h
48221         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48222         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
48223         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48224         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
48225         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48226         * sysdeps/unix/sysv/linux/bits/in.h
48227         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
48229 2012-05-22  Roland McGrath  <roland@hack.frob.com>
48231         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
48232         (PREPARE_VERSION): Just use assert instead, it will be elided
48233         under [NDEBUG] anyway.
48235 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48237         * sysdeps/unix/sysv/linux/Makefile: Include
48238         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
48239         (sysdep_routines): Remove sysctl.
48240         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
48241         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
48242         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
48243         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
48244         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
48246 2012-05-22  Andreas Jaeger  <aj@suse.de>
48248         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
48249         that pseudo_end is just ret and the stack pointer is correct also
48250         for static library in error case.
48252 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
48254         [BZ #14122]
48255         * nss/nsswitch.c (defconfig_entries): New variable.
48256         (__nss_database_lookup): Don't leak defconfig entries.
48257         (nss_parse_service_list): Don't leak on error paths.
48258         (free_database_entries): New function.
48259         (free_defconfig): New function.
48260         (free_mem): Move common code to free_database_entries.
48262 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48264         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
48265         Add arch_prctl.
48266         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
48268         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
48269         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
48270         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
48271         New macro.
48272         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
48273         (INTERNAL_SYSCALL_TYPES): Likewise.
48274         (LOAD_ARGS_TYPES_[1-6]): Likewise.
48275         (LOAD_REGS_TYPES_[1-6]): Likewise.
48276         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
48277         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
48279 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48281         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
48282         copysignl for GLIBC_2_0.
48283         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
48284         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
48285         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
48286         logbl for GLIBC_2_0.
48287         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
48288         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
48290 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48292         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
48293         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
48295         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
48296         Use "neg %eax".
48298         * time/mktime.c: Update copyright years.
48300 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
48302         mktime: merge comment-quoting-style change from gnulib
48303         * time/mktime.c: Quote 'like this' in comments.
48304         The GNU coding standards suggest that we no longer quote `like this',
48305         as "`" and "'" are typically rendered asymmetrically nowadays.
48306         The typical gnulib style is to quote 'like this' when quoting
48307         code, and "like this" when quoting English.
48309         * time/mktime.c (compile-command): Add "-I.".
48311         mktime: merge mktime-internal.h change from gnulib
48312         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
48314         mktime: merge time_r change from gnulib
48315         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
48317         mktime: merge DEBUG change from gnulib
48318         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
48319         case system <time.h> has a #define.
48321         mktime: merge <sys/types.h> change from gnulib
48322         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
48323         since <time.t> is now guaranteed to define time_t.
48325         mktime: merge HAVE_CONFIG_H change from gnulib
48326         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
48328 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48330         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
48331         Use "neg %eax".
48333         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
48334         __rlim_t cast.
48335         (struct rusage): Use anonymous union to pad each field to
48336         __syscall_slong_t.
48338 2012-05-21  David S. Miller  <davem@davemloft.net>
48340         * Makefules (o-iterator): Remove .s cases.
48341         (compile-command.s): Delete.
48342         (COMPILE.s): Delete.
48343         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
48345 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
48347         * configure.in (libc_cv_predef_stack_protector): Only consider
48348         "foobar" and "__stack_chk_fail" lines in libc_undefs.
48349         * configure: Regenerated.
48351 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
48353         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
48354         New macro.  Use R*LP on int and pointer.
48355         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
48356         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
48357         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
48358         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
48360         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
48361         [__WORDSIZE_TIME64_COMPAT32] instead of
48362         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
48363         (struct utmp): Likewise.
48364         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
48365         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
48366         Renamed to ...
48367         (__WORDSIZE_TIME64_COMPAT32): This.
48368         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
48369         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
48370         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
48371         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
48372         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
48373         (__WORDSIZE_TIME64_COMPAT32): New macro.
48375 2012-05-21  Andreas Jaeger  <aj@suse.de>
48377         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
48378         only if [SHARED]. Add prototype for __wcschr_ia32.
48380 2012-05-21  Roland McGrath  <roland@hack.frob.com>
48382         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
48383         of %rbp unmolested in the jmp_buf while mangling the low bits.
48384         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
48385         unmolested high bits of %rbp while demangling the low bits.
48386         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
48388 2012-05-21  Andreas Jaeger  <aj@suse.de>
48390         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
48391         * sunrpc/svc_simple.c: Use it for registerrpc.
48392         * sunrpc/xcrypt.c: Use it for passwd2des.
48394         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
48396 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
48398         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
48399         Don't define if [__SYSCALL_WORDSIZE != 32].
48400         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
48401         New macro.
48403 2012-05-21  Bruno Haible  <bruno@clisp.org>
48404             Andreas Jaeger  <aj@suse.de>
48406         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
48407         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
48408         inptr and inend for must_buffer_ch.
48409         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
48410         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
48411         * stdio-common/Makefile (tests): Remove bug15.
48412         (bug15-ENV): Remove macro.
48413         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
48414         anymore.
48416 2012-05-19  Andreas Jaeger  <aj@suse.de>
48417             Roland McGrath  <roland@hack.frob.com>
48419         * manual/contrib.texi: Completely rewritten. It contains now an
48420         alphabetical list of contributors and their contributions.
48422 2012-05-21  Richard Henderson  <rth@twiddle.net>
48424         * misc/getauxval.c (__getauxval): Use unsigned long int.
48425         * misc/sys/auxv.h: Include <sys/cdefs.h>.
48426         (getauxval): Use unsigned long int.
48428 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
48430         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
48432 2012-05-21  Roland McGrath  <roland@hack.frob.com>
48434         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
48435         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
48436         __alignof__ (long double).
48438 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48440         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48442 2012-05-20  Richard Henderson  <rth@twiddle.net>
48444         * misc/getauxval.c: New file.
48445         * misc/sys/auxv.h: New file.
48446         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
48447         (routines): Add getauxval.
48448         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
48449         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
48450         * elf/dl-sysdep.c (_dl_auxv): Remove.
48451         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
48452         * elf/dl-support.c (_dl_auxv): New variable.
48453         (_dl_aux_init): Initialize it.
48454         * manual/startup.texi (Auxiliary Vector): New node.
48455         * sysdeps/generic/bits/hwcap.h: New file.
48456         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
48457         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
48458         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
48459         * sysdeps/sparc/sysdep.h: ... here.  Include it.
48460         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
48461         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
48462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48463         Update.
48464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
48465         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
48466         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
48467         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
48468         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
48469         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
48470         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
48471         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
48473 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48475         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48477 2012-05-19  David S. Miller  <davem@davemloft.net>
48479         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48481 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
48483         [BZ #14123]
48484         * math/s_ccosh.c: Include <float.h>
48485         (__ccosh): Avoid internal overflow calculating sinh and cosh
48486         values before multiplying by sin and cos values.
48487         * math/s_ccoshf.c: Likewise.
48488         * math/s_ccoshl.c: Likewise.
48489         * math/s_csin.c: Likewise.
48490         * math/s_csinf.c: Likewise.
48491         * math/s_csinl.c: Likewise.
48492         * math/s_csinh.c: Likewise.
48493         * math/s_csinhf.c: Likewise.
48494         * math/s_csinhl.c: Likewise.
48495         * math/libm-test.inc (ccos_test): Add more tests.
48496         (ccosh_test): Likewise.
48497         (csin_test): Likewise.
48498         (csinh_test): Likewise.
48499         * sysdeps/i386/fpu/libm-test-ulps: Update.
48500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48502 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
48504         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
48505         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
48507         * sysdeps/x86_64/x32/_itoa.h: Add comment.
48509 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
48511         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
48512         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
48513         * sysdeps/powerpc/soft-fp/Versions: Likewise.
48514         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
48515         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
48516         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
48517         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
48518         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
48519         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
48520         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
48521         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
48522         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
48523         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
48524         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
48525         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
48526         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
48527         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
48528         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
48529         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
48530         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
48531         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
48532         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
48533         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
48534         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
48535         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
48536         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
48537         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
48538         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
48539         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
48540         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
48541         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
48543 2012-05-18  Andreas Jaeger  <aj@suse.de>
48545         * csu/.gitignore: Delete.
48547 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
48549         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
48550         (timex): Use __syscall_slong_t.
48552 2012-05-18  Andreas Jaeger  <aj@suse.de>
48553             Carlos O'Donell  <carlos_odonell@mentor.com>
48555         * manual/install.texi (Configuring and compiling): Update
48556         description about files modified in the source directory.
48557         * INSTALL: Regenerated.
48559 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
48561         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
48562         value.  Use "or" to set return value to -1.
48563         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
48564         negate return value.
48566 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48568         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
48569         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
48570         failure if the compiler has Graphite support disabled.
48571         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
48572         Likewise.
48573         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
48574         (CFLAGS-memmove.c): Likewise.
48575         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
48576         Likewise.
48578 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
48580         * sysdeps/x86_64/x32/_itoa.h: New file.
48582         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
48583         getdents system call only if kernel and user dirents have the
48584         same d_ino and d_off.
48586         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
48587         LLONG_MAX != LONG_MAX.
48588         (_itoa_word): Use _ITOA_WORD_TYPE on value.
48589         (_fitoa_word): Likewise.
48591         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
48592         years.
48593         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
48594         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
48595         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
48597         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
48598         include <bits/wordsize.h>.  Check __x86_64__ instead of
48599         __WORDSIZE.
48600         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
48601         if __x86_64__ is defined.  Use anonymous union on fpstate.
48603         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
48604         anonymous union.
48606 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
48608         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
48609         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
48610         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
48611         Refer to _rtld_local_ro instead of _rtld_global_ro.
48612         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
48613         Likewise.
48614         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
48615         Likewise.
48616         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
48617         Likewise.
48618         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
48619         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
48620         of _rtld_global, and rtld_progname instead of _dl_argv[0].
48622         * sysdeps/powerpc/powerpc32/dl-machine.c
48623         (__elf_machine_runtime_setup) [PROF]: Don't reference
48624         _dl_prof_resolve.
48626 2012-05-18  Andreas Jaeger  <aj@suse.de>
48628         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
48629         function only available for GCCs before 3.4 since GCC 3.4
48630         introduced a builtin.
48631         (lrint): Likewise.
48632         (llrintf): Likewise.
48633         (llrint): Likewise.
48634         (fmaxf): Likewise.
48635         (fmax): Likewise.
48636         (fminf): Likewise.
48637         (fmin): Likewise.
48638         (rint): Likewise.
48639         (rintf): Likewise.
48640         (nearbyint): Likewise.
48641         (nearbyintf): Likewise.
48642         (ceil): Likewise.
48643         (ceilf): Likewise.
48644         (floor): Likewise.
48645         (floorf): Likewise.
48647 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48649         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
48650         on both fields and cast pointer to __syscall_ulong_t.
48652         * bits/types.h (__fsword_t): New type.
48653         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
48654         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
48655         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48656         (__FSWORD_T_TYPE): Likewise.
48657         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48658         (__FSWORD_T_TYPE): Likewise.
48659         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48660         (__FSWORD_T_TYPE): Likewise.
48661         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
48662         (__FSWORD_T_TYPE): Likewise.
48663         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
48664         __SWORD_TYPE with __fsword_t.
48665         (statfs64): Likewise.
48667 2012-05-17  David S. Miller  <davem@davemloft.net>
48669         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
48671 2012-05-17  Andreas Jaeger  <aj@suse.de>
48673         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
48674         warning.
48676 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48678         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
48680 2012-05-17  Andreas Jaeger  <aj@suse.de>
48682         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
48683         when it is used.
48685 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
48687         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
48689 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48691         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
48692         * sysdeps/x86_64/tst-mallocalign1.c: New file.
48694 2012-05-17  Andreas Jaeger  <aj@suse.de>
48695             Carlos O'Donell  <carlos_odonell@mentor.com>
48697         [BZ #14059]
48698         * sysdeps/x86_64/multiarch/init-arch.h
48699         (bit_YMM_Usable): Rename to...
48700         (bit_AVX_Usable): ... this.
48701         (bit_FMA4_Usable): New macro.
48702         (bit_XMM_state): New macro.
48703         (bit_YMM_state): New macro.
48704         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
48705         [__ASSEMBLER__] (index_AVX_Usable): ... this.
48706         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
48707         (CPUID_OSXSAVE): New macro.
48708         (CPUID_AVX): New macro.
48709         (CPUID_FMA4): New macro.
48710         (index_YMM_Usable): Rename to...
48711         (index_AVX_Usable): ... this.
48712         (HAS_AVX): Use HAS_ARCH_FEATURE.
48713         (HAS_FMA4): Likewise.
48714         (HAS_YMM_USABLE): Remove.
48715         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48716         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
48717         are present.
48718         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
48719         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
48720         * sysdeps/x86_64/multiarch/Makefile: Likewise.
48721         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
48722         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
48724 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
48726         * math/libm-test.c: Support platforms without multiple rounding modes.
48727         * math/bug-nextafter.c: Support platforms without FP exceptions.
48728         * math/bug-nexttoward.c: Likewise.
48729         * math/test-fenv.c: Likewise.
48730         * math/test-misc.c: Likewise.
48731         * stdlib/bug-getcontext.c: Likewise.
48733 2012-05-17  Andreas Jaeger  <aj@suse.de>
48735         * manual/examples/search.c (critter_cmp): Change signature to
48736         avoid warnings.
48737         * manual/string.texi (Collation Functions): Likewise.
48739 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48741         * bits/types.h: Fold copyright years.
48742         * bits/typesizes.h: Likewise.
48743         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
48744         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
48745         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
48746         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
48747         * time/time.h: Likewise.
48749 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
48751         [BZ #208]
48752         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
48753         in instead of returning them.  Return void.
48754         (__libc_mallinfo): Accumulate over all arenas.
48755         (__malloc_stats): Adjust for change in int_mallinfo interface.
48757 2012-05-16  Roland McGrath  <roland@hack.frob.com>
48759         [BZ #10375]
48760         * configure.in (NM): Add AC_CHECK_TOOL for it.
48761         (libc_extra_cflags): New substituted variable.
48762         Check for -fstack-protector being used implicitly.
48763         * configure: Regenerated.
48764         * config.make.in (config-extra-cflags): New variable,
48765         gets @libc_extra_cflags@.
48766         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
48768         [BZ #10375]
48769         * configure.in: Check for _FORTIFY_SOURCE being predefined.
48770         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
48771         * configure: Regenerated.
48772         * config.make.in (CPPUNDEFS): New substituted variable.
48773         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
48774         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
48775         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
48777 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48779         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
48780         (mq_attr): Use __syscall_slong_t.
48782 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48784         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
48785         Check __x86_64__ instead of __WORDSIZE.
48786         (_STAT_VER_LINUX): Likewise.
48787         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
48788         __syscall_ulong_t and __syscall_slong_t.
48789         (stat64): Likewise.
48791 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48793         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
48795 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48797         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
48799 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48801         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
48802         __syscall_ulong_t.
48804         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
48805         include <bits/wordsize.h>.  Check __x86_64__ instead of
48806         __WORDSIZE.
48807         (greg_t): Use "__extension__ long long int" if __x86_64__ is
48808         defined.
48809         (mcontext_t): Replace "unsigned long" with "unsigned long long".
48811         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
48812         include <bits/wordsize.h>.  Check __x86_64__ instead of
48813         __WORDSIZE.
48814         (user_regs_struct): Use "__extension__ unsigned long long"
48815         instead of "unsigned long" if __x86_64__ is defined.
48816         (user): Likewise.  Pad after pointer field if __ILP32__ is
48817         defined.
48819 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
48821         * configure.in (makeinfo): Require version 4.5 or later.  Allow
48822         versions 5 to 9.
48823         * configure: Regenerated.
48824         * manual/install.texi (texinfo): Increase version requirement to
48825         4.5 or later.
48826         * INSTALL: Regenerated.
48828         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
48830 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48832         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
48834         * sysdeps/x86_64/x32/ffs.c: New file.
48836         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
48837         __syscall_ulong_t.
48838         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
48839         defined.  Use __syscall_ulong_t.
48840         (shminfo): Use __syscall_ulong_t.
48841         (shm_info): Likewise.
48843         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
48844         __syscall_ulong_t.
48846         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
48847         <bits/wordsize.h>.
48848         (msgqnum_t): Use __syscall_ulong_t.
48849         (msglen_t): Likewise.
48850         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
48851         __syscall_ulong_t.
48853         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
48854         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
48856         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
48858         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
48859         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
48861         * sysvipc/sys/msg.h (msgbuf): Replace long int with
48862         __syscall_slong_t.
48864         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
48865         include <bits/wordsize.h>.  Check __x86_64__ instead of
48866         __WORDSIZE.
48868         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
48869         "unsigned long long int" if __x86_64__ is defined.
48870         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
48872         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
48873         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
48874         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
48876         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
48877         <stdint.h>.
48878         (GET_PC): Cast to uintptr_t first.
48879         (GET_FRAME): Likewise.
48880         (GET_STACK): Likewise.
48882         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
48883         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
48884         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
48885         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
48886         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
48887         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
48888         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
48889         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
48890         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
48891         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
48892         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
48893         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
48894         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
48895         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
48896         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
48897         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
48898         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
48899         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
48900         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
48901         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
48902         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
48903         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
48904         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
48905         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
48906         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
48907         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
48908         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
48909         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
48910         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
48912 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
48914         * Makerules (+depfiles): Also collect depfiles from .oS in
48915         $(extra-objs).
48916         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
48917         .oS, $(libnldbl-routines)).
48919         * Makerules (native-compile-mkdep-flags): Define.
48920         * sunrpc/Makefile (extra-objs): Add $(addprefix
48921         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
48922         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
48923         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
48924         calling $(make-target-directory).
48926 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48928         * bits/types.h (__snseconds_t): Removed.
48929         * time/time.h (struct timespec): Replace __snseconds_t with
48930         __syscall_slong_t.
48931         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
48932         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
48933         Likewise.
48934         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48935         (__SNSECONDS_T_TYPE): Likewise.
48936         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48937         (__SNSECONDS_T_TYPE): Likewise.
48938         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48939         (__SNSECONDS_T_TYPE): Likewise.
48941 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48943         * sysdeps/mach/hurd/bits/typesizes.h
48944         (__SYSCALL_SLONG_TYPE): New macro.
48945         (__SYSCALL_ULONG_TYPE): Likewise.
48947 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48949         * bits/types.h (__syscall_slong_t): New type.
48950         (__syscall_ulong_t): Likewise.
48952         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
48953         (__SYSCALL_ULONG_TYPE): Likewise.
48954         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48955         (__SYSCALL_SLONG_TYPE): Likewise.
48956         (__SYSCALL_ULONG_TYPE): Likewise.
48957         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48958         (__SYSCALL_SLONG_TYPE): Likewise.
48959         (__SYSCALL_ULONG_TYPE): Likewise.
48960         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48961         (__SYSCALL_SLONG_TYPE): Likewise.
48962         (__SYSCALL_ULONG_TYPE): Likewise.
48964 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48966         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
48967         Add sigaltstack-offsets.sym.
48968         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
48969         <sigaltstack-offsets.h>.
48970         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
48971         longjmp_msg pointer.
48972         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
48973         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
48974         signal stack.
48975         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
48977 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
48979         * elf/stackguard-macros.h: Remove file.
48980         * sysdeps/generic/stackguard-macros.h: New file.
48981         * sysdeps/i386/stackguard-macros.h: Likewise.
48982         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
48983         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
48984         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
48985         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
48986         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
48987         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
48988         * sysdeps/x86_64/stackguard-macros.h: Likewise.
48989         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
48990         <elf/stackguard-macros.h>.
48992         [BZ #14109]
48993         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
48994         __aligned__ in attribute.
48995         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
48996         (gregset_t): Likewise.
48998 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49000         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
49001         * sysdeps/x86_64/64/Implies-after: Here.  New file.
49002         * sysdeps/x86_64/x32/Implies-after: New file.
49004 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49006         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
49007         and access return value for _dl_profile_fixup.  Use R10_LP to
49008         load frame size.
49010 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49012         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
49014 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49016         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
49017         * sysdeps/x86_64/x32/sysdep.h: New file.
49019 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49021         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
49022         * sysdeps/x86_64/setjmp.S: Likewise.
49024 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49026         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
49027         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
49028         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
49029         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
49030         remove unused global constant.
49032 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
49034         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
49035         include of <not-cancel.h>.
49037 2012-05-15  Roland McGrath  <roland@hack.frob.com>
49039         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
49041 2012-05-15  Jeff Law  <law@redhat.com>
49042             Andreas Jaeger  <aj@suse.de>
49044         [BZ #13594]
49045         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
49046         out from...
49047         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
49048         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
49049         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
49050         code changing __hst_map_handle.map.
49052 2012-05-15  Roland McGrath  <roland@hack.frob.com>
49054         * configure.in (sysnames): Look for Implies-before and Implies-after
49055         files.
49056         * configure: Regenerated.
49058 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49060         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
49061         8-byte data alignment with LP_SIZE alignment.
49063 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49065         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
49066         into R10_LP.
49068 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49070         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
49072 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49074         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
49075         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
49076         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
49077         Likewise.
49078         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
49080 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49082         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
49083         (stackinfo_sub_sp): Likewise.
49085 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49087         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
49088         RAX_LP.
49090 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49092         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
49093         into R*_LP.
49095 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49097         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
49098         sizes into R*_LP.
49100 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49102         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
49104 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49106         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
49107         into R11_LP and load __x86_64_shared_cache_size_half into
49108         R8_LP.
49110 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49112         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
49113         R8_LP.
49115 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49117         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
49118         logb for POWER7.
49119         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
49120         logbf for POWER7.
49121         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
49122         logbl for POWER7.
49123         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
49124         powerpc32/power7/fpu/s_logb.c via #include.
49125         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
49126         powerpc32/power7/fpu/s_logbf.c via #include.
49127         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
49128         powerpc32/power7/fpu/s_logbl.c via #include.
49130 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
49132         * README.libm: Remove file.
49134 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49136         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
49137         count for x32.  Use R*_LP and omit operand-size suffix.
49139 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49141         * shlib-versions: Move x86_64-.*-linux.* entries to ...
49142         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
49143         * sysdeps/x86_64/x32/shlib-versions: New file.
49145 2012-05-14  Roland McGrath  <roland@hack.frob.com>
49147         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
49148         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
49149         Use _dl_fatal_printf instead.
49151 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
49153         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
49154         set if not set by the user.  Do not allow for being unset.
49155         * sysdeps/unix/sysv/linux/configure: Regenerated.
49157 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49159         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
49160         the `q' suffix from lea and replace .quad with ASM_ADDR.
49162 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49164         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
49165         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
49166         instead of $17.
49167         (PTR_DEMANGLE): Likewise.
49169 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49171         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
49172         (LP_OP): Likewise.
49173         (ASM_ADDR): Likewise.
49174         (RAX_LP): Likewise.
49175         (RBP_LP): Likewise.
49176         (RBX_LP): Likewise.
49177         (RCX_LP): Likewise.
49178         (RDI_LP): Likewise.
49179         (RSI_LP): Likewise.
49180         (RSP_LP): Likewise.
49181         (R8_LP): Likewise.
49182         (R9_LP): Likewise.
49183         (R10_LP): Likewise.
49184         (R10_LP): Likewise.
49185         (R11_LP): Likewise.
49186         (R12_LP): Likewise.
49187         (R13_LP): Likewise.
49188         (R14_LP): Likewise.
49189         (R15_LP): Likewise.
49191 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49193         * sysdeps/x86_64/x32/dl-machine.h: New file.
49195 2012-05-14  Andreas Jaeger  <aj@suse.de>
49197         * manual/Makefile (subdir): Remove export of subdir.
49198         (all): Remove target.
49199         (.PHONY): Remove all from list.
49200         (mkinstalldirs): Remove.
49201         (.PHONY): Remove installdirs from list.
49202         ($(inst_infodir)/libc.info): Use make-target-directory.
49203         (installdirs): Remove.
49204         (subdir_%): Remove.
49205         (glibc-targets): Remove.
49206         (lib): Remove.
49207         (stubs): Remove.
49208         ($(objpfx)stubs ../po/manual.pot): Remove.
49209         ($(objpfx)stamp%): Remove.
49210         (make-target-directory): Remove.
49211         (subdir_install): Remove.
49212         (routines): Remove.
49213         (aux): Remove.
49214         (sources): Remove.
49215         (objects): Remove.
49216         (headers): Remove.
49218         [BZ #13750]
49219         * manual/.gitignore: Remove, it's not needed anymore.
49220         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
49221         all files in it.
49222         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
49223         directory.
49224         (texis): Renamed to $(objpfx)texis.
49225         (texis-path): New, contains path to generated files.
49226         (chapters.%): Use texis-path for complete path, add extra argument
49227         libc-texinfo.sh.
49228         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
49229         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
49230         (summary,texi, stamp-summary): Use complete path of
49231         files. Generate files in build dir.
49232         (dir-add.texi): Build in build dir.
49233         (libm-err.texi,stamp-libm-err): Likewise.
49234         (version.texi, stamp-version): Likewise.
49235         (.%c.texi): Likewise.
49236         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
49237         (mostlyclean): Remove target.
49238         (realclean): Remove target.
49239         (generated): Add new variable with contents from mostlyclean and
49240         realclean, remove entries duplicated in common-mostlyclean, add
49241         stamp-libm-err and stamp-version.
49242         (generated-dirs): Add libc directory.
49243         ($(inst_infodir)/libc.info): Install files from build dir.
49245         * manual/install.texi (Configuring and compiling): Adjust since
49246         the info files are not part of the tar ball anymore.
49248 2012-05-14  Andreas Jaeger  <aj@suse.de>
49250         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
49251         variable.
49253 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
49255         [BZ #13717]
49256         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
49257         to 2.2.0 where earlier.
49258         * sysdeps/unix/sysv/linux/configure: Regenerated.
49259         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
49260         Remove conditional code.
49261         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
49262         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
49263         Remove conditional code.
49264         [!__NR_lchown]: Likewise.
49265         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49266         [__NR_lchown]: Likewise.
49267         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
49268         comment referencing __ASSUME_LCHOWN_SYSCALL.
49269         * sysdeps/unix/sysv/linux/i386/sigaction.c
49270         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49271         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49272         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
49273         Remove conditional code.
49274         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
49275         (__protocol_available): Remove #if 0 code.
49276         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
49277         conditional code.
49278         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
49279         * sysdeps/unix/sysv/linux/kernel-features.h
49280         (__ASSUME_GETCWD_SYSCALL): Don't define.
49281         (__ASSUME_REALTIME_SIGNALS): Likewise.
49282         (__ASSUME_PREAD_SYSCALL): Likewise.
49283         (__ASSUME_PWRITE_SYSCALL): Likewise.
49284         (__ASSUME_POLL_SYSCALL): Likewise.
49285         (__ASSUME_LCHOWN_SYSCALL): Likewise.
49286         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
49287         non-SPARC.
49288         (__ASSUME_SIOCGIFNAME): Don't define.
49289         (__ASSUME_MSG_NOSIGNAL): Likewise.
49290         (__ASSUME_SENDFILE): Define unconditionally.
49291         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
49292         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
49293         conditional code.
49294         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
49295         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
49296         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
49297         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49298         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
49299         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
49300         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
49302         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49303         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
49305         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49306         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
49308         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49309         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
49311         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49312         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
49314         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49315         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
49317         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49318         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
49320         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49321         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
49323         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49324         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49325         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
49326         Remove conditional code.
49327         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49328         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
49329         Remove conditional code.
49330         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49331         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
49332         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
49333         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
49334         Remove conditional code.
49335         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49336         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
49337         Remove conditional code.
49338         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49339         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
49340         Remove conditional code.
49341         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49342         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
49343         Remove conditional code.
49344         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49345         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
49346         Remove conditional code.
49347         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49348         * sysdeps/unix/sysv/linux/sh/pwrite64.c
49349         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49350         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49351         * sysdeps/unix/sysv/linux/sigaction.c
49352         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49353         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49354         * sysdeps/unix/sysv/linux/sigpending.c
49355         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49356         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49357         * sysdeps/unix/sysv/linux/sigprocmask.c
49358         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49359         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49360         * sysdeps/unix/sysv/linux/sigsuspend.c
49361         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49362         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49363         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
49364         (__libc_missing_rt_sigs): Remove.
49365         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
49366         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
49367         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
49368         Remove conditional code.
49369         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
49370         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
49371         return 1.
49372         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
49373         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
49374         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
49375         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
49377 2012-05-14  Andreas Jaeger  <aj@suse.de>
49379         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
49380         it's not used in glibc.
49381         (__coshm1): Likewise.
49382         (__acosh1p): Likewise.
49383         (__sgn): Likewise.
49385         * manual/string.texi (Copying and Concatenation): Add missing
49386         variable in concat example.
49387         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
49389 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49391         [BZ #14103]
49392         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
49393         __builtin_clzl with __builtin_clzll.
49395 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49397         [BZ #14104]
49398         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
49399         libc_freeres_ptr.
49401 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49403         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
49404         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
49405         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
49406         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
49408 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
49410         * NEWS: Update ia64 info.
49412 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
49414         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
49415         used as bcopy.
49417 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
49419         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
49420         * sysdeps/unix/syscalls.list (dup3): Likewise.
49421         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
49422         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
49424 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
49426         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
49427         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
49429 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
49431         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
49432         thread pointer.
49433         (TLS_IE): Use mov/add instead of movq/addq to load thread
49434         pointer.
49435         (TLS_GD_PREFIX): New.
49436         (TLS_GD): Use it.
49438 2012-05-11  David S. Miller  <davem@davemloft.net>
49440         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
49441         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
49442         (_FPU_SETCW): Likewise.
49444 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49446         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
49447         is 32-byte aligned.
49449 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
49451         [BZ #11837]
49452         * iconvdata/gb18030.c: Update tables.
49453         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
49454         characters specially.
49455         (BODY for TO_LOOP): Add encoding of missing ranges.
49457 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
49459         [BZ #13673]
49460         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
49461         * sysdeps/mach/hurd/dup3.c: Likewise.
49462         * sysdeps/mach/hurd/readlinkat.c: Likewise.
49463         * sysdeps/powerpc/memmove.c:: Likewise.
49465 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49467         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
49468         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
49470 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49472         * elf/elf.h (R_X86_64_RELATIVE64): New.
49473         (R_X86_64_NUM): Updated.
49474         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
49475         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
49476         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
49477         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
49478         tst-quad1pie tst-quad2pie
49479         (modules-names): Add tst-quadmod1 tst-quadmod2.
49480         ($(objpfx)tst-quad1): New dependency.
49481         ($(objpfx)tst-quad2): Likewise.
49482         ($(objpfx)tst-quad1pie): Likewise.
49483         ($(objpfx)tst-quad2pie): Likewise.
49484         * sysdeps/x86_64/tst-quad1.c: New file.
49485         * sysdeps/x86_64/tst-quad1pie.c: New file.
49486         * sysdeps/x86_64/tst-quad2.c: Likewise.
49487         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
49488         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
49489         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
49490         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
49491         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
49493 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49495         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
49496         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
49497         * streams/stropts.h (t_scalar_t): Define type.
49499         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
49500         (_PATH_PRESERVE): Set to "/var/lib".
49501         (_PATH_RWHODIR): Set to "/var/spool/rwho".
49503         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
49504         instead of int.
49506         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
49507         if __dir_mkfile succeeded.
49509         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
49510         checking for _hurd_dtablesize.  Unlock it right after having
49511         finished _hurd_dtable allocation.
49513 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49515         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
49516         * sysdeps/mach/hurd/configure: Regenerated.
49517         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
49518         special-casing to...
49519         * sysdeps/gnu/configure.in: ... this new file.
49520         * sysdeps/unix/sysv/linux/configure: Regenerated.
49521         * sysdeps/gnu/configure: New generated file.
49523         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
49524         for Linux: use nsec instead of usec, as well as:
49525         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
49526         members of type struct timespec.
49527         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
49528         New macros.
49529         (struct stat64): Likewise.
49530         (_STATBUF_ST_NSEC): New macro.
49531         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
49533         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
49534         __strtoul_internal rather than strtoul.
49536 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49538         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
49539         and reject them.
49541 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49543         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
49544         which preserves existing values.
49545         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
49547 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49549         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
49550         TIMEOUT values.  Return EINVAL for NFDS values either negative or
49551         greater than FD_SETSIZE.
49553 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49555         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
49556         allocated, call __vm_protect to finish enabling the existing space, and
49557         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
49558         allocate the remainder.
49560 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49562         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
49563         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
49565 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49567         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
49568         sysdeps/mach/hurd/readlink.c.
49570         * posix/tst-sysconf.c (posix_options): Only use
49571         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
49572         _POSIX_SYNCHRONIZED_IO when they are defined
49573         * sysdeps/mach/hurd/bits/posix_opt.h:
49574         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
49575         (_XOPEN_REALTIME): Undefine macro.
49576         (_XOPEN_REALTIME_THREADS): Undefine macro.
49577         (_XOPEN_SHM): Undefine macro.
49578         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
49579         macro to -1.
49580         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
49581         macro to -1.
49582         (_POSIX_ASYNC_IO): Undefine macro.
49583         (_POSIX_PRIORITIZED_IO): Undefine macro.
49584         (_POSIX_SPIN_LOCKS): Define macro to -1.
49586         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
49587         SA_NODEFER, SA_RESETHAND.
49588         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
49589         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
49590         F_DUPFD_CLOEXEC.
49592 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49594         * elf/Makefile (pldd-modules): Define unconditionally.
49596 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49598         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
49600 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49602         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
49603         Return ENOENT when name is empty.
49604         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
49606 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49608         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
49610         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
49612 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49614         Fix mlock in all cases except non-readable pages.
49615         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
49616         instead of VM_PROT_ALL as parameter to __vm_wire function.
49618         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
49619         (__mkdir): When path is `/', just fail with EEXIST.
49620         * sysdeps/mach/hurd/mkdirat.c: Likewise.
49622 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49624         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
49625         <sys/uio.h> (for writev).
49626         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
49627         and <sys/param.h> (for MIN).
49629 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49631         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
49632         REQUESTED_TIME.  Properly set the remaining time and return EINTR
49633         if interrupted.
49635 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49637         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
49638         Depend on against $(link-rpcuserlibs).
49640 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49642         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
49643         (__libc_stack_end): Do not use attribute_relro.
49644         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
49645         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
49646         to libthread-provided value.
49647         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
49648         attribute_relro.
49650 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49652         [BZ #3748]
49653         * bits/libc-lock.h (__libc_once_get): New macro.
49654         * sysdeps/mach/bits/libc-lock.h: Likewise.
49655         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
49656         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
49657         instead of using implementation details.
49659         * libio/fileops.c: Unconditionally include <kernel-features.h>.
49660         * libio/freopen.c: Likewise.
49661         * libio/freopen64.c: Likewise.
49662         * misc/syslog.c: Likewise.
49663         * nscd/connections.c: Likewise.
49664         * nscd/netgroupcache.c: Likewise.
49665         * sysdeps/posix/getcwd.c: Likewise.
49667 2012-05-10  Roland McGrath  <roland@hack.frob.com>
49669         * math/w_ilogbf.c: Add #include <limits.h>.
49671 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49673         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
49674         path instead of returning without unlocking.
49676         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
49677         immediate-write ioctls.
49678         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
49680 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49682         * sysdeps/mach/hurd/i386/init-first.c (init): Use
49683         __builtin_frame_address instead of making assumptions about the
49684         location of the return address relative to DATA.  Force early load of
49685         the return address.
49686         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
49687         __builtin_frame_address.
49689         dup3 for GNU Hurd.
49690         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
49691         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
49692         implement dup3 and do some further code clean-ups.
49693         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
49694         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
49696 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49698         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
49700         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
49701         HURD_CRITICAL_END around holding _hurd_dtable_lock.
49702         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
49703         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
49704         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
49705         d->port.lock.
49707         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
49708         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
49709         when handler == SIG_ERR, not when handler != SIG_ERR.
49711 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49713         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
49714         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
49715         definitions.
49717         accept4 for GNU Hurd.
49718         * include/sys/socket.h (__libc_accept4): New prototype.
49719         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
49720         to implement __libc_accept4.
49721         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
49722         __libc_accept4.
49723         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
49725         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
49726         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
49727         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
49728         signal-defines.sym.
49730 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49732         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
49734 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49736         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
49737         assertion on O_CLOEXEC flag.
49738         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
49739         * hurd/intern-fd.c: Likewise.
49740         * hurd/port2fd.c: Likewise.
49742 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49744         [BZ #3906]
49745         * bits/in.h (IPV6_PKTINFO): Define new macro.
49746         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
49748 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49750         [BZ #13954]
49751         [BZ #13955]
49752         [BZ #13956]
49753         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
49754         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
49755         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
49756         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
49757         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49758         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
49759         * math/libm-test.inc (logb_test) : Additional logb tests.
49761 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
49762             Andreas Jaeger  <aj@suse.de>
49764         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
49765         * configure: Regenerated.
49766         * config.h.in (LINK_OBSOLETE_RPC): New macro.
49767         * config.make.in (link-obsolete-rpc): New substituted variable.
49768         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
49769         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
49770         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
49771         (shared-only-routines): Don't set it under [link-obsolete-rpc],
49772         so that libc.a contains the symbols.
49773         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
49774         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
49775         * sunrpc/auth_none.c: Likewise.
49776         * sunrpc/auth_unix.c: Likewise.
49777         * sunrpc/authdes_prot.c: Likewise.
49778         * sunrpc/authuxprot.c: Likewise.
49779         * sunrpc/clnt_gen.c: Likewise.
49780         * sunrpc/clnt_perr.c: Likewise.
49781         * sunrpc/clnt_raw.c: Likewise.
49782         * sunrpc/clnt_simp.c: Likewise.
49783         * sunrpc/clnt_tcp.c: Likewise.
49784         * sunrpc/clnt_udp.c: Likewise.
49785         * sunrpc/clnt_unix.c: Likewise.
49786         * sunrpc/des_crypt.c: Likewise.
49787         * sunrpc/des_soft.c: Likewise.
49788         * sunrpc/get_myaddr.c: Likewise.
49789         * sunrpc/key_call.c: Likewise.
49790         * sunrpc/key_prot.c: Likewise.
49791         * sunrpc/netname.c: Likewise.
49792         * sunrpc/pm_getmaps.c: Likewise.
49793         * sunrpc/pm_getport.c: Likewise.
49794         * sunrpc/pmap_clnt.c: Likewise.
49795         * sunrpc/pmap_prot.c: Likewise.
49796         * sunrpc/pmap_prot2.c: Likewise.
49797         * sunrpc/pmap_rmt.c: Likewise.
49798         * sunrpc/publickey.c: Likewise.
49799         * sunrpc/rpc_cmsg.c: Likewise.
49800         * sunrpc/rpc_common.c: Likewise.
49801         * sunrpc/rpc_dtable.c: Likewise.
49802         * sunrpc/rpc_prot.c: Likewise.
49803         * sunrpc/rpc_thread.c: Likewise.
49804         * sunrpc/rtime.c: Likewise.
49805         * sunrpc/svc.c: Likewise.
49806         * sunrpc/svc_auth.c: Likewise.
49807         * sunrpc/svc_raw.c: Likewise.
49808         * sunrpc/svc_run.c: Likewise.
49809         * sunrpc/svc_tcp.c: Likewise.
49810         * sunrpc/svc_udp.c: Likewise.
49811         * sunrpc/svc_unix.c: Likewise.
49812         * sunrpc/svcauth_des.c: Likewise.
49813         * sunrpc/xcrypt.c: Likewise.
49814         * sunrpc/xdr.c: Likewise.
49815         * sunrpc/xdr_array.c: Likewise.
49816         * sunrpc/xdr_float.c: Likewise.
49817         * sunrpc/xdr_intXX_t.c: Likewise.
49818         * sunrpc/xdr_mem.c: Likewise.
49819         * sunrpc/xdr_rec.c: Likewise.
49820         * sunrpc/xdr_ref.c: Likewise.
49821         * sunrpc/xdr_sizeof.c: Likewise.
49822         * sunrpc/xdr_stdio.c: Likewise.
49824 2012-05-10  Roland McGrath  <roland@hack.frob.com>
49826         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
49827         change.  Update copyright years.
49829 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
49831         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
49833 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
49834             Joseph Myers  <joseph@codesourcery.com>
49835             Paul Pluzhnikov  <ppluzhnikov@google.com>
49837         [BZ #14012]
49838         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
49839         requiring rpcgen.
49840         [cross-compiling] (extra-libs): Likewise.
49841         [cross-compiling] (extra-libs-others): Likewise.
49842         [cross-compiling] (librpcsvc-routines): Likewise.
49843         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
49844         [cross-compiling] (omit-deps): Likewise.
49845         (sunrpc-CPPFLAGS): New variable.
49846         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
49847         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
49848         (cross-rpcgen-objs): New variable.
49849         (extra-objs): Append $(cross-rpcgen-objs).
49850         ($(cross-rpcgen-objs)): New rule.
49851         ($(objpfx)cross-rpcgen): Likewise.
49852         (rpcgen-cmd): Define to use $(built-program-file).  Expand
49853         comment.
49854         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
49855         ($(objpfx)x%.stmp): Likewise.
49856         * sunrpc/proto.h [IS_IN_build] (_): Define.
49857         [IS_IN_build] (_libc_intl_domainname): Likewise.
49859 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49861         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
49862         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
49863         and R_X86_64_TPOFF64.
49865 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
49867         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
49868         sysdeps/unix/sysv/syscalls.list.
49869         (stime): Likewise.
49870         (utime): Likewise.
49871         * sysdeps/unix/sysv/syscalls.list: Remove file.
49873 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
49875         [BZ #3440]
49876         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
49877         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
49878         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
49879         (__LC_IDENTIFICATION): Make these macros useful in #if
49880         expressions, as required by C99.
49882 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
49884         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
49885         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
49886         after this.
49888 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
49890         * stdlib/longlong.h: Updated from GCC.
49892 2012-05-09  Andreas Jaeger  <aj@suse.de>
49894         * nscd/nscd.c (run_modes): Make named enum, reorder so that
49895         default is first entry.
49896         (run_mode): Set type.
49897         (main): Remove informal message about syslog.
49898         (options): Fix typo.
49900         [BZ #14053]
49901         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
49902         to asm.
49903         (lrint): Likewise.
49904         (llrintf): Likewise.
49905         (llrint): Likewise.
49906         (rint): Likewise.
49907         (rintf): Likewise.
49908         (nearbyint): Likewise.
49909         (nearbyintf): Likewise.
49911 2012-05-09  Andreas Jaeger  <aj@suse.de>
49912             Pedro Alves  <palves@redhat.com>
49914         * nscd/nscd.c (run_mode): Use enum.
49915         (main): Cleanup coding style issue.
49917 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
49918             Andreas Jaeger  <aj@suse.de>
49920         * nscd/nscd.c (go_background): Replaced with...
49921         (run_mode): ... this.
49922         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
49923         (options): Add -F --foreground.
49924         (main): Implement it.
49925         (parse_opt): Parse it.
49927 2012-05-09  Andreas Jaeger  <aj@suse.de>
49929         [BZ #14083]
49930         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
49931         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
49932         -Wconversion warning.
49933         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
49934         Likewise.
49936 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
49938         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
49939         == 0.
49940         (LC_ALL): Use macro-int-constant.
49941         (LC_COLLATE): Likewise.
49942         (LC_CTYPE): Likewise.
49943         (LC_MESSAGES): Likewise.
49944         (LC_MONETARY): Likewise.
49945         (LC_NUMERIC): Likewise.
49946         (LC_TIME): Likewise.
49947         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
49948         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
49949         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49950         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
49951         Specify type.
49952         [C99-based standards] (float_t): Expect type.
49953         [C99-based standards] (double_t): Expect type.
49954         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
49955         type.
49956         [C99-based standards] (HUGE_VALL): Likewise.
49957         [C99-based standards] (INFINITY): Likewise.
49958         [C99-based standards] (NAN): Likewise.
49959         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
49960         [C99-based standards] (FP_NAN): Likewise.
49961         [C99-based standards] (FP_NORMAL): Likewise.
49962         [C99-based standards] (FP_SUBNORMAL): Likewise.
49963         [C99-based standards] (FP_ZERO): Likewise.
49964         [C99-based standards] (FP_FAST_FMA): Use
49965         optional-macro-int-constant.  Specify type.  Require == 1.
49966         [C99-based standards] (FP_FAST_FMAF): Likewise.
49967         [C99-based standards] (FP_FAST_FMAL): Likewise.
49968         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
49969         [C99-based standards] (FP_ILOGBNAN): Likewise.
49970         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
49971         Specify type.
49972         [C99-based standards] (MATH_ERREXCEPT): Likewise.
49973         [C99-based standards] (math_errhandling): Specify type.
49974         [ISO99 || ISO11] (signgam): Do not allow.
49975         [non-C99-based standards] (copysignf): Do not allow.
49976         [non-C99-based standards] (exp2f): Likewise.
49977         [non-C99-based standards] (log2f): Likewise.
49978         [non-C99-based standards] (modff): Allow.
49979         [non-C99-based standards] (erff): Do not allow.
49980         [non-C99-based standards] (erfcf): Likewise.
49981         [non-C99-based standards] (gammaf): Likewise.
49982         [non-C99-based standards] (hypotf): Likewise.
49983         [non-C99-based standards] (j0f): Likewise.
49984         [non-C99-based standards] (j1f): Likewise.
49985         [non-C99-based standards] (jnf): Likewise.
49986         [non-C99-based standards] (lgammaf): Likewise.
49987         [non-C99-based standards] (tgammaf): Likewise.
49988         [non-C99-based standards] (y0f): Likewise.
49989         [non-C99-based standards] (y1f): Likewise.
49990         [non-C99-based standards] (ynf): Likewise.
49991         [non-C99-based standards] (isnanf): Likewise.
49992         [non-C99-based standards] (acoshf): Likewise.
49993         [non-C99-based standards] (asinhf): Likewise.
49994         [non-C99-based standards] (atanhf): Likewise.
49995         [non-C99-based standards] (cbrtf): Likewise.
49996         [non-C99-based standards] (expm1f): Likewise.
49997         [non-C99-based standards] (ilogbf): Likewise.
49998         [non-C99-based standards] (log1pf): Likewise.
49999         [non-C99-based standards] (logbf): Likewise.
50000         [non-C99-based standards] (nextafterf): Likewise.
50001         [non-C99-based standards] (remainderf): Likewise.
50002         [non-C99-based standards] (rintf): Likewise.
50003         [non-C99-based standards] (scalbf): Likewise.
50004         [non-C99-based standards] (copysignl): Likewise.
50005         [non-C99-based standards] (exp2l): Likewise.
50006         [non-C99-based standards] (log2l): Likewise.
50007         [non-C99-based standards] (modfl): Allow.
50008         [non-C99-based standards] (erfl): Do not allow.
50009         [non-C99-based standards] (erfcl): Likewise.
50010         [non-C99-based standards] (gammal): Likewise.
50011         [non-C99-based standards] (hypotl): Likewise.
50012         [non-C99-based standards] (j0l): Likewise.
50013         [non-C99-based standards] (j1l): Likewise.
50014         [non-C99-based standards] (jnl): Likewise.
50015         [non-C99-based standards] (lgammal): Likewise.
50016         [non-C99-based standards] (tgammal): Likewise.
50017         [non-C99-based standards] (y0l): Likewise.
50018         [non-C99-based standards] (y1l): Likewise.
50019         [non-C99-based standards] (ynl): Likewise.
50020         [non-C99-based standards] (isnanl): Likewise.
50021         [non-C99-based standards] (acoshl): Likewise.
50022         [non-C99-based standards] (asinhl): Likewise.
50023         [non-C99-based standards] (atanhl): Likewise.
50024         [non-C99-based standards] (cbrtl): Likewise.
50025         [non-C99-based standards] (expm1l): Likewise.
50026         [non-C99-based standards] (ilogbl): Likewise.
50027         [non-C99-based standards] (log1pl): Likewise.
50028         [non-C99-based standards] (logbl): Likewise.
50029         [non-C99-based standards] (nextafterl): Likewise.
50030         [non-C99-based standards] (remainderl): Likewise.
50031         [non-C99-based standards] (rintl): Likewise.
50032         [non-C99-based standards] (scalbl): Likewise.
50033         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50034         [non-C99-based standards] (FP_*): Do not allow.
50035         [C99-based standards] (FP_*): Change to
50036         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
50037         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50038         allow.
50039         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
50040         (SIG_ERR): Likewise.
50041         [X/Open-based standards] (SIG_HOLD): Likewise.
50042         (SIG_IGN): Likewise.
50043         (SIGABRT): Use macro-int-constant.  Specify type.  Require
50044         positive value.
50045         (SIGFPE): Likewise.
50046         (SIGILL): Likewise.
50047         (SIGINT): Likewise.
50048         (SIGSEGV): Likewise.
50049         (SIGTER): Likewise.
50050         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
50051         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
50052         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
50053         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
50054         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
50055         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
50056         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
50057         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
50058         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
50059         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
50060         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
50061         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
50062         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
50063         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
50064         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
50065         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
50066         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
50067         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
50068         [X/Open-based standards] (SIGTRAP): Likewise.
50069         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
50070         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
50071         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
50072         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
50073         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50074         allow.
50076 2012-05-08  Ian Wienand  <ianw@vmware.com>
50078         [BZ #14080]
50079         * time/tzset.c (__tzset_parse_tz): Update default rules for
50080         daylight time changes in the Energy Policy Act of 2005.
50082 2012-05-09  Andreas Jaeger  <aj@suse.de>
50084         [BZ #13983]
50085         * elf/ldconfig.c (parse_conf): Change string to make clear that
50086         ldconfig only issued a warning if ld.so.conf does not exist.
50088 2012-05-08  David S. Miller  <davem@davemloft.net>
50090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
50091         movxtod instead of popping the value on the stack.
50093         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50095 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
50097         * config.h.in: Add HAVE_ARM_PCS_VFP.
50099 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
50101         [BZ #13979]
50102         * include/features.h: Warn if user requests __FORTIFY_SOURCE
50103         checking but the checks are disabled for any reason.
50105 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
50107         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
50108         and ELF64_R_TYPE with ELFW(R_TYPE).
50110 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
50112         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
50113         (ulimit): Likewise.
50115         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
50116         (settimeofday): Likewise.
50118 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
50120         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
50121         a struct th_u2 inside the union, and move tu_block/tu_code into
50122         a new th_u3 union of tu_block/tu_code inside of that.  Move
50123         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
50124         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
50125         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
50126         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
50127         (th_stuff): Change to th_u1.tu_stuff.
50128         (th_data): Define.
50129         (th_msg): Change to th_u1.th_u2.tu_data.
50131 2012-05-07  David S. Miller  <davem@davemloft.net>
50133         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50135         [BZ #14074]
50136         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
50137         (SETUP_PIC_REG): Use it.
50138         (SETUP_PIC_REG_LEAF): Use it.
50140 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
50142         [BZ #13885]
50143         [BZ #13923]
50144         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50145         USE_AS_EXPM1L.
50146         (EXPL_FINITE): Likewise.
50147         (FLDLOG): Likewise.
50148         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
50149         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
50150         e_expl.S.
50151         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50152         USE_AS_EXPM1L.
50153         (EXPL_FINITE): Likewise.
50154         (FLDLOG): Likewise.
50155         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
50156         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
50157         e_expl.S.
50158         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
50159         test of -max_value argument for long double.
50160         * sysdeps/i386/fpu/libm-test-ulps: Update.
50161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50163 2012-05-06  David S. Miller  <davem@davemloft.net>
50165         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
50166         quad soft-float symbols whose references which are compiler
50167         generated.
50168         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
50170 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
50172         [BZ #13884]
50173         [BZ #13914]
50174         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50175         USE_AS_EXP10L.
50176         (EXPL_FINITE): Likewise.
50177         (FLDLOG): Likewise.
50178         (c0): Likewise.
50179         (c1): Likewise.
50180         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
50181         Adjust comments for base varying.
50182         (__expl_finite): Change alias to EXPL_FINITE.
50183         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
50184         e_expl.S.
50185         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
50186         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
50187         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
50188         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
50189         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50190         USE_AS_EXP10L.
50191         (EXPL_FINITE): Likewise.
50192         (FLDLOG): Likewise.
50193         (c0): Likewise.
50194         (c1): Likewise.
50195         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
50196         Adjust comments for base varying.
50197         (__expl_finite): Change alias to EXPL_FINITE.
50198         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
50199         tests for bugs.
50200         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50202         [BZ #14064]
50203         * math/libm-test.inc (check_float_internal): Correct ulp
50204         calculation for subnormal expected results.
50206 2012-05-06  Andreas Jaeger  <aj@suse.de>
50208         * Makeconfig (+math-flags): New, set to -frounding-math.
50209         (+cflags): Add +math-flags so that all of glibc gets compiled with
50210         it.
50212         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
50214 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
50216         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
50217         Disable one test.
50219         [BZ #13787]
50220         [BZ #13922]
50221         [BZ #14036]
50222         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
50223         (__ieee754_expl): Allow for and saturate large arguments.
50224         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
50225         (u_threshold): Likewise.
50226         (__exp): Call __ieee754_exp before checking for overflow and
50227         underflow.
50228         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
50229         (u_threshold): Likewise.
50230         (__expf): Call __ieee754_expf before checking for overflow and
50231         underflow.
50232         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
50233         (u_threshold): Likewise.
50234         (__expl): Call __ieee754_expl before checking for overflow and
50235         underflow.
50236         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
50237         (__ieee754_expl): Allow for and saturate large arguments.
50238         * math/libm-test.inc (exp_test): Add another test.  Do not allow
50239         missing overflow exception on overflow.
50240         (expm1_test): Do not allow missing overflow exception on overflow.
50242         * sysdeps/i386/fpu/e_expl.c: Move to ...
50243         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
50244         rather than using inline asm.
50245         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
50246         * sysdeps/x86_64/fpu/e_expl.S: Copy from
50247         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
50249         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
50250         (nice): Likewise.
50251         (poll): Likewise.
50252         (signal): Likewise.
50253         (time): Likewise.
50254         (times): Likewise.
50256 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50258         * sysdeps/unix/syscalls.list (adjtime): Add entry from
50259         sysdeps/unix/common/syscalls.list.
50260         (fchmod): Likewise.
50261         (fchown): Likewise.
50262         (ftruncate): Likewise.
50263         (getrusage): Likewise.
50264         (gettimeofday): Likewise.
50265         (setpgid): Likewise.
50266         (setregid): Likewise.
50267         (setreuid): Likewise.
50268         (sigaction): Likewise.
50269         (truncate): Likewise.
50270         (vhangup): Likewise.
50271         * sysdeps/unix/common/syscalls.list: Remove file.
50272         * sysdeps/unix/bsd/Implies: Don't include unix/common.
50273         * sysdeps/unix/sysv/linux/Implies: Likewise.
50275 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
50277         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
50278         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
50279         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
50280         Moved to ...
50281         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
50282         Here.
50283         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
50284         to ...
50285         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
50286         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
50287         to ...
50288         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
50289         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
50290         to ...
50291         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
50292         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
50293         to ...
50294         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
50295         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
50296         to ...
50297         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
50298         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
50299         to ...
50300         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
50301         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
50302         to ...
50303         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
50304         Here.
50305         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
50306         to ...
50307         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
50308         Here.
50309         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
50310         to ...
50311         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
50312         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
50313         Moved to ...
50314         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
50315         Here.
50316         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
50317         to ...
50318         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
50320 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50322         * sysdeps/unix/common/bits/dirent.h: Remove file.
50323         * sysdeps/unix/common/bits/fcntl.h: Likewise.
50325         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
50326         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
50327         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
50328         * sysdeps/unix/bsd/isatty.c: Likewise.
50329         * sysdeps/unix/bsd/tcdrain.c: Likewise.
50330         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
50331         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
50333 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50335         [BZ #13563]
50336         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
50337         long double comparison inaccuracies.
50338         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
50339         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50341 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
50343         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
50344         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
50346 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50348         [BZ #14049]
50349         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
50350         nonzero digits before rounding a hex value.
50351         * stdlib/tst-strtod.c (tests): Add another test.
50353 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50355         * sysdeps/s390/fpu/libm-test-ulps: Update.
50357 2012-05-03  Andreas Jaeger  <aj@suse.de>
50359         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
50360         does not get optimized out.
50361         (malloc_opt_barrier): New.
50363 2012-05-03  Andreas Jaeger  <aj@suse.de>
50364             Roland McGrath  <roland@hack.frob.com>
50366         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
50367         intermediate file deletion.
50368         (generated): Add .symlist files.
50370 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
50372         [BZ #13775]
50373         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
50374         Redirect under this condition.
50375         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
50376         [__USE_GNU] (__dprintf_chk): Not under this condition.
50377         [__USE_GNU] (__vdprintf_chk): Likewise.
50378         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
50379         under this condition.
50380         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
50381         [__USE_XOPEN2K8] (dprintf): Define under this condition.
50382         [__USE_XOPEN2K8] (vdprintf): Likewise.
50383         [__USE_GNU] (__dprintf_chk): Not under this condition.
50384         [__USE_GNU] (__vdprintf_chk): Likewise.
50385         [__USE_GNU] (dprintf): Likewise.
50386         [__USE_GNU] (vdprintf): Likewise.
50388 2012-05-03  Roland McGrath  <roland@hack.frob.com>
50390         * elf/Makefile (common-generated): Set this instead of generated for
50391         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
50392         $(all-built-dso)-derived lists.
50394 2012-05-03  Andreas Jaeger  <aj@suse.de>
50396         * sysdeps/i386/fpu/libm-test-ulps: Update.
50398         * FAQ: Removed.
50399         * FAQ.in: Likewise.
50400         * scripts/gen-FAQ.pl: Likewise.
50401         * manual/install.texi (Installation): Point to online location of
50402         FAQ.
50403         * Makefile (files-for-dist): Remove FAQ.
50404         (FAQ): Remove.
50406 2012-05-02  Allan McRae  <allan@archlinux.org>
50408         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
50409         (LDFLAGS-reldepmod5.so): Likewise.
50410         (LDFLAGS-reldep6mod1.so): Likewise.
50411         (LDFLAGS-reldep6mod4.so): Likewise.
50412         (LDFLAGS-reldep8mod3.so): Likewise.
50413         (LDFLAGS-unload4mod1.so): Likewise.
50414         (LDFLAGS-unload4mod2.so): Likewise.
50415         (LDFLAGS-tst-initorder): Likewise.
50416         (LDFLAGS-tst-initordera2.so): Likewise.
50417         (LDFLAGS-tst-initordera3.so): Likewise.
50418         (LDFLAGS-tst-initordera4.so): Likewise.
50419         (LDFLAGS-tst-initorderb2.so): Likewise.
50420         (LDFLAGS-noload): Likewise.
50421         (LDFLAGS-next): Likewise.
50422         (LDFLAGS-order2mod1.so): Likewise.
50423         (LDFLAGS-order2mod2.so): Likewise.
50424         (LDFLAGS-tst-initorder2): Likewise.
50425         (LDFLAGS-tst-initorder2a.so): Likewise.
50426         (LDFLAGS-tst-initorder2b.so): Likewise.
50427         (LDFLAGS-tst-initorder2c.so): Likewise.
50428         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
50430 2012-05-02  David S. Miller  <davem@davemloft.net>
50432         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50434 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
50436         [BZ #14055]
50437         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
50439 2012-05-02  Andreas Jaeger  <aj@suse.de>
50441         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
50442         since we manipulate rounding mode.
50443         (CPPFLAGS-test-idouble.c): Likewise.
50444         (CPPFLAGS-test-ifloat.c): Likewise.
50445         (CFLAGS-test-ldouble.c): Likewise.
50446         (CFLAGS-test-double.c): Likewise.
50447         (CFLAGS-test-float.c): Likewise.
50448         (CFLAGS-test-misc.c): Likewise.
50449         (CFLAGS-test-test-fenv.c): Likewise.
50451 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50453         [BZ #2550]
50454         [BZ #2570]
50455         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
50456         comparisons to determine direction to adjust input.
50458 2012-05-01  Roland McGrath  <roland@hack.frob.com>
50460         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
50461         output to the target.
50463         * scripts/localplt.awk: New file.
50464         * elf/Makefile ($(objpfx)check-localplt): Target removed.
50465         (check-localplt-CFLAGS): Variable removed.
50466         ($(all-built-dso:=.jmprel)): New static pattern rule.
50467         (generated): Add those targets.
50468         (localplt-built-dso): New variable.
50469         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
50471         * elf/check-localplt.c: File removed.
50473         * scripts/check-execstack.awk: New file.
50474         * elf/Makefile ($(objpfx)check-execstack): Target removed.
50475         (check-execstack-CFLAGS): Variable removed.
50476         ($(objpfx)check-execstack.h): Target removed.
50477         ($(objpfx)execstack-default): New target.
50478         (generated): Add that instead of check-execstack.h.
50479         ($(all-built-dso:=.phdr)): New static pattern rule.
50480         (generated): Add those targets.
50481         * elf/check-execstack.c: File removed.
50483         * scripts/check-textrel.awk: New file.
50484         * elf/Makefile ($(objpfx)check-textrel): Target removed.
50485         (check-textrel-CFLAGS): Variable removed.
50486         (all-built-dso): Use := to define.o
50487         ($(all-built-dso:=.dyn)): New static pattern rule.
50488         (generated): Add those targets.
50489         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
50490         * config.make.in (READELF): New substituted variable.
50491         * elf/check-textrel.c: File removed.
50493 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
50495         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50496         allow.
50497         * conform/data/ctype.h-data [C99-based standards] (isblank):
50498         Expect function.
50499         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
50500         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
50501         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50502         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
50503         Specify type.  Require positive value.
50504         (EILSEQ): Likewise.
50505         (ERANGE): Likewise.
50506         [ISO || POSIX] (EILSEQ): Do not expect.
50507         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
50508         Specify type.  Require positive value.
50509         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
50510         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
50511         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
50512         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
50513         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
50514         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
50515         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
50516         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
50517         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
50518         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
50519         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
50520         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
50521         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
50522         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
50523         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
50524         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
50525         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
50526         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
50527         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
50528         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
50529         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
50530         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
50531         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
50532         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
50533         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
50534         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
50535         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
50536         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
50537         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
50538         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
50539         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
50540         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
50541         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
50542         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
50543         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
50544         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
50545         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
50546         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
50547         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
50548         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
50549         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
50550         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
50551         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
50552         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
50553         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
50554         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
50555         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
50556         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
50557         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
50558         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
50559         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
50560         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
50561         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
50562         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
50563         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
50564         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
50565         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
50566         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
50567         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
50568         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
50569         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
50570         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
50571         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
50572         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
50573         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
50574         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
50575         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
50576         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
50577         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
50578         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
50579         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
50580         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
50581         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
50582         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
50583         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
50584         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
50585         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
50586         Require >= 2.
50587         (FLT_ROUNDS): Expect as macro, not constant.
50588         (FLT_MANT_DIG): Use macro-int-constant.
50589         (DBL_MANT_DIG): Likewise.
50590         (LDBL_MANT_DIG): Likewise.
50591         (FLT_DIG): Likewise.
50592         (DBL_DIG): Likewise.
50593         (LDBL_DIG): Likewise.
50594         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
50595         (DBL_MIN_EXP): Likewise.
50596         (LDBL_MIN_EXP): Likewise.
50597         (FLT_MAX_EXP): Use macro-int-constant.
50598         (DBL_MAX_EXP): Likewise.
50599         (LDBL_MAX_EXP): Likewise.
50600         (FLT_MAX_10_EXP): Likewise.
50601         (DBL_MAX_10_EXP): Likewise.
50602         (LDBL_MAX_10_EXP): Likewise.
50603         (FLT_MAX): Use macro-constant.
50604         (DBL_MAX): Likewise.
50605         (LDBL_MAX): Likewise.
50606         (FLT_EPSILON): Use macro-constant.  Give upper bound.
50607         (DBL_EPSILON): Likewise.
50608         (LDBL_EPSILON): Likewise.
50609         (FLT_MIN): Likewise.
50610         (DBL_MIN): Likewise.
50611         (LDBL_MIN): Likewise.
50612         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
50613         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
50614         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
50615         [ISO11] (FLT_HAS_SUBNORM): Likewise.
50616         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
50617         [ISO11] (DBL_DECIMAL_DIG): Likewise.
50618         [ISO11] (FLT_DECIMAL_DIG): Likewise.
50619         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
50620         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
50621         [ISO11] (FLT_TRUE_MIN): Likewise.
50622         [ISO11] (LDBL_TRUE_MIN): Likewise.
50623         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50624         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
50625         (SCHAR_MIN): Use macro-int-constant.  Specify type.
50626         (SCHAR_MAX): Likewise.
50627         (UCHAR_MAX): Likewise.
50628         (CHAR_MIN): Likewise.
50629         (CHAR_MAX): Likewise.
50630         (MB_LEN_MAX): Use macro-int-constant.
50631         (SHRT_MIN): Use macro-int-constant.  Specify type.
50632         (SHRT_MAX): Likewise.
50633         (USHRT_MAX): Likewise.
50634         (INT_MAX): Likewise.
50635         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
50636         bound negative.
50637         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
50638         bound with "U".
50639         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
50640         bound with "L".
50641         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
50642         bound negative.  Suffix upper bound with "L".
50643         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
50644         bound with "UL".
50645         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
50646         Specify type.
50647         [C99-based standards] (LLONG_MAX): Likewise.
50648         [C99-based standards] (ULLONG_MAX): Likewise.
50649         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
50650         == 0.
50651         [ISO11] (max_align_t): Require type.
50652         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50654         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
50655         from $CFLAGS, without defining away __attribute__ calls.
50656         (checknamespace): Use $CFLAGS_namespace.
50658         * conform/conformtest.pl (@keywords): Only include C99 keywords
50659         for standards based on C99 or C11.
50661         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
50662         Disable tests.
50663         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
50664         UNIX98]: Likewise.
50666         * conform/conformtest.pl: Handle "macro-int-constant" and test for
50667         usability of symbols in #if.
50669         * conform/conformtest.pl: If macro or constant types start
50670         "promoted:", expect the symbol to be of the following type
50671         promoted by the integer promotions.
50673         * conform/conformtest.pl: Parse all "constant" and "macro" lines
50674         in one place.  Also handle "macro-constant".
50676         * conform/conformtest.pl: Only accept expected macro values with
50677         "==".  Parse all "macro" lines in one place.
50678         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
50680         * conform/conformtest.pl: Handle braced types on "constant" lines
50681         instead of handling "typed-constant".
50682         * conform/data/signal.h-data: Use "constant" instead of
50683         "typed-constant".
50685         * conform/conformtest.pl: Handle "optional-" at start of lines in
50686         one place rather than duplicating several cases.  Handle each
50687         format of "macro" line with initial "optional-".
50689         * conform/conformtest.pl: Only accept expected constant or
50690         optional-constant values with "==".  Parse all "constant" lines in
50691         one place.  Parse all "optional-constant" lines in one place.
50692         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
50693         * conform/data/fmtmsg.h-data: Likewise.
50694         * conform/data/netinet/in.h-data: Likewise.
50695         * conform/data/tar.h-data: Likewise.
50696         * conform/data/limits.h-data: Use "==" form on "constant" and
50697         "optional-constant" lines.
50699         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
50700         Use -std=c99 for XOPEN2K.
50701         (@knownproblems): Remove.
50702         (newtoken): Don't check %isknown.
50704         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
50705         Do not expect macro.
50706         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
50707         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
50708         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
50709         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
50710         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
50711         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
50712         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
50713         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
50714         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
50715         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
50716         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
50717         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
50718         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
50719         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
50720         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
50721         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
50722         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
50723         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
50724         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
50725         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
50726         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
50727         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
50728         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
50729         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
50730         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
50731         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
50732         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
50733         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
50734         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
50735         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
50736         [XPG3] (acosh): Likewise.
50737         [XPG3] (asinh): Likewise.
50738         [XPG3] (atanh): Likewise.
50739         [XPG3] (cbrt): Likewise.
50740         [XPG3] (expm1): Likewise.
50741         [XPG3] (ilogb): Likewise.
50742         [XPG3] (log1p): Likewise.
50743         [XPG3] (logb): Likewise.
50744         [XPG3] (nextafter): Likewise.
50745         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
50746         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
50747         [XPG3] (remainder): Likewise.
50748         [XPG3] (rint): Likewise.
50749         [XPG3 || XPG4 || UNIX98] (round): Likewise.
50750         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
50751         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
50752         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
50753         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
50754         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
50755         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
50756         [UNIX98 || XOPEN2K] (scalb): Expect.
50757         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
50758         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
50759         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
50760         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
50761         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
50762         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
50763         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
50764         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
50765         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
50766         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
50767         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
50768         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
50769         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
50770         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
50771         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
50772         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
50773         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
50774         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
50775         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
50776         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
50777         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
50778         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
50779         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
50780         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
50781         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
50782         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
50783         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
50784         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
50785         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
50786         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
50787         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
50788         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
50789         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
50790         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
50791         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
50792         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
50793         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
50794         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
50795         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
50796         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
50797         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
50798         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
50799         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
50800         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
50801         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
50802         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
50803         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
50804         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
50805         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
50806         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
50807         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
50808         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
50809         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
50810         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
50811         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
50812         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
50813         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
50814         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
50815         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
50816         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
50817         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
50818         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
50819         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
50820         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
50821         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
50822         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
50823         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
50824         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
50825         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
50826         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
50827         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
50828         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
50829         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
50830         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
50831         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
50832         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
50833         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
50834         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
50835         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
50836         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
50837         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
50838         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
50839         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
50840         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
50841         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
50842         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
50843         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
50844         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
50845         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
50846         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
50847         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
50848         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
50849         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
50850         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
50851         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
50852         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
50853         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
50854         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
50855         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
50856         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
50857         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
50858         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
50859         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
50860         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
50861         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
50862         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
50863         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
50864         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
50865         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
50866         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
50867         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
50868         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
50869         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
50870         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
50871         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
50872         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
50873         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
50874         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
50875         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
50876         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
50877         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
50878         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
50879         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
50880         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
50881         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
50882         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
50883         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
50884         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
50885         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
50886         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
50887         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
50888         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
50889         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
50890         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
50891         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
50892         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
50893         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
50895         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
50896         _XOPEN_SOURCE_EXTENDED for XPG4.
50898         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
50900         * Makeconfig (localtime): Remove variable.
50901         (inst_localtime-file): Likewise.
50903 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
50905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
50906         Update.
50907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50908         Update.
50909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
50910         Update.
50911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
50912         Update.
50913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
50914         Update.
50915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
50916         Update.
50917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50918         Update.
50919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
50920         Update.
50921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50922         Update.
50924 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
50926         [BZ #2550]
50927         [BZ #2570]
50928         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
50929         comparisons to determine direction to adjust input.
50930         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
50931         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
50932         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
50933         Likewise.
50934         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
50935         Likewise.
50936         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
50937         Likewise.
50938         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
50939         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
50940         Likewise.
50941         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
50942         Likewise.
50943         * math/libm-test.inc (nexttoward_test): Add more tests.
50945 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
50947         [BZ #14040]
50948         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
50949         in version GLIBC_2.1, not GLIBC_2.0.
50950         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
50951         Likewise.
50953 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
50955         [BZ #13942]
50956         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
50957         (1 - x) * (1 + x).
50958         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
50959         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
50960         * math/libm-test.inc (acos_test): Add more tests.
50961         (asin_test): Likewise.
50962         * sysdeps/i386/fpu/libm-test-ulps: Update.
50963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50965         [BZ #14034]
50966         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
50967         of square root.
50968         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
50969         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
50970         * math/libm-test.inc (acos_test_tonearest): New function.
50971         (acos_test_towardzero): Likewise.
50972         (acos_test_downward): Likewise.
50973         (acos_test_upward): Likewise.
50974         (asin_test_tonearest): Likewise.
50975         (asin_test_towardzero): Likewise.
50976         (asin_test_downward): Likewise.
50977         (asin_test_upward): Likewise.
50978         (main): Call the new functions.
50979         * sysdeps/i386/fpu/libm-test-ulps: Update.
50980         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50982         [BZ #13884]
50983         [BZ #13924]
50984         * math/e_exp10.c: Include <float.h>.
50985         (__ieee754_exp10): Handle underflow here rather than multiplying
50986         large negative argument by M_LN10.
50987         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
50988         of __ieee754_expf.
50989         * math/e_exp10l.c: Include <float.h>.
50990         (__ieee754_exp10l): Handle underflow here rather than multiplying
50991         large negative argument by M_LN10l.
50992         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
50993         spurious overflow exception on underflow.
50995 2012-04-29  Marek Polacek  <polacek@redhat.com>
50997         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
50998         (__fortify_function): New macro.
50999         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
51000         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
51001         __extern_always_inline.
51002         * libio/bits/stdio2.h: Likewise.
51003         * libio/bits/stdio.h: Likewise.
51004         * string/string.h: Likewise.
51005         * string/bits/string3.h: Likewise.
51006         * include/stdio.h: Likewise.
51007         * stdlib/bits/stdlib.h: Likewise.
51008         * stdlib/stdlib.h: Likewise.
51009         * rt/bits/mqueue2.h: Likewise.
51010         * rt/mqueue.h: Likewise.
51011         * posix/bits/unistd.h: Likewise.
51012         * posix/unistd.h: Likewise.
51013         * io/bits/poll2.h: Likewise.
51014         * io/bits/fcntl2.h: Likewise.
51015         * io/fcntl.h: Likewise.
51016         * io/sys/poll.h: Likewise.
51017         * misc/bits/syslog.h: Likewise.
51018         * misc/bits/syslog-ldbl.h: Likewise.
51019         * misc/sys/syslog.h: Likewise.
51020         * socket/bits/socket2.h: Likewise.
51021         * socket/sys/socket.h: Likewise.
51022         * debug/tst-chk1.c: Likewise.
51023         * wcsmbs/bits/wchar2.h: Likewise.
51024         * wcsmbs/bits/wchar-ldbl.h: Likewise.
51025         * wcsmbs/wchar.h: Likewise.
51027 2012-04-29  Andreas Jaeger  <aj@suse.de>
51029         * Makerules (tests): Remove enable-check-abi protection.
51030         (check-abi-warn): Remove.
51031         (check-abi-%): Remove check-abi-warn usage.
51033         * configure.in: Remove check-abi configure option.
51034         * configure: Regenerated.
51035         * config.make.in (enable-check-abi): Remove.
51037 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
51039         [BZ #14033]
51040         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
51041         double functions to double *_finite functions.
51043         [BZ #13941]
51044         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
51045         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
51046         LDBL_MIN_EXP.
51047         * stdio-common/Makefile (tests): Add tst-sprintf3.
51048         * stdio-common/tst-sprintf3.c: New file.
51050         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
51051         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
51053 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
51055         * conform/conformtest.pl: Remove duplicate typed-constant
51056         handling.
51058 2012-04-28  David S. Miller  <davem@davemloft.net>
51060         * Makerules (%.abilist): Add vpath on sysdep_dirs.
51061         (check-abi-%): Remove AWK script prerequisite and explicit
51062         abilist directory.
51063         (check-abi): Rewrite to just diff the symlist with the abilist.
51064         (config-tls, config-abi-config): Delete, no longer used.
51065         (update-abi-%): Remove AWK script and explicit abilist directory.
51066         (update-abi): Rewrite to simply compare and conditionally copy the
51067         symlist and the sysdep abilist file.  Remove update-abi-config
51068         checks.
51069         * abilist/ld.abilist: Remove.
51070         * abilist/libBrokenLocale.abilist: Remove.
51071         * abilist/libanl.abilist: Remove.
51072         * abilist/libcrypt.abilist: Remove.
51073         * abilist/libdl.abilist: Remove.
51074         * abilist/librt.abilist: Remove.
51075         * abilist/libthread_db.abilist: Remove.
51076         * abilist/libutil.abilist: Remove.
51077         * scripts/extract-abilist.awk: Remove.
51078         * scripts/merge-abilist.awk: Remove.
51079         * sysdeps/generic/libcidn.abilist: New file.
51080         * sysdeps/generic/libnss_compat.abilist: New file.
51081         * sysdeps/generic/libnss_db.abilist: New file.
51082         * sysdeps/generic/libnss_dns.abilist: New file.
51083         * sysdeps/generic/libnss_files.abilist: New file.
51084         * sysdeps/generic/libnss_hesiod.abilist: New file.
51085         * sysdeps/generic/libnss_nis.abilist: New file.
51086         * sysdeps/generic/libnss_nisplus.abilist: New file.
51087         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
51088         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
51089         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
51090         file.
51091         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
51092         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
51093         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
51094         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
51095         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
51096         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
51097         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
51098         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
51099         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
51100         file.
51101         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
51102         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
51103         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
51104         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
51105         file.
51106         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
51107         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
51108         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
51109         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
51110         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
51111         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
51112         file.
51113         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
51114         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
51115         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
51116         file.
51117         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
51118         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
51119         New file.
51120         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
51121         New file.
51122         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
51123         New file.
51124         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
51125         New file.
51126         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
51127         New file.
51128         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
51129         New file.
51130         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
51131         New file.
51132         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
51133         New file.
51134         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
51135         New file.
51136         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
51137         New file.
51138         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
51139         New file.
51140         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
51141         New file.
51142         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
51143         New file.
51144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
51145         file.
51146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
51147         New file.
51148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
51149         New file.
51150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
51151         file.
51152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
51153         New file.
51154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
51155         New file.
51156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
51157         file.
51158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
51159         New file.
51160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51161         New file.
51162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
51163         New file.
51164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
51165         New file.
51166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
51167         New file.
51168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
51169         New file.
51170         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
51171         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
51172         file.
51173         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
51174         New file.
51175         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
51176         file.
51177         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
51178         file.
51179         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
51180         file.
51181         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
51182         file.
51183         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
51184         file.
51185         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
51186         New file.
51187         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
51188         file.
51189         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
51190         file.
51191         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
51192         New file.
51193         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
51194         file.
51195         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
51196         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
51197         file.
51198         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
51199         New file.
51200         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
51201         file.
51202         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
51203         file.
51204         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
51205         file.
51206         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
51207         file.
51208         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
51209         file.
51210         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
51211         New file.
51212         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
51213         file.
51214         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
51215         file.
51216         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
51217         New file.
51218         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
51219         file.
51220         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
51221         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
51222         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
51223         file.
51224         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
51225         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
51226         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
51227         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
51228         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
51229         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
51230         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
51231         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
51232         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
51233         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
51234         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
51235         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
51236         file.
51237         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
51238         New file.
51239         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
51240         file.
51241         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
51242         file.
51243         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
51244         file.
51245         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
51246         file.
51247         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
51248         file.
51249         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
51250         New file.
51251         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
51252         New file.
51253         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
51254         file.
51255         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
51256         New file.
51257         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
51258         file.
51259         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
51260         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
51261         file.
51262         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
51263         New file.
51264         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
51265         file.
51266         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
51267         file.
51268         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
51269         file.
51270         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
51271         file.
51272         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
51273         file.
51274         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
51275         New file.
51276         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
51277         New file.
51278         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
51279         file.
51280         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
51281         New file.
51282         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
51283         file.
51285 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
51287         * conform/conformtest.pl: Fix typo in handling typed-constant from
51288         allow-header.
51290 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
51292         * README: Cut down references to pre-2.6 Linux kernels and
51293         Linuxthreads.  Update lists of configurations in libc and ports
51294         and sort alphabetically.  Say "or newer" with Linux kernel version
51295         requirements.
51297         * config.h.in [IS_IN_build]: Allow compiling without optimization.
51299 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51301         [BZ #887]
51302         * math/libm-test.inc (logb_test_downward): New test to expose
51303         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
51304         rounding mode.
51306 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
51308         [BZ #14027]
51309         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
51310         to be done.
51311         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
51312         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
51314 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
51316         * sysdeps/unix/i386/brk.S: Remove file.
51317         * sysdeps/unix/i386/dl-brk.S: Likewise.
51318         * sysdeps/unix/i386/pipe.S: Likewise.
51319         * sysdeps/unix/i386/sigreturn.S: Likewise.
51320         * sysdeps/unix/i386/syscall.S: Likewise.
51321         * sysdeps/unix/i386/vfork.S: Likewise.
51322         * sysdeps/unix/i386/wait.S: Likewise.
51324         * sysdeps/unix/common/tcsendbrk.c: Move to ...
51325         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
51327         * configure.in (arm*-none*): Do not allow without
51328         --enable-hacker-mode.
51329         (netbsd*): Remove case setting base_os.
51330         (386bsd*): Likewise.
51331         (freebsd*): Likewise.
51332         (bsdi*): Likewise.
51333         (osf*): Likewise.
51334         (sunos*): Likewise.
51335         (ultrix*): Likewise.
51336         (newsos*): Likewise.
51337         (dynix*): Likewise.
51338         (*bsd*): Likewise.
51339         (sysv*): Likewise.
51340         (isc*): Likewise.
51341         (esix*): Likewise.
51342         (sco*): Likewise.
51343         (minix*): Likewise.
51344         (irix4*): Likewise.
51345         (irix6*): Likewise.
51346         (solaris[2-9]*): Likewise.
51347         (none): Likewise.
51348         * configure: Regenerated.
51350 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51352         [BZ #11521]
51353         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
51354         overflow or cancellation in calculating denominator.
51355         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
51356         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
51357         down expression to avoid unexpected rounding in newer GCCs.
51358         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
51360 2012-04-26  David S. Miller  <davem@davemloft.net>
51362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
51363         long-double compat symbols.
51364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
51366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
51367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
51368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
51369         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
51370         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
51371         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
51372         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
51373         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
51374         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
51375         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
51376         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
51378 2012-04-25  David S. Miller  <davem@davemloft.net>
51380         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
51381         HWCAP_* values only after the memory barriers have been defined.
51382         (atomic_full_barrier): Define.
51383         (atomic_read_barrier): Define.
51384         (atomic_write_barrier): Define.
51386 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51388         * shlib-versions: Add libgcc_s version information.
51389         * sysdeps/generic/libgcc_s.h: Remove.
51390         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
51391         libgcc_s.h.
51392         * sysdeps/gnu/unwind-resume.c: Likewise.
51393         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
51395 2012-04-25  David S. Miller  <davem@davemloft.net>
51397         * sysdeps/unix/sparc/brk.S: Delete.
51398         * sysdeps/unix/sparc/dl-brk.S: Delete.
51399         * sysdeps/unix/sparc/pipe.S: Delete.
51400         * sysdeps/unix/sparc/sysdep.S: Delete.
51401         * sysdeps/unix/sparc/sysdep.h: Delete.
51402         * sysdeps/unix/sparc/vfork.S: Delete.
51403         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
51404         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
51405         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
51406         (ret_ERRVAL, r0, r1, MOVE): Define.
51407         (JUMPTARGET): Remove.
51408         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
51409         sysdeps/unix/sparc/sysdep.h
51410         (ENTRY, END): Remove.
51411         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51413 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
51415         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
51416         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
51417         -DIS_IN_build.
51419         * timezone/README: Update upstream location and email address for
51420         tzcode and tzdata.
51421         * timezone/zdump.c: Update from tzcode 2012b.
51422         * timezone/zic.c: Likewise.
51424         * configure.in (libc_cv_as_needed): Remove test.
51425         * configure: Regenerated.
51426         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
51427         conditional definition.
51428         [$(have-as-needed) != yes] (no-as-needed): Likewise.
51429         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
51430         * config.make.in (have-as-needed): Remove variable.
51432 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51433             Paul Pluzhnikov  <ppluzhnikov@google.com>
51435         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
51436         strings correctly.
51438 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
51440         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
51441         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
51442         * sysdeps/sh/strlen.S: Likewise.
51444 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
51446         * sysdeps/unix/fork.S: Remove file.
51447         * sysdeps/unix/i386/fork.S: Likewise.
51448         * sysdeps/unix/sparc/fork.S: Likewise.
51450         * sysdeps/unix/system.c: Remove file.
51451         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
51453         * sysdeps/unix/getegid.S: Remove file.
51454         * sysdeps/unix/geteuid.S: Likewise.
51456 2012-04-24  Roland McGrath  <roland@hack.frob.com>
51458         * scripts/check-localplt.awk: New file.
51459         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
51460         of diff.
51461         * scripts/data/localplt-generic.data: Add a comment.
51463         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
51464         NODE when __dir_mkfile failed.
51465         * sysdeps/mach/hurd/symlinkat.c: Likewise.
51466         Reported by Ludovic Courtès <ludo@gnu.org>.
51468 2012-04-24  Andreas Jaeger  <aj@suse.de>
51470         * Makerules (common-clean): Also remove gen-as-const-headers
51471         files.
51473 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
51475         * Makerules (native-compile): Do not change working directory for
51476         build.  Use $(OUTPUT_OPTION) in command.
51477         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
51479 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51481         [BZ #13886]
51482         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
51483         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
51484         * math/libm-test.inc (floor_test): Add more tests.
51485         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
51487 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
51489         * sysdeps/unix/getdents.c: Remove file.
51490         * sysdeps/unix/sysv/getdents.c: Likewise.
51491         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
51493         * sysdeps/unix/syscalls.list (madvise): Add syscall from
51494         sysdeps/unix/mman/syscalls.list.
51495         (mmap): Likewise.
51496         (mprotect): Likewise.
51497         (msync): Likewise.
51498         (munmap): Likewise.
51499         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
51500         * sysdeps/unix/mman/syscalls.list: Remove.
51501         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
51503         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
51504         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
51505         * configure: Regenerated.
51506         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
51507         $(libgcc_s_suffix).
51508         * config.make.in (libgcc_s_suffix): Remove variable.
51510 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
51512         * sysdeps/unix/sysv/gethostname.c: Move to ...
51513         * sysdeps/posix/gethostname.c: ... here.
51515         * sysdeps/unix/execve.S: Remove file.
51517         * sysdeps/unix/_exit.S: Remove file.
51519 2012-04-23  Andreas Jaeger  <aj@suse.de>
51521         [BZ #13739]
51522         * manual/Makefile: Remove make dist support, there's no
51523         need for a stand-alone documentation tar ball.
51524         (TEXI2DVI): Define always, it's not in Makeconfig.
51525         (dist): Removed.
51526         (tar-it): Removed.
51527         (edition): Removed.
51528         (glibc-doc-$(edition).tar): Removed
51529         (%.Z): Removed.
51530         (%.gz): Removed.
51531         (%.uu): Removed.
51532         (ETAGS): Remove, it's in Makeconfig.
51533         (move-if-change): Remove, it's in Makeconfig.
51535 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
51537         [BZ #13970]
51538         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
51539         (strtod, strtof, strtold, strtol, strtoul, strtoq)
51540         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
51541         (strtod_l, strtof_l, strtold_l): Remove __wur.
51542         It is not necessarily an error to ignore strtol's return value.
51543         One can reliably look at the stored endptr to decide whether
51544         the number had valid syntax.
51546 2012-04-21  Andreas Jaeger  <aj@suse.de>
51548         [BZ #13739]
51549         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
51551 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
51553         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
51554         * sysdeps/unix/sysv/Versions: Remove file.
51556 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
51558         [BZ #13927]
51559         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51561 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
51563         [BZ #7064]
51564         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
51565         version from __vm86.
51567 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
51569         * sysdeps/unix/common/lxstat.c: Remove file.
51570         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
51572         * sysdeps/unix/sysv/Makefile: Remove file.
51574         * sysdeps/unix/sysv/direct.h: Remove file.
51576         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
51577         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
51578         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
51579         * sysdeps/unix/sysv/bits/signum.h: Likewise.
51580         * sysdeps/unix/sysv/bits/stat.h: Likewise.
51581         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
51582         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
51584         * sysdeps/unix/sysv/setrlimit.c: Remove file.
51586         * sysdeps/unix/xmknod.c: Remove file.
51587         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
51589         * sysdeps/unix/sysv/settimeofday.c: Remove file.
51591         * sysdeps/unix/sysv/i386/time.S: Remove file.
51593         * sysdeps/unix/fxstat.c: Remove file.
51594         * sysdeps/unix/xstat.c: Likewise.
51595         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
51597         * sysdeps/unix/sysv/sigaction.c: Remove file.
51599         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
51600         (sysdep_headers): Remove variable.
51601         [termio.h not in sysdep_headers] (generated): Likewise.
51602         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
51603         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
51604         * sysdeps/unix/sysv/tcdrain.c: Likewise.
51605         * sysdeps/unix/sysv/tcflow.c: Likewise.
51606         * sysdeps/unix/sysv/tcflush.c: Likewise.
51607         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
51608         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
51609         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
51610         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
51611         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
51613         * sysdeps/unix/siglist.c: Remove file.
51615         * sysdeps/unix/getppid.S: Remove file.
51617         * sysdeps/unix/mkdir.c: Remove file.
51618         * sysdeps/unix/rmdir.c: Likewise.
51620 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
51622         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
51623         ERR_MAX value.
51624         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
51625         errlist-compat value.
51627 2012-04-18  David S. Miller  <davem@davemloft.net>
51629         * sysdeps/generic/memcopy.h (reg_char): Delete.
51630         * debug/strcat_chk.c: Use char, not reg_char.
51631         * debug/strcpy_chk.c: Likewise.
51632         * debug/strncat_chk.c: Likewise.
51633         * debug/strncpy_chk.c: Likewise.
51634         * string/memchr.c: Likewise.
51635         * string/memrchr.c: Likewise.
51636         * string/rawmemchr.c: Likewise.
51637         * string/strcat.c: Likewise.
51638         * string/strchr.c: Likewise.
51639         * string/strchrnul.c: Likewise.
51640         * string/strcmp.c: Likewise.
51641         * string/strcpy.c: Likewise.
51642         * string/strncat.c: Likewise.
51643         * string/strncmp.c: Likewise.
51644         * string/strncpy.c: Likewise.
51646 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
51648         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
51649         __builtin_memcopy is called when src and dest ranges are known to not
51650         overlap.
51652 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
51654         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
51655         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
51656         fwd_align_merge macro call.
51657         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
51658         bwd_align_merge macro call.
51659         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
51661 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
51663         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
51664         bwd_align_merge macros.
51665         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
51666         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
51667         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
51669 2012-04-18  David S. Miller  <davem@davemloft.net>
51671         * sysdeps/sparc/sparc64/memcopy.h: Delete.
51673 2012-04-18  Andreas Jaeger  <aj@suse.de>
51675         [BZ# 6794]
51676         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
51677         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
51678         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51680         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
51681         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
51682         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51684         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
51685         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
51686         Adjust for changed ldbl-128 files.
51688         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
51689         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
51690         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51692 2012-04-17  David S. Miller  <davem@davemloft.net>
51694         * sysdeps/sparc/sparc32/memcopy.h: Delete.
51696 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
51698         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
51699         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
51700         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
51701         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
51702         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
51703         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
51705 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51707         [BZ #6794]
51708         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
51709         * math/libm-test.inc: Add ilogb errno and exception tests.
51710         * math/w_ilogb.c: New file: ilogb wrapper.
51711         * math/w_ilogbf.c: New file: ilogbf wrapper.
51712         * math/w_ilogbl.c: New file: ilogbl wrapper.
51713         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
51714         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
51715         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
51716         exception being thrown with 0.0 as argument.
51717         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
51718         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
51719         exception being thrown with 0.0 as argument.
51720         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
51721         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
51722         exception being thrown with 0.0 as argument.
51723         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
51724         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
51725         exception being thrown with 0.0 as argument.
51726         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
51727         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
51728         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
51729         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
51730         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
51731         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
51732         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
51733         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
51734         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
51736 2012-04-17  Petr Baudis  <pasky@ucw.cz>
51738         * include/sys/uio.h: Change __vector to __iovec to avoid clash
51739         with altivec.
51741 2012-04-16  Marek Polacek  <polacek@redhat.com>
51743         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
51745 2012-04-16  Marek Polacek  <polacek@redhat.com>
51747         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
51748         operands of fdivp instruction.
51750 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
51752         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
51753         * elf/tst-auditmod3b.c: Likewise.
51754         * elf/tst-auditmod4b.c: Likewise.
51755         * elf/tst-auditmod5b.c: Likewise.
51756         * elf/tst-auditmod6b.c: Likewise.
51757         * elf/tst-auditmod6c.c: Likewise.
51758         * elf/tst-auditmod7b.c: Likewise.
51759         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
51760         * sysdeps/x86_64/preconfigure.in: Likewise.
51761         * sysdeps/x86_64/preconfigure: Regenerated.
51763 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
51765         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
51766         __ILP32__.
51768 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
51770         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51771         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
51773 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
51775         [BZ #13973]
51776         * locale/iso-639.def: Fix gl language name. Spotted by
51777         Yaron Shahrabani.
51779 2012-04-12  Roland McGrath  <roland@hack.frob.com>
51781         [BZ #2074]
51782         * libio/libio.h (__io_write_fn): Update comment.
51784 2012-04-12  Petr Baudis  <pasky@ucw.cz>
51786         [BZ #2074]
51787         * stdio.texi (Hook Functions): The user provided writer function
51788         is not allowed to return -1.
51790 2012-04-11  David S. Miller  <davem@davemloft.net>
51792         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51794 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
51796         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
51797         Add a leading slash to rtkaio.
51799 2012-04-11  Jim Meyering  <meyering@redhat.com>
51801         [BZ #11959]
51802         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
51803         It is not necessarily an error to ignore fwrite's return
51804         value.  One can reliably use ferror to test for errors after
51805         the fact.
51807 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
51809         * bits/types.h (__snseconds_t): New type.
51810         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
51812         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
51813         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51814         (__SNSECONDS_T_TYPE): Likewise.
51815         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51816         (__SNSECONDS_T_TYPE): Likewise.
51817         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51818         (__SNSECONDS_T_TYPE): Likewise.
51820 2012-04-10  Andreas Jaeger  <aj@suse.de>
51822         [BZ #2636]
51823         * manual/time.texi (Processor Time): Return type of times is
51824         elapsed real time since an arbitrary point in the past.
51825         (CPU Time): Move CLK_TCK from here...
51826         (Processor Time): ...to here.  Correct description.
51827         * manual/conf.texi (Constants for Sysconf): Correct description of
51828         _SC_CLK_TCK.
51830 2012-04-10  David S. Miller  <davem@davemloft.net>
51832         [BZ #13967]
51833         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
51834         where the is a gap between DT_REL(A) and DT_JMPREL.
51836 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
51838         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
51839         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
51840         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
51842 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51844         * elf/dl-support.c (_dl_inhibit_cache): New variable.
51845         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
51846         (dl_main): Handle --inhibit-cache.
51847         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
51848         _dl_inhibit_cache.
51849         * elf/dl-load.c (_dl_map_object): Use it.
51850         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
51852 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
51854         [BZ #13872]
51855         * sysdeps/i386/fpu/e_powl.S (p78): New object.
51856         (__ieee754_powl): Saturate large exponents rather than testing for
51857         overflow of y*log2(x).
51858         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51859         * math/libm-test.inc (pow_test): Do not permit spurious overflow
51860         exceptions.
51862         [BZ #11521]
51863         * math/s_ctan.c: Include <float.h>.
51864         (__ctan): Avoid internal overflow or cancellation in calculating
51865         denominator.
51866         * math/s_ctanf.c: Likewise.
51867         * math/s_ctanl.c: Likewise.
51868         * math/s_ctanh.c: Likewise.
51869         * math/s_ctanhf.c: Likewise.
51870         * math/s_ctanhl.c: Likewise.
51871         * math/libm-test.inc (ctan_test): Add more tests.
51872         (ctanh_test): Likewise.
51873         * sysdeps/i386/fpu/libm-test-ulps: Update.
51874         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51876 2012-04-09  Andreas Jaeger  <aj@suse.de>
51878         [BZ #6894]
51879         * manual/filesys.texi (Directory Entries): Mention that d_namlen
51880         is an optional BSD extension.
51882         [BZ #10254]
51883         * manual/stdio.texi (Opening Streams): Document additional fopen
51884         parameters.
51886 2012-04-09  Roland McGrath  <roland@hack.frob.com>
51888         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
51889         %eax without telling the compiler.
51891 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
51893         [BZ # 13963]
51894         * manual/install.texi: Use sourceware.org.
51896 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
51898         [BZ #13873]
51899         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
51900         (__ieee754_pow): Generate overflow and underflow using huge*huge
51901         and tiny*tiny rather than just returning constant infinity or zero
51902         for large exponents.
51903         * math/libm-test.inc (pow_test): Require overflow exceptions for
51904         applicable cases of large exponents.
51906         [BZ #706]
51907         * sysdeps/i386/fpu/e_pow.S (p10): New object.
51908         (__ieee754_pow): Use iterative multiplication algorithm only for
51909         integer exponents with absolute value below 1024.  Check for odd
51910         integer exponents when using algorithm for real exponents.
51911         * math/libm-test.inc (pow_test): Add more tests.
51912         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51914 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
51916         [BZ #13705]
51917         * math/libm-test.inc (exp_test): Do not allow overflow exception
51918         on underflow test.
51920 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
51922         [BZ #13705]
51923         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
51924         instead of __kernel_standard_f.
51926 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
51928         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
51929         * sysdeps/x86_64/memset_chk.S: Likewise.
51931 2012-04-08  Andreas Jaeger  <aj@suse.de>
51933         [BZ #10153]
51934         * manual/startup.texi (Environment Access): Describe return value
51935         for putenv and setenv.
51937         [BZ #6895]
51938         * manual/filesys.texi (Directory Entries): Add description for
51939         DT_LNK.
51941         [BZ #6890]
51942         * manual/filesys.texi (Directory Entries): Clarify that it's file
51943         system not operating system in the description of DT_UNKNOWN.
51945         [BZ #6578]
51946         * manual/syslog.texi (closelog): Fix reference, it's openlog.
51948 2012-04-08  Stephen Compall  <s11@member.fsf.org>
51950         [BZ #6649]
51951         * manual/llio.texi (Opening and Closing Files): Add cross
51952         reference to explain mode argument.
51954 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
51956         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
51957         * sysdeps/x86_64/memset_chk.S: Likewise.
51959 2012-04-07  David S. Miller  <davem@davemloft.net>
51961         * elf/elf.h (R_SPARC_WDISP10): Define.
51962         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
51963         R_SPARC_SIZE32.
51964         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
51965         R_SPARC_SIZE64 and R_SPARC_H34.
51967 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
51969         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
51970         conditions and remove no longer applicable assertion.
51972 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
51974         * bits/byteswap.h: Include <features.h>.
51975         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
51976         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
51978 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
51980         * bits/byteswap.h (__bswap_16): Removed.
51981         Include <bits/byteswap-16.h> to get __bswap_16.
51982         * sysdeps/i386/bits/byteswap.h: Likewise.
51983         * sysdeps/s390/bits/byteswap.h: Likewise.
51984         * sysdeps/x86_64/bits/byteswap.h: Likewise.
51985         * bits/byteswap-16.h: New file.
51986         * sysdeps/i386/bits/byteswap-16.h: Likewise.
51987         * sysdeps/s390/bits/byteswap-16.h: Likewise.
51988         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
51989         * string/Makefile (headers): Add bits/byteswap-16.h.
51991 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
51993         [BZ #13895]
51994         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
51995         extra indirection.
51996         * nss/Makefile (tests-static, tests): Add tst-nss-static.
51997         * nss/tst-nss-static.c: New.
51999 2012-04-06  Robert Millan  <rmh@gnu.org>
52001         [BZ #6486]
52002         * manual/llio.texi (File Position Primitive): lseek
52003         refers to WHENCE when it really means OFFSET.
52005 2012-04-06  Andreas Jaeger  <aj@suse.de>
52007         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
52008         strncmp declarations.
52010         * abilist/libc.abilist: Add __poll and __ppoll.
52012 2012-04-05  David S. Miller  <davem@davemloft.net>
52014         * scripts/check-local-headers.sh: Accept a host triplet in the
52015         path matched by the exclude regexp.
52017         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
52018         definition.
52019         * sysdeps/powerpc/powerpc32/dl-machine.h
52020         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
52021         * sysdeps/s390/s390-32/dl-machine.h
52022         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52023         * sysdeps/sparc/sparc32/dl-machine.h
52024         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52025         * sysdeps/sparc/sparc64/dl-machine.h
52026         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52028         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
52029         lazy binding.
52030         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
52031         undefined symbol errors.
52033         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
52034         DT_NEEDED entries.
52036 2012-04-05  Michael Matz  <matz@suse.de>
52038         [BZ #13592]
52039         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
52041 2012-04-05  Andreas Jaeger  <aj@suse.de>
52043         [BZ #13908]
52044         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
52045         comment.
52047 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52049         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
52050         which ROUND is no valid rounding mode.
52052 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52054         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
52055         read again.
52056         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
52058 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52060         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
52061         an exception using FPU order intentionally.
52063 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52065         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
52066         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
52067         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
52068         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
52070 2012-04-05  Simon Josefsson  <simon@josefsson.org>
52072         [BZ #12340]
52073         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
52074         EINVAL when BUFLEN is too smal.
52076 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
52078         [BZ #13553]
52079         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
52080         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
52082 2012-04-03  Andreas Jaeger  <aj@suse.de>
52084         [BZ #13938]
52085         * manual/setjmp.texi (System V contexts): Fix sentence.
52087         [BZ #13926]
52088         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
52089         New macro for this case.
52090         [!__GNUC__] (__bswap_64): New inline function for this case.
52091         * sysdeps/x86_64/bits/byteswap.h: Likewise.
52092         * bits/byteswap.h: Likewise.
52093         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
52094         ull, guard with __GLIBC_HAVE_LONG_LONG.
52096         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
52097         __GLIBC_HAVE_LONG_LONG.
52099         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
52100         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
52102 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
52104         [BZ #13691]
52105         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
52106         inptr and inend, rather than using last_ch.
52108 2012-04-02  David S. Miller  <davem@davemloft.net>
52110         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
52111         * stdio-common/printf-parse.h (read_int): Change return type to
52112         'int', return -1 on INT_MAX overflow.
52113         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
52114         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
52115         overflows INT_MAX.  Check for overflow of in-format-string precision
52116         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
52117         SIZE_MAX not INT_MAX for integer overflow test.
52118         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
52119         skip the construct in the format string but do not record anything.
52120         * stdio-common/bug22.c: Adjust to test both width/prevision
52121         INT_MAX overflow as well as total length INT_MAX overflow.  Check
52122         explicitly for proper errno values.
52124 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
52126         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
52127         CHAR_MAX.
52128         * string/test-strcmp.c [! WIDE]: Likewise.
52129         * time/tst-mktime2.c: Likewise for INT_MAX.
52130         * string/test-string.h: #include <sys/param.h> for MIN.
52132         * csu/init-first.c (__libc_init_first): Call __ctype_init.
52133         * sysdeps/i386/init-first.c (init): Likewise.
52134         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
52135         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
52136         * sysdeps/sh/init-first.c (init): Likewise.
52138 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
52140         * po/ru.po: Update from translation team.
52141         * po/vi.po: Likewise.
52143 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
52145         * resolv/nss_dns/dns-host.c: Merge copyright years.
52147 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52149         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
52150         Optimize memcpy with prefetch if
52151         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
52152         src, dst pointers have unequal 16 byte alignments.
52154 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52156         [BZ #13928]
52157         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
52158         from a CNAME entry and return the minimum ttl for the query.
52159         (gaih_getanswer_slice): Likewise.
52161 2012-03-30  Jeff Law  <law@redhat.com>
52163         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
52164         due to long keys.
52165         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
52166         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
52168         * resolv/nss_dns/dns-host.c: Update copyright year.
52170 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
52172         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
52173         requests to save a system call.  Fix check that all bytes are sent.
52175         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
52176         comments for sendmmsg.
52178 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52180         [BZ #13691]
52181         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
52182         with only 1 character between 0x0041 and 0x01b0.
52183         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
52184         * wcsmbs/tst-mbsnrtowcs.c: New file.
52186 2012-03-29  David S. Miller  <davem@davemloft.net>
52188         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
52189         small copies by hand.
52191 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52193         [BZ #13761]
52194         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
52195         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
52196         group memberships.
52198 2012-03-28  David S. Miller  <davem@davemloft.net>
52200         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
52201         that branches into memcpy.
52202         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
52203         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
52204         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
52205         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
52206         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
52207         bits.
52208         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
52209         implementation too.
52210         * sysdeps/sparc/mempcpy.S: New file.
52212         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
52213         the IFUNC routine in the libc case.
52214         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
52216         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
52217         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
52218         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
52219         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
52220         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
52221         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
52222         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
52223         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
52225         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
52226         loop to 256 bytes instead of 64 bytes and fix test signedness.
52228         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
52229         * sysdeps/sparc/sparc32/Makefile: rather than here...
52230         * sysdeps/sparc/sparc64/Makefile: and here.
52232 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
52234         * malloc/mallocbug.c: Avoid warnings about unused variables.
52236 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
52238         [BZ #13760]
52239         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
52240         in the right place. Discard and retry query if response is
52241         larger than input buffer size.
52243 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
52245         [BZ #369]
52246         [BZ #2678]
52247         [BZ #3866]
52248         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
52249         x for large integer exponent.
52250         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
52251         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
52252         sign of result as needed afterwards.
52253         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
52254         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
52255         result for underflowing pow the same as for overflow.
52256         (__kernel_standard_l): Handle powl overflow and underflow here
52257         rather than calling __kernel_standard.
52258         * math/libm-test.inc (pow_test): Add more tests.
52260         [BZ #3868]
52261         [BZ #13879]
52262         [BZ #13910]
52263         [BZ #13911]
52264         [BZ #13912]
52265         [BZ #13913]
52266         [BZ #13915]
52267         [BZ #13916]
52268         [BZ #13917]
52269         [BZ #13918]
52270         [BZ #13919]
52271         [BZ #13920]
52272         [BZ #13921]
52273         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
52274         * sysdeps/ieee754/k_standard.c: Include <float.h>.
52275         (__kernel_standard_l): New function.
52276         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
52277         __kernel_standard.
52278         * math/w_acosl.c (__acosl): Likewise.
52279         * math/w_asinl.c (__asinl): Likewise.
52280         * math/w_atan2l.c (__atan2l): Likewise.
52281         * math/w_atanhl.c (__atanhl): Likewise.
52282         * math/w_coshl.c (__coshl): Likewise.
52283         * math/w_exp10l.c (__exp10l): Likewise.
52284         * math/w_exp2l.c (__exp2l): Likewise.
52285         * math/w_fmodl.c (__fmodl): Likewise.
52286         * math/w_hypotl.c (__hypotl): Likewise.
52287         * math/w_j0l.c (__j0l, __y0l): Likewise.
52288         * math/w_j1l.c (__j1l, __y1l): Likewise.
52289         * math/w_jnl.c (__jnl, __ynl): Likewise.
52290         * math/w_lgammal.c (__lgammal): Likewise.
52291         * math/w_log10l.c (__log10l): Likewise.
52292         * math/w_log2l.c (__log2l): Likewise.
52293         * math/w_logl.c (__logl): Likewise.
52294         * math/w_powl.c (__powl): Likewise.
52295         * math/w_remainderl.c (__remainderl): Likewise.
52296         * math/w_scalbl.c (sysv_scalbl): Likewise.
52297         * math/w_sinhl.c (__sinhl): Likewise.
52298         * math/w_sqrtl.c (__sqrtl): Likewise.
52299         * math/w_tgammal.c (__tgammal): Likewise.
52300         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
52301         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
52302         * math/libm-test.inc (acos_test): Add more tests.
52303         (acosh_test): Likewise.
52304         (asin_test): Likewise.
52305         (atanh_test): Likewise.
52306         (exp_test): Likewise.
52307         (exp10_test): Likewise.
52308         (exp2_test): Likewise.
52309         (expm1_test): Likewise.
52310         (lgamma_test): Likewise.
52311         (log_test): Likewise.
52312         (log10_test): Likewise.
52313         (log1p_test): Likewise.
52314         (log2_test): Likewise.
52315         (pow_test): Do not allow some spurious overflow exceptions.
52316         (sqrt_test): Add more tests.
52317         (tgamma_test): Likewise.
52318         (y0_test): Likewise.
52319         (y1_test): Likewise.
52320         (yn_test): Likewise.
52322 2012-03-27  Anton Blanchard  <anton@samba.org>
52324         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
52325         MAP_HUGETLB.
52326         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52327         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
52328         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52330 2012-03-27  David S. Miller  <davem@davemloft.net>
52332         * conform/Makefile: Run run-conformtest.sh using $(BASH).
52334         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
52335         have-as-vis3 check.
52337 2012-03-27  Andreas Jaeger  <aj@suse.de>
52339         * sysdeps/x86_64/elf/configure.in: Moved to ...
52340         * sysdeps/x86_64/configure.in: ... here.
52341         * sysdeps/x86_64/elf/start.S: Moved to ...
52342         * sysdeps/x86_64/start.S: ... here.
52343         * sysdeps/x86_64/elf/configure: Delete.
52345         * sysdeps/x86_64/configure.in: Merge contents from
52346         sysdeps/i386/configure.in (without i686 check).
52348         * sysdeps/i386/elf/Versions: Merge into ...
52349         * sysdeps/i386/Versions: ... this.
52350         * sysdeps/i386/elf/Versions: Delete file.
52351         * sysdeps/i386/elf/start.S: Moved to ...
52352         * sysdeps/i386/start.S: ...here.
52353         * sysdeps/i386/elf/configure.in: Merge into...
52354         * sysdeps/i386/configure.in: ...here.
52355         * sysdeps/i386/elf/configure.in: Delete file.
52356         * sysdeps/i386/elf/configure: Delete file.
52358         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
52359         * debug/backtracesyms.c: ... here.
52360         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
52361         * debug/backtracesymsfd.c: ... here.
52362         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
52363         * sysdeps/generic/ifunc-sel.h: ... here.
52365         * sysdeps/unix/i386/start.c: Delete file.
52366         * sysdeps/unix/sparc/start.c: Delete file.
52367         * sysdeps/unix/start.c: Delete file.
52369         * sysdeps/sh/elf/configure.in: Moved to ...
52370         * sysdeps/sh/configure.in: ... here.
52371         * sysdeps/sh/elf/start.S: Moved to ...
52372         * sysdeps/sh/start.S: ... here.
52373         * sysdeps/sh/elf/configure: Delete file.
52375         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
52376         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
52377         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
52378         * sysdeps/powerpc/powerpc64/entry.h: ... here.
52379         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
52380         * sysdeps/powerpc/powerpc64/start.S: here.
52381         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
52382         * sysdeps/powerpc/powerpc64/Makefile: ... this.
52383         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
52384         * sysdeps/powerpc/powerpc64/configure.in: ... this.
52385         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
52387         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
52388         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
52389         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
52390         * sysdeps/powerpc/powerpc32/start.S: ... here.
52391         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
52392         * sysdeps/powerpc/powerpc32/configure.in: ... this.
52393         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
52395         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
52396         * sysdeps/powerpc/ifunc-sel.h: ... here.
52397         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
52398         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
52400         * sysdeps/sparc/elf/configure.in: Moved to ...
52401         * sysdeps/sparc/configure.in: ... here.
52402         * sysdeps/sparc/elf/configure: Delete file.
52403         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
52404         * sysdeps/sparc/sparc32/start.S: ... here.
52405         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
52406         * sysdeps/sparc/sparc64/start.S: ... here.
52407         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
52408         * sysdeps/sparc/sparc32/Makefile: ... this.
52409         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
52410         * sysdeps/sparc/sparc64/Makefile: ... this.
52412         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
52413         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
52414         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
52415         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
52416         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
52417         * sysdeps/s390/s390-32/setjmp.S: ... here.
52418         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
52419         * sysdeps/s390/s390-32/configure.in: ... here.
52420         * sysdeps/s390/s390-32/elf/configure: Delete file.
52421         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
52422         * sysdeps/s390/s390-32/start.S: ... here.
52424         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
52425         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
52426         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
52427         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
52428         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
52429         * sysdeps/s390/s390-64/setjmp.S: ... here.
52430         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
52431         * sysdeps/s390/s390-64/configure.in: ... here
52432         * sysdeps/s390/s390-64/elf/configure: Delete file.
52433         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
52434         * sysdeps/s390/s390-64/start.S: ... here.
52435         * sysdeps/s390/s390-64/elf/configure: Delete.
52437         * configure.in: Remove support for elf directories in sysdeps.
52439         * configure: Regenerated.
52440         * sysdeps/i386/configure: Regenerated.
52441         * sysdeps/powerpc/powerpc32/configure: Regenerated.
52442         * sysdeps/powerpc/powerpc64/configure: Regenerated.
52443         * sysdeps/s390/s390-32/configure: Regenerated.
52444         * sysdeps/s390/s390-64/configure: Regenerated.
52445         * sysdeps/sh/configure: Regenerated.
52446         * sysdeps/sparc/configure: Regenerated.
52447         * sysdeps/x86_64/configure: Regenerated.
52449 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
52451         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52453         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
52454         denormal result into account.
52456 2012-03-25  Roland McGrath  <roland@hack.frob.com>
52458         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
52459         Reported by Allan McRae <allan@archlinux.org>.
52461 2012-03-23  Jeff Law  <law@redhat.com>
52463         * nss/getnssent.c (__nss_getent): Fix typo.
52465 2012-03-23  David S. Miller  <davem@davemloft.net>
52467         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52469 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
52471         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
52472         to pad to uint64_t for each field.
52473         (dl_tls_index): Replace unsigned long with uint64_t.
52475 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
52476         Paul Pluzhnikov  <ppluzhnikov@google.com>
52478         [BZ #6528]
52479         * grp/Makefile (otherlibs): Don't set it.
52480         * inet/Makefile (otherlibs): Likewise.
52481         * login/Makefile (otherlibs): Likewise.
52482         * nscd/Makefile (otherlibs): Likewise.
52483         * posix/Makefile (otherlibs): Likewise.
52484         * pwd/Makefile (otherlibs): Likewise.
52485         * rt/Makefile (otherlibs): Likewise.
52486         * sunrpc/Makefile (otherlibs): Likewise.
52487         * nss/Makefile (otherlibs): Likewise.
52488         Add libnss_files to routines and static-only-routines.
52489         ($(objpfx)getent): Remove rule.
52490         * resolv/Makefile: Add libnss_dns and libresolv to routines and
52491         static-only-routines.
52493 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
52495         [BZ #13892]
52496         * math/s_cexp.c: Include <float.h>.
52497         (__cexp): Handle exp result overflowing not necessarily
52498         overflowing both real and imaginary parts of result.
52499         * math/s_cexpf.c: Likewise.
52500         * math/s_cexpl.c: Likewise.
52501         * math/libm-test.inc (cexp_test): Add more tests.
52502         * sysdeps/i386/fpu/libm-test-ulps: Update.
52503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52505 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
52507         * include/link.h (ELFW): New macro.
52508         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
52509         Replace ELF64_R_TYPE with ELFW(R_TYPE).
52511 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
52513         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
52514         with uint64_t.
52516 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
52518         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
52519         declaration.
52520         (struct La_x32_retval): Likewise.
52522 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
52524         * sysdeps/x86_64/preconfigure.in: New file.
52525         * sysdeps/x86_64/preconfigure: New generated file.
52527 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
52529         [BZ #13824]
52530         * math/e_exp2l.c: Include <float.h>.
52531         (__ieee754_exp2l): Handle overflow and underflow cases
52532         separately.  Only pass fractional part of argument to
52533         __ieee754_expl.
52534         * math/libm-test.inc (exp2_test): Add more tests.
52536         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
52537         negating x to take absolute value.
52538         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
52539         Likewise.
52540         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
52541         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
52542         Likewise.
52543         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
52544         computing low part if x was negated.
52545         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
52547 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
52549         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
52550         la_x32_gnu_pltexit.
52551         (pltexit): Cast int_retval to ptrdiff_t.
52552         * elf/tst-auditmod3b.c: Likewise.
52553         * elf/tst-auditmod4b.c: Likewise.
52554         * elf/tst-auditmod5b.c: Likewise.
52555         * elf/tst-auditmod6b.c: Likewise.
52556         * elf/tst-auditmod6c.c: Likewise.
52557         * elf/tst-auditmod7b.c: Likewise.
52559         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
52560         and x32_gnu_pltexit.
52562         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
52563         __ELF_NATIVE_CLASS.
52564         (La_x32_regs): New macro.
52565         (La_x32_retval): Likewise.
52566         (la_x32_gnu_pltenter): New function prototype.
52567         (la_x32_gnu_pltexit): Likewise.
52569 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
52571         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
52572         exponent.
52574         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52576         * configure.in (libc_cv_cc_nofma): Check for option to disable
52577         generation of FMA instructions.
52578         * configure: Regenerate.
52579         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
52580         * sysdeps/ieee754/dbl-64/Makefile: New file.
52581         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
52582         Remove brandred-fma4.
52583         (CFLAGS-brandred-fma4.c): Remove.
52584         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
52585         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
52586         define.
52587         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
52588         define.
52590 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
52592         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
52593         LLONG_MAX != LONG_MAX.
52594         (_itoa_word): Use _ITOA_WORD_TYPE on value.
52595         (_fitoa_word): Likewise.
52596         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
52597         LLONG_MAX != LONG_MAX.
52598         * stdio-common/_itowa.h: Include <_itoa.h>.
52599         (_itowa_word): Use _ITOA_WORD_TYPE on value.
52600         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
52601         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
52602         only if not defined.
52603         (_ITOA_WORD_TYPE): Likewise.
52604         (_itoa_word): Use _ITOA_WORD_TYPE on value.
52605         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
52607 2012-03-21  David S. Miller  <davem@davemloft.net>
52609         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52611 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
52613         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
52614         of x86_64 when setting libc_cv_slibdir, libdir and
52615         libc_cv_localedir.
52616         * sysdeps/unix/sysv/linux/configure: Regenerated.
52618 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
52620         * manual/lang.texi (Old Varargs): Remove section.
52621         (How Variadic): Update menu.
52622         (va_start): Do not mention varargs.h.
52624 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
52625             Joseph Myers  <joseph@codesourcery.com>
52627         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
52628         link test.
52629         * configure: Regenerated.
52631 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
52633         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
52634         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
52635         conformtest.pl
52637 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
52639         * NOTES: Remove.
52640         * Makefile (files-for-dist): Remove NOTES.
52641         (NOTES): Remove rule.
52642         * README: Don't refer to NOTES.
52643         * manual/creature.texi: Don't include macros.texi.
52644         * manual/intro.texi (creature.texi): Remove comment referring to
52645         NOTES.
52647         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
52648         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
52649         * configure: Regenerated.
52650         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
52651         LIBC_TRY_CC_OPTION.
52652         (libc_cv_as_i686): Likewise.
52653         (libc_cv_cc_avx): Likewise.
52654         (libc_cv_cc_sse2avx): Likewise.
52655         (libc_cv_cc_fma4): Likewise.
52656         (libc_cv_cc_novzeroupper): Likewise.
52657         * sysdeps/i386/configure: Regenerated.
52659         [BZ #13883]
52660         * sysdeps/i386/fpu/s_cexp.S: Remove.
52661         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
52662         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
52663         * math/libm-test.inc (cexp_test): Add more tests.
52664         * sysdeps/i386/fpu/libm-test-ulps: Update.
52665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52667 2012-03-21  Allan McRae  <allan@archlinux.org>
52669         * timezone/Makefile: Do not install iso3166.tab and zone.tab
52671 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
52673         [BZ #13871]
52674         * math/w_exp2.c: Do not include <float.h>.
52675         (o_threshold, u_threshold): Remove.
52676         (__exp2): Calculate result before checking finiteness and calling
52677         __kernel_standard.
52678         * math/w_exp2f.c: Likewise.
52679         * math/w_exp2l.c: Likewise.
52680         * math/libm-test.inc (exp2_test): Require overflow exception for
52681         1e6 input.
52683         [BZ #3866]
52684         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
52685         range of signed 64-bit integers before using fistpll.  Remove
52686         checks for whether integers fit in mantissa bits.
52687         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
52688         the range of signed 32-bit integers before using fistpl.  Remove
52689         checks for whether integers fit in mantissa bits.
52690         * sysdeps/i386/fpu/e_powl.S (p64): New object.
52691         (__ieee754_powl): Test for y outside the range of signed 64-bit
52692         integers before using fistpll.  Reduce 64-bit values to 63-bit
52693         ones as needed.
52694         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
52695         divide-by-zero is raised for zero to large negative powers.
52696         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
52697         (__ieee754_powl): Test for y outside the range of signed 64-bit
52698         integers before using fistpll.  Reduce 64-bit values to 63-bit
52699         ones as needed.
52700         * math/libm-test.inc (pow_test): Add more tests.
52702 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52704         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
52705         <stdio-common/_itoa.h>.
52706         * debug/segfault.c: Likewise.
52707         * elf/dl-cache.c: Likewise.
52708         * elf/dl-minimal.c: Likewise.
52709         * elf/dl-misc.c: Likewise.
52710         * elf/dl-sysdep.c: Likewise.
52711         * elf/dl-version.c: Likewise.
52712         * elf/rtld.c: Likewise.
52713         * hurd/hurdsock.c: Likewise.
52714         * hurd/lookup-retry.c: Likewise.
52715         * malloc/malloc.c: Likewise.
52716         * malloc/mtrace.c: Likewise.
52717         * nscd/nscd_getgr_r.c: Likewise.
52718         * nscd/nscd_getpw_r.c: Likewise.
52719         * nscd/nscd_getserv_r.c: Likewise.
52720         * posix/getopt_init.c: Likewise.
52721         * posix/wordexp.c: Likewise.
52722         * stdio-common/_itoa.c: Likewise.
52723         * stdio-common/printf_fphex.c: Likewise.
52724         * stdio-common/vfprintf.c: Likewise.
52725         * string/_strerror.c: Likewise.
52726         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
52727         * sysdeps/i386/i686/hp-timing.h: Likewise.
52728         * sysdeps/mach/_strerror.c: Likewise.
52729         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
52730         * sysdeps/mach/hurd/sethostid.c: Likewise.
52731         * sysdeps/mach/hurd/xmknodat.c: Likewise.
52732         * sysdeps/mach/xpg-strerror.c: Likewise.
52733         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
52734         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
52735         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
52736         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
52737         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
52738         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
52739         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
52740         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
52741         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
52742         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
52743         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
52744         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
52745         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
52746         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
52747         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
52748         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
52749         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
52750         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
52751         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
52752         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
52753         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
52755         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
52757         * stdio-common/_itoa.h: Moved to ...
52758         * sysdeps/generic/_itoa.h: Here.
52760         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
52762         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
52763         instead of "_itoa.h" and "_itowa.h".
52764         * stdio-common/vfprintf.: Likewise.
52766 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52768         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
52769         <bits/wordsize.h>.
52770         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
52771         (__signbit): Likwise.
52772         (llrintf): Likwise.
52773         (llrint): Likwise.
52775 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52777         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
52778         __WORDSIZE != 64.
52780 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
52782         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
52783         OVERFLOW_EXCEPTION_OK.
52784         * math/libm-test.inc ("Philosophy"): Update comment about
52785         exception testing.
52786         (OVERFLOW_EXCEPTION): Define.
52787         (OVERFLOW_EXCEPTION_OK): Likewise.
52788         (INVALID_EXCEPTION_OK): Renumber.
52789         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
52790         (IGNORE_ZERO_INF_SIGN): Likewise.
52791         (test_exceptions): Handle FE_OVERFLOW.
52792         (exp10_test): Expect overflow exceptions.
52793         (exp2_test): Likewise.
52794         (expm1_test): Likewise.
52795         (nextafter_test): Likewise.
52796         (pow_test): Likewise.
52797         (scalbn_test): Likewise.
52798         (scalbln_test): Likewise.
52800 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52802         * sysdeps/x86_64/bits/atomic.h
52803         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
52804         64bit integer.
52805         (atomic_exchange_acq): Likewise.
52806         (__arch_exchange_and_add_body): Likewise.
52807         (__arch_add_body): Likewise.
52808         (atomic_add_negative): Likewise.
52809         (atomic_add_zero): Likewise.
52811 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52813         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
52814         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
52816 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52818         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
52819         Check __x86_64__ instead of __WORDSIZE.
52821 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52823         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
52825 2012-03-19  David S. Miller  <davem@davemloft.net>
52827         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52829         * sysdeps/sparc/fpu/fenv_private.h: New file.
52830         * sysdeps/sparc/fpu/math_private.h: Use it.
52831         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
52832         Remove.
52833         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
52834         (libc_feholdexcept_setroundl): Remove.
52835         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
52836         Remove.
52837         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
52838         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
52840 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52842         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
52843         int64_t instead of long int.
52844         (INSERT_WORDS64): Likwise.
52846 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52848         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
52849         _Unwind_GetCFA return to _Unwind_Ptr first.
52851 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
52853         [BZ #13629]
52854         * math/s_clog.c: Include <float.h>.
52855         (__clog): Scale large or subnormal inputs.
52856         * math/s_clogf.c: Likewise.
52857         * math/s_clogl.c: Likewise.
52858         * math/s_clog10.c: Include <float.h>.
52859         (M_LOG10_2): Define.
52860         (__clog10): Scale large or subnormal inputs.
52861         * math/s_clog10f.c: Likewise.
52862         * math/s_clog10l.c: Likewise.
52863         * math/libm-test.inc (clog_test): Add more tests.
52864         (clog10_test): Likewise.
52865         * sysdeps/i386/fpu/libm-test-ulps: Update.
52866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52868         [BZ #11451]
52869         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
52870         x and y.
52871         * math/libm-test.inc (atan2_test): Add another test.
52873         * Makerules (common-objdir-compile): Remove.
52874         * sysdeps/unix/Makefile (config-generated): Do not add
52875         $(unix-generated) to variable.
52876         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
52877         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
52878         Remove rule.
52879         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
52880         Likewise.
52881         [generic bits/local_lim.h] (before-compile): Do not append to
52882         variable.
52883         [generic bits/local_lim.h] (common-generated): Likewise.
52884         [generic sys/param.h] (before-compile): Do not append to variable.
52885         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
52886         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
52887         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
52888         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
52889         include.
52890         [generic sys/param.h] (sys/param.h-includes): Remove variable.
52891         [generic sys/param.h] (sys/param.h-includes): Remove rule.
52892         [generic sys/param.h] ($(addprefix
52893         $(common-objpfx),$(sys/param.h-includes))): Likewise.
52894         [generic sys/param.h] (common-generated): Do not append to
52895         variable.
52896         [generic sys/param.h] (sysdep_headers): Likewise.
52897         [generic bits/errno.h] (before-compile): Do not append to
52898         variable.
52899         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
52900         rule.
52901         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
52902         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
52903         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
52904         [generic bits/errno.h] (common-generated): Do not append to
52905         variable.
52906         [generic bits/ioctls.h] (before-compile): Do not append to
52907         variable.
52908         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
52909         rule.
52910         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
52911         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
52912         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
52913         rule.
52914         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
52915         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
52916         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
52917         [generic bits/ioctls.h] (common-generated): Do not append to
52918         variable.
52919         [generic sys/syscall.h] (syscall.h): Remove variable.
52920         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
52921         rule.
52922         [generic sys/syscall.h] (before-compile): Do not append to
52923         variable.
52924         [generic sys/syscall.h] (common-generated): Likewise.
52925         * sysdeps/unix/errnos-tmpl.c: Remove file.
52926         * sysdeps/unix/errnos.awk: Likewise.
52927         * sysdeps/unix/ioctls-tmpl.c: Likewise.
52928         * sysdeps/unix/ioctls.awk: Likewise.
52929         * sysdeps/unix/mk-local_lim.c: Likewise.
52930         * sysdeps/unix/snarf-ioctls: Likewise.
52932 2012-03-19  Richard Henderson  <rth@twiddle.net>
52934         * sysdeps/i386/fpu/fenv_private.h: New file.
52935         * sysdeps/i386/fpu/math_private.h: Use it.
52936         (math_opt_barrier, math_force_eval): Remove.
52937         (libc_feholdexcept_setround_53bit): Remove.
52938         (libc_feupdateenv_53bit): Remove.
52939         * sysdeps/x86_64/fpu/math_private.h: Likewise.
52940         (math_opt_barrier, math_force_eval): Remove.
52941         (libc_feholdexcept): Remove.
52942         (libc_feholdexcept_setround): Remove.
52943         (libc_fetestexcept, libc_fesetenv): Remove.
52944         (libc_feupdateenv_test): Remove.
52945         (libc_feupdateenv, libc_feholdsetround): Remove.
52946         (libc_feresetround): Remove.
52948         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
52949         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
52951         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
52952         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
52953         (libc_feupdateenv_testl): New.
52954         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
52955         (libc_feupdateenv_testf): New.
52956         (libc_feupdateenv): Use libc_feupdateenv_test.
52957         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
52958         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
52960         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
52961         (libc_feholdsetroundf, libc_feholdsetroundl): New.
52962         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
52963         (libc_feresetround_noex): New.
52964         (libc_feresetround_noexf): New.
52965         (libc_feresetround_noexl): New.
52966         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
52967         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
52968         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
52969         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
52970         SET_RESTORE_ROUND.
52971         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
52972         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
52973         (__cos): Likewise.
52974         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
52975         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
52976         SET_RESTORE_ROUND_NOEX.
52977         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
52978         SET_RESTORE_ROUND_NOEXF.
52979         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
52980         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
52981         (libc_feholdsetroundf): New.
52982         (libc_feresetround, libc_feresetroundf): New.
52984         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
52985         (libc_feholdexcept_setround_53bit): Convert from macro to function.
52986         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
52988         * sysdeps/generic/math_private.h: Include <fenv.h>.
52989         (default_libc_feholdexcept): New.
52990         (default_libc_feholdexcept_setround): New.
52991         (default_libc_fesetenv, default_libc_feupdateenv): New.
52992         (libc_feholdexcept): Only define if undefined.
52993         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
52994         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
52995         (libc_feholdexcept_setroundl): Likewise.
52996         (libc_feholdexcept_setround_53bit): Likewise.
52997         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
52998         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
52999         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
53000         (libc_feupdateenv_53bit): Likewise.
53001         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
53002         (libc_feholdexcept): Convert from macro to inline function.
53003         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
53004         (libc_fesetenv, libc_feupdateenv): Likewise.
53006         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
53007         not previously defined.
53008         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
53009         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
53010         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
53011         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
53012         * sysdeps/ieee754/flt-32/math_private.h: New file.
53013         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
53014         math_private.h below SET_FLOAT_WORD.
53015         (__isnan, __isinf_ns, __finite): Remove.
53016         (__isnanf, __isinf_nsf, __finitef): Remove.
53018 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
53020         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53022 2012-03-17  David S. Miller  <davem@davemloft.net>
53024         [BZ #6471]
53025         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
53026         for 2.16.
53028 2012-03-16  David S. Miller  <davem@davemloft.net>
53030         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
53031         warnings.
53033         [BZ #6471]
53034         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
53035         properly.
53036         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
53037         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
53038         sysdep_routines when subdir is sysvipc.
53039         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
53040         __getshmlba helper.
53042         * sysdeps/sparc/fpu/libm-test/ulps: Update.
53044 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53046         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
53047         [__LP64__].
53049 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53051         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
53052         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
53053         (__lround): Renamed to ...
53054         (__llround): This.  Replace long int with long long int.
53055         Define lround functions as aliases of llround functions.
53056         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
53058 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53060         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
53061         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
53062         adresses to uintptr_t.  Replace "long int" and "unsigned long
53063         int" with "greg_t" on va_arg.
53065 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53067         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
53068         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
53070         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
53071         Move e_machine check before EI_CLASS check.  Handle x32
53072         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
53073         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
53074         SKIP_EM_IA_64 and include
53075         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
53077         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
53078         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
53079         (add_system_dir): New macro.
53081         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
53082         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
53084 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
53086         [BZ #2551]
53087         [BZ #2552]
53088         [BZ #2553]
53089         [BZ #2554]
53090         [BZ #2562]
53091         [BZ #2563]
53092         [BZ #2565]
53093         [BZ #2566]
53094         [BZ #2576]
53095         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
53096         (y0): Likewise.
53097         * math/w_j0f.c (j0f): Likewise.
53098         (y0f): Likewise.
53099         * math/w_j0l.c (__j0l): Likewise.
53100         (__y0l): Likewise.
53101         * math/w_j1.c (j1): Likewise.
53102         (y1): Likewise.
53103         * math/w_j1f.c (j1f): Likewise.
53104         (y1f): Likewise.
53105         * math/w_j1l.c (__j1l): Likewise.
53106         (__y1l): Likewise.
53107         * math/w_jn.c (jn): Likewise.
53108         (yn): Likewise.
53109         * math/w_jnf.c (jnf): Likewise.
53110         (ynf): Likewise.
53111         * math/w_jnl.c (__jnl): Likewise.
53112         (__ynl): Likewise.
53113         * math/libm-test.inc (j0_test): Add more tests.
53114         (j1_test): Likewise.
53115         (jn_test): Likewise.  Add trailing semicolon to existing test.
53116         (y0_test): Likewise.
53117         (y1_test): Likewise.
53118         * sysdeps/i386/fpu/libm-test-ulps: Update.
53119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53121         [BZ #13851]
53122         [BZ #13854]
53123         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
53124         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
53125         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
53126         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
53127         (__tanl): Set errno for infinite argument.
53128         * sysdeps/i386/fpu/mptan.c: Remove.
53129         * sysdeps/i386/fpu/s_tan.S: Likewise.
53130         * sysdeps/i386/fpu/s_tanl.S: Likewise.
53131         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
53132         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
53133         * math/libm-test.inc (tan_test): Add more tests and enable more
53134         tests for double and long double.
53135         * sysdeps/i386/fpu/libm-test-ulps: Update.
53136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53138 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
53140         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
53141         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
53143 2012-03-16  Roland McGrath  <roland@hack.frob.com>
53145         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
53146         * configure.in: Use it for both main tree and add-ons.
53147         * configure: Regenerated.
53149 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53151         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
53153 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
53155         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
53156         in comment.
53158         [BZ #13851]
53159         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
53160         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
53161         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
53162         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
53163         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
53164         infinite argument.
53165         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
53166         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
53167         != 0 for prec == 2.
53168         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
53169         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
53170         * sysdeps/i386/fpu/s_cosl.S: Likewise.
53171         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
53172         * sysdeps/i386/fpu/s_sinl.S: Likewise.
53173         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
53174         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
53175         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
53176         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
53177         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
53178         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
53179         * math/libm-test.inc (cos_test): Add more tests and enable more
53180         tests for long double.
53181         (sin_test): Likewise.
53182         (sincos_test): Likewise.
53183         * sysdeps/i386/fpu/libm-test-ulps: Update.
53184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53186 2012-03-16  David S. Miller  <davem@davemloft.net>
53188         * sysdeps/sparc/fpu/math_private.h: New file.
53190 2012-03-15  David S. Miller  <davem@davemloft.net>
53192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
53193         file.
53194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
53195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
53196         file.
53197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
53198         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
53199         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
53200         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
53201         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
53202         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
53203         sysdep routines.
53204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
53206         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
53207         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
53209         * sysdeps/sparc/sparc-ifunc.h: New file.
53210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
53211         sparc-ifunc.h
53212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
53213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
53214         Likewise.
53215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
53216         Likewise.
53217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
53218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
53219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
53221         Likewise.
53222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
53223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
53224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
53225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
53226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
53227         Likewise.
53228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
53229         Likewise.
53230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
53231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
53232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
53233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
53234         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
53235         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
53236         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
53237         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
53238         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
53239         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
53240         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
53241         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
53242         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
53243         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
53244         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
53245         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
53246         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
53247         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
53248         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
53249         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
53250         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
53251         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
53252         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
53253         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
53255 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
53257         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
53258         scaling.
53259         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53261 2012-03-15  Andreas Jaeger  <aj@suse.de>
53263         [BZ #13852]
53264         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
53265         ieee754/flt-32 implementation for sin, cos and sincos.
53266         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
53267         * sysdeps/i386/fpu/s_cosf.S: Likewise.
53268         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
53269         * sysdeps/i386/fpu/s_sinf.S: Likewise.
53270         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
53271         ieee754/flt-32 implementation for tan.
53273         * math/libm-test.inc (cos_test): Enable some large input tests for
53274         float as well
53275         (sin_test): Likewise.
53276         (sincos_test): Likewise.
53277         (tan_test): Add tests for large input.
53279         * sysdeps/i386/fpu/libm-test-ulps: Update.
53281 2012-03-15  Andreas Jaeger  <aj@suse.de>
53283         [BZ #13658]
53284         * math/libm-test.inc (cos_test): Add more test cases.
53285         (sin_test): Likewise.
53286         (sincos_test): Likewise.
53288 2012-03-15  Andreas Jaeger  <aj@suse.de>
53290         [BZ #13837]
53291         * math/libm-test.inc (cos_test): Add a test case for large input
53292         value.
53293         (sin_test): Likewise.
53294         (sincos_test): Likewise.
53296 2012-03-15  Andreas Jaeger  <aj@suse.de>
53297             Joseph Myers  <joseph@codesourcery.com>
53299         [BZ #13658]
53300         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
53301         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
53302         * sysdeps/i386/fpu/branred.c: Likewise.
53303         * sysdeps/i386/fpu/dosincos.c: Likewise.
53304         * sysdeps/i386/fpu/mpa.c: Likewise.
53305         * sysdeps/i386/fpu/s_cos.S: Likewise.
53306         * sysdeps/i386/fpu/s_sin.S: Likewise.
53307         * sysdeps/i386/fpu/s_sincos.S: Likewise.
53308         * sysdeps/i386/fpu/sincos32.c: Likewise.
53310         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
53311         Define.
53312         (libc_feupdateenv_53bit): Define.
53313         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
53314         Define.
53315         (libc_feupdateenv_53bit): Define.
53317         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
53318         53 bit (without extend i386 double precision).
53320         * math/libm-test.inc (sincos_test): Add tests for large input.
53321         (sin): Likewise.
53322         (cos): Likewise.
53324         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
53326 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
53328         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53330 2012-03-15  David S. Miller  <davem@davemloft.net>
53332         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
53333         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
53334         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
53335         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
53336         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
53337         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
53338         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
53339         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
53340         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
53341         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
53342         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
53343         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
53344         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
53345         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
53346         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
53347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
53348         file.
53349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
53350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
53351         file.
53352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
53353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
53354         file.
53355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
53356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
53357         file.
53358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
53359         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
53360         fmin/fmax sysdep routines.
53361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
53363 2012-03-14  David S. Miller  <davem@davemloft.net>
53365         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
53366         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
53367         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
53368         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
53369         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
53370         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
53371         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
53372         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
53373         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
53374         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
53375         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
53376         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
53377         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
53378         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
53379         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
53380         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
53381         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
53382         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
53383         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
53384         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
53385         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
53386         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
53387         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
53388         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
53389         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
53390         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
53391         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
53392         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
53393         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
53394         routines.
53395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
53396         file.
53397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
53398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
53399         file.
53400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
53401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
53402         file.
53403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
53404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
53405         file.
53406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
53407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
53408         file.
53409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
53410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
53411         file.
53412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
53413         file.
53414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
53415         file.
53416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
53417         file.
53418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
53419         New file.
53420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
53421         file.
53422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
53423         file.
53424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
53425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
53426         file.
53427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
53428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
53429         file.
53430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
53431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
53432         file.
53433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
53434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
53435         VIS3 routines.
53437         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
53438         New file.
53440         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53442         * sysdeps/sparc/configure.in: New file.
53443         * sysdeps/sparc/configure: Generate.
53444         * configure.in (libc_cv_sparc_as_vis3): Substitute.
53445         * configure: Regenerate.
53446         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
53447         * config.make.in (have-as-vis3): New.
53448         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
53449         available use -Av9d instead of -Av9a.
53450         * sysdeps/sparc/sparc64/Makefile: Likewise.
53451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
53452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
53453         New file.
53454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
53455         file.
53456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
53457         New file.
53458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
53459         file.
53460         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
53461         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
53462         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
53463         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
53464         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
53466         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
53467         fzeros/fnegs to load 0x80000000 into a float register instead of
53468         using the stack.
53469         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
53471 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
53473         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53474         bits/syscall.h.
53475         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
53476         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
53477         ($(inst_includedir)/bits/syscall.h): Remove rule.
53478         ($(objpfx)bits/syscall.d): Include instead of
53479         $(objpfx)syscall-list.d.
53480         (generated): Change syscall-list.h and syscall-list.d to
53481         bits/syscall.h and bits/syscall.d.
53483 2012-03-14  Roland McGrath  <roland@hack.frob.com>
53485         [BZ #13846]
53486         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
53488 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
53490         [BZ #13841]
53491         * math/s_csqrt.c: Include <float.h>.
53492         (__csqrt): Scale large or subnormal inputs.
53493         * math/s_csqrtf.c: Likewise.
53494         * math/s_csqrtl.c: Likewise.
53495         * math/libm-test.inc (csqrt_test): Add more tests.
53496         * sysdeps/i386/fpu/libm-test-ulps: Update.
53497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53499         [BZ #13840]
53500         * math/libm-test.inc (hypot_test): Add more tests.
53502 2012-03-13  David S. Miller  <davem@davemloft.net>
53504         [BZ #13840]
53505         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
53506         double-precision for the calculation instead of scaling.
53508 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
53510         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
53511         manipulate bits before adding and subtracting TWO52[sx].
53512         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
53513         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
53514         Likewise.
53515         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
53517 2012-03-13  David S. Miller  <davem@davemloft.net>
53519         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
53520         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
53521         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
53522         rtld-global-offsets.h
53523         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53525         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
53526         large parameters.
53528         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
53530         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
53531         'err' in the ifdef scope in which it is actually used.
53533         * nss/nss_db/db-init.c: Include string.h
53535 2012-03-12  David S. Miller  <davem@davemloft.net>
53537         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53538         masking out of the most significant byte of random value used.
53539         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53540         Fix coding style in previous change.
53542         * sysdeps/unix/sysv/linux/kernel-features.h
53543         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
53544         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
53545         expression.
53546         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
53547         later.
53549 2012-03-11  David S. Miller  <davem@davemloft.net>
53551         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
53552         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
53553         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
53554         for 'resultvar' otherwise things get truncated on 64-bit.
53556         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53557         Fix masking out of the most significant byte of random value used.
53559         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53561 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
53563         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53565 2012-03-09  David S. Miller  <davem@davemloft.net>
53567         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
53568         variables with appropriate CPP guards.
53569         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
53570         from the frame pointer, not the stack pointer.  Correct layout
53571         comments.  Fix test on resulting framesize and the management of
53572         the outregs buffer for pltexit.  Preserve floating point return
53573         values across _dl_call_pltexit call.
53574         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
53575         framesize and the management of the outregs buffer for pltexit.
53576         Preserve floating point return values across _dl_call_pltexit
53577         call.
53578         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
53579         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
53580         (la_sparc64_gnu_pltexit): New functions.
53581         (print_exit): Fix format string for return register value.
53583 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
53585         * sunrpc/Makefile (others): Add rpcgen.
53586         ($(objpfx)rpcgen): Remove special build rule and dependency on
53587         libc.
53588         * sunrpc/rpcgen.c: New file.
53590 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
53592         [BZ #13673]
53593         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
53594         * stdio-common/bug-vfprintf-nargs.c: Likewise.
53595         * sysdeps/i386/crti.S: Likewise.
53596         * sysdeps/i386/crtn.S: Likewise.
53597         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
53598         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
53599         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
53600         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
53601         * sysdeps/sh/crti.S: Likewise.
53602         * sysdeps/sh/crtn.S: Likewise.
53603         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
53605         [BZ #13673]
53606         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
53607         with URL.
53608         * locale/programs/locfile-kw.gperf: Likewise.
53609         * locale/programs/charmap-kw.h: Regenerated.
53610         * locale/programs/locfile-kw.h: Likewise.
53612         [BZ #13673]
53613         * intl/plural.y: Replace FSF snail mail address with URL.
53614         * intl/plural.c: Regenerated.
53616 2012-03-09  Richard Henderson  <rth@twiddle.net>
53618         * include/math_private.h: Remove file.
53619         * math/math_private.h: Move file ...
53620         * sysdeps/generic/math_private.h: ... here.
53622         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
53623         * sysdeps/powerpc/fpu/math_private.h: Likewise.
53624         * sysdeps/x86_64/fpu/math_private.h: Likewise.
53626         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
53627         and <math_private.h>.
53628         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
53629         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
53630         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
53631         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
53632         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
53633         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
53634         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
53635         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53636         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
53637         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53638         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53639         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53640         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
53641         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53642         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
53643         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
53644         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53645         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53646         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
53647         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
53648         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53649         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
53650         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
53651         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53652         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
53653         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53654         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
53655         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53656         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53657         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
53658         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
53659         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53660         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
53661         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
53662         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
53663         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
53664         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
53665         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
53666         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
53667         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53668         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
53669         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
53670         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
53671         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
53672         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
53673         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
53674         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
53675         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
53676         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
53677         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
53678         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
53679         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
53680         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
53681         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
53682         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
53683         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
53684         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
53685         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
53686         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
53687         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
53688         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53689         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
53690         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53691         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
53692         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
53693         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
53694         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
53695         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
53696         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
53697         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
53698         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
53699         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
53700         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
53701         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
53702         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
53703         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
53704         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
53705         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
53706         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
53707         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
53708         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
53709         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
53710         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
53711         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
53712         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
53713         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
53714         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
53715         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
53716         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
53717         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53718         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53719         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
53720         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53721         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
53722         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
53723         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
53724         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53725         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
53726         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53727         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
53728         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
53729         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
53730         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
53731         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
53732         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
53733         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
53734         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
53735         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
53736         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
53737         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
53738         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
53739         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
53740         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
53741         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
53742         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
53743         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
53744         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
53745         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
53746         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
53747         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
53748         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
53749         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
53750         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
53751         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
53752         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
53753         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
53754         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
53755         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
53756         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
53757         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
53758         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
53759         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
53760         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
53761         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
53762         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
53763         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
53764         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
53765         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
53766         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
53767         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
53768         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
53769         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
53770         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
53771         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
53772         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
53773         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
53774         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
53775         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
53776         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
53777         * sysdeps/ieee754/k_standard.c: Likewise.
53778         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
53779         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
53780         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53781         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
53782         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
53783         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
53784         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
53785         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
53786         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
53787         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
53788         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53789         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
53790         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
53791         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
53792         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
53793         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
53794         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
53795         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
53796         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
53797         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
53798         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
53799         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
53800         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
53801         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
53802         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
53803         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
53804         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
53805         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
53806         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
53807         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
53808         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
53809         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
53810         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
53811         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
53812         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
53813         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
53814         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
53815         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
53816         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
53817         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
53818         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
53819         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
53820         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
53821         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
53822         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
53823         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
53824         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
53825         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
53826         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
53827         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
53828         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
53829         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
53830         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
53831         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
53832         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
53833         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
53834         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
53835         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
53836         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
53837         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
53838         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
53839         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
53840         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
53841         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
53842         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53843         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53844         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
53845         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
53846         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
53847         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
53848         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
53849         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53850         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
53851         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
53852         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
53853         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
53854         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
53855         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
53856         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53857         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
53858         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
53859         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
53860         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
53861         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
53862         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
53863         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
53864         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
53865         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
53866         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
53867         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
53868         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
53869         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
53870         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
53871         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
53872         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
53873         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
53874         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
53875         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
53876         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
53877         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
53878         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
53879         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
53880         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
53881         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
53882         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
53883         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
53884         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
53885         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
53886         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
53887         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
53888         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
53889         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
53890         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
53891         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53892         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
53893         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53894         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
53895         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53896         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53897         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
53898         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53899         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
53900         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53901         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
53902         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53903         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
53904         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
53905         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
53906         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
53907         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
53908         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
53909         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
53910         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
53911         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
53912         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
53913         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
53914         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
53915         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
53916         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
53917         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
53918         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
53919         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
53920         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
53921         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
53922         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
53923         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
53924         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
53925         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
53926         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
53927         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
53928         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
53929         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
53930         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
53931         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
53932         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
53933         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
53934         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
53935         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
53936         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
53937         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
53938         * sysdeps/ieee754/s_lib_version.c: Likewise.
53939         * sysdeps/ieee754/s_matherr.c: Likewise.
53940         * sysdeps/ieee754/s_signgam.c: Likewise.
53941         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53942         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53943         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
53944         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
53945         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
53946         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
53947         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
53948         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
53949         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
53950         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
53951         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
53952         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
53953         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
53954         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
53955         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
53956         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
53957         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
53958         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
53959         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
53960         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53961         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53963 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
53965         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
53966         * sunrpc/rpc_main.c: Likewise.
53967         * sunrpc/rpc_svcout.c: Likewise.
53969 2012-03-09  David S. Miller  <davem@davemloft.net>
53971         * include/math_private.h: New file.
53973 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
53975         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
53976         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
53977         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
53978         from <bits/socket_type.h>.
53979         (enum __socket_type): Don't define here.
53980         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
53981         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53982         bits/socket_type.h.
53984         [BZ #13566]
53985         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
53986         checking __USE_GNU.
53988         * Makerules ($(inst_includedir)/%.h): New rule.
53989         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
53990         (install-others): Remove variable setting.
53991         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
53993 2012-03-08  Richard Henderson  <rth@twiddle.net>
53995         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
53996         from macro to inline function; merge with the
53997         !__LIBC_INTERNAL_MATH_INLINES version.
53998         (__ieee754_sqrtf): Likewise.
54000         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
54001         to inline function.
54002         (__rintf, __floor, __floorf): Likewise.
54004         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
54005         macro to inline function.
54006         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
54008         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
54009         not <math/math_private.h>.
54011 2012-03-08  David S. Miller  <davem@davemloft.net>
54013         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
54014         copyright year.
54015         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
54017 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
54019         * resolv/gai_misc.c (handle_requests): Fix struct timespec
54020         normalization.
54021         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
54022         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
54024 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
54026         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
54027         be defined individually, they must be defined as a block.  Define
54028         S for printing a string instead of hidint the different by using a
54029         macro for adding the 'l'.
54030         * stdio-common/tst-fphex-wide.c: Adjust.
54032 2012-03-07  Marek Polacek  <polacek@redhat.com>
54034         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
54036 2012-03-08  Marek Polacek  <polacek@redhat.com>
54038         [BZ #13806]
54039         * stdio-common/Makefile (tests): Add tst-fphex-wide.
54040         * stdio-common/tst-fphex.c: Define a few macros to make the
54041         test reusable.  Use them.
54042         * stdio-common/tst-fphex-wide.c: New file.
54044 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
54046         [BZ #6911]
54047         * manual/macros.texi (gnusystems): New macro.
54048         (nongnusystems): Likewise.
54049         (gnulinuxhurdsystems): Likewise.
54050         (gnuhurdsystems): Likewise..
54051         (gnulinuxsystems): Likewise.
54052         * manual/charset.texi: Use new macros or @theglibc{} to refer to
54053         variants of the GNU system, not "GNU system".
54054         * manual/conf.texi: Likewise.
54055         * manual/errno.texi: Likewise.  Update example of errno macro
54056         expansion.
54057         * manual/filesys.texi: Likewise.
54058         (getumask): Document as specific to GNU/Hurd.
54059         * manual/install.texi: Likewise.  Reword some references to
54060         GNU/Linux.
54061         * manual/intro.texi: Likewise.
54062         * manual/io.texi: Likewise.
54063         (File Name Portability): Detail which constraints are inapplicable
54064         to all GNU systems and which are only inapplicable to GNU/Hurd.
54065         * manual/job.texi: Likewise.
54066         * manual/llio.texi: Likewise.
54067         (O_NOCTTY): Document as present on GNU/Linux.
54068         * manual/maint.texi: Likewise.
54069         * manual/memory.texi: Likewise.
54070         * manual/pattern.texi: Likewise.
54071         * manual/pipe.texi: Likewise.
54072         * manual/process.texi: Likewise.
54073         * manual/resource.texi: Likewise.
54074         (RUSAGE_CHILDREN): Remove statement about specifying a particular
54075         child on GNU/Hurd.
54076         * manual/setjmp.texi: Likewise.
54077         * manual/signal.texi: Likewise.
54078         * manual/startup.texi: Likewise.
54079         * manual/stdio.texi: Likewise.
54080         * manual/terminal.texi: Likewise.
54081         (ONLCR): Document as POSIX.
54082         (OXTABS): Document availability on GNU/Linux as XTABS.
54083         (ONOEOT): Document availability separately from other bits.
54084         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
54085         * manual/time.texi: Likewise.
54086         * manual/users.texi: Likewise.
54087         * INSTALL: Regenerated.
54088         * sysdeps/gnu/errlist.c: Regenerated.
54090         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
54091         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
54092         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
54093         puts.
54094         * configure: Regenerated.
54096 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
54098         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
54099         default includes instead of AC_HEADER_CHECK.
54100         * sysdeps/i386/configure: Regenerated.
54102         [BZ #10716]
54103         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
54104         * math/s_cacoshf.c (__cacoshf): Likewise.
54105         * math/s_cacoshl.c (__cacoshl): Likewise.
54106         * math/s_casinh.c (__casinh): Set signs of result from argument.
54107         * math/s_casinhf.c (__casinhf): Likewise.
54108         * math/s_casinhl.c (__casinhl): Likewise.
54109         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
54110         (casinh_test): Add more tests.
54111         * sysdeps/i386/fpu/libm-test-ulps: Update.
54112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54114 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
54116         * po/zh_TW.po: Update from translation team.
54118         * login/Makefile (distribute): Remove variable.
54119         * catgets/Makefile: Likewise.
54120         * mach/Makefile: Likewise.
54121         * malloc/Makefile: Likewise.
54122         * misc/Makefile: Likewise.
54123         * iconv/Makefile: Likewise.
54124         * nscd/Makefile: Likewise.
54125         * hurd/Makefile: Likewise.
54126         * manual/Makefile: Likewise.
54127         * locale/Makefile: Likewise.
54128         * intl/Makefile: Likewise.
54129         * conform/Makefile: Likewise.
54130         * nss/Makefile: Likewise.
54131         * time/Makefile: Likewise.
54132         * soft-fp/Makefile: Likewise.
54133         * dirent/Makefile: Likewise.
54134         * gmon/Makefile: Likewise.
54135         * po/Makefile: Likewise.
54136         * rt/Makefile: Likewise.
54137         * socket/Makefile: Likewise.
54138         * math/Makefile: Likewise.
54139         * signal/Makefile: Likewise.
54140         * debug/Makefile: Likewise.
54141         * elf/Makefile: Likewise.
54142         * timezone/Makefile: Likewise.
54143         * stdlib/Makefile: Likewise.
54144         * iconvdata/Makefile: Likewise.
54145         * sunrpc/Makefile: Likewise.
54146         * io/Makefile: Likewise.
54147         * argp/Makefile: Likewise.
54148         * inet/Makefile: Likewise.
54149         * hesiod/Makefile: Likewise.
54150         * grp/Makefile: Likewise.
54151         * csu/Makefile: Likewise.
54152         * wctype/Makefile: Likewise.
54153         * crypt/Makefile: Likewise.
54154         * libio/Makefile: Likewise.
54155         * string/Makefile: Likewise.
54156         * nis/Makefile: Likewise.
54157         * resolv/Makefile: Likewise.
54158         * stdio-common/Makefile: Likewise.
54159         * wcsmbs/Makefile: Likewise.
54160         * dlfcn/Makefile: Likewise.
54161         * posix/Makefile: Likewise.
54163         [BZ #6959]
54164         * timezone/Makefile: Don't install timezone files, just the programs
54165         and scripts.
54167 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
54169         * nss/databases.def: Add missing gshadow entry.
54171         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
54173 2012-03-06  Marek Polacek  <polacek@redhat.com>
54175         [BZ #13726]
54176         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
54177         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
54178         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
54179         * stdio-common/tst-long-dbl-fphex.c: New file.
54181 2012-03-06  David S. Miller  <davem@davemloft.net>
54183         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54184         (set_obp_int): New function.
54185         (get_obp_int): New function.
54186         (__get_clockfreq_via_dev_openprom): Likewise.
54187         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
54188         Avoid unused variable warnings on 'val' and use builtin_expect.
54189         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
54190         __builtin_expect.
54191         (INLINE_CLONE_SYSCALL): Likewise.
54193 2012-03-05  David S. Miller  <davem@davemloft.net>
54195         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54197 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
54199         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54201         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
54202         only for |x| >= 40.
54203         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54205 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
54207         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
54208         Replace gettimeofday with __vdso_gettimeofday.
54210         * sysdeps/unix/sysv/linux/x86_64/init-first.c
54211         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
54212         __vdso_clock_gettime and __vdso_getcpu.
54214         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
54215         time with __vdso_time.
54217 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
54219         * manual/lang.texi (size_t): Note types to which size_t may be
54220         equivalent with the GNU C Library, but do not describe when
54221         differences between them are significant.
54223 2012-03-05  Andreas Jaeger  <aj@suse.de>
54225         * sysdeps/i386/fpu/libm-test-ulps: Update.
54227 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
54229         [BZ #3976]
54230         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
54231         (__ieee754_pow): Save and restore rounding mode and use
54232         round-to-nearest for main computations.
54233         * math/libm-test.inc (pow_test_tonearest): New function.
54234         (pow_test_towardzero): Likewise.
54235         (pow_test_downward): Likewise.
54236         (pow_test_upward): Likewise.
54237         (main): Call the new functions.
54238         * sysdeps/i386/fpu/libm-test-ulps: Update.
54239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54241         [BZ #3976]
54242         * math/libm-test.inc (cosh_test_tonearest): New function.
54243         (cosh_test_towardzero): Likewise.
54244         (cosh_test_downward): Likewise.
54245         (cosh_test_upward): Likewise.
54246         (sinh_test_tonearest): Likewise.
54247         (sinh_test_towardzero): Likewise.
54248         (sinh_test_downward): Likewise.
54249         (sinh_test_upward): Likewise.
54250         (main): Call the new functions.
54251         * sysdeps/i386/fpu/libm-test-ulps: Update.
54252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54254 2012-03-05  Tom de Vries  <tom@codesourcery.com>
54256         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
54257         default stack guard is set in last bytes.
54258         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
54260 2012-03-05  Kees Cook  <keescook@chromium.org>
54262         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
54264         [BZ #13656]
54265         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
54266         possibly allocate from heap instead of stack.
54267         * stdio-common/bug-vfprintf-nargs.c: New file.
54268         * stdio-common/Makefile (tests): Add nargs overflow test.
54270 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
54272         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54274 2012-03-03  Marek Polacek  <polacek@redhat.com>
54276         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
54277         * math/math_private.h: Likewise.
54278         * stdlib/tst-strtod.c: Likewise.
54279         * sysdeps/i386/i486/bits/atomic.h: Likewise.
54280         * sysdeps/x86_64/bits/atomic.h: Likewise.
54282 2012-03-02  David S. Miller  <davem@davemloft.net>
54284         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
54285         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
54286         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
54287         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
54288         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
54289         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
54290         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
54291         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
54293 2012-03-02  Roland McGrath  <roland@hack.frob.com>
54295         [BZ #13792]
54296         * manual/examples/README: New file, says the example source files
54297         can be used under GPL>=2.
54298         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
54299         line containing just "*/".
54300         * manual/examples/add.c: Add copyright header (GPL>=2).
54301         * manual/examples/argp-ex1.c: Likewise.
54302         * manual/examples/argp-ex2.c: Likewise.
54303         * manual/examples/argp-ex3.c: Likewise.
54304         * manual/examples/argp-ex4.c: Likewise.
54305         * manual/examples/atexit.c: Likewise.
54306         * manual/examples/db.c: Likewise.
54307         * manual/examples/dir.c: Likewise.
54308         * manual/examples/dir2.c: Likewise.
54309         * manual/examples/execinfo.c: Likewise.
54310         * manual/examples/filecli.c: Likewise.
54311         * manual/examples/filesrv.c: Likewise.
54312         * manual/examples/fmtmsgexpl.c: Likewise.
54313         * manual/examples/genpass.c: Likewise.
54314         * manual/examples/inetcli.c: Likewise.
54315         * manual/examples/inetsrv.c: Likewise.
54316         * manual/examples/isockad.c: Likewise.
54317         * manual/examples/longopt.c: Likewise.
54318         * manual/examples/memopen.c: Likewise.
54319         * manual/examples/memstrm.c: Likewise.
54320         * manual/examples/mkfsock.c: Likewise.
54321         * manual/examples/mkisock.c: Likewise.
54322         * manual/examples/mygetpass.c: Likewise.
54323         * manual/examples/pipe.c: Likewise.
54324         * manual/examples/popen.c: Likewise.
54325         * manual/examples/rprintf.c: Likewise.
54326         * manual/examples/search.c: Likewise.
54327         * manual/examples/select.c: Likewise.
54328         * manual/examples/setjmp.c: Likewise.
54329         * manual/examples/sigh1.c: Likewise.
54330         * manual/examples/sigusr.c: Likewise.
54331         * manual/examples/stpcpy.c: Likewise.
54332         * manual/examples/strdupa.c: Likewise.
54333         * manual/examples/strftim.c: Likewise.
54334         * manual/examples/strncat.c: Likewise.
54335         * manual/examples/subopt.c: Likewise.
54336         * manual/examples/swapcontext.c: Likewise.
54337         * manual/examples/termios.c: Likewise.
54338         * manual/examples/testopt.c: Likewise.
54339         * manual/examples/testpass.c: Likewise.
54340         * manual/examples/timeval_subtract.c: Likewise.
54342         [BZ #13792]
54343         * manual/time.texi (Elapsed Time): Move timeval_subtract example
54344         function to ...
54345         * manual/timeval_subtract.c.texi: ... here, new file.
54347 2012-03-02  David S. Miller  <davem@davemloft.net>
54349         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
54351 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
54353         [BZ #3976]
54354         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
54355         (__sin): Save and restore rounding mode and use round-to-nearest
54356         for all computations.
54357         (__cos): Save and restore rounding mode and use round-to-nearest
54358         for all computations.
54359         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
54360         <fenv.h>.
54361         (tan): Save and restore rounding mode and use round-to-nearest for
54362         all computations.
54363         * math/libm-test.inc (cos_test_tonearest): New function.
54364         (cos_test_towardzero): Likewise.
54365         (cos_test_downward): Likewise.
54366         (cos_test_upward): Likewise.
54367         (sin_test_tonearest): Likewise.
54368         (sin_test_towardzero): Likewise.
54369         (sin_test_downward): Likewise.
54370         (sin_test_upward): Likewise.
54371         (tan_test_tonearest): Likewise.
54372         (tan_test_towardzero): Likewise.
54373         (tan_test_downward): Likewise.
54374         (tan_test_upward): Likewise.
54375         (main): Call the new functions.
54376         * sysdeps/i386/fpu/libm-test-ulps: Update.
54377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54379         [BZ #10135]
54380         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
54381         small n, then large n, before computing and testing k+n.
54382         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
54383         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
54384         Likewise.
54385         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
54386         Likewise.
54387         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
54388         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
54389         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
54390         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
54391         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
54392         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
54393         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
54394         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
54395         * math/libm-test.inc (scalbn_test): Add more tests.
54396         (scalbln_test): Likewise.
54398         * manual/filesys.texi (mode_t): Describe constraints on size and
54399         signedness, not exact equivalence to a particular type.
54400         (ino_t): Likewise.
54401         (ino64_t): Likewise.
54402         (dev_t): Likewise.
54403         (nlink_t): Likewise.
54404         (blkcnt_t): Likewise.
54405         (blkcnt64_t): Likewise.
54406         * manual/llio.texi (off_t): Likewise.
54408         [BZ #3976]
54409         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
54410         (__ieee754_exp): Save and restore rounding mode and use
54411         round-to-nearest for all computations.
54412         * math/libm-test.inc (exp_test_tonearest): New function.
54413         (exp_test_towardzero): Likewise.
54414         (exp_test_downward): Likewise.
54415         (exp_test_upward): Likewise.
54416         (main): Call the new functions.
54417         * sysdeps/i386/fpu/libm-test-ulps: Update.
54418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54420 2012-03-01  Chris Demetriou  <cgd@google.com>
54422         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
54423         have predictable order.
54425 2012-03-01  David S. Miller  <davem@davemloft.net>
54427         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
54429         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
54430         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
54431         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
54432         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
54434         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
54435         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
54436         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
54437         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
54438         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
54439         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
54440         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
54441         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
54442         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
54444         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54446         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
54447         * sysdeps/sparc/fpu/libm-test-ulps: to here.
54448         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
54450         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
54451         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
54452         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
54453         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
54454         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
54455         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
54456         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
54457         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
54458         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
54459         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
54460         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
54461         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54462         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
54463         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
54464         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
54465         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54466         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
54467         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
54468         * sysdeps/sparc/elf/configure: Regenerated.
54470 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
54472         * configure.in (AS, LD): Require binutils 2.20 or later.
54473         * configure: Regenerated.
54474         * manual/install.texi (Tools for Compilation): Give binutils 2.20
54475         as required minimum version.
54476         * INSTALL: Regenerated.
54478         [BZ #2541]
54479         [BZ #4108]
54480         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
54481         before squaring exponent.
54482         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
54483         bottom long double and 27 bits of top long double before squaring
54484         exponent.
54485         * math/libm-test.inc (erfc_test): Add more tests.
54486         * sysdeps/i386/fpu/libm-test-ulps: Update.
54487         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54490 2012-03-01  Kai Tietz  <ktietz@redhat.com>
54492         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
54493         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
54494         containing bit-fields.
54495         * soft-fp/extended.h (_FP_UNION_E): Likewise.
54496         * soft-fp/single.h (_FP_UNION_S): Likewise.
54497         * soft-fp/double.h (_FP_UNION_D): Likewise.
54499 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
54501         [BZ #13786]
54502         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
54503         not include ../strcmp.S.
54504         [USE_AS_STRNCASECMP_L]: Likewise.
54505         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
54506         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
54507         * sysdeps/i386/i686/multiarch/strncase_l-c.c
54508         (__strncasecmp_l_ia32): Define as alias to
54509         __strncasecmp_l_nonascii.
54511         [BZ #5794]
54512         * math/libm-test.inc (expm1_test): Add test for bug 5794.
54513         * sysdeps/i386/fpu/libm-test-ulps: Update.
54514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54516         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
54517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54519 2012-02-29  Jeff Law  <law@redhat.com>
54521         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
54522         out of bounds read.
54524 2012-02-29  Marek Polacek  <polacek@redhat.com>
54526         [BZ #13706]
54527         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
54528         * elf/Makefile: Add rules to run tst-unused-dep.out.
54530 2012-02-28  David S. Miller  <davem@davemloft.net>
54532         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
54533         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
54534         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
54535         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
54536         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
54537         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
54539 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
54541         * math/libm-test.inc (llround_test): Move one test from
54542         lround_test.  Use TEST_f_L in moved test.
54543         (lround_test): Move misplaced test to llround_test.  Add testcase
54544         from bug 2561.
54546 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
54548         * sysdeps/x86_64/fpu/e_expf.S: New file.
54549         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
54551 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
54553         [BZ #13637]
54554         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
54555         of remain_len that may cause incomplete multi-byte character and
54556         false match.
54557         * posix/bug-regex33.c: New file.
54558         * posix/Makefile (tests): Add bug-regex33.
54560 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
54562         * manual/macros.texi: New file.
54563         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
54564         * manual/libc.texinfo: Include macros.texi.
54565         * manual/creatute.texi: Likewise.
54566         * manual/install.texi: Likewise.
54567         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
54568         @glibcadj{} in references to the GNU C Library.
54569         * manual/charset.texi: Likewise.
54570         * manual/conf.texi: Likewise.
54571         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
54572         when not using those macros.
54573         * manual/creature.texi: Likewise.
54574         * manual/crypt.texi: Likewise.
54575         * manual/errno.texi: Likewise.
54576         * manual/filesys.texi: Likewise.
54577         * manual/header.texi: Likewise.
54578         * manual/install.texi: Likewise.
54579         * manual/intro.texi: Likewise.
54580         * manual/io.texi: Likewise.
54581         * manual/job.texi: Likewise.
54582         * manual/lang.texi: Likewise.
54583         * manual/libc.texiinfo: Likewise.
54584         * manual/llio.texi: Likewise.
54585         * manual/locale.texi: Likewise.
54586         * manual/maint.texi: Likewise.
54587         * manual/math.texi: Likewise.
54588         * manual/memory.texi: Likewise.
54589         * manual/message.texi: Likewise.
54590         * manual/nss.texi: Likewise.
54591         * manual/pattern.texi: Likewise.
54592         * manual/process.texi: Likewise.
54593         * manual/resource.texi: Likewise.
54594         * manual/search.texi: Likewise.
54595         * manual/setjmp.texi: Likewise.
54596         * manual/signal.texi: Likewise.
54597         * manual/socket.texi: Likewise.
54598         * manual/startup.texi: Likewise.
54599         * manual/stdio.texi: Likewise.
54600         * manual/string.texi: Likewise.
54601         * manual/sysinfo.texi: Likewise.
54602         * manual/syslog.texi: Likewise.
54603         * manual/terminal.texi: Likewise.
54604         * manual/time.texi: Likewise.
54605         * manual/users.texi: Likewise.
54606         * INSTALL: Regenerated.
54607         * NOTES: Regenerated.
54608         * sysdeps/gnu/errlist.c: Regenerated.
54610 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
54612         * include/dirent.h: Include <dirstream.h> before
54613         <dirent/dirent.h>.
54615 2012-02-28  David S. Miller  <davem@davemloft.net>
54617         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
54618         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
54619         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
54620         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
54622 2012-02-27  David S. Miller  <davem@davemloft.net>
54624         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
54625         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
54626         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
54627         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
54629         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
54630         frame pointer instead of stack pointer relative arg slot.
54631         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
54632         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
54633         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
54635 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
54637         [BZ #3992]
54638         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
54640 2012-02-27  David S. Miller  <davem@davemloft.net>
54642         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
54643         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
54644         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
54645         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
54646         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
54647         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
54648         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
54649         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
54651 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
54653         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
54654         later.  Allow versions 5-9.
54655         * configure: Regenerated.
54656         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
54657         required minimum version and 4.6 as recommended version.  Do not
54658         mention bugs in GCC 2.7 and 2.8.
54659         * INSTALL: Regenerated.
54661 2012-02-27  David S. Miller  <davem@davemloft.net>
54663         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
54664         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
54665         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
54666         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
54667         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
54668         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
54669         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
54670         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
54672         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
54673         manipulate bits before adding and subtracting TWO112[sx].
54674         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
54676 2012-02-27  Roland McGrath  <roland@hack.frob.com>
54678         [BZ #13775]
54679         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
54680         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
54681         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
54682         being in POSIX, because they are in 1003.1-2008.
54684         * rt/tst-aio.c: Include <fcntl.h>.
54685         * rt/tst-aio7.c: Likewise.
54686         * rt/tst-aio64.c: Likewise.
54688         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
54690 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
54692         * manual/install.texi (--with-headers): Describe headers as
54693         interface headers, not private headers.
54694         (Specific advice for GNU/Linux systems): Describe use of headers
54695         from "make headers_install", not private headers from older
54696         kernels.
54697         * INSTALL: Regenerated.
54698         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
54699         Change to 2.6.19.
54700         * sysdeps/unix/sysv/linux/configure: Regenerated.
54702         * manual/llio.texi (fclean): Remove documentation.
54704         * manual/Makefile (libc-texi-generated): New variable.  Include
54705         version.texi.
54706         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
54707         $(libc-texi-generated), not duplicated list of files.
54708         (version.texi, stamp-version): New rules.
54709         (realclean): Remove $(libc-texi-generated), not individual files
54710         from that list.  Do not remove dir-add.texinfo.
54711         * manual/libc.texinfo: Comment out uses of edition numbers and
54712         references to printed manual.  Remove last-updated dates.
54713         (EDITION): Comment out.
54714         (ISBN): Likewise.
54715         (VERSION, UPDATED): Remove.
54716         (version.texi): Include.
54718 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
54720         * sysdeps/posix/spawni.c: Include <signal.h>.
54721         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
54722         * sysdeps/pthread/aio_fsync.c: Likewise.
54724 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
54726         * conform/Makefile (tests): Run only when not cross-compiling and
54727         when fast-check is not defined.
54729         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
54730         * conform/data/limits.h-data: Fixes for POSIX2008.
54731         * conform/run-conformtest.sh: Run all tests.
54732         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
54733         headers.
54734         * include/bits/dlfcn.h: Likewise.
54735         * include/langinfo.h: Likewise.
54736         * include/monetary.h: Likewise.
54737         * include/sys/poll.h: Likewise.
54739         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
54740         for __USE_GNU.
54741         * posix/spawn.h: Define __need_sigset_t.
54742         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
54743         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
54744         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
54745         to get sigevent_t only.
54746         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
54747         only for __USE_GNU.
54748         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54749         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
54750         process_vm_writev only for __USE_GNU.
54751         * termios/termios.h: Declare tcgetsid also for POSIX2008.
54753         * conform/Makefile: For now ignore errors from run-conformtest.
54754         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
54755         POSIX to avoid namespace pollution.  Don't prepend headers.
54756         * conform/data/aio.h-data: Fixes for POSIX testing.
54757         * conform/data/fcntl.h-data: Likewise.
54758         * conform/data/glob.h-data: Likewise.
54759         * conform/data/grp.h-data: Likewise.
54760         * conform/data/pthread.h-data: Likewise.
54761         * conform/data/pwd.h-data: Likewise.
54762         * conform/data/signal.h-data: Likewise.
54763         * conform/data/spawn.h-data: Likewise.
54764         * conform/data/stdio.h-data: Likewise.
54765         * conform/data/stdlib.h-data: Likewise.
54766         * conform/data/stropts.h-data: Likewise.
54767         * conform/data/sys/mman.h-data: Likewise.
54768         * conform/data/sys/stat.h-data: Likewise.
54769         * conform/data/sys/types.h-data: Likewise.
54770         * conform/data/sys/wait.h-data: Likewise.
54771         * conform/data/time.h-data: Likewise.
54772         * conform/data/unistd.h-data: Likewise.
54773         * conform/data/utime.h-data: Likewise.
54775         * io/sys/stat.h: fchmod was always in POSIX.
54776         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
54777         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
54778         * rt/aio.h: Define __need_timespec before including <time.h>.
54779         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
54780         struct.  Add forward declaration of pthread_attr_t and use it in
54781         sigevent.
54782         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
54783         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54784         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
54785         always remove CLK_TCK definition.
54787 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
54789         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
54791 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
54793         * conform/run-conformtest.sh: New file.
54794         * conform/Makefile: Run run-conformtest for tests.
54795         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
54796         support.
54798         * conform/data/uchar.h-data: New file.
54799         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
54800         * conform/data/arpa/inet.h-data: Likewise.
54801         * conform/data/assert.h-data: Likewise.
54802         * conform/data/complex.h-data: Likewise.
54803         * conform/data/cpio.h-data: Likewise.
54804         * conform/data/ctype.h-data: Likewise.
54805         * conform/data/dirent.h-data: Likewise.
54806         * conform/data/dlfcn.h-data: Likewise.
54807         * conform/data/errno.h-data: Likewise.
54808         * conform/data/fcntl.h-data: Likewise.
54809         * conform/data/float.h-data: Likewise.
54810         * conform/data/fmtmsg.h-data: Likewise.
54811         * conform/data/fnmatch.h-data: Likewise.
54812         * conform/data/ftw.h-data: Likewise.
54813         * conform/data/glob.h-data: Likewise.
54814         * conform/data/grp.h-data: Likewise.
54815         * conform/data/iconv.h-data: Likewise.
54816         * conform/data/inttypes.h-data: Likewise.
54817         * conform/data/langinfo.h-data: Likewise.
54818         * conform/data/libgen.h-data: Likewise.
54819         * conform/data/limits.h-data: Likewise.
54820         * conform/data/locale.h-data: Likewise.
54821         * conform/data/math.h-data: Likewise.
54822         * conform/data/monetary.h-data: Likewise.
54823         * conform/data/mqueue.h-data: Likewise.
54824         * conform/data/ndbm.h-data: Likewise.
54825         * conform/data/net/if.h-data: Likewise.
54826         * conform/data/netdb.h-data: Likewise.
54827         * conform/data/netinet/in.h-data: Likewise.
54828         * conform/data/nl_types.h-data: Likewise.
54829         * conform/data/poll.h-data: Likewise.
54830         * conform/data/pthread.h-data: Likewise.
54831         * conform/data/pwd.h-data: Likewise.
54832         * conform/data/regex.h-data: Likewise.
54833         * conform/data/sched.h-data: Likewise.
54834         * conform/data/search.h-data: Likewise.
54835         * conform/data/semaphore.h-data: Likewise.
54836         * conform/data/setjmp.h-data: Likewise.
54837         * conform/data/signal.h-data: Likewise.
54838         * conform/data/spawn.h-data: Likewise.
54839         * conform/data/stdarg.h-data: Likewise.
54840         * conform/data/stdio.h-data: Likewise.
54841         * conform/data/stdlib.h-data: Likewise.
54842         * conform/data/string.h-data: Likewise.
54843         * conform/data/strings.h-data: Likewise.
54844         * conform/data/stropts.h-data: Likewise.
54845         * conform/data/sys/ipc.h-data: Likewise.
54846         * conform/data/sys/mman.h-data: Likewise.
54847         * conform/data/sys/msg.h-data: Likewise.
54848         * conform/data/sys/resource.h-data: Likewise.
54849         * conform/data/sys/select.h-data: Likewise.
54850         * conform/data/sys/sem.h-data: Likewise.
54851         * conform/data/sys/shm.h-data: Likewise.
54852         * conform/data/sys/socket.h-data: Likewise.
54853         * conform/data/sys/stat.h-data: Likewise.
54854         * conform/data/sys/statvfs.h-data: Likewise.
54855         * conform/data/sys/time.h-data: Likewise.
54856         * conform/data/sys/timeb.h-data: Likewise.
54857         * conform/data/sys/times.h-data: Likewise.
54858         * conform/data/sys/types.h-data: Likewise.
54859         * conform/data/sys/uio.h-data: Likewise.
54860         * conform/data/sys/un.h-data: Likewise.
54861         * conform/data/sys/utsname.h-data: Likewise.
54862         * conform/data/sys/wait.h-data: Likewise.
54863         * conform/data/syslog.h-data: Likewise.
54864         * conform/data/tar.h-data: Likewise.
54865         * conform/data/termios.h-data: Likewise.
54866         * conform/data/utime.h-data: Likewise.
54867         * conform/data/utmpx.h-data: Likewise.
54868         * conform/data/varargs.h-data: Likewise.
54869         * conform/data/wchar.h-data: Likewise.
54870         * conform/data/wctype.h-data: Likewise.
54871         * conform/data/wordexp.h-data: Likewise.
54873         * include/stropts.h: New file.
54874         * include/uchar.h: New file.
54875         * include/aio.h: Changes to allow conformtest.pl to use the headers.
54876         * include/assert.h: Likewise.
54877         * include/ctype.h: Likewise.
54878         * include/dirent.h: Likewise.
54879         * include/dlfcn.h: Likewise.
54880         * include/fcntl.h: Likewise.
54881         * include/fnmatch.h: Likewise.
54882         * include/glob.h: Likewise.
54883         * include/grp.h: Likewise.
54884         * include/libio.h: Likewise.
54885         * include/locale.h: Likewise.
54886         * include/math.h: Likewise.
54887         * include/net/if.h: Likewise.
54888         * include/netdb.h: Likewise.
54889         * include/netinet/in.h: Likewise.
54890         * include/pthread.h: Likewise.
54891         * include/pwd.h: Likewise.
54892         * include/regex.h: Likewise.
54893         * include/sched.h: Likewise.
54894         * include/search.h: Likewise.
54895         * include/setjmp.h: Likewise.
54896         * include/signal.h: Likewise.
54897         * include/stdio.h: Likewise.
54898         * include/stdlib.h: Likewise.
54899         * include/string.h: Likewise.
54900         * include/sys/cdefs.h: Likewise.
54901         * include/sys/mman.h: Likewise.
54902         * include/sys/msg.h: Likewise.
54903         * include/sys/resource.h: Likewise.
54904         * include/sys/select.h: Likewise.
54905         * include/sys/socket.h: Likewise.
54906         * include/sys/stat.h: Likewise.
54907         * include/sys/statvfs.h: Likewise.
54908         * include/sys/time.h: Likewise.
54909         * include/sys/times.h: Likewise.
54910         * include/sys/uio.h: Likewise.
54911         * include/sys/utsname.h: Likewise.
54912         * include/sys/wait.h: Likewise.
54913         * include/termios.h: Likewise.
54914         * include/time.h: Likewise.
54915         * include/ulimit.h: Likewise.
54916         * include/unistd.h: Likewise.
54917         * include/utime.h: Likewise.
54918         * include/wchar.h: Likewise.
54919         * include/wctype.h: Likewise.
54920         * include/wordexp.h: Likewise.
54922         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
54924         * time/time.h: TIME_UTC must be a macro.
54925         Make timespec_get available for ISO C11 only as well.
54927 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
54929         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
54930         Reported by Peng Haitao <penght@cn.fujitsu.com>.
54932 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
54934         * configure.in: Use -o not -a in test for unsupported multi-arch.
54936 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
54938         * manual/texinfo.tex: Update to version 2012-01-19.16.
54940 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
54942         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
54944 2012-02-24  Roland McGrath  <roland@hack.frob.com>
54946         [BZ #13738]
54947         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
54948         * manual/fdl-1.3.texi: New file.
54949         * manual/fdl-1.1.texi: File removed.
54951         [BZ #13738]
54952         * manual/libc.texinfo (FDL_VERSION): New @set.
54953         Use it for mention of FDL in cover text.
54954         (Documentation License): Use it in @include file name.
54956 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54957             Roland McGrath  <roland@hack.frob.com>
54959         [BZ #5461]
54960         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
54961         (not LONG_LONG_MAX and LONG_LONG_MIN.
54962         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
54963         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
54964         name.
54965         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
54967 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54969         [BZ #2547]
54970         [BZ #11365]
54971         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
54972         manipulate bits before adding and subtracting TWO23[sx].
54973         * math/libm-test.inc (nearbyint_test): Add more tests.
54975 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54977         [BZ #2548]
54978         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
54979         bits before adding and subtracting TWO23[sx].
54980         * math/libm-test.inc (rint_test): Add more tests.
54981         (rint_test_tonearest): Likewise.
54982         (rint_test_towardzero): Likewise.
54983         (rint_test_downward): Likewise.
54984         (rint_test_upward: Likewise.
54986 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54988         [BZ #10110]
54989         * include/stdc-predef.h: New file.  Extracted from features.h.
54990         * include/features.h: Include stdc-predef.h.
54991         * Makefile (headers): Add stdc-predef.h.
54992         * CONFORMANCE (Compiler limitations): Update.
54994 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54996         * manual/libc.texinfo (VERSION, UPDATED): Revert.
54998 2012-02-21  David S. Miller  <davem@davemloft.net>
55000         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
55001         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
55003 2012-02-20  David S. Miller  <davem@davemloft.net>
55005         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
55006         using a normal save/restore sequence, rather than allocating a
55007         dummy stack frame just to store a frame pointer and restore.
55008         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55010 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55012         * manual/install.texi: Fix stray word in line-wrapped comment.
55014 2012-02-20  David S. Miller  <davem@davemloft.net>
55016         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
55017         both binutils and gcc support GOTDATA.
55019         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
55020         "rd %pc" in the PIC register setup sequences.
55022         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
55023         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
55024         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
55025         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
55026         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
55027         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
55028         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55029         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55030         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
55031         (SYSCALL_ERROR_HANDLER): Likewise.
55032         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
55033         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55034         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
55035         (SYSCALL_ERROR_HANDLER): Likewise.
55037         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
55038         (HAVE_GCC_GOTDATA): New.
55039         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
55040         relocation support in both binutils and gcc.
55041         * sysdeps/sparc/elf/configure: Regenerate.
55043         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
55044         * sysdeps/sparc/sparc32/elf/configure: Delete.
55045         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
55046         * sysdeps/sparc/sparc64/elf/configure: Delete.
55047         * sysdeps/sparc/elf/configure.in: New file.
55048         * sysdeps/sparc/elf/configure: Generate.
55050         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
55051         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
55052         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
55053         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
55054         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
55056 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55058         * manual/install.texi: Do not mention specific glibc version
55059         numbers.
55060         * manual/libc.texinfo (VERSION, UPDATED): Update.
55061         (@copying): Use @copyright{} and range of years.
55063 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55065         [BZ #13695]
55066         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
55067         [crti.S not in sysdirs] (generated): Do not append.
55068         [crti.S not in sysdirs] (omit-deps): Likewise.
55069         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
55070         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
55071         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
55072         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
55073         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
55074         Likewise.
55075         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
55076         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
55077         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
55078         * csu/defs.awk: Remove file.
55079         * sysdeps/generic/initfini.c: Likewise.
55080         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
55081         variable.
55082         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
55083         Likewise.
55085 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
55087         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
55088         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
55089         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
55090         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
55091         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55092         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
55093         <bits/epoll.h>.
55094         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
55095         (__EPOLL_PACKED): Define to empty if not defined by
55096         <bits/epoll.h>.
55097         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
55098         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55099         bits/epoll.h.
55101 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
55103         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
55104         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
55105         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
55106         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
55107         <bits/timerfd.h>.
55108         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
55109         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55110         bits/timerfd.h.
55112 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
55114         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
55115         in C locale.
55116         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55117         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
55118         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
55119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55121 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
55123         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55124         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
55126 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
55128         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
55129         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
55130         defined.
55131         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
55132         Likewise.
55133         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
55134         entry for 2.16.
55136 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
55138         * math/w_acos.c: Use non-signaling floating-point comparisons.
55139         * math/w_acosf.c: Likewise.
55140         * math/w_acosh.c: Likewise.
55141         * math/w_acoshf.c: Likewise.
55142         * math/w_acoshl.c: Likewise.
55143         * math/w_acosl.c: Likewise.
55144         * math/w_asin.c: Likewise.
55145         * math/w_asinf.c: Likewise.
55146         * math/w_asinl.c: Likewise.
55147         * math/w_atanh.c: Likewise.
55148         * math/w_atanhf.c: Likewise.
55149         * math/w_atanhl.c: Likewise.
55150         * math/w_exp2.c: Likewise.
55151         * math/w_exp2f.c: Likewise.
55152         * math/w_exp2l.c: Likewise.
55153         * math/w_j0.c: Likewise.
55154         * math/w_j0f.c: Likewise.
55155         * math/w_j0l.c: Likewise.
55156         * math/w_j1.c: Likewise.
55157         * math/w_j1f.c: Likewise.
55158         * math/w_j1l.c: Likewise.
55159         * math/w_jn.c: Likewise.
55160         * math/w_jnf.c: Likewise.
55161         * math/w_log.c: Likewise.
55162         * math/w_log10.c: Likewise.
55163         * math/w_log10f.c: Likewise.
55164         * math/w_log10l.c: Likewise.
55165         * math/w_log2.c: Likewise.
55166         * math/w_log2f.c: Likewise.
55167         * math/w_log2l.c: Likewise.
55168         * math/w_logf.c: Likewise.
55169         * math/w_logl.c: Likewise.
55170         * math/w_sqrt.c: Likewise.
55171         * math/w_sqrtf.c: Likewise.
55172         * math/w_sqrtl.c: Likewise.
55173         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55174         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
55175         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55176         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
55177         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
55179 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
55181         [BZ #9739]
55182         * manual/string.texi (strnlen): Use correct parameter name in
55183         equivalent expression.
55185 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
55187         [BZ #11174]
55188         * manual/users.texi (seteuid): Consistently use neweuid for
55189         argument name.
55191 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
55193         [BZ #13704]
55194         * manual/nss.texi (Services in the NSS configuration): Correct
55195         list of services in example configuration file.
55197 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
55199         [BZ #11322]
55200         * manual/arith.texi: Remove statements about negative zero
55201         behaving identically to zero.
55203 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
55205         [BZ #5993]
55206         * manual/install.texi: Do not document upgrading from libc5.
55208 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
55210         [BZ #4596]
55211         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
55213 2012-02-18  David S. Miller  <davem@davemloft.net>
55215         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
55216         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
55217         %o7 across the call.
55218         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
55219         instead.
55220         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
55221         SETUP_PIC_REG_LEAF.
55222         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55223         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
55224         * sysdeps/sparc/crtn.S: Likewise.
55226 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
55228         * aout/Makefile: Remove.
55230 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
55232         [BZ #13058]
55233         * manual/examples/argp-ex1.c (main): Format definition in GNU
55234         style.
55235         * manual/examples/argp-ex2.c (main): Likewise.
55236         * manual/examples/argp-ex3.c (main): Likewise.
55237         * manual/examples/argp-ex4.c (main): Likewise.
55238         * manual/examples/longopt.c (main): Use new-style prototype
55239         definition.
55240         * manual/examples/strncat.c (main): Specify return type and use
55241         (void) for arguments.
55242         * manual/examples/subopt.c (main): Use char **argv argument.
55244 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55246         [BZ #5077]
55247         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
55248         rounding modes.
55250 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
55252         [BZ #6907]
55253         * manual/string.texi (strchr): Change when strchrnul is
55254         recommended.
55256 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
55258         [BZ #174]
55259         * manual/locale.texi (setlocale): Document LOCPATH.
55261 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55263         [BZ #10210]
55264         * manual/process.texi (execle): Move @dots{} before last argument.
55266 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
55268         [BZ #12047]
55269         * manual/charset.texi (Generic Charset Conversion): Fix typo
55270         (LC_TYPE -> LC_CTYPE).
55272 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
55274         [BZ #5805]
55275         * manual/arith.texi (scalbn): Use @var{} on parameter names.
55276         (scalbnf): Likewise.
55277         (scalbnl): Likewise.
55278         (scalbln): Likewise.
55279         (scalblnf): Likewise.
55280         (scalblnl): Likewise.
55281         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
55282         (vwarnx): Likewise.
55283         (verr): Likewise.
55284         (verrx): Likewise.
55285         * manual/filesys.texi (telldir): Use braces around return type.
55286         * manual/llio.texi (mmap): Add space after comma.
55287         (mmap64): Likewise.
55288         * manual/math.texi (jn): Use @var{} on parameter names.
55289         (jnf): Likewise.
55290         (jnl): Likewise.
55291         (yn): Likewise.
55292         (ynf): Likewise.
55293         (ynl): Likewise.
55294         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
55295         line.
55296         * manual/resource.texi (ulimit): Use @dots{} instead of literal
55297         "...".
55298         (sched_get_priority_min): Remove semicolon on @deftypefun line.
55299         (sched_get_priority_max): Likewise.
55300         * manual/signal.texi (sigvec): Add space after comma.
55301         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
55302         names.
55303         (if_indextoname): Likewise.
55304         (if_freenameindex): Likewise.
55305         (sendto): Use ',' instead of '.' in prototype.
55306         * manual/startup.texi (syscall): Use @dots{} instead of literal
55307         "...".
55308         * manual/stdio.texi (__fpending): Separate initial words of
55309         paragraph from @deftypefun line.
55310         * manual/syslog.texi (syslog): Use @dots{} instead of literal
55311         "...".
55312         (vsyslog): Use @var{} on parameter names.
55313         * manual/terminal.texi (stty): Use @var{} on parameter names.
55314         * manual/users.texi (getutmp): Use @var{} on parameter names.
55315         (getutmpx): Likewise.
55317 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55319         [BZ #6884]
55320         * manual/stdio.texi (fopen): Fix typos in description of
55321         ",ccs=STRING".
55323 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
55325         [BZ #4026]
55326         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
55327         get clock_id definition.
55329 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
55331         [BZ #4822]
55332         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
55333         (madvise): Cast every argument to void on its own.
55335 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55337         [BZ #9902]
55338         * manual/startup.texi (Exit Status): Fix typo.
55340 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55342         [BZ #10140]
55343         * manual/examples/argp-ex1.c: Include <stdlib.h>.
55344         * manual/examples/argp-ex2.c: Likewise.
55345         * manual/examples/argp-ex3.c: Likewise.
55347 2012-02-16  Richard Henderson  <rth@redhat.com>
55349         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
55350         * sysdeps/s390/s390-32/initfini.c: Remove.
55351         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
55352         * sysdeps/s390/s390-64/initfini.c: Remove.
55354 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55356         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
55357         compiler output for sysdeps/generic/initfini.c.
55358         * sysdeps/sh/elf/initfini.c: Remove file.
55360 2012-02-16  David S. Miller  <davem@davemloft.net>
55362         [BZ #11494]
55363         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
55365         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
55366         * sysdeps/sparc/crti.S: New file.
55367         * sysdeps/sparc/crtn.S: New file.
55368         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
55369         * sysdeps/sparc/sparc64/Makefile: Likewise.
55371 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
55373         [BZ #3335]
55374         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
55376 2012-02-15  Roland McGrath  <roland@hack.frob.com>
55378         [BZ #4822]
55379         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
55381         * mach/devstream.c (cookie_io_functions_t): Macro removed.
55382         (write, read, close): Likewise.
55383         Patch by Aurelien Jarno <aurelien@aurel32.net>.
55385 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
55387         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
55388         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
55389         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
55390         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
55391         <bits/signalfd.h>.
55392         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
55393         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55394         bits/signalfd.h.
55396 2012-02-14  Marek Polacek  <polacek@redhat.com>
55398         * sysdeps/x86_64/crti.S: New file.
55399         * sysdeps/x86_64/crtn.S: New file.
55400         * sysdeps/x86_64/elf/initfini.c: Remove file.
55402 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
55404         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
55405         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
55406         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
55407         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
55408         <bits/inotify.h>.
55409         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
55410         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55411         bits/inotify.h.
55413 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
55415         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
55416         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
55417         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
55418         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
55419         <bits/eventfd.h>.
55420         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
55421         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55422         bits/eventfd.h.
55424 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
55426         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
55427         __feraiseexcept instead of feraiseexcept.
55429         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
55430         nanosleep invocations.
55431         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
55432         strings, and add error checking for a nanosleep invocations.
55434 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
55436         Replace FSF snail mail address with URLs, as per GNU coding standards.
55437         Most of the snail mail addresses were wrong anyway, and omitting
55438         them makes the source code easier to maintain.  Almost all of the
55439         changes are to license notices and to locale LC_IDENTIFICATION
55440         addresses, except for this one:
55441         * manual/libc.texinfo: In "Published by", give the FSF's URL,
55442         not its snail mail address.
55444 2012-02-09  Richard Henderson  <rth@twiddle.net>
55446         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
55447         of kernel-features.h.
55449         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
55451 2012-02-08  Marek Polacek  <polacek@redhat.com>
55453         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
55454         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
55455         * sysdeps/gnu/_G_config.h: Likewise.
55456         * sysdeps/generic/_G_config.h: Likewise.
55458 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
55460         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
55461         tests.
55462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55464         * sysdeps/powerpc/powerpc32/crti.S: New file.
55465         * sysdeps/powerpc/powerpc32/crtn.S: New file.
55466         * sysdeps/powerpc/powerpc64/crti.S: New file.
55467         * sysdeps/powerpc/powerpc64/crtn.S: New file.
55469         * Makeconfig (have-initfini): Don't set.
55470         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
55471         * configure.in (nopic_initfini): Don't substitute.
55472         * config.h.in (HAVE_INITFINI): Don't #undef.
55473         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
55474         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
55476 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
55478         Support crti.S and crtn.S provided directly by architectures.
55479         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
55480         [crti.S in sysdirs] (omit-deps): Likewise.
55481         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
55482         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
55483         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
55484         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
55485         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
55486         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
55487         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
55488         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
55489         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
55490         compiler output for sysdeps/generic/initfini.c.
55491         * sysdeps/i386/elf/Makefile: Remove file.
55492         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
55494 2012-02-07  Marek Polacek  <polacek@redhat.com>
55496         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
55497         * sysdeps/gnu/_G_config.h: Likewise.
55498         * sysdeps/mach/hurd/_G_config.h: Likewise.
55500 2012-02-07  Marek Polacek  <polacek@redhat.com>
55502         * math/Makefile (tests): Add tst-CMPLX2.
55503         * math/tst-CMPLX2.c: New file.
55505 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
55507         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55509         * math/libm-test.inc (jn_test): Add missing L suffix.
55511 2012-02-06  Marek Polacek  <polacek@redhat.com>
55513         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
55514         * sysdeps/i386/fpu/e_powf.S: Likewise.
55515         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
55516         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
55517         * sysdeps/i386/fpu/e_acosh.S: Likewise.
55518         * sysdeps/i386/fpu/e_pow.S: Likewise.
55519         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
55520         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
55521         * sysdeps/i386/fpu/s_expm1.S: Likewise.
55522         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
55523         * sysdeps/i386/fpu/e_log2.S: Likewise.
55524         * sysdeps/i386/fpu/e_log2l.S: Likewise.
55525         * sysdeps/i386/fpu/e_scalb.S: Likewise.
55526         * sysdeps/i386/fpu/e_powl.S: Likewise.
55527         * sysdeps/i386/fpu/s_log1p.S: Likewise.
55528         * sysdeps/i386/fpu/e_log10f.S: Likewise.
55529         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
55530         * sysdeps/i386/fpu/e_logl.S: Likewise.
55531         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
55532         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
55533         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
55534         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
55535         * sysdeps/i386/fpu/e_log2f.S: Likewise.
55536         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
55537         * sysdeps/i386/fpu/e_log.S: Likewise.
55538         * sysdeps/i386/fpu/s_cexp.S: Likewise.
55539         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
55540         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
55541         * sysdeps/i386/fpu/e_logf.S: Likewise.
55542         * sysdeps/i386/fpu/e_log10l.S: Likewise.
55543         * sysdeps/i386/fpu/e_atanh.S: Likewise.
55544         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
55545         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
55546         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
55547         * sysdeps/i386/fpu/e_log10.S: Likewise.
55548         * sysdeps/i386/fpu/s_frexp.S: Likewise.
55549         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
55550         * sysdeps/i386/fpu/s_asinh.S: Likewise.
55551         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
55552         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
55553         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
55554         * sysdeps/i386/asm-syntax.h: Likewise.
55555         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
55556         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55557         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
55558         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
55559         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
55560         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
55561         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
55562         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
55563         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
55564         * sysdeps/powerpc/sysdep.h: Likewise.
55565         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
55566         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
55568 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
55570         [BZ #411]
55571         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
55573 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
55575         * sysdeps/i386/sysdep.h: Include <features.h>.
55576         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
55577         version.
55579 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
55581         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
55582         Define.
55583         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
55584         LOAD_PIC_REG_STR.
55586 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
55588         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
55589         (SETUP_PIC_REG): Use GET_PC_THUNK.
55590         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
55591         macro.
55593 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
55595         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
55596         for non-PIC compilation.
55597         (SETUP_PIC_REG): Add .p2align directive.
55598         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
55599         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
55600         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
55601         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
55602         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
55603         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
55604         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
55605         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55606         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
55607         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
55608         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
55609         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
55610         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
55611         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
55612         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
55613         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
55614         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
55615         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
55616         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
55617         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
55618         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
55619         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
55620         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
55621         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
55622         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
55623         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
55624         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
55625         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
55626         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
55627         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
55628         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
55629         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55630         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
55631         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
55632         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
55633         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
55634         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
55635         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
55636         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
55637         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
55638         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
55640 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
55642         * math/tst-CMPLX.c: Include <stdio.h>.
55644 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
55646         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
55647         float.
55648         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
55649         * sysdeps/sparc/bits/mathdef.h: Likewise.
55651 2012-01-31  Marek Polacek  <polacek@redhat.com>
55653         * libio/libio.h: Don't define _PARAMS.
55654         * locale/programs/config.h: Don't define PARAMS.
55655         * stdlib/strtol_l.c: Likewise.
55656         (__strtol_l): Remove PARAMS from the prototype.
55658 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
55660         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
55661         names.  Just use the correct names.  Remove unnecessary wrapper
55662         functions.
55663         * malloc/arena.c: Likewise.
55664         * malloc/hooks.c: Likewise.
55666         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
55667         ARENA_TEST says not to.  Simplify test for creation of a new arena.
55668         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
55670 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
55672         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
55673         into tail calls.
55674         (update_get_addr): New function.
55675         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
55676         GET_ADDR_MODULE parameter.
55678 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
55680         * crypt/cert.c: Remove __STDC__ conditionals.
55681         * crypt/crypt-entry.c: Likewise.
55682         * crypt/crypt_util.c: Likewise.
55683         * libio/filedoalloc.c: Likewise.
55684         * libio/fileops.c: Likewise.
55685         * libio/genops.c: Likewise.
55686         * libio/iofclose.c: Likewise.
55687         * libio/iofdopen.c: Likewise.
55688         * libio/iofopen.c: Likewise.
55689         * libio/iofopen64.c: Likewise.
55690         * libio/iogetdelim.c: Likewise.
55691         * libio/iopopen.c: Likewise.
55692         * libio/obprintf.c: Likewise.
55693         * libio/oldfileops.c: Likewise.
55694         * libio/oldiofclose.c: Likewise.
55695         * libio/oldiofdopen.c: Likewise.
55696         * libio/oldiofopen.c: Likewise.
55697         * libio/oldiopopen.c: Likewise.
55698         * libio/wfiledoalloc.c: Likewise.
55699         * libio/wgenops.c: Likewise.
55700         * locale/programs/xmalloc.c: Likewise.
55701         * misc/syslog.c: Likewise.
55702         * stdio-common/xbug.c: Likewise.
55703         * string/memchr.c: Likewise.
55704         * string/memcmp.c: Likewise.
55705         * string/memrchr.c: Likewise.
55706         * string/rawmemchr.c: Likewise.
55707         * sysdeps/posix/getcwd.c: Likewise.
55708         * time/strftime_l.c: Likewise.
55710 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
55712         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
55713         * config.make.in (config-cflags-sse2avx): Define.
55714         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
55715         Fix typo.
55717 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
55719         * scripts/config.guess: Update from upstream config git repository.
55720         * scripts/config.sub: Likewise.
55722 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
55724         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
55725         (EM_NUM): Update.
55726         (R_TILEPRO_*, R_TILEGX_*): New macros.
55728         * scripts/firstversions.awk: Fix bug in version range handling.
55730         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
55732         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
55734         * include/sys/epoll.h: New file.
55735         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
55736         libc_hidden_def.
55738 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
55740         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
55741         Avoid unnecessary __WORDSIZE == 64 test.
55742         (fmaxf): Use VEX format if possible.
55743         (fmax): Likewise.
55744         (fminf): Likewise.
55745         (fmin): Likewise.
55747         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
55748         * math/math_private.h: Remove libc_fegetround* and
55749         libc_fesetround*.
55750         * sysdeps/i386/configure.in: Check for -msse2avx.
55751         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
55752         also if SSE2AVX is defined.
55753         Remove libc_fegetround* and libc_fesetround*.
55754         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
55755         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
55756         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
55757         of HAS_YMM_USABLE.
55758         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55759         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55760         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55761         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55762         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55764         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
55766 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55768         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
55769         size is not set.
55770         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55772 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
55774         [BZ #13618]
55775         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
55776         relocation.
55777         * Makeconfig (libm): Define.
55778         * elf/Makefile: Add rules to build and run tst-relsort1.
55779         * elf/tst-relsort1.c: New file.
55780         * elf/tst-relsort1mod1.c: New file.
55781         * elf/tst-relsort1mod2.c: New file.
55783 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
55785         * math/s_ldexp.c: Remove __STDC__ conditionals.
55786         * math/s_ldexpf.c: Likewise.
55787         * math/s_ldexpl.c: Likewise.
55788         * math/s_nextafter.c: Likewise.
55789         * math/s_nexttowardf.c: Likewise.
55790         * math/s_significand.c: Likewise.
55791         * math/s_significandf.c: Likewise.
55792         * math/s_significandl.c: Likewise.
55793         * math/w_jnl.c: Likewise.
55794         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
55795         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
55796         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
55797         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
55798         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
55799         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55800         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
55801         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
55802         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55803         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
55804         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
55805         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55806         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
55807         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
55808         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
55809         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
55810         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
55811         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
55812         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
55813         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55814         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55815         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
55816         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
55817         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55818         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
55819         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
55820         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
55821         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
55822         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
55823         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
55824         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
55825         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
55826         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
55827         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
55828         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
55829         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
55830         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
55831         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
55832         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
55833         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
55834         * sysdeps/ieee754/k_standard.c: Likewise.
55835         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55836         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
55837         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
55838         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
55839         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
55840         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
55841         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
55842         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
55843         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
55844         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
55845         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
55846         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
55847         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
55848         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
55849         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
55850         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
55851         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
55852         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
55853         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
55854         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
55855         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
55856         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
55857         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
55858         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
55859         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
55860         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
55861         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55862         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55863         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
55864         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
55865         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
55866         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
55867         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
55868         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
55869         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
55870         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
55871         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
55872         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
55873         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
55874         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
55875         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
55876         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
55877         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
55878         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
55879         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
55880         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
55881         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
55882         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
55883         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
55884         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
55885         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
55886         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
55887         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
55888         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
55889         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
55890         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
55891         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
55892         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55893         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55894         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55895         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
55896         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
55897         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
55898         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
55899         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
55900         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
55901         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
55902         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
55903         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
55904         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
55905         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
55906         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
55907         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
55908         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
55909         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
55910         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
55911         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
55912         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
55913         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
55914         * sysdeps/ieee754/s_matherr.c: Likewise.
55915         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
55916         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
55917         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55918         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55920 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
55922         * crypt/md5.h: Remove __STDC__ conditionals.
55923         * libio/libioP.h: Likewise.
55924         * locale/programs/config.h: Likewise.
55925         * sysdeps/generic/sysdep.h: Likewise.
55926         * sysdeps/i386/asm-syntax.h: Likewise.
55927         * sysdeps/s390/asm-syntax.h: Likewise.
55928         * sysdeps/unix/sysdep.h: Likewise.
55929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
55930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
55932 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
55934         * libio/libio.h: Remove __STDC__ conditionals.
55935         * malloc/obstack.h: Likewise.
55936         * math/complex.h: Likewise.
55937         * math/math.h: Likewise.
55938         * sysdeps/generic/_G_config.h: Likewise.
55939         * sysdeps/gnu/_G_config.h: Likewise.
55940         * sysdeps/mach/hurd/_G_config.h: Likewise.
55941         * sysdeps/powerpc/bits/mathdef.h: Likewise.
55942         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
55943         * sysdeps/sparc/bits/mathdef.h: Likewise.
55945 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
55947         [BZ #13583]
55948         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
55949         Clean up HAS_* macros.
55950         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
55951         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
55952         possible.
55953         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
55954         HAS_AVX.
55955         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55956         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55957         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55958         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55959         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55961 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
55963         * elf/tst-unique3.cc (gets): Remove declaration.
55964         * elf/tst-unique3lib.cc (gets): Likewise.
55965         * elf/tst-unique3lib2.cc (gets): Likewise.
55966         * elf/tst-unique4.cc (gets): Likewise.
55968 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
55970         * include/stdio.h: Add C++ protection.  Add gets declarations and
55971         definitions.
55972         * debug/tst-chk1.c: Don't declare gets here.
55973         * stdio-common/tst-gets.c: Likewise.
55975 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
55977         * posix/glob: Remove directory.
55979 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
55981         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
55983 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
55985         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
55986         of the non-standard EPFNOSUPPORT.
55988 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55990         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
55991         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
55992         ANYWHERE set to 1 only on KERN_NO_SPACE error.
55994 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
55996         * wcsmbs/uchar.h: Test __STDC_VERSION__.
55998 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
56000         * nscd/aicache.c (addhstaiX): Do not cache negative results of
56001         transient errors.
56002         * nscd/grpcache.c (cache_addgr): Likewise.
56003         * nscd/hstcache.c (cache_addhst): Likewise.
56004         * nscd/initgrcache.c (addinitgroupsX): Likewise.
56005         * nscd/pwdcache.c (cache_addpw): Likewise.
56006         * nscd/servicescache.c (cache_addserv): Likewise.
56008 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
56010         * malloc/malloc.c: Various cleanups.
56011         * malloc/hooks.c: Likewise.
56013         * stdlib/Makefile (tests): Add bug-fmtmsg1.
56014         * stdlib/bug-fmtmsg1.c: New file.
56016         * stdlib/fmtmsg.c (init): Add missing unlock.
56017         Patch by Peng Haitao <penght@cn.fujitsu.com>.
56019 2012-01-12  Marek Polacek  <polacek@redhat.com>
56021         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
56022         and _GNU_SOURCE.
56024 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
56026         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
56027         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
56028         macro to ensure uniqueness of label name.
56029         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
56030         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
56032 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
56034         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
56036         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
56037         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
56038         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
56039         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
56041 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
56043         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
56045         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
56046         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
56047         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
56049         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
56051         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
56052         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
56053         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
56054         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
56056         * math/bits/math-finite.h: Add ldexp support.
56058 2012-01-10  Marek Polacek  <polacek@redhat.com>
56060         * locale/programs/localedef.h (show_archive_content): Add noreturn
56061         attribute.
56063 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
56065         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
56067 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56069         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
56071         * io/Makefile (headers): Add bits/poll2.h.
56073 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
56075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
56076         typo #include statement.
56078 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56080         * include/sys/cdefs.h: Define __attribute_alloc_size.
56081         * catgets/gencat.c: Add alloc_size attribute and apply consistently
56082         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
56083         * elf/pldd.c: Likewise.
56084         * iconv/iconv_charmap.c: Likewise.
56085         * iconv/iconvconfig.c: Likewise.
56086         * iconv/strtab.c: Likewise.
56087         * locale/programs/locale.c: Likewise.
56088         * locale/programs/localedef.h: Likewise.
56089         * locale/programs/simple-hash.c: Likewise.
56090         * nscd/nscd.h: Likewise.
56091         * nss/makedb.c: Likewise.
56092         * sysdeps/generic/ldconfig.h: Likewise.
56093         * locale/programs/localedef.c: Remove xmalloc prototype.
56094         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
56096 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
56098         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
56099         appropriate.
56101 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56103         * math/Makefile (tests): Add tst-CMPLX.
56104         * math/tst-CMPLX.c: New file.
56106         * math/complex.h (CMPLXL): Fix typo.
56108         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
56109         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
56110         GLIBC_2.16.
56111         * debug/tst-chk1.c: Add poll and ppoll tests.
56112         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
56113         * include/sys/poll.h: Add hidden proto for ppoll.
56114         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
56115         * sysdeps/mach/hurd/ppoll.c: Likewise.
56116         * io/ppoll.c: Likewise.
56117         * debug/poll_chk.c: New file.
56118         * debug/ppoll_chk.c: New file.
56119         * include/bits/poll2.h: New file.
56120         * io/bits/poll2.h: New file.
56122         [BZ #1350]
56123         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
56125         * configure.in: static is always set to yes.  Remove.
56126         * config.make.in: Don't set build-static.
56127         * Makeconfig: Remove use of build-static.
56128         * dlfcn/Makefile: Likewise.
56129         * elf/Makefile: Likewise.
56130         * math/Makefile: Likewise.
56131         * misc/Makefile: Likewise.
56132         * nptl/Makefile: Likewise.
56133         * sysdeps/mach/hurd/Makefile: Likewise.
56135         * configure.in: PWD_P is not used anymore.
56136         * config.make.in: Remove PWD_P entry.
56138         * configure.in: Remove last remnants of RANLIB.
56139         No need to check for signed size_t anymore.
56140         Don't set libc_commonpagesize and libc_relro_required here for Alpha
56141         and IA-64.
56142         Remove __builtin_expect test because we require at least gcc 3.4.
56143         * aclocal.m4: Likewise.
56145         * wcsmbs/mbrtoc16.c: Implement using towc function.
56146         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
56147         * wcsmbs/wcsmbsload.c: Likewise.
56148         * iconv/gconv_simple.c: Likewise.
56149         * iconv/gconv_int.h: Likewise.
56150         * iconv/gconv_builtin.h: Likewise.
56151         * iconv/iconv_prog.c: Remove CHAR16 handling.
56153         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
56155         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
56157         * configure.in: Remove --with-elf and --enable-bounded options.
56158         Dont set base_machine for ia64.  More non-ELF conditions removed.
56159         Remove testing and setting of leading underscore information.
56160         * config.make.in (build-bounded): Set to no.
56161         * config.h.in: Remove NO_UNDERSCORES entry.
56162         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
56163         them.
56164         * csu/start.c: Remove !NO_UNDERSCORE code.
56165         * locale/localeinfo.h: Likewise.
56166         * sysdeps/generic/machine-gmon.h: Likewise.
56167         * sysdeps/generic/sysdep.h: Likewise.
56168         * sysdeps/i386/sysdep.h: Likewise.
56169         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
56170         * sysdeps/mach/sysdep.h: Likewise.
56171         * sysdeps/s390/s390-32/sysdep.h: Likewise.
56172         * sysdeps/s390/s390-64/sysdep.h: Likewise.
56173         * sysdeps/sh/sysdep.h: Likewise.
56174         * sysdeps/sparc/sparc32/alloca.S: Likewise.
56175         * sysdeps/unix/i386/sysdep.S: Likewise.
56176         * sysdeps/unix/sparc/start.c: Likewise.
56177         * sysdeps/unix/sparc/sysdep.S: Likewise.
56178         * sysdeps/unix/sparc/sysdep.h: Likewise.
56179         * sysdeps/unix/start.c: Likewise.
56180         * sysdeps/unix/x86_64/sysdep.S: Likewise.
56181         * sysdeps/x86_64/sysdep.h: Likewise.
56183 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
56185         [BZ #13553]
56186         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
56187         for non-gcc.
56188         * argp/argp-fmtstream.h: Use const instead __const.
56189         * argp/argp.h: Likewise.
56190         * assert/assert.h: Likewise.
56191         * bits/fenv.h: Likewise.
56192         * bits/sched.h: Likewise.
56193         * bits/sigset.h: Likewise.
56194         * bits/sigthread.h: Likewise.
56195         * catgets/nl_types.h: Likewise.
56196         * conform/data/pthread.h-data: Likewise.
56197         * crypt/crypt-private.h: Likewise.
56198         * crypt/crypt.h: Likewise.
56199         * crypt/crypt_util.c: Likewise.
56200         * ctype/ctype.h: Likewise.
56201         * debug/execinfo.h: Likewise.
56202         * debug/mbsnrtowcs_chk.c: Likewise.
56203         * debug/mbsrtowcs_chk.c: Likewise.
56204         * debug/wcsnrtombs_chk.c: Likewise.
56205         * debug/wcsrtombs_chk.c: Likewise.
56206         * debug/wcstombs_chk.c: Likewise.
56207         * dirent/dirent.h: Likewise.
56208         * dlfcn/dlfcn.h: Likewise.
56209         * elf/neededtest4.c: Likewise.
56210         * grp/grp.h: Likewise.
56211         * gshadow/gshadow.h: Likewise.
56212         * iconv/gconv.h: Likewise.
56213         * iconv/gconv_int.h: Likewise.
56214         * iconv/gconv_simple.c: Likewise.
56215         * iconv/iconv.h: Likewise.
56216         * iconv/loop.c: Likewise.
56217         * iconv/skeleton.c: Likewise.
56218         * include/aio.h: Likewise.
56219         * include/aliases.h: Likewise.
56220         * include/argz.h: Likewise.
56221         * include/arpa/inet.h: Likewise.
56222         * include/assert.h: Likewise.
56223         * include/dirent.h: Likewise.
56224         * include/dlfcn.h: Likewise.
56225         * include/execinfo.h: Likewise.
56226         * include/fcntl.h: Likewise.
56227         * include/fenv.h: Likewise.
56228         * include/glob.h: Likewise.
56229         * include/grp.h: Likewise.
56230         * include/libintl.h: Likewise.
56231         * include/mntent.h: Likewise.
56232         * include/netdb.h: Likewise.
56233         * include/pwd.h: Likewise.
56234         * include/rpc/netdb.h: Likewise.
56235         * include/sched.h: Likewise.
56236         * include/search.h: Likewise.
56237         * include/shadow.h: Likewise.
56238         * include/signal.h: Likewise.
56239         * include/stdio.h: Likewise.
56240         * include/stdlib.h: Likewise.
56241         * include/string.h: Likewise.
56242         * include/sys/socket.h: Likewise.
56243         * include/sys/stat.h: Likewise.
56244         * include/sys/statfs.h: Likewise.
56245         * include/sys/statvfs.h: Likewise.
56246         * include/sys/syslog.h: Likewise.
56247         * include/sys/time.h: Likewise.
56248         * include/sys/uio.h: Likewise.
56249         * include/time.h: Likewise.
56250         * include/unistd.h: Likewise.
56251         * include/utmp.h: Likewise.
56252         * include/wchar.h: Likewise.
56253         * include/wctype.h: Likewise.
56254         * inet/aliases.h: Likewise.
56255         * inet/arpa/inet.h: Likewise.
56256         * inet/netinet/ether.h: Likewise.
56257         * inet/netinet/in.h: Likewise.
56258         * intl/libintl.h: Likewise.
56259         * io/bits/fcntl2.h: Likewise.
56260         * io/fcntl.h: Likewise.
56261         * io/ftw.h: Likewise.
56262         * io/sys/poll.h: Likewise.
56263         * io/sys/stat.h: Likewise.
56264         * io/sys/statfs.h: Likewise.
56265         * io/sys/statvfs.h: Likewise.
56266         * io/utime.h: Likewise.
56267         * libio/bits/stdio.h: Likewise.
56268         * libio/bits/stdio2.h: Likewise.
56269         * libio/libio.h: Likewise.
56270         * libio/libioP.h: Likewise.
56271         * libio/stdio.h: Likewise.
56272         * locale/lc-ctype.c: Likewise.
56273         * locale/locale.h: Likewise.
56274         * login/utmp.h: Likewise.
56275         * malloc/arena.c: Likewise.
56276         * malloc/malloc.c: Likewise.
56277         * malloc/malloc.h: Likewise.
56278         * malloc/mcheck.c: Likewise.
56279         * malloc/mtrace.c: Likewise.
56280         * math/bits/mathcalls.h: Likewise.
56281         * math/fenv.h: Likewise.
56282         * math/math_private.h: Likewise.
56283         * misc/bits/error.h: Likewise.
56284         * misc/bits/syslog.h: Likewise.
56285         * misc/err.h: Likewise.
56286         * misc/error.h: Likewise.
56287         * misc/fstab.h: Likewise.
56288         * misc/mntent.h: Likewise.
56289         * misc/regexp.h: Likewise.
56290         * misc/search.h: Likewise.
56291         * misc/sgtty.h: Likewise.
56292         * misc/sys/mman.h: Likewise.
56293         * misc/sys/syslog.h: Likewise.
56294         * misc/sys/uio.h: Likewise.
56295         * misc/sys/xattr.h: Likewise.
56296         * misc/ttyent.h: Likewise.
56297         * nis/rpcsvc/ypclnt.h: Likewise.
56298         * nss/nss.h: Likewise.
56299         * posix/bits/unistd.h: Likewise.
56300         * posix/fnmatch.h: Likewise.
56301         * posix/glob.h: Likewise.
56302         * posix/sched.h: Likewise.
56303         * posix/spawn.h: Likewise.
56304         * posix/sys/wait.h: Likewise.
56305         * posix/unistd.h: Likewise.
56306         * posix/wordexp.h: Likewise.
56307         * pwd/pwd.h: Likewise.
56308         * resolv/netdb.h: Likewise.
56309         * resource/sys/resource.h: Likewise.
56310         * rt/aio.h: Likewise.
56311         * rt/bits/mqueue2.h: Likewise.
56312         * rt/mqueue.h: Likewise.
56313         * shadow/shadow.h: Likewise.
56314         * signal/signal.h: Likewise.
56315         * socket/send.c: Likewise.
56316         * socket/sendto.c: Likewise.
56317         * socket/sys/socket.h: Likewise.
56318         * stdio-common/printf.h: Likewise.
56319         * stdlib/bits/stdlib.h: Likewise.
56320         * stdlib/fmtmsg.h: Likewise.
56321         * stdlib/monetary.h: Likewise.
56322         * stdlib/stdlib.h: Likewise.
56323         * stdlib/ucontext.h: Likewise.
56324         * streams/stropts.h: Likewise.
56325         * string/argz.h: Likewise.
56326         * string/bits/string2.h: Likewise.
56327         * string/string.h: Likewise.
56328         * string/strings.h: Likewise.
56329         * sunrpc/rpc/auth.h: Likewise.
56330         * sunrpc/rpc/auth_des.h: Likewise.
56331         * sunrpc/rpc/clnt.h: Likewise.
56332         * sunrpc/rpc/netdb.h: Likewise.
56333         * sunrpc/rpc/pmap_clnt.h: Likewise.
56334         * sunrpc/rpc/xdr.h: Likewise.
56335         * sysdeps/generic/inttypes.h: Likewise.
56336         * sysdeps/generic/net/if.h: Likewise.
56337         * sysdeps/generic/sys/swap.h: Likewise.
56338         * sysdeps/gnu/net/if.h: Likewise.
56339         * sysdeps/gnu/utmpx.h: Likewise.
56340         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
56341         * sysdeps/i386/i486/bits/string.h: Likewise.
56342         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
56343         * sysdeps/s390/bits/string.h: Likewise.
56344         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
56345         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
56346         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
56347         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
56348         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
56349         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
56350         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
56351         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
56352         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
56353         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
56354         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
56355         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
56356         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
56357         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
56358         * sysdeps/unix/sysv/linux/readv.c: Likewise.
56359         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
56360         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
56361         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56362         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
56363         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
56364         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
56365         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
56366         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
56367         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
56368         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
56369         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
56370         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
56371         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56372         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
56373         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
56374         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
56375         * sysvipc/sys/ipc.h: Likewise.
56376         * sysvipc/sys/msg.h: Likewise.
56377         * sysvipc/sys/sem.h: Likewise.
56378         * sysvipc/sys/shm.h: Likewise.
56379         * termios/termios.h: Likewise.
56380         * time/sys/time.h: Likewise.
56381         * time/time.h: Likewise.
56382         * wcsmbs/bits/wchar2.h: Likewise.
56383         * wcsmbs/uchar.h: Likewise.
56384         * wcsmbs/wchar.h: Likewise.
56385         * wctype/wctype.h: Likewise.
56387         [BZ #13551]
56388         * Makeconfig: Remove all but ELF support including AIX support.
56389         * Makerules: Likewise.
56390         * config.h.in: Likewise.
56391         * config.make.in: Likewise.
56392         * configure: Likewise.
56393         * configure.in: Likewise.
56394         * csu/Makefile: Likewise.
56395         * csu/version.c: Likewise.
56396         * debug/Makefile: Likewise.
56397         * dlfcn/Makefile: Likewise.
56398         * elf/Makefile: Likewise.
56399         * extra-lib.mk: Likewise.
56400         * iconv/Makefile: Likewise.
56401         * include/libc-symbols.h: Likewise.
56402         * include/shlib-compat.h: Likewise.
56403         * resolv/Makefile: Likewise.
56404         * resolv/res_libc.c: Likewise.
56405         * rt/Makefile: Likewise.
56406         * sysdeps/i386/asm-syntax.h: Likewise.
56407         * sysdeps/i386/sysdep.h: Likewise.
56408         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
56409         * sysdeps/mach/sysdep.h: Likewise.
56410         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
56411         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
56412         * sysdeps/s390/asm-syntax.h: Likewise.
56413         * sysdeps/s390/s390-32/sysdep.h: Likewise.
56414         * sysdeps/s390/s390-64/sysdep.h: Likewise.
56415         * sysdeps/sh/sysdep.h: Likewise.
56416         * sysdeps/unix/sparc/sysdep.h: Likewise.
56417         * sysdeps/wordsize-32/divdi3.c: Likewise.
56418         * sysdeps/x86_64/sysdep.h: Likewise.
56420         * argp/Versions: Remove _argp_unlock_xxx.
56422         [BZ #13559]
56423         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
56424         * abilist/libBrokenLocale.abilist: Likewise.
56425         * abilist/libanl.abilist: Likewise.
56426         * abilist/libc.abilist: Likewise.
56427         * abilist/libcrypt.abilist: Likewise.
56428         * abilist/libdl.abilist: Likewise.
56429         * abilist/libm.abilist: Likewise.
56430         * abilist/libnsl.abilist: Likewise.
56431         * abilist/libpthread.abilist: Likewise.
56432         * abilist/libresolv.abilist: Likewise.
56433         * abilist/librt.abilist: Likewise.
56434         * abilist/libthread_db.abilist: Likewise.
56435         * abilist/libutil.abilist: Likewise.
56436         * abilist/libnss_db.abilist: New file.
56438         * scripts/abilist.awk: Add support for indirect functions.
56440         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
56442         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
56444         * shlib-versions: Remove entries for ports architectures.
56446         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
56447         files in ports.
56448         * elf/stackguard-macros.h: Remove support for IA-64.
56449         * elf/tst-auditmod1.c: Likewise.
56450         * sysdeps/generic/ldsodefs.h: Likewise.
56452         * sysdeps/unix/sysv/linux/configure.in: Ports should define
56453         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
56454         configure files.
56456         [BZ #13552]
56457         * configure.in: Remove --enable-omitfp support.
56458         * FAQ.in: Adjust.
56459         * config.make.in: Likewise.
56460         * Makeconfig: Likewise.
56461         * manual/install.texi: Likewise.
56463         In case anyone cares, the IA-64 architecture could move to ports.
56464         * sysdeps/ia64/*: Removed.
56465         * sysdeps/unix/sysv/linux/ia64/*: Removed.
56466         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
56468         [BZ #13555]
56469         * configure.in: Remove entries for unsupported architectures.
56471         [BZ #13533]
56472         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
56473         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
56474         routines.
56475         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
56476         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
56477         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
56478         fall back to using wcrtomb.
56479         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
56480         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
56481         renaming.
56482         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
56483         * wcsmbs/tst-c16c32-1.c: New file.
56485         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
56486         local variable.
56488         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
56490         * elf/tst-unique3.cc: Add explicit declaration of gets.
56491         * elf/tst-unique3lib.cc: Likewise.
56492         * elf/tst-unique3lib2.cc: Likewise.
56493         * elf/tst-unique4.cc: Likewise.
56495         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
56497 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
56499         [BZ #13566]
56500         * assert/assert.h (static_assert): Don't define for C++.
56501         * libio/stdio.h (gets): Do declare for C++ <= C++11.
56502         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
56504 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
56506         * iconv/loop.c (single loop): Fix assertion in storing of
56507         remaining bytes.
56509         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
56511 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
56513         * posix/getconf.c: Update copyright year.
56514         * nss/getent.c: Likewise.
56515         * nss/makedb.c: Likewise.
56516         * iconv/iconvconfig.c: Likewise.
56517         * iconv/iconv_prog.c: Likewise.
56518         * elf/ldconfig.c: Likewise.
56519         * elf/pldd.c: Likewise.
56520         * elf/sotruss.ksh: Likewise.
56521         * catgets/gencat.c: Likewise.
56522         * csu/version.c: Likewise.
56523         * elf/ldd.bash.in: Likewise.
56524         * elf/sprof.c (print_version): Likewise.
56525         * locale/programs/locale.c: Likewise.
56526         * locale/programs/localedef.c: Likewise.
56527         * login/programs/pt_chown.c: Likewise.
56528         * nscd/nscd.c (print_version): Likewise.
56529         * debug/xtrace.sh: Likewise.
56530         * malloc/memusage.sh: Likewise.
56531         * malloc/mtrace.pl: Likewise.
56532         * debug/catchsegv.sh: Likewise.
56534 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
56536         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
56537         pure attribute.
56539 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
56541         [BZ #13533]
56542         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
56543         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
56544         transformations.
56545         * iconv/gconv_int.h: Likewise.
56546         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
56547         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
56548         from libc for GLIBC_2.16.
56549         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
56550         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
56551         * wcsmbs/uchar.h: Really define mbstate_t.
56552         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
56553         * wcsmbs/c16rtomb.c: New file.
56554         * wcsmbs/mbrtoc16.c: New file.
56555         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
56556         for C/POSIX locale.
56557         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
56558         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
56560         * wcsmbs/wchar.h: Add missing __restrict.
56562 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
56564         [BZ #13532]
56565         * time/Makefile (routines): Add timespec_get.
56566         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
56567         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
56568         timespec for ISO C11.
56569         * time/timespec_get.c: New file.
56570         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
56571         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
56573         [BZ #13531]
56574         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
56575         * stdlib/stdlib.h: Declare aligned_alloc.
56576         * Versions.def: Add GLIBC_2.16 for libc.
56577         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
56579         [BZ 13527]
56580         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
56581         ISO C11.
56583         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
56584         code.
56586         [BZ #13528]
56587         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
56589         [BZ #13529]
56590         * assert/assert.h (static_assert): Define.
56592         * version.h: Update for 2.16 development version.
56594         [BZ #13526]
56595         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
56596         _ISOC11_SOURCE.
56598         * version.h (RELEASE): Bump for 2.15 release.
56599         * include/features.h (__GLIBC_MINOR__): Bump to 15.
56601         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
56602         Patch by Marek Polacek <mpolacek@redhat.com>.
56604         * bits/byteswap.h: Protect long long constants with __extension__.
56605         * sysdeps/i386/bits/byteswap.h: Likewise.
56606         * sysdeps/ia64/bits/byteswap.h: Likewise.
56607         * sysdeps/s390/bits/byteswap.h: Likewise.
56608         * sysdeps/x86_64/bits/byteswap.h: Likewise.
56610 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56612         [BZ #13540]
56613         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
56614         destination buffer.
56615         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
56617 2011-12-23  Marek Polacek  <polacek@redhat.com>
56619         * elf/dl-addr.c (determine_info): Add inline keyword.
56620         * elf/tst-auditmod4b.c (check_avx): Likewise.
56621         * elf/tst-auditmod6b.c (check_avx): Likewise.
56622         * elf/tst-auditmod6c.c (check_avx): Likewise.
56623         * elf/tst-auditmod7b.c (check_avx): Likewise.
56625 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
56627         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
56628         !__SSE_MATH__.
56630 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56632         [BZ #13540]
56633         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
56634         processing for last bytes.
56636 2011-08-06  Bruno Haible  <bruno@clisp.org>
56638         [BZ #13061]
56639         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
56640         U+0385, not to U+1FEE.
56642         [BZ #13062]
56643         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
56644         entry for U+00A5 U+0301.
56646 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
56648         [BZ #13166]
56649         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
56650         buffer for the output is too small.
56652         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
56653         optimization.
56655         [BZ #13185]
56656         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
56657         SSE flags if possible.
56659 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56661         [BZ #13540]
56662         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
56663         processing for last bytes.
56665 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
56667         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
56668         (syscall-list-default-options, syscall-list-default-condition)
56669         (syscall-list-includes): Define.
56670         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
56671         list of ABIs and options and #if conditions for each ABI.  Do not
56672         handle common syscalls between ABIs specially.
56673         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
56674         Remove.
56675         (syscall-list-variants, syscall-list-32bit-options)
56676         (syscall-list-32bit-condition, syscall-list-64bit-options)
56677         (syscall-list-64bit-condition): Define.
56678         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
56679         (syscall-list-variants, syscall-list-32bit-options)
56680         (syscall-list-32bit-condition, syscall-list-64bit-options)
56681         (syscall-list-64bit-condition): Define.
56682         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
56683         Remove.
56684         (syscall-list-variants, syscall-list-32bit-options)
56685         (syscall-list-32bit-condition, syscall-list-64bit-options)
56686         (syscall-list-64bit-condition): Define.
56687         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
56688         Remove.
56689         (syscall-list-variants, syscall-list-32bit-options)
56690         (syscall-list-32bit-condition, syscall-list-64bit-options)
56691         (syscall-list-64bit-condition): Define.
56693 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
56695         * locale/iso-639.def: Add brx entry.
56697         [BZ #13328]
56698         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
56699         Proposed by Mariusz_Cukr <marcukr@op.pl>.
56701         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
56702         __feraiseexcept_renamed.
56704 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
56706         [BZ #13538]
56707         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
56708         EPOLLET with unsigned values.
56709         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56710         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
56712         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
56713         to large cancellation.
56714         * math/s_cacoshf.c: Likewise.
56715         * math/s_cacoshl.c: Likewise.
56717 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
56719         [BZ #13305]
56720         [BZ #12786]
56721         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
56722         * math/s_cacoshf.c: Likewise.
56723         * math/s_cacoshl.c: Likewise.
56725 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
56727         [BZ #13439]
56728         * iconv/gconv.h: Define __GCONV_SWAP.
56729         * iconvdata/unicode.c: The swap bit must be stored in __flags.
56730         * iconvdata/utf-16.c: Likewise.
56731         * iconvdata/utf-32.c: Likewise.
56733 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
56735         [BZ #13524]
56736         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
56737         numerator after shifting it by one limb.
56739 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
56741         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
56742         under [__USE_EXTERN_INLINES].
56744 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
56746         [BZ #13446]
56747         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
56749 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56751         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
56752         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
56753         optimized code.
56754         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
56755         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
56756         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
56757         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
56758         for strncasecmp/strncasecmp_l compilation.
56759         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
56760         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
56762 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
56764         [BZ #13484]
56765         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
56766         of __asm__.
56768 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
56770         [BZ #13506]
56771         * time/tzfile.c (__tzfile_read): Check values from file header.
56773 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
56775         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
56776         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
56777         * powerpc/powerpc32/dl-start.S: Likewise.
56778         * powerpc/powerpc32/elf/start.S: Likewise.
56779         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
56780         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
56781         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
56782         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
56783         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
56784         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
56785         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
56786         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
56787         * powerpc/powerpc32/fpu/s_round.S: Likewise.
56788         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
56789         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
56790         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
56791         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
56792         * powerpc/powerpc32/memset.S: Likewise.
56793         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
56794         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
56795         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
56796         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
56797         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
56798         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
56799         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
56800         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
56801         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
56802         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
56803         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
56804         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
56805         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
56807 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56809         * math/libm-test.inc: Added more nearbyint tests.
56810         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
56811         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
56812         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
56813         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
56815 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
56817         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
56818         FD_CLOEXEC.
56820 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56822         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
56823         Add wcscpy-ssse3 wcscpy-c.
56824         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
56825         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
56826         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
56827         * sysdeps/x86_64/wcschr.S: New file.
56828         * sysdeps/x86_64/wcsrchr.S: New file.
56829         * string/test-strcmp.c: Remove checking of wcscmp function for
56830         wrong alignments.
56831         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
56832         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
56833         wcsrchr-sse2 wcsrchr-c.
56834         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
56835         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
56836         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
56837         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
56838         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
56839         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
56840         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
56841         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
56842         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
56843         * wcsmbc/wcschr.c (WCSCHR): New macro.
56845 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56847         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
56848         * wcsmbs/test-wcsrchr.c: New file.
56849         * string/test-strrchr.c: Add wcsrchr support.
56850         (WIDE): New macro.
56851         * wcsmbs/test-wcscpy.c: New file.
56852         * string/test-strcpy.c: Add wcscpy support.
56853         (WIDE): New macro.
56855 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
56857         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
56858         the inner loop.
56860 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
56862         [BZ #13472]
56863         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
56865 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
56867         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
56868         Minor optimizations.
56870         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
56871         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
56872         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
56874 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
56876         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
56877         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
56878         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
56879         for gcc to avoid warnings.
56880         * inet/Makefile (tests): Add tst-checks.
56881         * inet/tst-checks.c: New file.
56883         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
56884         warning.
56886         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
56887         __wmemcmp_sse2.
56889         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
56890         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
56892         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
56894 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
56896         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
56897         problem.
56899         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
56901 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
56903         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
56904         conditional on GCC version.
56905         (__arch_compare_and_exchange_val_8_acq)
56906         (__arch_compare_and_exchange_val_16_acq)
56907         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
56908         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
56909         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
56911 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
56913         * sysdeps/sh/backtrace.c: New file.
56915 2011-12-02  Andreas Schwab  <schwab@redhat.com>
56917         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
56918         parenthesis.
56920 2011-12-01  Andreas Schwab  <schwab@redhat.com>
56922         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
56923         falling back to utime.
56925 2011-11-30  Andreas Schwab  <schwab@redhat.com>
56927         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
56928         expectations for float.
56930 2011-11-29  Andreas Schwab  <schwab@redhat.com>
56932         * locale/weight.h (findidx): Add parameter len.
56933         * locale/weightwc.h (findidx): Likewise.
56934         * posix/fnmatch_loop.c (FCT): Adjust caller.
56935         * posix/regcomp.c (build_equiv_class): Likewise.
56936         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
56937         * posix/regexec.c (check_node_accept_bytes): Likewise.
56938         * string/strcoll_l.c (STRCOLL): Likewise.
56939         * string/strxfrm_l.c (STRXFRM): Likewise.
56941 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
56943         * Makefile.in: Remove CVSOPT handling.
56944         * configure.in: Remove use of AC_REVISION.
56945         * iconvdata/Makefile (distribute): No need to filter out CVS.
56946         * scripts/list-sources.sh: Remove CVS, subversion and monotone
56947         handling.
56949 2011-11-16  Andreas Schwab  <schwab@redhat.com>
56951         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
56952         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
56953         [USE_AS_STRNCASECMP_L]: Likewise.
56954         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
56955         NO_TLS_DIRECT_SEG_REFS.
56956         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
56957         Fix argument offsets for non-PIC.
56958         [USE_AS_STRNCASECMP_L]: Likewise.
56959         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
56960         NO_TLS_DIRECT_SEG_REFS.
56962 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
56964         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
56965         O_CLOEXEC.
56966         * locale/loadlocale.c (_nl_load_locale): Likewise.
56968 2011-11-15  Andreas Schwab  <schwab@redhat.com>
56970         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
56971         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
56972         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
56973         (SYSCALL_GETTIME): Set errno on error.
56975         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
56976         count references to noai6ai_cached.
56978 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
56980         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
56982         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
56983         FD_CLOEXEC for /proc/self/maps.
56985         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
56986         FD_CLOEXEC for /proc/meminfo.
56988         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
56989         gai.conf.
56991         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
56992         FD_CLOEXEC for given file.
56994         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
56996         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
56997         FD_CLOEXEC for /etc/hosts.
56998         (_gethtent): Likewise.
57000         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
57002         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
57003         cancellation and set FD_CLOEXEC for /etc/netgroup.
57005         * nss/nss_files/files-key.c (search): Don't allow cancellation when
57006         reading /etc/publickey.
57008         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
57009         allow cancellation when reading /etc/group.
57011         * nss/nss_files/files-alias.c (internal_setent): Don't allow
57012         cancellation.
57013         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
57015         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
57016         when using data file.
57018         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
57020         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
57021         (write_nis_obj): Use "c" and "e" in fopen.
57023         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
57025         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
57027         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
57029         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
57031         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
57032         locale.alias.
57034         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
57036         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
57038         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
57040         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
57041         file parsing and set FD_CLOEXEC.
57043 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
57045         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
57047 2011-11-14  Andreas Schwab  <schwab@redhat.com>
57049         * malloc/arena.c (arena_get2): Don't call reused_arena when
57050         _int_new_arena failed.
57052 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
57054         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
57055         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
57056         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
57057         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57058         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57059         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
57060         to compile strcasecmp and strncasecmp.
57061         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
57062         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
57064         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
57066 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
57068         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
57069         locale-defines.sym to gen-as-const-headers.
57070         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
57071         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
57072         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
57073         to compile strcasecmp and strncasecmp.
57074         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
57075         strcasecmp_l and strncasecmp_l.
57076         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
57077         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
57078         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
57079         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
57080         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
57081         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
57082         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
57083         * sysdeps/i386/i686/multiarch/strncase.S: New file.
57084         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
57085         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
57086         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
57088 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
57090         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
57091         result of SYSDEP_GETTIME_CPU to retval.
57092         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
57093         parameter list to macro.  Remove trailing semicolon.  Adjust users.
57095         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
57096         variable.
57098         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
57099         mantissa words.
57100         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
57102         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
57103         from unused variable.
57105         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
57106         DWARF definitions.
57107         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
57108         for assembling.
57110         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
57111         over namespaces.
57113         * sunrpc/rpc_prot.c (rejected): Fix case value.
57115         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
57116         unsigned long long int to avoid warnings in shift.
57118         * posix/regex_internal.c (re_string_reconstruct): Actually use result
57119         of use of trans.
57120         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
57121         variable tmp.
57123         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
57124         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
57125         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
57127         * nis/nis_table.c (nis_list): Use variable of correct type for
57128         result of __follow_path call.
57130 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57132         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
57133         of math functions ceil, trunc, floor, round, and sqrt, when
57134         avaliable on the platform.
57135         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
57136         name clash.
57137         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
57138         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
57139         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
57141 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
57143         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
57144         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
57146 2011-11-11  Roland McGrath  <roland@hack.frob.com>
57148         * include/unistd.h: Fix __readlink return type.
57149         Reported by Chris Metcalf <cmetcalf@tilera.com>.
57151 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
57153         * stdlib/ucontext.h: Undo last change for makecontext.
57155 2011-11-11  Andreas Schwab  <schwab@redhat.com>
57157         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
57159         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
57160         * setjmp/setjmp.h: Mark functions as non-leaf.
57161         * setjmp/bits/setjmp2.h: Likewise.
57162         * stdlib/ucontext.h: Likewise.
57164 2011-11-10  Andreas Schwab  <schwab@redhat.com>
57166         * malloc/arena.c (_int_new_arena): Don't increment narenas.
57167         (reused_arena): Don't check arena limit.
57168         (arena_get2): Atomically check arena limit.
57170 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
57172         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
57173         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
57175         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
57176         instructions.
57178 2011-11-07  Andreas Schwab  <schwab@redhat.com>
57180         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
57181         handler when locking.
57183         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
57184         Fix size of allocated buffer.
57186 2011-11-04  Andreas Schwab  <schwab@redhat.com>
57188         [BZ #10103]
57189         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
57190         declarations for long double functions.
57191         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
57193         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
57195 2011-11-03  Andreas Schwab  <schwab@redhat.com>
57197         * nscd/nscd.c (main): Don't start AVC thread until credentials are
57198         installed.
57200         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
57201         is disabled.
57203 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57205         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
57207 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
57209         * include/alloca.h (stackinfo_alloca_round): Define.
57210         (extend_alloca): Use it.
57211         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
57212         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
57213         here.
57215         * scripts/check-local-headers.sh: Ignore libaudit.h.
57217         * nscd/Makefile (extra-objs): Make recursively expanded.
57219 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
57221         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
57222         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
57224         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
57225         * posix/tst-rfc3484-2.c: Likewise.
57226         * posix/tst-rfc3484-3.c: Likewise.
57228         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
57229         process_vm_writev.
57230         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
57231         process_vm_writev.
57232         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
57233         process_vm_writev from libc using GLIBC_2.15 version.
57235         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
57237 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
57239         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
57240         stack usage.
57242 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
57244         [BZ #13367]
57245         * nss/getent.c (initgroups_keys): Show error message in case no group
57246         names are given.
57248         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
57249         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
57250         __bump_nl_timestamp.
57251         * nscd/connections (nscd_init): When host database is served open
57252         netlink socket and request notification about configuration changes.
57253         (main_loop_poll): Track netlink file descriptor and bump timestamp
57254         in case data becomes available.
57255         (main_loop_epoll): Likewise.
57256         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
57257         (database_pers_head): Add extra_data fileds.
57258         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
57259         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
57260         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
57261         Adjust caller.
57262         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
57263         in6ai data, call __free_in6ai.
57264         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
57265         Add -DHAVE_NETLINK.
57266         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
57267         interface information.  Reuse previous data if netlink timestamp
57268         is not changed.
57269         (__bump_nl_timestamp): New function.
57270         (__free_in6ai): New function.
57272 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
57274         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
57275         close_not_cancel_no_status here.
57276         (__check_pf): Reorganize code a bit to not call close twice if OOM.
57278 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
57280         [BZ #13276]
57281         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
57282         return value.
57284         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
57285         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
57286         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
57288 2011-07-03  Andreas Jaeger  <aj@suse.de>
57290         [BZ #10709]
57291         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
57292         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
57293         * math/libm-test.inc (sin_test): Add test case.
57295 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
57297         [BZ #13337]
57298         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
57299         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
57301         * elf/chroot_canon.c (chroot_canon): Cleanups.
57303         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
57305         [BZ #13335]
57306         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
57307         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
57309         * string/test-strchr.c: Make usable for strchrnul testing.
57310         * string/test-strchrnul.c: New file.
57311         * string/Makefile (strop-tests): Add strchrnul.
57313         * po/it.po: Update from translation team.
57314         * po/es.po: Likewise.
57316 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
57318         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
57319         the three constants needed as parameters.  Drop the others.
57320         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
57321         __m128i_strloadu_tolower.
57322         Create and initialize variable zero and use it in all the places
57323         where _mm_setzero_si128 was used.
57325         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
57326         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
57327         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
57328         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
57329         anymore.
57330         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
57331         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
57332         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
57333         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
57334         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
57335         __mpranred, __mptan.
57336         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
57337         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
57338         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
57339         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
57340         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
57341         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
57342         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
57343         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
57344         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
57346 2011-10-28  Andreas Schwab  <schwab@redhat.com>
57348         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
57349         redefine if SHARED.
57350         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
57352         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
57353         wide char related routines to wcsmbs subdir.
57355 2011-10-27  Andreas Schwab  <schwab@redhat.com>
57357         [BZ #13344]
57358         * misc/sys/cdefs.h (__THROWNL): Define.
57359         * posix/unistd.h: Use __THREADNL instead of __THREAD
57360         for memory synchronization functions.
57362 2011-10-26  Roland McGrath  <roland@hack.frob.com>
57364         [BZ #13349]
57365         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
57366         doesn't exist.
57367         * manual/stdio.texi (Obstack Streams): Node removed.
57369 2011-10-26  Andreas Schwab  <schwab@redhat.com>
57371         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
57372         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
57373         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
57375         * math/math_private.h (math_force_eval): Allow non-addressable
57376         arguments.
57377         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
57379 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
57381         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
57382         file is not needed.
57384         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
57385         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
57386         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57387         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57388         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57389         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57390         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57391         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
57392         Add AVX variants.
57393         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
57394         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
57395         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
57396         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
57397         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
57398         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
57399         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
57400         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
57401         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
57402         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
57403         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
57404         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
57405         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
57406         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
57407         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
57408         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
57409         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
57410         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
57411         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
57413         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
57414         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
57416         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
57417         place.  Use VEX encoding when compiling for AVX.
57419 2011-10-25  Andreas Schwab  <schwab@redhat.com>
57421         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
57422         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
57424         * string/test-strchr.c (do_test): Don't generate NUL bytes.
57426 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
57428         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
57429         useless if() expression.
57430         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57431         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
57432         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
57433         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57434         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
57435         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
57436         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
57437         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
57438         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
57439         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57440         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
57441         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
57442         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
57443         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
57444         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
57445         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
57446         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57447         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57448         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
57450         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
57452 2011-10-25  Andreas Schwab  <schwab@redhat.com>
57454         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
57455         condition.
57456         * elf/dl-fini.c (_dl_sort_fini): Likewise.
57458 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
57460         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
57461         .text section.  Avoid duplicate constants.
57462         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
57463         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57464         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57465         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57466         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57467         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57468         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57469         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57470         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
57471         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
57472         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
57473         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
57474         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
57475         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
57476         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
57477         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
57478         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
57479         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
57480         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
57481         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57482         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
57483         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
57484         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
57485         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
57486         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
57487         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
57488         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
57489         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
57490         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
57491         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
57492         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
57493         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
57494         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
57495         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
57496         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
57497         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
57498         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
57499         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
57500         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
57501         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
57502         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
57503         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
57504         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
57505         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
57506         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
57508 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
57510         * sysdeps/x86_64/dla.h: Move to ...
57511         * sysdeps/x86_64/fpu/dla.h: ...here.
57512         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
57513         situations.  Use __builtin_fma only for gcc 4.6 and up.
57515         * config.make.in: Add have-mfma4 entry.
57516         * configure.in: Substitute libc_cv_cc_fma4.
57517         * math/Makefile (dbl-only-routines): Add sincostab.
57518         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
57519         Use __sincostab not sincos.
57520         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
57521         name is a macro.
57522         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57523         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57524         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57525         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
57526         using __copysign.
57527         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
57528         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
57529         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
57530         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
57531         and __inv.
57532         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
57533         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
57534         __copysign.
57535         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
57536         define aliases when function name is a macro.
57537         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
57538         sysdeps/ieee754/dbl-64/sincos.tbl.
57539         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
57540         fma4-enabled routines.
57541         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
57542         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
57543         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
57544         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
57545         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
57546         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
57547         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
57548         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
57549         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
57550         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
57551         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
57552         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
57553         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
57554         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
57555         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
57556         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
57557         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
57558         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
57559         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
57560         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
57561         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
57562         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
57563         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
57564         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
57565         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
57566         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
57567         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
57568         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
57569         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
57570         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
57572         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
57573         rename.
57574         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57575         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57576         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57577         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57578         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57579         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57580         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57581         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57583 2011-10-24  Andreas Schwab  <schwab@redhat.com>
57585         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
57587 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
57589         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
57591         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
57592         prediction.
57593         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
57595         * string/strnlen.c: Don't define STRNLEN, reverse logic.
57596         Remove unused variable magic_bits.
57597         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
57599         * string/strnlen.c: Define and use STRNLEN macro.
57600         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
57601         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
57602         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
57603         * wcsmbs/wcslen.c: Define and use WCSLEN.
57604         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
57605         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
57606         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
57607         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
57608         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
57609         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
57610         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
57612 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57614         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57615         strnlen-sse2-no-bsf.
57616         Rename strlen-no-bsf to strlen-sse2-no-bsf.
57617         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
57618         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
57619         Add strnlen support.
57620         (USE_AS_STRNLEN): New macro.
57621         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
57622         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
57623         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
57624         * sysdeps/x86_64/wcslen.S: New file.
57626 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
57628         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
57629         XMM-moves are used for copying on small sizes.
57631 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57633         * wcsmbs/Makefile (strop-tests): Add wcschr.
57634         * wcsmbs/test-wcschr.c: New file.
57635         * string/test-strchr.c: Update.
57636         Add wcschr support.
57637         (WIDE): New macro.
57639 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57641         * wcsmbs/Makefile (strop-tests): Add wcslen.
57642         * wcsmbs/test-wcslen.c: New file.
57643         * string/test-strlen.c: Update.
57644         Add wcslen support.
57645         (WIDE): New macro.
57647 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
57649         * po/it.po: Update from translation team.
57651 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57653         * sysdeps/x86_64/wcscmp.S: Update.
57654         Fix wrong comparison semantics.
57655         wcscmp shall use signed comparison not unsigned.
57656         Don't use substraction to avoid overflow bug.
57657         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
57658         * wcsmbc/wcscmp.c: Likewise.
57659         * string/test-strcmp.c: Likewise.
57660         Add new tests to check cases with negative values.
57662 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
57664         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
57665         * sysdeps/x86_64/dla.h: ...here.  New file.
57666         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
57667         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57668         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57669         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57670         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57671         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57672         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57673         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57674         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57676 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
57678         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
57679         __ynl_finite aliases.
57681 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
57683         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57685         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
57686         define DLA_FMA.
57687         [DLA_FMA] (EMULV): Use DLA_FMA.
57688         [DLA_FMA] (MUL12): Use EMULV.
57689         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
57690         that are not needed.
57691         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57692         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57693         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57694         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57695         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57696         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57697         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57699 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
57701         * math/s_nan.c: Undef __nan.
57702         * math/s_nanf.c: Undef __nanf.
57703         * math/s_nanl.c: Undef __nanl.
57704         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
57705         "math_private.h".
57707 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
57709         * math/s_catan.c: Add branch predictions.
57710         * math/s_catanf.c: Likewise.
57711         * math/s_catanh.c: Likewise.
57712         * math/s_catanhf.c: Likewise.
57713         * math/s_catanhl.c: Likewise.
57714         * math/s_catanl.c: Likewise.
57715         * math/s_cexp.c: Likewise.
57716         * math/s_cexpf.c: Likewise.
57717         * math/s_cexpl.c: Likewise.
57718         * math/s_clog.c: Likewise.
57719         * math/s_clog10.c: Likewise.
57720         * math/s_clog10f.c: Likewise.
57721         * math/s_clog10l.c: Likewise.
57722         * math/s_clogf.c: Likewise.
57723         * math/s_clogl.c: Likewise.
57724         * math/s_csqrt.c: Likewise.
57725         * math/s_csqrtf.c: Likewise.
57726         * math/s_csqrtl.c: Likewise.
57727         * math/s_ctanf.c: Likewise.
57728         * math/s_ctanh.c: Likewise.
57729         * math/s_ctanhf.c: Likewise.
57730         * math/s_ctanhl.c: Likewise.
57731         * math/s_ctanl.c: Likewise.
57733         * math/math_private.h: Define __nan, __nanf, __nanl.
57734         * math/s_cacosh.c: Include <math_private.h>.
57735         * math/s_cacoshl.c: Likewise.
57736         * math/s_casinh.c: Likewise.
57737         * math/s_casinhf.c: Likewise.
57738         * math/s_casinhl.c: Likewise.
57739         * math/s_ccos.c: Rely entire on ccosh.
57740         * math/s_ccosf.c: Rely entire on ccoshf.
57741         * math/s_ccosl.c: Rely entirely on ccoshl.
57742         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
57743         Remove tests for FE_INVALID.
57744         * math/s_ccoshf.c: Likewise.
57745         * math/s_ccoshl.c: Likewise.
57746         * math/s_csin.c: Likewise.
57747         * math/s_csinf.c: Likewise.
57748         * math/s_csinh.c Likewise.
57749         * math/s_csinhf.c: Likewise.
57750         * math/s_csinhl.c: Likewise.
57751         * math/s_csinl.c: Likewise.
57752         * math/s_ctan.c: Likewise.
57753         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
57754         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
57755         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
57757 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
57759         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
57760         compilation problems.
57762         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
57763         __builtin_expect.
57765 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
57767         * sysdeps/i386/configure.in: Test for -mfma4 option.
57768         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
57769         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
57770         COMMON_CPUID_INDEX_80000001.
57771         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
57772         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
57773         use it if FMA3 is not supported.
57774         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
57776         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
57777         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
57779 2011-10-20  Andreas Schwab  <schwab@redhat.com>
57781         [BZ #12892]
57782         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
57783         it would create a cycle with a link time dependency.
57785 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
57787         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
57788         instruction.
57789         * string/Makefile (strop-tests): Add rawmemchr.
57790         * string/test-rawmemchr.c: New file.
57792         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
57793         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
57794         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
57795         when compiling str{,n}casecmp and when AVX is available.  Hook up
57796         new optimized code in initializers.
57798 2011-10-19  Andreas Schwab  <schwab@redhat.com>
57800         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
57801         __feraiseexcept instead of feraiseexcept.
57803 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
57805         * math/math_private.h: Define defaults for libc_fetestexcept and
57806         libc_feupdateenv.
57807         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
57808         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
57809         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
57810         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
57811         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
57812         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
57813         libc_fetestexcept and libc_feupdateenv.
57815         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
57816         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
57817         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
57818         * sysdeps/x86_64/fpu/math_private.h: Define special version of
57819         libc_feholdexcept_setround.
57821         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
57822         Add s_nearbyint-c and s_nearbyintf-c.
57823         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
57824         nearbyintf inlines.
57825         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
57826         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
57827         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
57828         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
57830         * math/math_private.h: Define defaults for libc_fegetround,
57831         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
57832         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
57833         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
57834         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
57835         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
57836         standard functions.
57837         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
57838         Remove comments and hacks for old compiler versions.
57839         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
57840         libc_fegetround, libc_fesetround, libc_feholdexcept, and
57841         libc_feholdexceptl.
57843 2011-10-18  Andreas Schwab  <schwab@redhat.com>
57845         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
57846         (__feraiseexcept_renamed): Add __NTH.
57847         (feraiseexcept): Add __NTH.  Rename local variables to fix
57848         namespace violations.
57850 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
57852         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
57854         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
57856         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
57857         recently added interfaces.
57858         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
57860         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
57861         about macro parameter expansion.
57863         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
57864         __NO_MATH_INLINES is defined.  Cleanups.
57866         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
57867         and __floorf is target has SSE4.1.
57868         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
57869         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
57870         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
57871         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
57873         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
57874         name.
57875         (floorf): Likewise.
57877         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
57879 2011-10-17  Andreas Schwab  <schwab@redhat.com>
57881         * misc/sys/cdefs.h: Fix last change.
57883         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
57884         database lookup.
57886 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
57888         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
57890         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
57891         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57892         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
57893         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
57894         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
57895         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
57896         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
57897         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
57898         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
57899         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
57900         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
57901         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
57902         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
57903         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
57904         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
57905         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
57906         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
57907         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
57908         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
57909         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
57910         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
57911         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
57913         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
57914         ceil, ceilf, floor, floorf.
57916         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
57917         Perform IRELATIVE relocations last.
57919         * elf/do-rel.h: Add another parameter nrelative, replacing the
57920         local variable with the same name.  Change name of the function
57921         to end in Rel or Rela (uppercase).
57922         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
57923         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
57924         elf_dynamic_do_##reloc function.
57926 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
57928         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
57929         is sufficient, at least on modern CPUs.
57931         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
57933         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
57934         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
57936         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
57937         __expl_finite.
57938         * math/bits/math-finite.h: Add entries for exp.
57939         * math/e_expl.c: Add __*_finite alias.
57940         * sysdeps/i386/fpu/e_exp.S: Likewise.
57941         * sysdeps/i386/fpu/e_expf.S: Likewise.
57942         * sysdeps/i386/fpu/e_expl.c: Likewise.
57943         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57944         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
57945         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
57946         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
57947         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
57948         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
57949         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
57951         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
57952         is sufficient, at least on modern CPUs.
57954         * ctype/ctype-info.c (__ctype_init): Define.
57955         * include/ctype.h (__ctype_init): Declare.
57956         (__ctype_b_loc): The variable is always initialized.
57957         (__ctype_toupper_loc): Likewise.
57958         (__ctype_tolower_loc): Likewise.
57959         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
57960         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
57962 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
57964         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
57966         * configure.in: Also look in $cxxmachine/include for C++ system
57967         headers.
57969 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57971         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
57972         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
57973         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
57974         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
57975         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
57976         (USE_AS_WMEMCMP): New macro.
57977         Fixing indents.
57978         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
57979         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
57980         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
57981         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
57982         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57983         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
57984         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
57985         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
57986         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
57987         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
57988         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
57989         (USE_AS_WMEMCMP): New macro.
57990         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
57991         * sysdeps/string/test-memcmp.c: Update.
57992         Fix simple_wmemcmp.
57993         Add new tests.
57994         * wcsmbs/wmemcmp.c: Update.
57995         (WMEMCMP): New macro.
57996         Fix overflow bug.
57998 2011-10-12  Andreas Jaeger  <aj@suse.de>
58000         [BZ #13268]
58001         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
58003 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
58005         * libio/iofwide.c (do_length): Avoid warning.
58007         * ctype/ctype.h (__isctype_f): Add missing __THROW.
58009 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
58011         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
58013         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
58014         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
58015         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
58016         * sysdeps/i386/i686/fpu/e_log.S: New file.
58017         * sysdeps/i386/i686/fpu/e_logf.S: New file.
58018         * sysdeps/i386/i686/fpu/e_logl.S: New file.
58020         * ctype/ctype.h: Add support for inlined isXXX functions when
58021         compiling C++ code.
58023 2011-10-14  Andreas Schwab  <schwab@redhat.com>
58025         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58027         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
58029 2011-10-13  Roland McGrath  <roland@hack.frob.com>
58031         [BZ #13291]
58032         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
58034 2011-10-13  Andreas Schwab  <schwab@redhat.com>
58036         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
58037         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
58038         feraiseexcept.
58040         * sysdeps/x86_64/memrchr.S: Check for zero size.
58042         * string/stratcliff.c: Add memrchr tests.
58044 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58046         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58047         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
58048         rawmemchr-sse2 rawmemchr-sse2-bsf.
58049         * sysdeps/i386/i686/multiarch/memchr.S: New file.
58050         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
58051         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
58052         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
58053         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
58054         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
58055         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
58056         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
58057         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
58058         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
58059         * string/memrchr.c (MEMRCHR): New macro.
58061 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
58063         Add integration with gcc's -ffinite-math-only and optimize wrapper
58064         functions in libm.
58065         * Versions.def: Define GLIBC_2.15 version for libm.
58066         * math/Makefile (headers): Add bits/math-finite.h.
58067         * math/bits/math-finite.h: New file.
58068         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
58069         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
58070         * math/e_acoshl.c: Add __*_finite alias.
58071         * math/e_acosl.c: Likewise.
58072         * math/e_asinl.c: Likewise.
58073         * math/e_atan2l.c: Likewise.
58074         * math/e_atanhl.c: Likewise.
58075         * math/e_coshl.c: Likewise.
58076         * math/e_exp10.c: Likewise.
58077         * math/e_exp10f.c: Likewise.
58078         * math/e_exp10l.c: Likewise.
58079         * math/e_exp2l.c: Likewise.
58080         * math/e_fmodl.c: Likewise.
58081         * math/e_gammal_r.c: Likewise.
58082         * math/e_hypotl.c: Likewise.
58083         * math/e_j0l.c: Likewise.
58084         * math/e_j1l.c: Likewise.
58085         * math/e_jnl.c: Likewise.
58086         * math/e_lgammal_r.c: Likewise.
58087         * math/e_log10l.c: Likewise.
58088         * math/e_log2l.c: Likewise.
58089         * math/e_logl.c: Likewise.
58090         * math/e_powl.c: Likewise.
58091         * math/e_sinhl.c: Likewise.
58092         * math/e_sqrtl.c: Likewise.
58093         * math/e_scalb.c: Completely rewritten and optimized.
58094         * math/e_scalbf.c: Likewise.
58095         * math/e_scalbl.c: Likewise.
58096         * math/w_acos.c: Likewise.
58097         * math/w_acosf.c: Likewise.
58098         * math/w_acosl.c: Likewise.
58099         * math/w_acosh.c: Likewise.
58100         * math/w_acoshf.c: Likewise.
58101         * math/w_acoshl.c: Likewise.
58102         * math/w_asin.c: Likewise.
58103         * math/w_asinf.c: Likewise.
58104         * math/w_asinl.c: Likewise.
58105         * math/w_atan2.c: Likewise.
58106         * math/w_atan2f.c: Likewise.
58107         * math/w_atan2l.c: Likewise.
58108         * math/w_atanh.c: Likewise.
58109         * math/w_atanhf.c: Likewise.
58110         * math/w_atanhl.c: Likewise.
58111         * math/w_exp10.c: Likewise.
58112         * math/w_exp10f.c: Likewise.
58113         * math/w_exp10l.c: Likewise.
58114         * math/w_fmod.c: Likewise.
58115         * math/w_fmodf.c: Likewise.
58116         * math/w_fmodl.c: Likewise.
58117         * math/w_j0.c: Likewise.
58118         * math/w_j0f.c: Likewise.
58119         * math/w_j0l.c: Likewise.
58120         * math/w_j1.c: Likewise.
58121         * math/w_j1f.c: Likewise.
58122         * math/w_j1l.c: Likewise.
58123         * math/w_jn.c: Likewise.
58124         * math/w_jnf.c: Likewise.
58125         * math/w_log.c: Likewise.
58126         * math/w_logf.c: Likewise.
58127         * math/w_logl.c: Likewise.
58128         * math/w_log10.c: Likewise.
58129         * math/w_log10f.c: Likewise.
58130         * math/w_log10l.c: Likewise.
58131         * math/w_log2.c: Likewise.
58132         * math/w_log2f.c: Likewise.
58133         * math/w_log2l.c: Likewise.
58134         * math/w_pow.c: Likewise.
58135         * math/w_powf.c: Likewise.
58136         * math/w_powl.c: Likewise.
58137         * math/w_remainder.c: Likewise.
58138         * math/w_remainderf.c: Likewise.
58139         * math/w_remainderl.c: Likewise.
58140         * math/w_scalb.c: Likewise.
58141         * math/w_scalbf.c: Likewise.
58142         * math/w_scalbl.c: Likewise.
58143         * math/w_sqrt.c: Likewise.
58144         * math/w_sqrtf.c: Likewise.
58145         * math/w_sqrtl.c: Likewise.
58146         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
58147         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
58148         used.
58149         * math/math_private.h: Declare __kernel_standard_f.
58150         * math/w_cosh.c: Remove cruft and optimize a bit.
58151         * math/w_coshf.c: Likewise.
58152         * math/w_coshl.c: Likewise.
58153         * math/w_exp2.c: Likewise.
58154         * math/w_exp2f.c: Likewise.
58155         * math/w_exp2l.c: Likewise.
58156         * math/w_hypot.c: Likewise.
58157         * math/w_hypotf.c: Likewise.
58158         * math/w_hypotl.c: Likewise.
58159         * math/w_lgamma.c: Likewise.
58160         * math/w_lgamma_r.c: Likewise.
58161         * math/w_lgammaf.c: Likewise.
58162         * math/w_lgammaf_r.c: Likewise.
58163         * math/w_lgammal.c: Likewise.
58164         * math/w_lgammal_r.c: Likewise.
58165         * math/w_sinh.c: Likewise.
58166         * math/w_sinhf.c: Likewise.
58167         * math/w_sinhl.c: Likewise.
58168         * math/w_tgamma.c: Likewise.
58169         * math/w_tgammaf.c: Likewise.
58170         * math/w_tgammal.c: Likewise.
58171         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
58172         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58173         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
58174         Minor optimizations.  Pretty printing.  Remove cruft.
58175         * sysdeps/i386/fpu/e_acosf.S: Likewise.
58176         * sysdeps/i386/fpu/e_acosh.S: Likewise.
58177         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
58178         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
58179         * sysdeps/i386/fpu/e_acosl.c: Likewise.
58180         * sysdeps/i386/fpu/e_asin.S: Likewise.
58181         * sysdeps/i386/fpu/e_asinf.S: Likewise.
58182         * sysdeps/i386/fpu/e_atan2.S: Likewise.
58183         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
58184         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
58185         * sysdeps/i386/fpu/e_atanh.S: Likewise.
58186         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
58187         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
58188         * sysdeps/i386/fpu/e_exp10.S: Likewise.
58189         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
58190         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
58191         * sysdeps/i386/fpu/e_exp2.S: Likewise.
58192         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
58193         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
58194         * sysdeps/i386/fpu/e_fmod.S: Likewise.
58195         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
58196         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
58197         * sysdeps/i386/fpu/e_hypot.S: Likewise.
58198         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
58199         * sysdeps/i386/fpu/e_log.S: Likewise.
58200         * sysdeps/i386/fpu/e_log10.S: Likewise.
58201         * sysdeps/i386/fpu/e_log10f.S: Likewise.
58202         * sysdeps/i386/fpu/e_log10l.S: Likewise.
58203         * sysdeps/i386/fpu/e_log2.S: Likewise.
58204         * sysdeps/i386/fpu/e_log2f.S: Likewise.
58205         * sysdeps/i386/fpu/e_log2l.S: Likewise.
58206         * sysdeps/i386/fpu/e_logf.S: Likewise.
58207         * sysdeps/i386/fpu/e_logl.S: Likewise.
58208         * sysdeps/i386/fpu/e_pow.S: Likewise.
58209         * sysdeps/i386/fpu/e_powf.S: Likewise.
58210         * sysdeps/i386/fpu/e_powl.S: Likewise.
58211         * sysdeps/i386/fpu/e_remainder.S: Likewise.
58212         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
58213         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
58214         * sysdeps/i386/fpu/e_scalb.S: Likewise.
58215         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
58216         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
58217         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
58218         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
58219         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
58220         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
58221         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
58222         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58223         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
58224         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
58225         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
58226         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
58227         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
58228         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
58229         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
58230         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
58231         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
58232         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58233         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
58234         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
58235         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58236         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
58237         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
58238         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58239         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58240         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
58241         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
58242         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
58243         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
58244         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
58245         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
58246         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
58247         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
58248         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
58249         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
58250         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
58251         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
58252         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
58253         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
58254         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
58255         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
58256         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
58257         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
58258         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
58259         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
58260         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
58261         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
58262         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
58263         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
58264         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
58265         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
58266         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
58267         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
58268         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
58269         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
58270         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
58271         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
58272         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
58273         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
58274         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
58275         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
58276         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
58277         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
58278         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
58279         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
58280         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
58281         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
58282         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
58283         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
58284         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
58285         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
58286         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
58287         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
58288         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
58289         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
58290         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
58291         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
58292         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
58293         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
58294         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
58295         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
58296         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
58297         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
58298         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
58299         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
58300         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
58301         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
58302         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
58303         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
58304         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
58305         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
58306         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
58307         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
58308         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
58309         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
58310         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
58311         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
58312         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
58313         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
58314         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
58315         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
58316         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
58317         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
58318         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
58319         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
58320         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
58321         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
58322         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
58323         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
58324         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
58325         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
58326         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
58327         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
58328         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
58329         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
58330         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
58331         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
58332         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
58333         (__isnanf): Likewise.
58334         (__isinf_ns): Likewise.
58335         (__isinf_nsf): Likewise.
58336         (__finite): Likewise.
58337         (__finitef): Likewise.
58338         (__ieee754_sqrt): Define as macro.
58339         (__ieee754_sqrtf): Define as macro.
58340         (__ieee754_sqrtl): Define as macro.
58341         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
58342         inlined copy.
58343         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
58344         __FINITE_MATH_ONLY__ consistent.
58345         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
58347 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
58349         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
58350         of rawmemchr.
58352         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
58354 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
58356         * po/ja.po: Update from translation team.
58358 2011-10-08  Roland McGrath  <roland@hack.frob.com>
58360         * locale/programs/locarchive.c (prepare_address_space): New function.
58361         (create_archive, enlarge_archive, open_archive): Use it.
58363         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
58364         inside [SHARED], where it is used.
58366         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
58368         * nss/getent.c (netgroup_keys): Remove unused variable.
58369         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
58371 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
58373         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
58374         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
58375         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
58376         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
58377         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
58378         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
58379         * math/Makefile (libm-calls): Add s_isinf_ns.
58380         * math/divtc3.c: Use __isinf_nsl instead of isinf.
58381         * math/multc3.c: Likewise.
58382         * math/s_casin.c: Likewise.
58383         * math/s_casinf.c: Likewise.
58384         * math/s_casinl.c: Likewise.
58385         * math/s_ccos.c: Likewise.
58386         * math/s_ccosf.c: Likewise.
58387         * math/s_ccosl.c: Likewise.
58388         * math/s_ctan.c: Likewise.
58389         * math/s_ctanf.c: Likewise.
58390         * math/s_ctanh.c: Likewise.
58391         * math/s_ctanhf.c: Likewise.
58392         * math/s_ctanhl.c: Likewise.
58393         * math/s_ctanl.c: Likewise.
58394         * math/w_fmod.c: Likewise.
58395         * math/w_fmodf.c: Likewise.
58396         * math/w_fmodl.c: Likewise.
58397         * math/w_remainder.c: Likewise.
58398         * math/w_remainderf.c: Likewise.
58399         * math/w_remainderl.c: Likewise.
58400         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
58401         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
58402         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
58403         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
58404         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
58405         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
58406         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
58407         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
58409         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
58410         of the number.
58411         * stdio-common/printf_fphex.c: Likewise.
58412         * stdio-common/printf_size.c: Likewise.
58414         * math/e_exp10.c: Include math_private.h using <...> not "...".
58415         * math/e_exp10f.c: Likewise.
58416         * math/e_exp10l.c: Likewise.
58417         * math/e_exp2l.c: Likewise.
58418         * math/e_j0l.c: Likewise.
58419         * math/e_j1l.c: Likewise.
58420         * math/e_jnl.c: Likewise.
58421         * math/e_lgammal_r.c: Likewise.
58422         * math/e_rem_pio2l.c: Likewise.
58423         * math/e_scalb.c: Likewise.
58424         * math/e_scalbf.c: Likewise.
58425         * math/e_scalbl.c: Likewise.
58426         * math/k_cosl.c: Likewise.
58427         * math/k_sinl.c: Likewise.
58428         * math/k_tanl.c: Likewise.
58429         * math/s_cacoshf.c: Likewise.
58430         * math/s_catan.c: Likewise.
58431         * math/s_catanf.c: Likewise.
58432         * math/s_catanh.c: Likewise.
58433         * math/s_catanhf.c: Likewise.
58434         * math/s_catanhl.c: Likewise.
58435         * math/s_catanl.c: Likewise.
58436         * math/s_ccosh.c: Likewise.
58437         * math/s_ccoshf.c: Likewise.
58438         * math/s_ccoshl.c: Likewise.
58439         * math/s_cexp.c: Likewise.
58440         * math/s_cexpf.c: Likewise.
58441         * math/s_cexpl.c: Likewise.
58442         * math/s_clog.c: Likewise.
58443         * math/s_clog10.c: Likewise.
58444         * math/s_clog10f.c: Likewise.
58445         * math/s_clog10l.c: Likewise.
58446         * math/s_clogf.c: Likewise.
58447         * math/s_clogl.c: Likewise.
58448         * math/s_csin.c: Likewise.
58449         * math/s_csinf.c: Likewise.
58450         * math/s_csinh.c: Likewise.
58451         * math/s_csinhf.c: Likewise.
58452         * math/s_csinhl.c: Likewise.
58453         * math/s_csinl.c: Likewise.
58454         * math/s_csqrt.c: Likewise.
58455         * math/s_csqrtf.c: Likewise.
58456         * math/s_csqrtl.c: Likewise.
58457         * math/s_ctan.c: Likewise.
58458         * math/s_ctanf.c: Likewise.
58459         * math/s_ctanh.c: Likewise.
58460         * math/s_ctanhf.c: Likewise.
58461         * math/s_ctanhl.c: Likewise.
58462         * math/s_ctanl.c: Likewise.
58463         * math/s_ldexp.c: Likewise.
58464         * math/s_ldexpf.c: Likewise.
58465         * math/s_ldexpl.c: Likewise.
58466         * math/s_significand.c: Likewise.
58467         * math/s_significandf.c: Likewise.
58468         * math/s_significandl.c: Likewise.
58469         * math/w_acos.c: Likewise.
58470         * math/w_acosf.c: Likewise.
58471         * math/w_acosh.c: Likewise.
58472         * math/w_acoshf.c: Likewise.
58473         * math/w_acoshl.c: Likewise.
58474         * math/w_acosl.c: Likewise.
58475         * math/w_asin.c: Likewise.
58476         * math/w_asinf.c: Likewise.
58477         * math/w_asinl.c: Likewise.
58478         * math/w_atan2.c: Likewise.
58479         * math/w_atan2f.c: Likewise.
58480         * math/w_atan2l.c: Likewise.
58481         * math/w_atanh.c: Likewise.
58482         * math/w_atanhf.c: Likewise.
58483         * math/w_atanhl.c: Likewise.
58484         * math/w_cosh.c: Likewise.
58485         * math/w_coshf.c: Likewise.
58486         * math/w_coshl.c: Likewise.
58487         * math/w_dremf.c: Likewise.
58488         * math/w_exp10.c: Likewise.
58489         * math/w_exp10f.c: Likewise.
58490         * math/w_exp10l.c: Likewise.
58491         * math/w_exp2.c: Likewise.
58492         * math/w_exp2f.c: Likewise.
58493         * math/w_fmod.c: Likewise.
58494         * math/w_fmodf.c: Likewise.
58495         * math/w_fmodl.c: Likewise.
58496         * math/w_hypot.c: Likewise.
58497         * math/w_hypotf.c: Likewise.
58498         * math/w_hypotl.c: Likewise.
58499         * math/w_j0.c: Likewise.
58500         * math/w_j0f.c: Likewise.
58501         * math/w_j0l.c: Likewise.
58502         * math/w_j1.c: Likewise.
58503         * math/w_j1f.c: Likewise.
58504         * math/w_j1l.c: Likewise.
58505         * math/w_jn.c: Likewise.
58506         * math/w_jnf.c: Likewise.
58507         * math/w_jnl.c: Likewise.
58508         * math/w_lgamma.c: Likewise.
58509         * math/w_lgamma_r.c: Likewise.
58510         * math/w_lgammaf.c: Likewise.
58511         * math/w_lgammaf_r.c: Likewise.
58512         * math/w_lgammal.c: Likewise.
58513         * math/w_lgammal_r.c: Likewise.
58514         * math/w_log.c: Likewise.
58515         * math/w_log10.c: Likewise.
58516         * math/w_log10f.c: Likewise.
58517         * math/w_log10l.c: Likewise.
58518         * math/w_log2.c: Likewise.
58519         * math/w_log2f.c: Likewise.
58520         * math/w_log2l.c: Likewise.
58521         * math/w_logf.c: Likewise.
58522         * math/w_logl.c: Likewise.
58523         * math/w_pow.c: Likewise.
58524         * math/w_powf.c: Likewise.
58525         * math/w_powl.c: Likewise.
58526         * math/w_remainder.c: Likewise.
58527         * math/w_remainderf.c: Likewise.
58528         * math/w_remainderl.c: Likewise.
58529         * math/w_scalb.c: Likewise.
58530         * math/w_scalbf.c: Likewise.
58531         * math/w_scalbl.c: Likewise.
58532         * math/w_sinh.c: Likewise.
58533         * math/w_sinhf.c: Likewise.
58534         * math/w_sinhl.c: Likewise.
58535         * math/w_sqrt.c: Likewise.
58536         * math/w_sqrtf.c: Likewise.
58537         * math/w_sqrtl.c: Likewise.
58538         * math/w_tgamma.c: Likewise.
58539         * math/w_tgammaf.c: Likewise.
58540         * math/w_tgammal.c: Likewise.
58542         * po/ja.po: Update from translation team.
58544 2011-09-29  Andreas Jaeger  <aj@suse.de>
58546         [BZ #13179]
58547         * sunrpc/netname.c (netname2host): Fix logic.
58549         [BZ #6779]
58550         [BZ #6783]
58551         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
58552         correctly.
58553         * math/w_remainder.c (__remainder): Likewise.
58554         * math/w_remainderf.c (__remainderf): Likewise.
58555         * math/libm-test.inc (remainder_test): Add test cases.
58557 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58559         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
58560         sdiv_qrnnd.
58562 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
58564         * string/test-memcmp.c: Avoid unncessary #defines.
58565         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
58567 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58569         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
58570         Use new sse2 version for core i3 - i7 as it's faster
58571         than sse42 version.
58572         (bit_Prefer_PMINUB_for_stringop): New.
58573         * sysdeps/x86_64/rawmemchr.S: Update.
58574         Replace with faster SSE2 version.
58575         * sysdeps/x86_64/memrchr.S: New file.
58576         * sysdeps/x86_64/memchr.S: Update.
58577         Replace with faster SSE2 version.
58579 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
58581         * elf/dl-load.c (lose): Add cast to avoid warning.
58583 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
58585         * po/ca.po: Update from translation team.
58587         * inet/getnetgrent_r.c: Hook up nscd.
58588         * nscd/Makefile (routines): Add nscd_netgroup.
58589         (nscd-modules): Add netgroupcache.
58590         (CFLAGS-netgroupcache.c): Define.
58591         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
58592         (cache_search): Add const to second parameter.
58593         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
58594         INNETGR.
58595         (dbs): Add netgrdb entry.
58596         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
58597         (verify_persistent_db): Handle netgrdb.
58598         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
58599         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
58600         GETFDNETGR.
58601         (netgroup_response_header): Define.
58602         (innetgroup_response_header): Define.
58603         (datahead): Add netgroup_response_header and innetgroup_response_header
58604         elements.
58605         * nscd/nscd.conf: Add entries for netgroup cache.
58606         * nscd/nscd.h (dbtype): Add netgrdb.
58607         (_PATH_NSCD_NETGROUP_DB): Define.
58608         (netgroup_iov_disabled): Declare.
58609         (xmalloc, xcalloc, xrealloc): Move declarations here.
58610         (cache_search): Adjust prototype.
58611         Add netgroup-related prototypes.
58612         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
58613         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
58614         (__nscd_innetgr): Declare.
58615         * nscd/selinux.c (perms): Use access_vector_t as element type and
58616         add netgroup-related initializers.
58617         * nscd/netgroupcache.c: New file.
58618         * nscd/nscd_netgroup.c: New file.
58619         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
58620         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
58621         For four parameters use innetgr.
58622         * nss/nss_files/files-init.c: Add definition and callback for netgr.
58623         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
58624         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
58625         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
58627         * nscd/connections.c (register_traced_file): Don't register file
58628         for disabled databases.
58630 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
58632         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
58634         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
58635         from tree and freeing node.
58637 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
58639         * nss/nsswitch.c (__nss_database_lookup): Handle
58640         nss_parse_service_list out of memory case.
58642 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
58644         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
58645         out of memory case.
58647 2011-10-04  Andreas Schwab  <schwab@redhat.com>
58649         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
58650         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
58651         pass it down.
58652         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
58653         elf_machine_rela, elf_machine_lazy_rel.
58654         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
58655         (ELF_DYNAMIC_DO_REL): Likewise.
58656         (ELF_DYNAMIC_DO_RELA): Likewise.
58657         (ELF_DYNAMIC_RELOCATE): Likewise.
58658         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
58659         to ELF_DYNAMIC_DO_REL.
58660         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
58661         (dl_main): In trace mode always set __RTLD_NOIFUNC.
58662         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
58663         elf_machine_rela.
58664         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
58665         skip_ifunc, don't call ifunc function if non-zero.
58666         (elf_machine_rela): Likewise.
58667         (elf_machine_lazy_rel): Likewise.
58668         (elf_machine_lazy_rela): Likewise.
58669         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
58670         (elf_machine_lazy_rel): Likewise.
58671         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
58672         Likewise.
58673         (elf_machine_lazy_rel): Likewise.
58674         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58675         Likewise.
58676         (elf_machine_lazy_rel): Likewise.
58677         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
58678         (elf_machine_lazy_rel): Likewise.
58679         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
58680         (elf_machine_lazy_rel): Likewise.
58681         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
58682         (elf_machine_lazy_rel): Likewise.
58683         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
58684         (elf_machine_lazy_rel): Likewise.
58685         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
58686         (elf_machine_lazy_rel): Likewise.
58687         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
58688         (elf_machine_lazy_rel): Likewise.
58690 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
58692         * nss/nss_files/files-init.c (_nss_files_init): Use static
58693         initialization for all the *_traced_file variables.
58695 2011-09-28  Andreas Schwab  <schwab@redhat.com>
58697         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58699 2011-09-27  Roland McGrath  <roland@hack.frob.com>
58701         [BZ #13226]
58702         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
58704 2011-09-27  Andreas Schwab  <schwab@redhat.com>
58706         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
58707         Reread the line before reparsing it.
58709 2011-09-26  Andreas Schwab  <schwab@redhat.com>
58711         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
58713 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
58714             Maxim Kuvyrkov  <maxim@codesourcery.com>
58715             Joseph Myers  <joseph@codesourcery.com>
58717         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
58718         if needed for __stack_chk_guard.
58720 2011-09-19  Roland McGrath  <roland@hack.frob.com>
58722         * sysdeps/posix/spawni.c (script_execute): Always define it.
58723         It will be optimized away if unused.
58724         (maybe_script_execute): New function.
58725         (__spawni): Call it.
58727         * Makerules: Don't include tls.make.
58728         (config-tls): Always set to thread.
58729         * tls.make.c: File removed.
58731 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
58733         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
58734         * config.make.in (CPPFLAGS-config): New substituted variable.
58736 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
58738         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
58740         [BZ #13192]
58741         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
58742         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
58744 2011-09-15  Roland McGrath  <roland@hack.frob.com>
58746         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
58747         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
58748         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
58749         (CALL_FAIL): Likewise.
58750         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
58751         (CALL_FAIL): Macro removed.
58752         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
58754 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
58756         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
58757         for __FINITE_MATH_ONLY__ == 1.
58759 2011-09-15  Andreas Schwab  <schwab@redhat.com>
58761         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
58762         __ieee754_sqrt instead of sqrt.
58763         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
58764         __ieee754_sqrtf instead of sqrtf.
58765         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
58766         __floorf instead of floorf.
58767         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
58768         __floorf, __truncf instead of floorf, truncf.
58770 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
58772         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
58774         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
58775         __extern_always_inline.
58776         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
58777         32-bit.
58779 2011-09-14  Andreas Schwab  <schwab@redhat.com>
58781         * elf/rtld.c (dl_main): Also relocate in dependency order when
58782         doing symbol dependency testing.
58784 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
58786         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58787         Always define `refsym'.
58789 2011-09-13  Andreas Schwab  <schwab@redhat.com>
58791         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
58792         (__FD_ELT): Renamed from __FDELT.
58793         * misc/bits/select2.h (__FD_ELT): Likewise.
58794         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
58795         __FD_MASK instead of __FDELT, __FDMASK.
58796         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
58797         Likewise.
58798         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
58799         Likewise.
58801         * elf/Makefile (gen-ldd): Fix pattern.
58803         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
58804         (init_tls): Likewise.
58806 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
58808         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
58810 2011-09-12  Andreas Schwab  <schwab@redhat.com>
58812         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
58813         `struct cmsghdr *' instead of `void *'.
58814         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
58815         Likewise.
58817 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
58819         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
58820         if non-absolute.
58821         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
58822         ldd_rewrite_script.
58824 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
58826         * configure.in: Remove --with-tls option.
58827         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
58828         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
58829         out in case it is missing.
58830         * sysdeps/ia64/elf/configure.in: Likewise.
58831         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
58832         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
58833         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
58834         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
58835         * sysdeps/sh/elf/configure.in: Likewise.
58836         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
58837         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
58838         * sysdeps/x86_64/elf/configure.in: Likewise.
58839         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
58840         * sysdeps/mach/hurd/tls.h: Likewise.
58842         [BZ #13067]
58843         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
58845         [BZ #13090]
58846         * configure.in: Fix use of AC_INIT.
58848         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
58850 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
58852         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
58853         __set_errno.
58854         * malloc/hooks.c: Likewise.
58856         [BZ #11929]
58857         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
58858         variables statically.
58859         (narenas): Initialize.
58860         (list_lock): Initialize.
58861         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
58862         initializtion of main_arena and list_lock.  Small cleanups.
58863         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
58864         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
58865         Add initializers to main_arena and mp_.
58866         (malloc_state): Remove pagesize member.  Change all users to use
58867         GLRO(dl_pagesize).
58869         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
58870         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
58871         is always initialized.
58873         * malloc/malloc.c: Removed unused configurations and dead code.
58874         * malloc/arena.c: Likewise.
58875         * malloc/hooks.c: Likewise.
58876         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
58878         * include/tls.h: Removed.  USE___THREAD must always be defined.
58879         * bits/libc-tsd.h: Don't handle !USE___THREAD.
58880         * elf/dl-libc.c: Likewise.
58881         * elf/dl-tsd.c: Likewise.
58882         * include/errno.h: Likewise.
58883         * include/netdb.h: Likewise.
58884         * include/resolv.h: Likewise.
58885         * inet/herrno-loc.c: Likewise.
58886         * inet/herrno.c: Likewise.
58887         * malloc/arena.c: Likewise.
58888         * malloc/hooks.c: Likewise.
58889         * malloc/malloc.c: Likewise.
58890         * resolv/res-state.c: Likewise.
58891         * resolv/res_libc.c: Likewise.
58892         * sysdeps/i386/dl-machine.h: Likewise.
58893         * sysdeps/ia64/dl-machine.h: Likewise.
58894         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
58895         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
58896         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
58897         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
58898         * sysdeps/sh/dl-machine.h: Likewise.
58899         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
58900         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
58901         * sysdeps/unix/i386/sysdep.S: Likewise.
58902         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
58903         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
58904         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
58905         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
58906         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
58907         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
58908         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
58909         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
58910         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
58911         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
58912         * sysdeps/unix/x86_64/sysdep.S: Likewise.
58913         * sysdeps/x86_64/dl-machine.h: Likewise.
58914         * tls.make.c: Likewise.
58916         * configure.in: Remove --with-__thread option.  Make tests for
58917         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
58918         tls_model attribute fail if no support is available.  Remove
58919         USE_IN_LIBIO.
58920         * Makeconfig: Adjust for dropped configure option.  All features are
58921         now mandatory.
58922         * Makerules: Likewise.
58923         * Versions.def: Likewise.
58924         * argp/argp-fmtstream.c: Likewise.
58925         * argp/argp-fmtstream.h: Likewise.
58926         * argp/argp-help.c: Likewise.
58927         * assert/assert.c: Likewise.
58928         * config.h.in: Likewise.
58929         * config.make.in: Likewise.
58930         * configure: Likewise.
58931         * configure.in: Likewise.
58932         * csu/Versions: Likewise.
58933         * csu/init.c: Likewise.
58934         * elf/tst-audit2.c: Likewise.
58935         * elf/tst-tls10.c: Likewise.
58936         * elf/tst-tls10.h: Likewise.
58937         * elf/tst-tls11.c: Likewise.
58938         * elf/tst-tls12.c: Likewise.
58939         * elf/tst-tls14.c: Likewise.
58940         * elf/tst-tlsmod11.c: Likewise.
58941         * elf/tst-tlsmod12.c: Likewise.
58942         * elf/tst-tlsmod13.c: Likewise.
58943         * elf/tst-tlsmod13a.c: Likewise.
58944         * elf/tst-tlsmod14a.c: Likewise.
58945         * elf/tst-tlsmod15b.c: Likewise.
58946         * elf/tst-tlsmod16a.c: Likewise.
58947         * elf/tst-tlsmod16b.c: Likewise.
58948         * elf/tst-tlsmod7.c: Likewise.
58949         * elf/tst-tlsmod8.c: Likewise.
58950         * elf/tst-tlsmod9.c: Likewise.
58951         * gmon/gmon.c: Likewise.
58952         * grp/fgetgrent_r.c: Likewise.
58953         * grp/putgrent.c: Likewise.
58954         * hurd/fopenport.c: Likewise.
58955         * include/libc-symbols.h: Likewise.
58956         * include/tls.h: Likewise.
58957         * intl/gettextP.h: Likewise.
58958         * intl/loadinfo.h: Likewise.
58959         * locale/global-locale.c: Likewise.
58960         * locale/localeinfo.h: Likewise.
58961         * mach/devstream.c: Likewise.
58962         * malloc/arena.c: Likewise.
58963         * malloc/set-freeres.c: Likewise.
58964         * misc/err.c: Likewise.
58965         * misc/getttyent.c: Likewise.
58966         * misc/mntent_r.c: Likewise.
58967         * posix/getopt.c: Likewise.
58968         * posix/wordexp.c: Likewise.
58969         * pwd/fgetpwent_r.c: Likewise.
58970         * resolv/Versions: Likewise.
58971         * resolv/res_hconf.c: Likewise.
58972         * shadow/fgetspent_r.c: Likewise.
58973         * shadow/putspent.c: Likewise.
58974         * stdio-common/printf_fphex.c: Likewise.
58975         * stdio-common/tmpfile.c: Likewise.
58976         * stdlib/abort.c: Likewise.
58977         * stdlib/fmtmsg.c: Likewise.
58978         * sunrpc/auth_unix.c: Likewise.
58979         * sunrpc/clnt_perr.c: Likewise.
58980         * sunrpc/clnt_tcp.c: Likewise.
58981         * sunrpc/clnt_udp.c: Likewise.
58982         * sunrpc/clnt_unix.c: Likewise.
58983         * sunrpc/openchild.c: Likewise.
58984         * sunrpc/svc_simple.c: Likewise.
58985         * sunrpc/svc_tcp.c: Likewise.
58986         * sunrpc/svc_udp.c: Likewise.
58987         * sunrpc/svc_unix.c: Likewise.
58988         * sunrpc/xdr.c: Likewise.
58989         * sunrpc/xdr_array.c: Likewise.
58990         * sunrpc/xdr_rec.c: Likewise.
58991         * sunrpc/xdr_ref.c: Likewise.
58992         * sunrpc/xdr_stdio.c: Likewise.
58994 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
58996         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58998 2011-07-03  Andreas Jaeger  <aj@suse.de>
59000         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
59001         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
59002         regenerate with gen-libm-tests.pl.
59004 2010-05-12  Petr Baudis  <pasky@suse.cz>
59006         [BZ #11589]
59007         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
59008         around j0() zero points by switching to j1().
59009         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
59010         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
59011         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
59012         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
59014 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59016         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
59017         instead of 0.
59018         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
59019         instead of 0.
59020         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
59021         Patch in part by Pavel Roskin <proski@gnu.org>.
59023         [BZ #13138]
59024         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
59025         realloc.
59026         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
59027         Free memory block if necessary.
59029         [BZ #12847]
59030         * libio/genops.c (INTDEF): For string streams the _lock pointer can
59031         be NULL.  Don't lock in this case.
59033 2011-09-09  Roland McGrath  <roland@hack.frob.com>
59035         * elf/elf.h (ELFOSABI_GNU): New macro.
59036         (ELFOSABI_LINUX): Define to that.
59038 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
59040         * string/strncat.c (strncat): Undef the symbol in case it has been
59041         defined in bits/string.h.
59043 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59045         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
59047         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
59048         link map.
59050 2011-08-17  Andreas Jaeger  <aj@suse.de>
59052         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
59054 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
59055             Ian Lance Taylor  <iant@google.com>
59057         * math/libm-test.inc (lround_test): New testcase.
59058         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
59060 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
59062         * Makefile: Remove support for automatic cvs check-ins.
59063         * Makerules: Likewise.
59064         * config.make.in: Likewise.
59065         * configure.in: Likewise.
59066         * intl/Makefile: Likewise.
59067         * locale/Makefile: Likewise.
59068         * po/Makefile: Likewise.
59069         * posix/Makefile: Likewise.
59070         * sysdeps/gnu/Makefile: Likewise.
59071         * sysdeps/mach/hurd/Makefile: Likewise.
59072         * sysdeps/sparc/sparc32/Makefile: Likewise.
59074         [BZ #13118]
59075         * posix/Makefile (bug-regex32-ENV): Define.
59076         Patch by John Stanley <jpsinthemix@verizon.net>.
59078         * misc/Makefile (headers): Add bits/select2.h.
59079         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
59080         * misc/bits/select2.h: New file.
59081         * include/bits/select2.h: New file.
59082         * debug/Makefile (routines): Add fdelt_chk.
59083         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
59084         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
59085         FD_ISSET.
59086         * debug/fdelt_chk.c: New file.
59088         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
59089         * wcsmbs/test-wmemcmp.c: Likewise.
59090         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
59091         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
59093 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59095         * string/Makefile (strop-tests): Add memcmp.
59096         * string/test-wmemcmp.c: New file.
59097         * string/test-memcmp.c: Add wmemcmp support.
59099 2011-09-08  Roland McGrath  <roland@hack.frob.com>
59101         [BZ #13153]
59102         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
59103         2011-07-19 change.
59105         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
59106         garbage value in a __mach_port_mod_refs call in the cases of the
59107         task-self and thread-self ports.
59109 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59111         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
59113 2011-09-08  Andreas Schwab  <schwab@redhat.com>
59115         * elf/dl-load.c (lose): Check for non-null L.
59117 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
59119         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
59121         * elf/dl-libc.c (dlerror_run): Pass back error code from
59122         dl_catch_error.
59124         [BZ #13123]
59125         * elf/dl-load.c (lose): Free l_origin if it is valid.
59127         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
59128         names.
59129         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
59130         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
59131         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
59132         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
59133         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
59134         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
59136 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59138         * sysdeps/powerpc/fpu/e_hypot.c: New file.
59139         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
59140         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
59141         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
59142         * sysdeps/powerpc/fpu/k_cosf.c: New file.
59143         * sysdeps/powerpc/fpu/k_sinf.c: New file.
59144         * sysdeps/powerpc/fpu/s_cosf.c: New file.
59145         * sysdeps/powerpc/fpu/s_sinf.c: New file.
59146         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
59147         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
59149 2011-08-15  Alan Modra  <amodra@gmail.com>
59151         [BZ #13092]
59152         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
59153         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
59154         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
59155         ppc_mcount to static-only-routines.
59156         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
59157         __mcount_internal.
59158         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
59159         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
59161 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
59163         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
59164         for finite and infinity parameters.
59166 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
59168         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
59169         and add nop instructions for throughput optimization.
59170         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59172 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
59174         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
59175         aligned copy for power7 with vector-scalar instructions.
59176         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
59178 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
59180         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
59181         AVX check.
59183 2011-09-07  Andreas Schwab  <schwab@redhat.com>
59185         [BZ #13144]
59186         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
59187         last change.
59189 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
59191         * sysdeps/unix/sysv/linux/x86_64/init-first.c
59192         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
59193         syscall wrapper around clock_gettime in __vdso_clock_gettime.
59194         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
59195         clock_gettime.
59197 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
59199         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
59200         Forgot to demangle the pointer.
59202         * sysdeps/i386/sysdep.h: Define atom_text_section.
59203         * sysdeps/x86_64/sysdep.h: Likewise.
59204         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
59205         section with atom_text_section.
59206         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
59207         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
59208         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
59209         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
59210         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
59212         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
59213         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
59214         already be defined.  Change to take two parameters and don't assign
59215         result to variable.  Adjust all users.
59216         Define INTERNAL_GETTIME if not already defined.
59217         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
59218         call.
59219         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
59220         HAVE_CLOCK_GETTIME_VSYSCALL.
59221         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
59223         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
59224         gettimeofday vsyscall, just use time.
59226 2011-09-06  Andreas Schwab  <schwab@redhat.com>
59228         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
59229         <errno.h>.
59231 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
59233         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
59234         syscall on x86-64.
59235         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
59236         syscall.
59237         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
59238         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
59239         syscall if possible.
59241 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59243         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
59244         e_ident.  Don't pass to find_mapsXX.
59245         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
59247 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59249         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59250         strchr-sse2-no-bsf strrchr-sse2-no-bsf
59251         * sysdeps/x86_64/multiarch/strchr.S: Update.
59252         Check bit_slow_BSF bit.
59253         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
59254         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
59255         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
59257 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59259         [BZ #13134]
59260         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
59261         before glibc 2.15.
59262         (tryshell): Define.
59263         (__spawni): Change last parameter to be flag.  Test
59264         SPAWN_XFLAGS_USE_PATH flag to use path or not.
59265         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
59266         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
59267         * posix/spawni.c: Likewise.
59268         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
59269         * posix/spawnp.c: Likewise.  Change normal version to use
59270         SPAWN_XFLAGS_USE_PATH.
59271         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
59272         SPAWN_XFLAGS_TRY_SHELL.
59274         [BZ #13150]
59275         * posix/glob.h: Remove gcc 1.x support.
59277         [BZ #13068]
59278         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
59280 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59282         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59283         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
59284         strrchr-sse2-bsf
59285         * sysdeps/i386/i686/multiarch/strchr.S: New file.
59286         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
59287         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
59288         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
59289         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
59290         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
59292 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59294         * sysdeps/x86_64/wcscmp.S: New file.
59296         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
59297         wcscmp-c wcscmp-sse2
59298         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
59299         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
59300         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
59301         * wcsmbs/wcscmp.c: Allow renaming.
59303 2011-09-05  David S. Miller  <davem@davemloft.net>
59305         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
59306         stack slot, rather than the struct return pointer slot.
59307         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
59308         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
59309         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
59310         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
59312 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59314         * po/ja.po: Update from translation team.
59316         [BZ #13144]
59317         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
59318         kernel in 64-bit binaries.
59320 2011-09-01  David S. Miller  <davem@davemloft.net>
59322         * elf/elf.h (HWCAP_SPARC_*): Move to..
59323         * sysdeps/sparc/sysdep.h: this new file and add new values.
59324         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
59325         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
59326         _DL_HWCAP_COUNT to 24.
59327         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
59328         entries.
59329         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
59330         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
59331         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
59332         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
59333         instead of magic constants.
59334         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
59336 2011-08-31  David S. Miller  <davem@davemloft.net>
59338         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
59339         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
59340         Reimplement to do errno handling inline.
59341         (SYSCALL_ERROR_HANDLER): New macro.
59342         (__SYSCALL_STRING): Do not do errno handling in asm.
59343         (__CLONE_SYSCALL_STRING): Delete.
59344         (__INTERNAL_SYSCALL_STRING): Delete.
59345         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
59346         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
59347         (PSEUDO): Reimplement to do errno handling inline.
59348         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
59349         (SYSCALL_ERROR_HANDLER): New macro.
59350         (__SYSCALL_STRING): Do not do errno handling in asm.
59351         (__CLONE_SYSCALL_STRING): Delete.
59352         (__INTERNAL_SYSCALL_STRING): Delete.
59353         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
59354         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
59355         i386.
59356         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
59357         (inline_syscall*): Add 'err' argument.
59358         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
59359         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
59360         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
59361         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
59363         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
59364         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
59366 2011-08-30  Andreas Schwab  <schwab@redhat.com>
59368         * elf/rtld.c (dl_main): Relocate objects in dependency order.
59370 2011-08-29  Jiri Olsa <jolsa@redhat.com>
59372         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
59373         directive.
59375 2011-08-24  David S. Miller  <davem@davemloft.net>
59377         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
59379 2011-08-24  Andreas Schwab  <schwab@redhat.com>
59381         * elf/Makefile: Add rules to build and run unload8 test.
59382         * elf/unload8.c: New file.
59383         * elf/unload8mod1.c: New file.
59384         * elf/unload8mod1x.c: New file.
59385         * elf/unload8mod2.c: New file.
59386         * elf/unload8mod3.c: New file.
59388         * elf/dl-close.c (_dl_close_worker): Reset private search list if
59389         it wasn't used.
59391 2011-08-23  David S. Miller  <davem@davemloft.net>
59393         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
59394         subtract stack bias.
59395         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
59396         %sp not %fp in calculations.
59397         (_JMPBUF_UNWINDS_ADJ): Likewise.
59399         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
59400         (aio_suspend): Call it to force an exception region around the
59401         AIO_MISC_WAIT() invocation.
59403 2011-08-23  Andreas Schwab  <schwab@redhat.com>
59405         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
59406         backslash.
59408 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
59410         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
59411         protection macro.
59412         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
59413         and <dl-machine.h>.
59414         (Elf64_FuncDesc): Remove.
59416 2011-08-22  David S. Miller  <davem@davemloft.net>
59418         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
59419         sigaltstack check, add missing cfi directives.
59420         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
59421         missing cfi directives, and sigaltstack handling.
59423 2011-08-16  Andreas Schwab  <schwab@redhat.com>
59425         [BZ #11724]
59426         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
59427         object is seen twice.
59428         * elf/dl-fini.c (_dl_sort_fini): Likewise.
59430         * elf/Makefile (distribute): Add tst-initorder2.c.
59431         (tests): Add tst-initorder2.
59432         (modules-names): Add tst-initorder2a tst-initorder2b
59433         tst-initorder2c tst-initorder2d.  Add rules to build them.
59434         ($(objpfx)tst-initorder2.out): New rule.
59435         * elf/tst-initorder2.c: New file.
59436         * elf/tst-initorder2.exp: New file.
59438 2011-08-22  Andreas Schwab  <schwab@redhat.com>
59440         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
59442         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
59443         dependencies back to end of function.
59445         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
59446         $(elfobjdir)/ld.so.
59448 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
59450         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
59451         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
59452         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
59453         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
59454         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
59455         of __vdso_gettimeofday.
59456         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
59457         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
59458         attribute_hidden.
59459         (_libc_vdso_platform_setup): Remove initialization of
59460         __vdso_gettimeofday and __vdso_time.
59462 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
59464         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
59465         and fgetc_unlocked.
59466         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
59467         getc_unlocked.
59469         * elf/dl-open.c (add_to_global): Report additions to the global scope
59470         for LD_DEBUG=scopes.
59471         (dl_open_worker): Also print scope of newly loaded dependencies.
59472         (_dl_show_scope): Indicate if there is no scope.
59474         [BZ #13114]
59475         * stdio-common/Makefile (tests): Add bug24.
59476         * stdio-common/bug24.c: New file.
59478 2011-08-19  Andreas Jaeger  <aj@suse.de>
59480         [BZ #13114]
59481         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
59482         non-existant file when using close-on-exec mode.
59484 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
59486         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
59487         the very first instruction.
59489         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
59490         the CFI state in the end.
59491         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
59492         inclusion of dl-trampoline.h.
59493         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
59495 2011-08-19  Andreas Schwab  <schwab@redhat.com>
59497         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
59498         expectations for long double.
59500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
59501         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
59503 2011-08-14  David S. Miller  <davem@davemloft.net>
59505         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
59506         artificual limit depends upon the system page size.
59508 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
59510         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
59511         * resolv/Makefile: Define CFLAGS-libresolv.
59513 2011-08-17  Andreas Schwab  <schwab@redhat.com>
59515         * nss/makedb.c (compute_tables): Make variables used in nested
59516         function static.
59518 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
59520         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
59521         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
59522         if buffer was too small.
59524         * elf/pldd.c (main): Attach to all threads in the process.
59525         Rewrite /proc handling to use *at functions.
59527 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
59529         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
59530         specifies first scope to show.
59531         (dl_open_worker): Update callers.  Move printing scope of new
59532         object to before the relocation.
59533         * elf/rtld.c (dl_main): Update _dl_show_scope call.
59534         * sysdeps/generic/ldsodefs.h: Update declaration.
59536         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
59537         string for the scope number.
59539 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
59541         * nscd/servicescache.c (cache_addserv): Make sure written is always
59542         initialized.
59544 2011-08-14  Roland McGrath  <roland@hack.frob.com>
59546         * sysdeps/i386/i486/bits/atomic.h
59547         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
59548         statement expression, so as to suppress "set but not used" warning.
59549         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
59551         * string/strncat.c (STRNCAT): Use prototype definition.
59553         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
59554         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
59555         -Iprograms here.
59556         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
59557         (localedef-modules): Add localedef.
59558         (locale-modules): Add locale.
59560         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
59561         * elf/rtld.c (dl_main): Invert order of assignment in last change,
59562         to avoid a warning.
59564 2011-08-14  David S. Miller  <davem@davemloft.net>
59566         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
59567         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
59569 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
59571         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
59572         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
59573         * elf/rtld.c (dl_main): Set l_name of vDSO.
59574         Call _dl_show_scope when DL_DEBUG_SCOPES.
59575         (process_dl_debug): Recognize scopes flag and also set it for all.
59576         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
59577         Declare _dl_show_scope.
59579         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
59580         (do_dlopen): Pass caller_dlopen to dl_open.
59581         (__libc_dlopen_mode): Initialize caller_dlopen.
59583         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
59584         of libc.  Make tolower call locale-independent.  Optimize a bit by
59585         using isdigit instead of isalnum.
59586         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
59588 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
59590         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
59591         was a dependency or dynamically loaded.
59593 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
59595         * intl/l10nflist.c: Allow architecture-specific pop function.
59596         * sysdeps/x86_64/l10nflist.c: New file.
59598         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
59599         classification.
59601 2011-08-10  Andreas Schwab  <schwab@redhat.com>
59603         * include/dirent.h: Add libc_hidden_proto for scandirat and
59604         scandirat64.  Don't declare __scandirat64.
59605         * dirent/scandirat.c: Add libc_hidden_def.
59606         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
59607         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
59609 2011-08-10  David S. Miller  <davem@davemloft.net>
59611         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
59612         enum.
59613         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
59614         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
59615         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
59617 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
59619         * Versions.def [libc]: Add GLIBC_2.15.
59620         * dirent/Makefile (routines): Add scandirat and scandirat64.
59621         * dirent/Versions [libc]: Export scandirat and scandirat64 for
59622         GLIBC_2.15.
59623         * dirent/dirent.h: Declare scandirat and scandirat64.
59624         * dirent/scandirat.c: New file.
59625         * dirent/scandirat64.c: New file.
59626         * sysdeps/wordsize-64/scandirat.c: New file.
59627         * sysdeps/wordsize-64/scandirat64.c: New file.
59628         * dirent/opendir.c: Define opendirat.
59629         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
59630         using scandirat.
59631         * dirent/scandir64.c: Adjust for scandir.c change.
59632         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
59633         __scandirat64, and __scandir_cancel_handler.
59634         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
59635         additional parameter and use openat instead of open (outside of ld.so).
59636         Add new __opendir as wrapper around __opendirat.
59637         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
59638         here without requiring old scandirat implementation.
59640 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
59642         * dirent/scandir.c (cancel_handler): Renamed to
59643         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
59644         defined.  Adjust users.
59645         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
59646         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
59648 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
59650         * string/test-string.h (IMPL): Use __STRING to expand name and then
59651         stringify it.
59653         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
59654         of cleanups.
59656 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59658         * string/Makefile: Update.
59659         (strop-tests): Append strncat.
59660         * string/test-wcscmp.c: New file.
59661         New comprehensive test for wcscmp.
59662         * string/test-strcmp.c: Update.
59663         (WIDE): New define.
59665 2011-07-22  Andreas Schwab  <schwab@redhat.com>
59667         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
59668         line.
59670 2011-07-26  Andreas Schwab  <schwab@redhat.com>
59672         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
59673         encoding to ACE if AI_IDN.
59675 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
59677         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
59678         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
59680 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59682         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
59683         Fix overflow bug in strncat.
59684         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
59686         * string/test-strncat.c: Update.
59687         Add new tests for checking overflow bugs.
59689 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59691         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59692         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
59693         * sysdeps/i386/i686/multiarch/strcat.S: New file.
59694         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
59695         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
59696         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
59697         * sysdeps/i386/i686/multiarch/strncat.S: New file.
59698         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
59699         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
59701         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
59702         (USE_AS_STRCAT): Define.
59703         Add strcat and strncat support.
59704         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
59706 2011-07-25  Andreas Schwab  <schwab@redhat.com>
59708         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
59709         __n bigger than INT_MAX+1.
59710         (__strncmp_g): Likewise.
59712 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
59714         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
59715         * libio/stido.h: Likewise.
59717         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
59718         (AF_NFC): Define.
59719         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
59720         (AF_NFC): Define.
59722         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
59723         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
59724         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
59725         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
59726         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
59728         [BZ #13021]
59729         * scripts/test-installation.pl: Don't expect libnss_test1 to be
59730         installed.
59732         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
59733         typo.
59734         (_dl_x86_64_save_sse): Likewise.
59736 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
59738         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
59739         OSXSAVE.
59740         (_dl_x86_64_save_sse): Likewise.
59742         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
59744         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
59746 2011-07-21  Andreas Schwab  <schwab@redhat.com>
59748         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
59749         change.
59750         (_dl_x86_64_save_sse): Use correct AVX check.
59752 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59754         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
59755         bug in strncpy/strncat.
59756         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
59758 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
59760         * string/tester.c (test_strcat): Add tests for different alignments
59761         of source and destination.
59762         (test_strncat): Likewise.
59764 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
59766         [BZ #12852]
59767         * posix/glob.c (glob): Check passed in values before using them in
59768         expressions to avoid some overflows.
59769         (glob_in_dir): Likewise.
59771         [BZ #13007]
59772         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
59773         check for AVX enablement so that we don't crash with old kernels and
59774         new hardware.
59775         * elf/tst-audit4.c: Add same checks here.
59776         * elf/tst-audit6.c: Likewise.
59778         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
59780 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
59782         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
59784 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
59786         * po/cs.po: Update from translation team.
59787         * po/bg.po: Likewise.
59789 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
59791         * misc/sys/cdefs.h: Add support for const attribute.
59792         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
59793         to gnu_dev_{major,minor,makedev} functions.
59795 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
59797         * intl/dcigettext.c (get_output_charset): Add missing bracket.
59799 2011-07-20  Andreas Schwab  <schwab@redhat.com>
59801         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
59802         strlen results.
59804 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59806         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
59807         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
59808         register in order to avoid conflicts with the soft frame pointer
59809         being held in r11 when necessary.
59810         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
59811         (INTERNAL_VSYSCALL_NCS): Likewise.
59813 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
59815         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
59816         * elf/dl-fini.c (_dl_fini): Adjust caller.
59817         * elf/dl-close.c (_dl_close_worker): Likewise.
59818         * sysdeps/generic/ldsodefs.h: Adjust declaration.
59820 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
59822         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
59823         "aux_cache->nlibs < 0".
59825         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
59826         in the reload-count case.
59828 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59830         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59831         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
59832         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
59833         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
59834         * sysdeps/x86_64/multiarch/strcat.S: New file.
59835         * sysdeps/x86_64/multiarch/strncat.S: New file.
59836         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
59837         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
59838         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
59839         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
59840         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
59841         (USE_AS_STRCAT): Define.
59842         Add strcat and strncat support.
59843         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
59844         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
59845         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
59846         * string/strncat.c: Update.
59847         (USE_AS_STRNCAT): Define.
59848         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59849         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
59850         and i7.
59851         * sysdeps/x86_64/multiarch/init-arch.h
59852         (bit_Prefer_PMINUB_for_stringop): New.
59853         (index_Prefer_PMINUB_for_stringop): Likewise.
59854         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
59855         bit_Prefer_PMINUB_for_stringop.
59857 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
59859         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
59860         buffer64.
59861         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
59862         of casting of buffer.
59863         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
59864         buffer32 and buffer64.
59865         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
59866         writes instead of casting of buffer.
59867         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
59868         buffer32.
59869         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
59870         casting of buffer.
59872 2011-07-19  Andreas Schwab  <schwab@redhat.com>
59874         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
59876 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
59878         * nscd/nscd.c (termination_handler): Don't do anything for a database
59879         if it has not yet been initialized.
59881 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
59883         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
59885 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
59887         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
59889 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
59891         * po/nl.po: Update from translation team.
59892         * po/sv.po: Likewise.
59894 2011-07-16  Roland McGrath  <roland@hack.frob.com>
59896         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
59897         now disallowed by GCC.
59899         * configure.in (use-default-link): Default to yes if a test -shared
59900         link meets our qualifications.
59901         * configure: Regenerated.
59903         * config.make.in (output-format): New variable.
59904         * configure.in: Check for ld --print-output-format support.
59905         * configure: Regenerated.
59906         * Makerules ($(common-objpfx)format.lds)
59907         [$(output-format) != unknown]: Just use $(output-format),
59908         instead of the linker-script munging.
59910 2011-07-14  Roland McGrath  <roland@hack.frob.com>
59912         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
59913         of $(common-objpfx)shlib.lds.
59914         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
59916         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
59917         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
59919         * configure.in (-z relro check): Adjust test code to add a large
59920         writable data section after it.
59921         * configure: Regenerated.
59923 2011-07-11  Roland McGrath  <roland@hack.frob.com>
59925         * configure.in (-z relro check): Fix test code to make the variable
59926         truly const.
59927         * configure: Regenerated.
59929 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
59931         * nscd/nscd.h (struct traced_file): Define.
59932         (struct database_dyn): Remove inotify_descr, reset_res, and filename
59933         elements.  Add traced_files.
59934         (inotify_fd): Declare.
59935         (register_traced_file): Declare.
59936         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
59937         (inotify_fd): Export.
59938         (resolv_conf_descr): Remove.
59939         (nscd_init): Move inotify descriptor creation to main.
59940         Don't register files for notification here.
59941         (register_traced_file): New function.
59942         (invalidate_cache): Don't use reset_res to determine whether to call
59943         res_init, go through the list of registered files.
59944         (main_loop_poll): The inotify descriptors are now stored in the
59945         structures for the traced files.
59946         (main_loop_epoll): Likewise
59947         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
59948         to __nss_disable_nscd.
59949         * nscd/cache.c (prune_cache): There is no single inotify descriptor
59950         for a database anymore.  Check the records for all the registered
59951         files instead.
59952         * nss/Makefile (libnss_files-routines): Add files-init.
59953         (libnss_db-routines): Add db-init.
59954         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
59955         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
59956         * nss/nss_db/db-init.c: New file.
59957         * nss/nss_files/files-init.c: New file.
59958         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
59959         __nss_lookup_function.
59960         (__nss_lookup_function): Call nss_load_library.
59961         (nss_load_all_libraries): New function.
59962         (__nss_disable_nscd): Take parameter with callback function for files
59963         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
59964         used for the cached services.
59965         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
59966         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
59967         options for features to all the files in nscd.
59969         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
59971 2011-07-10  Roland McGrath  <roland@hack.frob.com>
59973         * csu/elf-init.c (__libc_csu_init): Comment typo.
59975 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
59977         * po/pl.po: Update from translation team.
59978         * po/ja.po: Likewise.
59979         * po/ru.po: Likewise.
59980         * po/ko.po: Likewise.
59981         * po/fr.po: Likewise.
59983 2011-07-09  Roland McGrath  <roland@hack.frob.com>
59985         * configure.in (.ctors/.dtors header and trailer check):
59986         Use an empirical test on a built program.
59987         * configure: Regenerated.
59989         * configure.in (-z relro check): Use an empirical test on a built DSO.
59990         Detect, but do not require, on ia64.
59991         * configure: Regenerated.
59993         * configure.in (READELF): Find it with AC_CHECK_TOOL.
59994         Update tests that use readelf to use $READELF instead.
59995         * configure: Regenerated.
59997 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
59999         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
60000         if the result is not used.
60002 2011-07-05  Andreas Jaeger  <aj@suse.de>
60004         [BZ#9696]
60005         * stdlib/tst-strtod.c: Add testcase.
60007 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
60009         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
60010         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
60011         The latter has a higher limit.  Take additional parameter to pass to
60012         the new function.
60013         (__pathconf): Pass file to __statfs_link_max.
60014         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
60015         __statfs_link_max.
60016         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
60017         __statfs_link_max.
60019         [BZ #12868]
60020         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
60021         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60022         Handle Lustre.
60023         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
60024         (__statfs_filesize_max): Likewise.
60025         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
60027 2011-07-05  Andreas Jaeger  <aj@suse.de>
60029         * resolv/res_comp.c (dn_skipname): Remove unused variable.
60031 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
60033         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
60034         `status' variable.
60035         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
60036         Likewise.
60038 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
60040         * Makefile (strop-tests): Add strncat.
60041         * string/test-strncat.c: New file.
60043 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
60045         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
60047 2011-06-21  Andreas Jaeger  <aj@suse.de>
60049         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
60050         Copy rule from iconvdata/Makefile.
60052 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
60054         [BZ #12922]
60055         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
60056         but no long options are defined, just return 'W'.
60058 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
60060         [BZ #9696]
60061         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
60063 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
60065         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
60066         netgroups to read.
60067         (innetgr): Likewise.
60069 2011-07-05  Roland McGrath  <roland@hack.frob.com>
60071         * config.make.in (install_root): Default to $(DESTDIR).
60073 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
60075         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
60077 2011-07-02  Roland McGrath  <roland@hack.frob.com>
60079         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
60081         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
60082         containing directory rather than embedding absolute directory names.
60084         * scripts/check-local-headers.sh: Rewritten using awk.
60085         Match by word, not by line.  Print error messages for matches.
60086         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
60088         * Makerules [shlib-lds-flags empty]:
60089         ($(common-objpfx)libc_pic.opts): New target.
60090         ($(common-objpfx)libc_pic.os.clean): New target.
60091         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
60093         * config.make.in (OBJCOPY): New variable.
60094         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
60095         * configure: Regenerated.
60097         * config.make.in (use-default-link): New variable.
60098         * configure.in (use_default_link): Grok --with-default-link to set it.
60099         * configure: Regenerated.
60100         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
60101         (shlib-lds, shlib-lds-flags): Define to empty.
60103         * Makerules (shlib-lds): New variable.
60104         (shlib-lds-flags): New variable.
60105         (build-shlib, build-moduile, build-module-asneeded): Use it.
60106         ($(common-objpfx)libc.so): Use $(shlib-lds).
60107         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
60108         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
60110         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
60111         DT_FLAGS/DT_FLAGS_1 with zero flags.
60113         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
60114         linker script munging.
60116 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
60118         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
60119         as 128-bit value.
60120         * crypt/sha512.c (sha512_process_block): Perform total addition using
60121         128-bit if possible.
60122         (__sha512_finish_ctx): Likewise.
60123         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
60124         as 64-bit value.
60125         * crypt/sha256.c (SWAP64): Define.
60126         (sha256_process_block): Perform total addition using 64-bit if
60127         possible.
60128         (__sha256_finish_ctx): Likewise.
60130 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
60132         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
60133         * nscd/initgrcache.c (addinitgroupsX): Likewise.
60134         * nscd/hstcache.c (cache_addhst): Likewise.
60135         * nscd/grpcache.c (cache_addgr): Likewise.
60136         * nscd/aicache.c (addhstaiX): Likewise
60137         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
60139 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
60141         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
60142         * nscd/initgrcache.c (addinitgroupsX): Likewise.
60143         * nscd/hstcache.c (cache_addhst): Likewise.
60144         * nscd/grpcache.c (cache_addgr): Likewise.
60145         * nscd/aicache.c (addhstaiX): Likewise
60147 2011-07-01  Andreas Schwab  <schwab@redhat.com>
60149         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
60150         domain only when needed.
60152 2011-06-30  Andreas Schwab  <schwab@redhat.com>
60154         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
60155         is always restored.
60157 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
60159         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
60160         are re-adding the entry.
60161         * nscd/servicescache.c (cache_addserv): Likewise.
60163 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
60165         * sysdeps/generic/dl-irel.h: fix protection against multiple
60166         inclusions.
60167         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
60169 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
60171         [BZ #12935]
60172         * malloc/memusage.sh: Fix quoting in message.
60173         * debug/xtrace.sh: Likewise.
60175         * configure.in: Remove support for --experimental-malloc option, make
60176         it the default.
60177         * config.make.in: Likewise.
60178         * malloc/Makefile: Likewise.
60180 2011-06-27  Andreas Schwab  <schwab@redhat.com>
60182         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
60183         two-byte characters.
60185 2011-06-27  Roland McGrath  <roland@hack.frob.com>
60187         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
60188         AC_CACHE_CHECK invocation.
60189         * configure: Regenerated.
60191         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
60193 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
60195         [BZ #12350]
60196         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
60197         bit from old_res_options.
60199         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
60201         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
60202         value type for setfct.
60204 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
60206         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
60207         __gettimeofday instead of gettimeofday.
60209 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
60211         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
60213 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
60215         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
60217         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
60218         info.
60220 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
60222         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60223         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
60224         strcpy-sse2-unaligned strncpy-sse2-unaligned
60225         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
60226         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
60227         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
60228         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
60229         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
60230         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
60231         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
60232         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
60233         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
60234         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
60235         (STRCPY): Support SSE2 and SSSE3 versions.
60237 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
60239         [BZ #12874]
60240         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
60241         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
60242         kernels which artificially limit size of requests.
60244 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
60246         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60247         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
60248         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
60249         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
60250         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
60251         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
60252         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
60253         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
60254         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
60255         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
60256         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
60257         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
60258         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
60259         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
60260         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
60261         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60262         Enable unaligned load optimization for Intel Core i3, i5 and i7
60263         processors.
60264         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
60265         Define.
60266         (index_Fast_Unaligned_Load): Define.
60267         (HAS_FAST_UNALIGNED_LOAD): Define.
60269 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
60271         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
60273 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
60275         [BZ #12907]
60276         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
60277         until it is clear that the information is realy needed.
60278         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
60280 2011-06-22  Andreas Schwab  <schwab@redhat.com>
60282         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
60284 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
60286         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
60287         /sys/devices/system/cpu/online if it is usable.
60289         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
60290         reading the information from the /proc filesystem to once a second.
60292 2011-06-21  Andreas Jaeger  <aj@suse.de>
60294         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
60295         NULL after inclusion of kernel headers.
60297 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
60299         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
60300         calls to internal_setent.
60302         [BZ #12885]
60303         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
60304         addresses using gethostbyname4_r ignore IPv4 addresses.
60306         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
60307         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
60309         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
60311 2011-06-20  David S. Miller  <davem@davemloft.net>
60313         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
60314         inclusions.
60315         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
60317         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
60318         (elf_irel): Use it.
60319         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
60320         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
60321         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
60322         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
60323         * sysdeps/x86_64/dl-irel.h: Likewise.
60325         * elf/dl-runtime.c: Use elf_ifunc_invoke.
60326         * elf/dl-sym.c: Likewise.
60328 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
60330         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
60331         need to dereference resplen2.
60333 2011-06-14  Andreas Schwab  <schwab@redhat.com>
60335         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
60337 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
60339         * Makeconfig: Define vardbdir and inst_vardbdir.
60340         * nss/Makefile: Add rules to install db-Makefile.
60342         * nss/nss_db/db-XXX.c: Cleanup.
60344         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
60345         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
60346         GLIBC_PRIVATE.
60347         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
60348         * nss/makedb.c: Implement -g option to specify that value strings
60349         are generated and should not be added to table iterated over for
60350         get*ent calls.
60351         * nss/nss_db/db-initgroups.c: New file.
60353         * nss/getent.c: Add support for initgroups lookups through getgrouplist
60354         interface.
60356         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
60357         (internal_getgrouplist): Adjust to name change.
60358         Update use_initgroups_entry if this is not the first call.
60359         * nss/databases.def: Add initgroups entry.
60361         * nss/makedb.c (compute_tables): Check result of multiple hash table
60362         sizes to minimize maximum chain length.
60364 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
60366         * Versions.def: Add entry for libnss_db.
60367         * shlib-versions: Likewise.
60368         * nss/Makefile: Add rules to build libnss_db.
60369         * nss/Versions: Add libnss_db information.  Organize libnss_files
60370         entries better.
60371         * nss/db-Makefile: Add gshadow support.  Change rules for the new
60372         makedb progra.  Some minor improvements to generate smaller files.
60373         * nss/nss_db/nss_db.h: Move NSS database header data structures to
60374         here from...
60375         * nss/makedb.c: ...here.
60376         Improve database format to be smaller and require less memory at
60377         runtime.
60378         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
60379         db anymore.
60380         * nss/nss_db/db-netgrp.c: Likewise.
60381         * nss/nss_db/db-open.c: Likewise.
60382         * nss/nss_files/flies-XXX.x: Adjust comments.
60383         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
60384         * nss/nss_files/files-grp.c: Likewise.
60385         * nss/nss_files/files-hosts.c: Likewise.
60386         * nss/nss_files/files-network.c: Likewise.
60387         * nss/nss_files/files-proto.c: Likewise.
60388         * nss/nss_files/files-pwd.c: Likewise.
60389         * nss/nss_files/files-rpc.c: Likewise.
60390         * nss/nss_files/files-service.c: Likewise.
60391         * nss/nss_files/files-sgrp.c: Likewise.
60392         * nss/nss_files/files-spwd.c: Likewise.
60393         * nss/nss_db/db-alias.c: Removed.
60394         * nss/nss_db/dummy-db.h: Removed.
60396 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
60398         * nss/makedb.c: Rewritten to not use database library.
60399         * nss/Makefile: Update to build new makedb program.
60401 2011-06-14  Andreas Jaeger  <aj@suse.de>
60403         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
60404         memset declaration.
60406 2011-06-10  Andreas Schwab  <schwab@redhat.com>
60408         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
60409         tmpbuf.
60411 2011-06-10  Roland McGrath  <roland@hack.frob.com>
60413         * Makerules (shlib.lds): Fail if the linker script comes out empty.
60414         * elf/Makefile ($(objpfx)ld.so): Likewise.
60416         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
60417         Don't list ld.so twice in dependencies.
60419         * posix/bug-regex31.c: Include <stdlib.h>.
60421         * nscd/hstcache.c (cache_addhst): Remove unused variable.
60423         * nis/nss_compat/compat-spwd.c
60424         (getspent_next_nss_netgr): Remove unused variable.
60425         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
60427         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
60428         nonmembers" output to use the right array.
60430         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
60432         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
60434         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
60435         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
60436         * catgets/gencat.c (read_input_file): Likewise.
60437         * locale/programs/locarchive.c (enlarge_archive): Likewise.
60439         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
60440         variable definition inside #if's controlling its use.
60442         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
60444         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
60446         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
60448         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
60449         unreachable code.
60451         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
60453         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
60454         * configure: Regenerated.
60456         * Makerules: Revert last change.
60457         * elf/Makefile: Likewise.
60459 2011-06-09  Roland McGrath  <roland@hack.frob.com>
60461         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
60462         * elf/Makefile ($(objpfx)librtld.os): Likewise.
60463         (reloc-link): Likewise.
60465 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
60467         * elf/Makefile: Add rules to build pldd.
60468         * elf/pldd.c: New file.
60469         * elf/pldd-xx.c: New file.
60471 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
60473         * version.h: Update for 2.15 development version.
60475 2011-06-07  David S. Miller  <davem@davemloft.net>
60477         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
60478         ifuncs.
60479         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
60480         elf_machine_lazy_rel): Likewise.
60481         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
60482         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
60483         elf_machine_lazy_rel): Likewise.
60484         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
60485         dl_hwcap via passed in argument.
60486         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
60487         Likewise.
60489 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60491         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
60493 2011-06-06  Roland McGrath  <roland@hack.frob.com>
60495         [BZ #12849]
60496         * manual/fdl-1.1.texi: New file, verbatim from:
60497         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
60498         * manual/lgpl-2.1.texi: New file, verbatim from:
60499         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
60500         * manual/Makefile (licenses): New variable, list those new file names.
60501         (texis): Use it.
60502         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
60504         * manual/fdl.texi: File removed.
60505         * manual/lesser.texi: File removed.
60506         * manual/libc.texinfo (Copying, Documentation License):
60507         Use new @include file names, put @appendix directive before @include.
60509 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
60511         [BZ #12841]
60512         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
60513         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
60514         (mq_open): Add __NTH.
60516 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
60518         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60519         Assume Intel Core i3/i5/i7 processor if AVX is available.
60521 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
60523         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
60524         typo.
60526 2011-05-31  Andreas Schwab  <schwab@redhat.com>
60528         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
60529         memory.  Use alloca_account.  Fix memory leak when retrying.
60531 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
60533         * version.h (RELEASE): Bump for 2.14 release.
60534         * include/features.h (__GLIBC_MINOR__): Bump to 14.
60536         * config.make.in (RANLIB): Remove entry.
60538 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
60540         * po/Makefile (po-sed-cmd): Add ksh to extensions.
60541         (libc.pot): Work around missing support for .ksh extension in xgettext.
60543         [BZ #12684]
60544         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
60545         if both request failed.
60546         (send_dg): In case of server errors clear resplen or *resplen2.
60548         [BZ #12454]
60549         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
60550         when there are multiple maps.
60551         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
60552         (_dl_fini): Remove test here.
60554         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
60556 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
60558         [BZ #12350]
60559         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
60560         bit from old_res_options.
60561         (gaih_inet): Likewise.
60563         [BZ #11099]
60564         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
60565         as signed.
60567         * resolv/res_init.c (res_setoptions): Make the code more compact.
60569         [BZ #11558]
60570         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
60571         set RES_USEVC.
60573         [BZ #11634]
60574         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
60576         * malloc/malloc.h: Mark malloc hook variables as deprecated.
60578         [BZ #11781]
60579         * malloc/malloc.h: Declare malloc hook variables as volatile.
60581         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
60582         in last patch.
60584         [BZ #11799]
60585         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
60586         raise in the comment.
60587         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
60588         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
60589         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
60591 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
60593         [BZ #12811]
60594         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
60595         grow the buffers more if it already has to be sufficient.
60596         (build_wcs_upper_buffer): Likewise.
60597         * posix/regexec.c (check_matching): Likewise.
60598         (clean_state_log_if_needed): Likewise.
60599         (extend_buffers): Don't enlarge buffers beyond size of the input
60600         buffer.
60601         Patches mostly by Emil Wojak <emil@wojak.eu>.
60602         * posix/bug-regex32.c: New file.
60603         * posix/Makefile (tests): Add bug-regex32.
60605         * locale/findlocale.c (_nl_find_locale): Return right away if
60606         _nl_explode_name failed.
60607         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
60609         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
60611         * debug/xtrace.sh: Unify messages.
60612         * malloc/memusage.sh: Likewise.
60614         [BZ #12813]
60615         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
60616         time symbol from vDSO.  Substitute with vsyscall if not available.
60617         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
60618         __vdso_time.
60620         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
60621         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
60622         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
60623         Add sendmmsg and internal_sendmmsg.
60624         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
60625         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
60626         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
60628         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
60629         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
60630         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
60632 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
60634         [BZ #12813]
60635         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
60636         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
60637         available.
60638         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
60639         __vdso_getcpu.
60641         [BZ #12814]
60642         * iconvdata/Makefile (tests): Add bug-iconv9.
60643         * iconvdata/bug-iconv9.c: New file.
60645 2011-05-27  Andreas Schwab  <schwab@redhat.com>
60647         [BZ #12814]
60648         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
60650 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
60652         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
60653         (struct user_regs_struct): Change intcs field back to cs.
60655 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
60657         * po/ja.po: Update from translation team.
60659 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
60661         [BZ #12795]
60662         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
60663         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
60665 2011-05-20  Andreas Schwab  <schwab@redhat.com>
60667         * stdlib/longlong.h: Update from GCC.
60669 2011-05-23  Andreas Schwab  <schwab@redhat.com>
60671         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
60672         parameter name.
60673         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
60674         Add parameter name.
60675         (__sysconf): Pass it down.
60677 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
60679         [BZ #12671]
60680         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
60681         some situations.
60682         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
60683         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
60684         add in in __libc_use_alloca calls.  Adjust callers.
60685         (glob): Use malloc in some situations.
60687         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
60688         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
60689         pltexit.
60691 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
60693         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
60694         and CLOCK_BOOTTIME_ALARM.
60696         [BZ #12782]
60697         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
60698         is returned.
60700         * string/_strerror.c (__strerror_r): Print negative errors as signed
60701         numbers.
60703         [BZ #12777]
60704         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
60705         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
60706         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
60708         * configure.in: Fix typo in redirection and correct removal of test
60709         files in two cases.
60711         [BZ #12788]
60712         * locale/setlocale.c (new_composite_name): Fix test to check for
60713         identical name of all categories.
60715         [BZ #12792]
60716         * libio/filedoalloc.c (local_isatty): New function.
60717         (_IO_file_doallocate): Use local_isatty.
60718         * stdio-common/perror.c (perror): In case a new stream is used
60719         forward the stream error.
60720         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
60721         error flag.
60723 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
60725         [BZ #11869]
60726         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
60727         alloca.
60728         * include/alloca.h (extend_alloca_account): Define.
60730         [BZ #11857]
60731         * posix/regex.h: Fix comments with documentation of user-accessible
60732         fields after compilation and describe correct free'ing of pattern
60733         after re_compile_pattern.
60734         Patch by Reuben Thomas <rrt@sc3d.org>.
60736 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
60738         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
60739         and -mno-altivec to prevent the compiler from using Altivec and/or
60740         VSX instructions when the corresponding registers are not available.
60742 2011-05-19  Andreas Schwab  <schwab@redhat.com>
60744         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
60746 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
60748         * libio/freopen.c (freopen): Use __dup2, not dup2.
60749         * libio/freopen64.c (freopen64): Likewise.
60751 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
60753         [BZ #12775]
60754         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
60755         * math/Makefile (tests): Add test-powl.
60756         (CFLAGS-test-powl.c): Define.
60757         * math/test-powl.c: New file.
60759 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60761         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
60763 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
60765         [BZ #11837]
60766         * iconvdata/gb18030.c: Update to GB18020-2005.
60768 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
60770         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
60771         RE_SYNTAX_POSIX_AWK): Update to match recent development.
60772         Patch by Aharon Robbins <arnold@skeeve.com>.
60774         [BZ #11892]
60775         * stdlib/putenv.c (putenv): Don't always create copy of the variable
60776         on the stack.
60778         [BZ #11895]
60779         * misc/pselect.c (__pselect): Handle timeout value errors hidden
60780         through underflows.
60782         [BZ #12766]
60783         * misc/error.c (error_at_line): Ensure file_name and old_file_name
60784         point to strings before performing equality test for error_one_per_line
60785         mode.
60787         [BZ #11697]
60788         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
60790         [BZ #11820]
60791         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
60792         (struct user_fpregs_struct): Avoid __uint*_t types.
60794         [BZ #6420]
60795         * malloc/mtrace.c (tr_where): Add additional parameter to point to
60796         symbol info.  Use it instead of calling _dl_addr locally.
60797         (lock_and_info): New function.
60798         (tr_freehook): Call lock_and_info and pass symbol info as additional
60799         parameter to tr_where.
60800         (tr_mallochook): Likewise.
60801         (tr_reallochook): Likewise.
60802         (tr_memalignhook): Likewise.
60804         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
60805         used and couldn't be at all thread-safe.
60807 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
60809         * libio/freopen.c (freopen): Don't close old file descriptor
60810         before the new one is opened.  Instead dup the new file descriptor
60811         to the old one after the new stream is created.
60812         * libio/freopen64.c (freopen64): Likewise.
60813         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
60814         * libio/fileops.c (_IO_new_file_close_it): Handle new
60815         _IO_FLAGS2_NOCLOSE flag.
60816         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
60817         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
60818         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
60819         _IO_FLAGS2_NOCLOSE flag.
60820         * include/unistd.h: Add hidden_proto for dup3.
60821         Define __have_dup3.
60822         * io/dup3.c: Define hidden symbol.
60823         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
60825         [BZ #7101]
60826         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
60827         when an incomplete long option is used.
60828         * posix/tst-getopt_long1.c: New file.
60829         * posix/Makefile (tests): Add tst-getopt_long1.
60831         [BZ #10138]
60832         * scripts/config.guess: Update from autoconf-2.68.
60833         * scripts/config.sub: Likewise.
60835         [BZ #10157]
60836         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
60837         tests into ...
60838         (has_cpuclock): ...this.  New function.
60839         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
60840         macro here based on has_cpuclock code.
60842         [BZ #10149]
60843         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60844         First byte (not low byte) is now always NUL.
60845         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
60847         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60848         Use non-cancelable interfaces.
60850         [BZ #9809]
60851         * locale/iso-639.def: Add entry for Sorani.
60853         [BZ #11901]
60854         * include/stdlib.h: Move include protection to the right place.
60855         Define abort_msg_s.  Declare __abort_msg with it.
60856         * stdlib/abort.c (__abort_msg): Adjust type.
60857         * assert/assert.c (__assert_fail_base): New function.  Majority
60858         of code from __assert_fail.  Allocate memory for __abort_msg with
60859         mmap.
60860         (__assert_fail): Now call __assert_fail_base.
60861         * assert/assert-perr.c: Remove bulk of implementation.  Use
60862         __assert_fail_base.
60863         * include/assert.hL Declare __assert_fail_base.
60864         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
60865         mmap.
60866         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
60868 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
60870         [BZ #11952]
60871         [BZ #12453]
60872         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
60873         until all modules are registered in the DTV.
60874         * elf/Makefile: Add rules to build and run tst-tls19.
60875         * elf/tst-tls19.c: New file.
60876         * elf/tst-tls19mod1.c: New file.
60877         * elf/tst-tls19mod2.c: New file.
60878         * elf/tst-tls19mod3.c: New file.
60879         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
60881         [BZ #12083]
60882         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
60883         correctly.
60885         [BZ #12601]
60886         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
60887         two-byte sequence errors.
60888         * iconvdata/Makefile (tests): Add bug-iconv8.
60889         * iconvdata/bug-iconv8.c: New file.
60891         [BZ #12626]
60892         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
60893         buf2 definition.
60895         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
60897         [BZ #12432]
60898         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
60899         (dummy_getcfa): New function.
60900         (init): Get _Unwind_GetCFA address, use dummy if not found.
60901         (backtrace_helper): In recursion check, also check whether CFA changes.
60902         (__backtrace): Completely initialize arg.
60904         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
60905         storing incomplete byte sequence in state object.  Avoid testing for
60906         guaranteed too small input if we know there is enough data available.
60908 2011-05-11  Andreas Schwab  <schwab@redhat.com>
60910         * Makeconfig (+link-pie): Indent.
60911         * Rules (binaries-pie): Define if $(have-fpie) and
60912         $(build-shared).
60913         (binaries-shared): Also filter out $(binaries-pie).
60914         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
60915         * nscd/Makefile (others-pie): Add nscd.
60916         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
60917         ($(objpfx)nscd): Remove command override.
60918         * login/Makefile (others-pie): Add pt_chown.
60919         ($(objpfx)pt_chown): Remove command override.
60920         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
60921         remove command overrides.
60923 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
60925         * libio/tst_putwc.c: Fix error messages.
60927         [BZ #12724]
60928         * libio/fileops.c (_IO_new_file_close_it): Always flush when
60929         currently writing and seek to current position when not.
60930         * libio/Makefile (tests): Add bug-fclose1.
60931         * libio/bug-fclose1.c: New file.
60933 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
60935         [BZ #12511]
60936         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
60937         don't set DF_1_NODELETE here.
60938         (do_lookup_x): When entering new entry test for copy relocation
60939         and if necessary set DF_1_NODELETE flag.
60940         * elf/tst-unique4.cc: New file.
60941         * elf/tst-unique4.h: New file.
60942         * elf/tst-unique4lib.cc: New file.
60943         * elf/Makefile: Add rules to build and run tst-unique4.
60944         Patch by Piotr Bury <pbury@goahead.com>.
60946 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
60948         [BZ #12052]
60949         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
60951         [BZ #12625]
60952         * misc/mntent_r.c (addmntent): Flush the stream after the output
60954         [BZ #12393]
60955         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
60956         (is_trusted_path_normalize): Skip initial colon.  Append slash
60957         to empty buffer.  Duplicate is_trusted_path code but allow
60958         constructed patch to be prefix.
60959         (is_dst): Allow $ORIGIN followed by /.
60960         (_dl_dst_substitute): Correct clearing of check_for_trusted.
60961         Correct testing of result of is_trusted_path_normalize
60962         (decompose_rpath): Fix warning.
60964 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
60966         [BZ #11257]
60967         * grp/initgroups.c (internal_getgrouplist): When we found the service
60968         list through the initgroups entry in nsswitch.conf do not always
60969         continue on a successful lookup.  Don't always use the
60970         __nss_group_database value if it is set.
60971         * nss/nsswitch.conf (initgroups): Change action for successful db
60972         lookup to continue for compatibility.
60974 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
60976         [BZ #11532]
60977         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
60978         and CP774 modules.
60979         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
60980         and CP774 modules.
60981         * iconvdata/tst-tables.sh: Likewise.
60982         * iconvdata/cp770.c: New file.
60983         * iconvdata/cp771.c: New file.
60984         * iconvdata/cp772.c: New file.
60985         * iconvdata/cp773.c: New file.
60986         * iconvdata/cp774.c: New file.
60987         * iconvdata/testdata/CP770: New file.
60988         * iconvdata/testdata/CP770..UTF8: New file.
60989         * iconvdata/testdata/CP771: New file.
60990         * iconvdata/testdata/CP771..UTF8: New file.
60991         * iconvdata/testdata/CP772: New file.
60992         * iconvdata/testdata/CP772..UTF8: New file.
60993         * iconvdata/testdata/CP773: New file.
60994         * iconvdata/testdata/CP773..UTF8: New file.
60995         * iconvdata/testdata/CP774: New file.
60996         * iconvdata/testdata/CP774..UTF8: New file.
60998         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
60999         END CHARMAP line.
61000         * iconvdata/gen-8bit-gap.sh: Likewise.
61001         * iconvdata/gen-8bit.sh: Likewise.
61003         * locale/iso-639.def: Add ary entry.
61005         [BZ #11258]
61006         * locale/C-translit.h.in: Add U20A1 transliteration.
61008         [BZ #12178]
61009         * locale/iso-639.def: Add wae entry.
61010         Patch by Kevin Bortis <bortis@translate-wae.ch>.
61012         [BZ #12545]
61013         * locale/programs/localedef.c (construct_output_path): Use ssize_t
61014         for n.
61016         [BZ #12711]
61017         * locale/C-translit.h.in: Add entry for U20B9.
61018         Patch by pravin.d.s@gmail.com.
61020 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
61022         [BZ #12713]
61023         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
61024         ENAMETOOLONG use generic getcwd.
61025         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
61026         in rtld.  Use *stat64.
61027         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
61028         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
61029         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
61030         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
61031         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
61032         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
61033         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
61034         __fstatat64 macros.
61035         * include/dirent.h: Add libc_hidden_proto for rewinddir.
61036         * dirent/rewinddir.c: Add libc_hidden_def.
61037         * sysdeps/mach/hurd/rewinddir.c: Likewise.
61038         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
61040         * include/dirent.h (__alloc_dir): Add flags parameter.
61041         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
61042         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
61043         __alloc_dir.
61044         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
61045         from fdopendir if O_CLOEXEC is already set.
61047 2011-03-15  Alan Modra  <amodra@gmail.com>
61049         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
61050         l_tls_firstbyte_offset non-zero.  Save padding offset in
61051         l_tls_firstbyte_offset for later use.
61052         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
61053         freeing static tls block.
61055 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
61057         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
61058         where #ifdef was intended.  The intent is to prevent ARG_MAX from
61059         being defined by the kernel headers.
61061 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
61063         [BZ #12734]
61064         * resolv/resolv.h: Define RES_NOTLDQUERY.
61065         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
61066         no-tld-query and set RES_NOTLDQUERY.
61067         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
61068         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
61069         modern BIND to search name as TLD unless forbidden.
61071 2011-05-07  Petr Baudis  <pasky@suse.cz>
61072             Ulrich Drepper  <drepper@gmail.com>
61074         [BZ #12393]
61075         * elf/dl-load.c (fillin_rpath): Move trusted path check...
61076         (is_trusted_path): ...to here.
61077         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
61078         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
61079         using is_trusted_path_normalize() in setuid scripts.
61081 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
61083         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
61084         __BEGIN/__END_DECLS.
61086 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
61088         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
61089         NSS_STATUS_NOTFOUND if no record was found.
61091 2011-05-05  Andreas Schwab  <schwab@redhat.com>
61093         * sunrpc/Makefile (headers): Add rpc/netdb.h.
61094         (headers-not-in-tirpc): Remove rpc/netdb.h
61095         * resolv/netdb.h: Revert last change.
61097 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
61099         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
61100         circular dependency between libgcc.a and libc.a.
61102 2011-05-05  Andreas Schwab  <schwab@redhat.com>
61104         * resolv/netdb.h: Don't include <rpc/netdb.h>.
61105         * nis/Makefile: Don't install rpcsvc/*.
61106         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
61107         instead of <rpc/types.h>.
61108         (MAXHOSTNAMELEN): Define.
61110 2011-05-03  Andreas Schwab  <schwab@redhat.com>
61112         * elf/ldconfig.c (add_dir): Don't crash on empty path.
61114 2011-04-28  Maciej Babinski  <mbabinski@google.com>
61116         [BZ #12714]
61117         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
61118         gethostbyname4_r when IPv6 results are possible.
61120 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
61122         [BZ #12723]
61123         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
61124         _PC_PIPE_BUF handling.
61126 2011-04-30  Bruno Haible  <bruno@clisp.org>
61128         [BZ #12717]
61129         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
61130         * resolv/netdb.h (getnameinfo): Change type of flags parameter
61131         to 'int'.
61132         * inet/getnameinfo.c (getnameinfo): Likewise.
61134 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
61136         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
61137         to groups setting in database lookup.
61138         * nss/nsswitch.conf: Add initgroups entry.
61140 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
61142         [BZ #12685]
61143         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
61144         mode string.
61145         Patch by Eric Blake <eblake@redhat.com>.
61147 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
61149         * sunrpc/Makefile (need-export-routines): Add svc_run.
61150         (routines): Remove svc_run.
61151         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
61152         * sunrpc/clnt_perr.c (clnt_perrno): Export.
61153         * sunrpc/svc_run.c (svc_run): Likewise.
61154         * sunrpc/svc_udp.c (svcudp_create): Likewise.
61156 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
61158         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
61159         problem in reallocation in last patch.
61161 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
61163         * sunrpc/Makefile: Move inclusion of Rules.
61165 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
61167         * nss/nss_files/files-initgroups.c: New file.
61168         * nss/Makefile (libnss_files-routines): Add files-initgroups.
61169         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
61170         _nss_files_initgroups_dyn.
61172 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
61174         * elf/elf.h (R_ARM_IRELATIVE): Define.
61176 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
61178         * po/ru.po: Update from translation team.
61180 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
61182         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
61183         dependencies.
61185 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
61187         [BZ #12653]
61188         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
61189         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
61190         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
61191         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
61192         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
61194 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
61196         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
61197         differing bytes.
61198         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
61199         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
61200         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61202 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
61204         [BZ #12420]
61205         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
61206         storing it.
61207         * stdlib/bug-getcontext.c: New file.
61208         * stdlib/Makefile: Add rules to build and run bug-getcontext.
61210 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61212         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
61213         instructions into .machine "z9-109".
61214         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
61215         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
61217 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61219         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
61220         between environment variables and auxiliary vector.
61222 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
61224         * Makefile: Add rules to build linkobj/libc.so.
61225         * include/libc-symbols.h: Define libc_hidden_nolink.
61226         * include/rpc/auth.h: Mark functions which are to be hidden.
61227         * include/rpc/auth_des.h: Likewise.
61228         * include/rpc/auth_unix.h: Likewise.
61229         * include/rpc/clnt.h: Likewise.
61230         * include/rpc/des_crypt.h: Likewise.
61231         * include/rpc/key_prot.h: Likewise.
61232         * include/rpc/pmap_clnt.h: Likewise.
61233         * include/rpc/pmap_prot.h: Likewise.
61234         * include/rpc/pmap_rmt.h: Likewise.
61235         * include/rpc/rpc_msg.h: Likewise.
61236         * include/rpc/svc.h: Likewise.
61237         * include/rpc/svc_auth.h: Likewise.
61238         * include/rpc/xdr.h: Likewise.
61239         * nis/Makefile: Link all DSOs against linkobj/libc.so.
61240         * nss/Makefile: Likewise.
61241         * sunrpc/Makefile: Don't install headers.  Build library with normal
61242         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
61243         * sunrpc/auth_des.c: Hide exported symbols by default, export some
61244         for the compat linking library.  Remove use of INTDEF/INTUSE.
61245         * sunrpc/auth_none.c: Likewise.
61246         * sunrpc/auth_unix.c: Likewise.
61247         * sunrpc/authdes_prot.c: Likewise.
61248         * sunrpc/authuxprot.c: Likewise.
61249         * sunrpc/clnt_gen.c: Likewise.
61250         * sunrpc/clnt_perr.c: Likewise.
61251         * sunrpc/clnt_raw.c: Likewise.
61252         * sunrpc/clnt_simp.c: Likewise.
61253         * sunrpc/clnt_tcp.c: Likewise.
61254         * sunrpc/clnt_udp.c: Likewise.
61255         * sunrpc/clnt_unix.c: Likewise.
61256         * sunrpc/des_crypt.c: Likewise.
61257         * sunrpc/des_soft.c: Likewise.
61258         * sunrpc/get_myaddr.c: Likewise.
61259         * sunrpc/key_call.c: Likewise.
61260         * sunrpc/key_prot.c: Likewise.
61261         * sunrpc/netname.c: Likewise.
61262         * sunrpc/pm_getmaps.c: Likewise.
61263         * sunrpc/pm_getport.c: Likewise.
61264         * sunrpc/pmap_clnt.c: Likewise.
61265         * sunrpc/pmap_prot.c: Likewise.
61266         * sunrpc/pmap_prot2.c: Likewise.
61267         * sunrpc/pmap_rmt.c: Likewise.
61268         * sunrpc/publickey.c: Likewise.
61269         * sunrpc/rpc_cmsg.c: Likewise.
61270         * sunrpc/rpc_common.c: Likewise.
61271         * sunrpc/rpc_dtable.c: Likewise.
61272         * sunrpc/rpc_prot.c: Likewise.
61273         * sunrpc/rpc_thread.c: Likewise.
61274         * sunrpc/rtime.c: Likewise.
61275         * sunrpc/svc.c: Likewise.
61276         * sunrpc/svc_auth.c: Likewise.
61277         * sunrpc/svc_authux.c: Likewise.
61278         * sunrpc/svc_raw.c: Likewise.
61279         * sunrpc/svc_run.c: Likewise.
61280         * sunrpc/svc_simple.c: Likewise.
61281         * sunrpc/svc_tcp.c: Likewise.
61282         * sunrpc/svc_udp.c: Likewise.
61283         * sunrpc/svc_unix.c: Likewise.
61284         * sunrpc/svcauth_des.c: Likewise.
61285         * sunrpc/xcrypt.c: Likewise.
61286         * sunrpc/xdr.c: Likewise.
61287         * sunrpc/xdr_array.c: Likewise.
61288         * sunrpc/xdr_float.c: Likewise.
61289         * sunrpc/xdr_intXX_t.c: Likewise.
61290         * sunrpc/xdr_mem.c: Likewise.
61291         * sunrpc/xdr_rec.c: Likewise.
61292         * sunrpc/xdr_ref.c: Likewise.
61293         * sunrpc/xdr_sizeof.c: Likewise.
61294         * sunrpc/xdr_stdio.c: Likewise.
61296 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
61298         [BZ #12650]
61299         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
61300         * sysdeps/ia64/dl-tls.h: Likewise.
61301         * sysdeps/powerpc/dl-tls.h: Likewise.
61302         * sysdeps/s390/dl-tls.h: Likewise.
61303         * sysdeps/sh/dl-tls.h: Likewise.
61304         * sysdeps/sparc/dl-tls.h: Likewise.
61305         * sysdeps/x86_64/dl-tls.h: Likewise.
61306         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
61308 2011-03-14  Andreas Schwab  <schwab@redhat.com>
61310         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
61311         rpath element also skip the following colon.
61312         (expand_dynamic_string_token): Add is_path parameter and pass
61313         down to DL_DST_REQUIRED and _dl_dst_substitute.
61314         (decompose_rpath): Call expand_dynamic_string_token with
61315         non-zero is_path.  Ignore empty rpaths.
61316         (_dl_map_object_from_fd): Call expand_dynamic_string_token
61317         with zero is_path.
61319 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
61321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
61322         Make cancelable.
61324 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
61326         [BZ #12655]
61327         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
61328         Patch by Filipe David Manana <fdmanana@apache.org>.
61330 2011-04-07  Andreas Schwab  <schwab@redhat.com>
61332         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
61333         Maintain aligned stack.
61334         (CHECK_RSP): Remove unused macro.
61336 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
61338         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
61339         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
61341 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
61343         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
61345         * include/features.h: Mention __USE_XOPEN2K8 in comment.
61347 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
61349         [BZ #12518]
61350         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
61351         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
61352         * sysdeps/x86_64/memmove.c: New file.
61353         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
61354         (memcpy): Renamed to ...
61355         (__new_memcpy): This.
61356         (memcpy): Provide GLIBC_2_14 memcpy.
61357         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
61358         (memcpy): Provide GLIBC_2_2_5 memcpy.
61360 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
61362         [BZ #12631]
61363         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
61365 2011-03-30  Andreas Schwab  <schwab@redhat.com>
61367         * misc/syncfs.c: New file.
61368         * misc/Makefile (routines): Add syncfs.
61369         * posix/unistd.h: Declare syncfs.
61370         * sysdeps/unix/syscalls.list: Add syncfs.
61372 2011-04-01  Andreas Schwab  <schwab@redhat.com>
61374         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
61375         open_by_handle_at.
61376         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
61377         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61378         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61379         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61380         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61381         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
61382         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61384 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
61386         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
61387         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61388         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
61389         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61390         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61391         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61392         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61394         * io/Makefile: Compile fallocate.c, fallocate64.c, and
61395         sync_file_range.c with -fexceptions.
61396         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
61397         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
61398         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
61399         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
61400         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
61401         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
61402         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
61403         sync_file_range as cancellation point
61404         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
61405         now a wrapper around __call_sync_file_range with cancellation handling.
61406         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
61407         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
61408         function name to __call_sync_file_range.
61409         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
61410         Add call_sync_file_range.
61412 2011-04-01  Andreas Schwab  <schwab@redhat.com>
61414         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61415         bits/timex.h.
61417 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
61419         * iconv/iconv.h: Fix typo in comment.
61420         * io/fcntl.h: Likewise.
61421         * libio/stdio.h: Likewise.
61422         * posix/spawn.h: Likewise.
61423         * posix/unistd.h: Likewise.
61424         * stdlib/stdlib.h: Likewise.
61425         * time/time.h: Likewise.
61426         * wcsmbs/wchar.h: Likewise.
61428         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
61429         open_by_handle): Add.
61430         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
61431         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
61432         Augment a few comments.
61433         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61434         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61435         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61436         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61437         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61438         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
61439         open_by_handle.
61441         * io/fcntl.h (AT_EMPTY_PATH): Define.
61443 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
61445         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
61446         * sysdeps/unix/sysv/linux/bits/time.h: New file.
61447         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
61448         to...
61449         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
61450         * Versions.def: Add GLIBC_2.14.
61451         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
61452         Export.
61454 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
61456         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
61457         round counter.
61458         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
61460 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
61462         [BZ #12597]
61463         * string/test-strncmp.c (do_page_test): New function.
61464         (check2): Likewise.
61465         (test_main): Call check2.
61466         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
61468 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
61470         [BZ #12587]
61471         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
61472         Handle cache information in CPU leaf 4.
61473         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
61475 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
61477         [BZ #12583]
61478         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
61479         character representation.
61480         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
61482 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
61484         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
61485         END(__isnan) to END(__isnanf) to match function entry point/label
61486         EALIGN(__isnanf,...).
61488 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
61490         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
61492 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
61494         [BZ #12510]
61495         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
61496         copy from the symbol referenced in the relocation to initialize the
61497         used variable.
61498         Patch by Piotr Bury <pbury@goahead.com>.
61499         * elf/Makefile: Add rules to build and tst-unique3.
61500         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
61501         * elf/tst-unique3.cc: New file.
61502         * elf/tst-unique3.h: New file.
61503         * elf/tst-unique3lib.cc: New file.
61504         * elf/tst-unique3lib2.cc: New file.
61506         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
61508 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
61510         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
61511         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
61512         to _start.
61514 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
61516         * elf/dl-load.c (_dl_map_object): If we are looking for the first
61517         to-be-loaded object along a path to loader is ld.so.
61519 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
61520             Ulrich Drepper  <drepper@gmail.com>
61522         * sysdeps/x86_64/memset.S: After aligning destination, code
61523         branches to different locations depending on the value of
61524         misalignment, when multiarch is enabled. Fix this.
61526 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
61528         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
61529         Set _x86_64_preferred_memory_instruction for AMD processsors.
61530         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61531         Set bit_Prefer_SSE_for_memop for AMD processors.
61533 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
61535         * libio/fmemopen.c (fmemopen): Optimize a bit.
61537 2011-03-03  Andreas Schwab  <schwab@redhat.com>
61539         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
61541 2011-03-03  Roland McGrath  <roland@redhat.com>
61543         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
61545 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
61547         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
61548         __bzero_ultra1 instead of __memset_ultra1.
61550 2011-02-23  Andreas Schwab  <schwab@redhat.com>
61551             Ulrich Drepper  <drepper@gmail.com>
61553         [BZ #12509]
61554         * include/link.h (struct link_map): Add l_orig_initfini.
61555         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
61556         returning unsuccessfully.
61557         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
61558         close of a file loaded at startup, restore the original l_initfini
61559         list.
61560         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
61561         list, store the pointer.
61562         * elf/Makefile ($(objpfx)noload-mem): New rule.
61563         (noload-ENV): Define.
61564         (tests): Add $(objpfx)noload-mem.
61565         * elf/noload.c: Include <memcheck.h>.
61566         (main): Call mtrace.  Close all opened handles.
61568 2011-02-17  Andreas Schwab  <schwab@redhat.com>
61570         [BZ #12454]
61571         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
61572         dependencies are missing.
61574 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61576         Fix __if_freereq crash: Unlike the generic version which uses free,
61577         Hurd needs munmap.
61578         * sysdeps/mach/hurd/ifreq.h: New file.
61580 2011-01-27  Petr Baudis  <pasky@suse.cz>
61581             Ulrich Drepper  <drepper@gmail.com>
61583         [BZ 12445]#
61584         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
61585         to extend_alloca().
61586         * stdio-common/bug23.c: New file.
61587         * stdio-common/Makefile (tests): Add bug23.
61589 2010-09-28  Andreas Schwab  <schwab@redhat.com>
61590             Ulrich Drepper  <drepper@gmail.com>
61592         [BZ #12489]
61593         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
61594         before performing relro protection.  At old place add assertion
61595         to make sure nothing changed.
61597 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
61598             Glauber de Oliveira Costa  <glommer@gmail.com>
61600         * elf/elf.h: Add new ARM TLS relocs.
61602 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
61604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
61605         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
61606         cast from r3.
61607         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
61608         'tests' variable.
61609         * sysdeps/wordsize-64/tst-writev.c: New file.
61611 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
61613         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
61614         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
61615         insns in _dl_start to prevent a TOC reference before relocs are
61616         resolved.
61618 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
61620         [BZ #12469]
61621         * Makeconfig: Remove RANLIB definition.
61622         * Makerules: Don't use RANLIB.
61623         * aclocal.m4: Remove ranlib test.
61624         * configure.in: No need to check for ranlib.
61625         * elf/rtld-Rules: Don't use RANLIB.
61627 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61629         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
61630         protection macro.
61631         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
61632         inclusion protection macro.
61634         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
61635         SIGRTMIN and SIGRTMAX and print information in that case only when
61636         SIGRTMIN is defined.
61638 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
61640         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
61641         arginfo fn returning -1.
61643         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
61644         and thousands string is zero terminated.
61646 2011-02-03  Andreas Schwab  <schwab@redhat.com>
61648         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
61649         sysdeps/unix/sysv/linux/bits/socket.h.
61651 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61653         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
61654         (__CPU_COUNT): Remove old macros.
61655         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
61656         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
61657         (__CPU_ALLOC, __CPU_FREE): Add macros.
61658         (__sched_cpualloc, __sched_cpufree): Add declarations.
61660 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
61662         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
61663         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
61664         * nscd/aicache.c (addhstaiX): Return timeout of added value.
61665         (readdhstai): Return value of addhstaiX call.
61666         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
61667         (addgrbyX): Return value returned by cache_addgr.
61668         (readdgrbyname): Return value returned by addgrbyX.
61669         (readdgrbygid): Likewise.
61670         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
61671         (addpwbyX): Return value returned by cache_addpw.
61672         (readdpwbyname): Return value returned by addhstbyX.
61673         (readdpwbyuid): Likewise.
61674         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
61675         (addservbyX): Return value returned by cache_addserv.
61676         (readdservbyname): Return value returned by addservbyX:
61677         (readdservbyport): Likewise.
61678         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
61679         (addhstbyX): Return value returned by cache_addhst.
61680         (readdhstbyname): Return value returned by addhstbyX.
61681         (readdhstbyaddr): Likewise.
61682         (readdhstbynamev6): Likewise.
61683         (readdhstbyaddrv6): Likewise.
61684         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
61685         (readdinitgroups): Return value returned by addinitgroupsX.
61686         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
61687         (prune_cache): Keep track of timeout value of re-added entries.
61688         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
61689         * nscd/nscd.h: Adjust prototypes of readd* functions.
61691 2011-02-04  Roland McGrath  <roland@redhat.com>
61693         * nis/nis_server.c (nis_servstate): Use the right name for 0.
61694         (nis_stats): Likewise.
61695         * nis/nis_modify.c (nis_modify): Likewise.
61696         * nis/nis_remove.c (nis_remove): Likewise.
61697         * nis/nis_add.c (nis_add): Likewise.
61699         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
61701         * posix/fnmatch_loop.c: Add some consts.
61703         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
61705 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
61707         [BZ #12460]
61708         * config.make.in (config-cflags-novzeroupper): Define.
61709         * configure.in: Substitute libc_cv_cc_novzeroupper.
61710         * elf/Makefile (AVX-CFLAGS): Define.
61711         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
61712         (CFLAGS-tst-auditmod4a.c): Likewise.
61713         (CFLAGS-tst-auditmod4b.c): Likewise.
61714         (CFLAGS-tst-auditmod6b.c): Likewise.
61715         (CFLAGS-tst-auditmod6c.c): Likewise.
61716         (CFLAGS-tst-auditmod7b.c): Likewise.
61717         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
61719 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
61721         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
61722         function to the callback.
61723         Patch partly by Jiri Olsa <jolsa@redhat.com>.
61725 2011-02-02  Andreas Schwab  <schwab@redhat.com>
61727         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
61728         of errno.
61730 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
61732         [BZ #11724]
61733         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
61734         of constructors.
61735         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
61736         of destructors.
61737         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
61739         [BZ #11724]
61740         * elf/Makefile: Add rules to build and run new test.
61741         * elf/tst-initorder.c: New file.
61742         * elf/tst-initorder.exp: New file.
61743         * elf/tst-initordera1.c: New file.
61744         * elf/tst-initordera2.c: New file.
61745         * elf/tst-initordera3.c: New file.
61746         * elf/tst-initordera4.c: New file.
61747         * elf/tst-initorderb1.c: New file.
61748         * elf/tst-initorderb2.c: New file.
61749         * elf/tst-order-a1.c: New file.
61750         * elf/tst-order-a2.c: New file.
61751         * elf/tst-order-a3.c: New file.
61752         * elf/tst-order-a4.c: New file.
61753         * elf/tst-order-b1.c: New file.
61754         * elf/tst-order-b2.c: New file.
61755         * elf/tst-order-main.c: New file.
61756         New test case by George Gensure <werkt0@gmail.com>.
61758 2010-10-01  Andreas Schwab  <schwab@redhat.com>
61760         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
61761         decoding ACE if AI_CANONIDN.
61763 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
61765         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
61767 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
61769         * version.h (RELEASE): Bump for 2.13 release.
61770         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
61772         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
61774         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
61775         MADV_NOHUGEPAGE.
61776         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
61777         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
61778         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
61779         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
61780         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
61781         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
61783         * posix/getconf.c: Update copyright year.
61784         * catgets/gencat.c: Likewise.
61785         * csu/version.c: Likewise.
61786         * debug/catchsegv.sh: Likewise.
61787         * debug/xtrace.sh: Likewise.
61788         * elf/ldconfig.c: Likewise.
61789         * elf/ldd.bash.in: Likewise.
61790         * elf/sprof.c (print_version): Likewise.
61791         * iconv/iconv_prog.c: Likewise.
61792         * iconv/iconvconfig.c: Likewise.
61793         * locale/programs/locale.c: Likewise.
61794         * locale/programs/localedef.c: Likewise.
61795         * malloc/memusage.sh: Likewise.
61796         * malloc/mtrace.pl: Likewise.
61797         * nscd/nscd.c (print_version): Likewise.
61798         * nss/getent.c: Likewise.
61800         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
61801         PF_CAIF, and PF_ALG.
61802         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
61804 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
61806         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
61807         (modules-names): Use them.
61808         (ifunc-test-modules, ifunc-pie-tests): Define.
61809         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
61810         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
61811         (test-extras): Likewise.
61812         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
61813         $(compile-command.c).
61814         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
61815         (all-built-dso): Define.
61816         (check-textrel.out, check-execstack.out): Depend on it.
61818         * configure.in: Don't override --enable-multi-arch.
61820 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
61822         [BZ #6812]
61823         * nscd/hstcache.c (tryagain): Define.
61824         (cache_addhst): Return tryagain not notfound for temporary errors.
61825         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
61826         failed.
61828 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
61830         [BZ #10563]
61831         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
61832         to make the syscall.
61833         * sysdeps/unix/sysv/linux/setgroups.c: New file.
61835         [BZ #12378]
61836         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
61837         and fall back to matching as normal character if the string ends before
61838         the matching ']' is found.  This is what POSIX requires.
61839         * posix/testfnm.c: Adjust test result.
61840         * posix/globtest.sh: Adjust test result.  Add new test.
61841         * posix/tst-fnmatch.input: Likewise.
61842         * posix/tst-fnmatch2.c: Add new test.
61844 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
61846         * elf/Makefile (check-execstack): Revert last change.  Depend on
61847         check-execstack.h.
61848         (check-execstack.h): New target.
61849         (generated): Add check-execstack.h.
61850         * elf/check-execstack.c: Include "check-execstack.h".
61851         (main): Revert last change.
61852         (handle_file): Return zero if GNU_STACK is absent and
61853         DEFAULT_STACK_PERMS doesn't include PF_X.
61855 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
61857         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
61858         in child fails because the descriptor is already closed.
61859         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
61860         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
61861         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
61863         [BZ #12397]
61864         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
61865         syscall.
61867         [BZ #10484]
61868         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
61869         temporary buffer used to handle multi lookups locally.
61870         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
61872 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
61874         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
61875         loader is ld.so.
61877 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
61879         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
61880         alignment for SSE2.
61882 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
61884         [BZ #12394]
61885         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
61886         characters.  When rounding increased number of integer digits recompute
61887         number of groups.
61888         * stdio-common/tst-grouping.c: New file.
61889         * stdio-common/Makefile: Add rules to build and run tst-grouping.
61891 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
61893         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
61894         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
61896         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
61897         void.
61898         * bits/select.h: Likewise.
61900 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
61902         * po/ja.po: Update from translation team.
61904 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
61906         [BZ #11155]
61907         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
61908         implementation just like for lxstat, fxstatat, et al.
61910 2010-12-27  Jim Meyering  <meyering@redhat.com>
61912         [BZ #12348]
61913         * posix/regexec.c (build_trtable): Return failure indication upon
61914         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
61916 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
61918         [BZ #12201]
61919         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
61920         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
61921         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
61922         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
61924         [BZ #12207]
61925         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
61927         [BZ #12204]
61928         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
61929         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
61931 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
61933         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
61934         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
61935         script has SORT_BY_INIT_PRIORITY.
61936         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
61937         NO_CTORS_DTORS_SECTIONS is defined.
61938         * elf/soinit.c: Likewise.
61939         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
61940         NO_CTORS_DTORS_SECTIONS is defined.
61941         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
61942         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
61943         * sysdeps/sh/init-first.c: Likewise.
61944         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
61946 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
61948         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
61949         always use the slow path.
61951 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
61953         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
61954         similar rule which adds the sysdep directories to the header search in
61955         order to pick up the correct platform stackinfo.h.
61956         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
61957         perform test if it is, otherwise return successfully without testing.
61958         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
61959         DEFAULT_STACK_PERMS define in stackinfo.h.
61960         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
61961         defined in stackinfo.h.
61962         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
61963         DEFAULT_STACK_PERMS defined in stackinfo.h.
61964         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
61965         * sysdeps/ia64/stackinfo.h: Likewise.
61966         * sysdeps/s390/stackinfo.h: Likewise.
61967         * sysdeps/sh/stackinfo.h: Likewise.
61968         * sysdeps/sparc/stackinfo.h: Likewise.
61969         * sysdeps/x86_64/stackinfo.h: Likewise.
61970         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
61971         PF_X for powerpc64.  Retain PF_X for powerpc32.
61973 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
61975         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
61976         accurately.
61977         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
61978         GETDENTS_64BIT_ALIGNED.
61980 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
61982         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
61984 2010-12-10  Andreas Schwab  <schwab@redhat.com>
61986         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
61987         _GNU_SOURCE.
61989         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
61990         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
61991         Remove __restrict.
61992         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
61993         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
61995 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
61997         [BZ #11655]
61998         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
61999         are initialized.
62001 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
62003         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
62005 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
62007         * po/it.po: Update from translation team.
62009 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
62011         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
62012         unused codes.
62014 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
62016         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
62018 2010-11-24  Andreas Schwab  <schwab@redhat.com>
62020         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
62021         specially.
62022         (gaih_getanswer_slice): Likewise.
62024 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
62026         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
62028 2010-05-31  Petr Baudis  <pasky@suse.cz>
62030         [BZ #11149]
62031         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
62032         silently even in the chroot mode.
62034 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
62036         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
62037         last patch a bit.  Pretty printing
62039 2010-05-31  Petr Baudis <pasky@suse.cz>
62041         [BZ #10085]
62042         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
62043         initialization of skip_initgroups_dyn.
62045 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
62047         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
62048         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
62050 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
62052         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
62054 2010-11-11  Andreas Schwab  <schwab@redhat.com>
62056         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
62057         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
62058         (tst-fnmatch-ENV): Set MALLOC_TRACE.
62059         ($(objpfx)tst-fnmatch-mem): New rule.
62060         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
62061         * posix/tst-fnmatch.c (main): Call mtrace.
62063 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
62065         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62066         Support Intel processor model 6 and model 0x2c.
62068 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
62070         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
62071           signed comparison.
62073 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
62075         [BZ #12205]
62076         * string/test-strncasecmp.c (check_result): New function.
62077         (do_one_test): Use it.
62078         (check1): New function.
62079         (test_main): Use it.
62080         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
62081         Support strcasecmp and strncasecmp.
62083 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
62085         [BZ #12194]
62086         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
62087         * sysdeps/x86_64/bits/byteswap.h: Likewise.
62089 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
62091         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
62092         IFUNC support.
62093         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62094         memset-x86-64.
62095         * sysdeps/x86_64/multiarch/bzero.S: New file.
62096         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
62097         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
62098         * sysdeps/x86_64/multiarch/memset.S: New file.
62099         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
62100         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62101         Set bit_Prefer_SSE_for_memop for Intel processors.
62102         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
62103         Define.
62104         (index_Prefer_SSE_for_memop): Define.
62105         (HAS_PREFER_SSE_FOR_MEMOP): Define.
62107 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
62109         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
62110         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
62112 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
62114         [BZ #12191]
62115         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
62116         (__x86_64_raw_data_cache_size_half): Likewise.
62117         (__x86_64_raw_shared_cache_size): Likewise.
62118         (__x86_64_raw_shared_cache_size_half): Likewise.
62120         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
62121         (__x86_64_raw_data_cache_size_half): Likewise.
62122         (__x86_64_raw_shared_cache_size): Likewise.
62123         (__x86_64_raw_shared_cache_size_half): Likewise.
62124         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
62125         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
62126         and __x86_64_raw_shared_cache_size_half.  Round
62127         __x86_64_data_cache_size_half, __x86_64_data_cache_size
62128         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
62129         to multiple of 256 bytes.
62131 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
62133         [BZ #12167]
62134         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
62135         of inacessible symlinks.  Verify result of symlink before returning it.
62136         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
62137         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
62139 2010-10-28  Erich Ritz  <erichritz@gmail.com>
62141         * math/math.h (isinf): Fix typo in comment.
62143 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
62145         * po/da.po: Update from translation team.
62147 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
62149         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
62150         is added to the list.
62152 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62153             Ulrich Drepper  <drepper@gmail.com>
62155         * elf/dl-object.c (_dl_new_object): Don't append the new object to
62156         the global list here.  Move code to...
62157         (_dl_add_to_namespace_list): ...here.  New function.
62158         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
62159         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
62160         * elf/dl-load.c (lose): Don't remove the element from the list.
62161         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
62162         (_dl_map_object): Likewise.
62164 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
62166         [BZ #12159]
62167         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
62168         into all bytes of SSE register.
62169         Patch by Richard Li <richardpku@gmail.com>.
62171 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
62173         [BZ #12140]
62174         * malloc/malloc.c (_int_free): Fill correct number of bytes when
62175         perturbing.
62177 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
62179         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
62180         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
62181         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
62182         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
62183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
62184         submachine.
62185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
62187 2010-10-22  Andreas Schwab  <schwab@redhat.com>
62189         * include/dlfcn.h (__RTLD_SECURE): Define.
62190         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
62191         mode & __RTLD_SECURE instead.
62192         (open_path): Rename preloaded parameter to secure.
62193         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
62194         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
62195         * elf/dl-deps.c (openaux): Likewise.
62196         * elf/rtld.c (struct map_args): Remove is_preloaded.
62197         (map_doit): Don't use it.
62198         (dl_main): Likewise.
62199         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
62200         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
62202 2010-09-09  Andreas Schwab  <schwab@redhat.com>
62204         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
62205         (sysd-rules-targets): Remove duplicates.
62206         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
62207         rtld-%.$o dependency.
62209 2010-10-18  Andreas Schwab  <schwab@redhat.com>
62211         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
62212         _dl_map_object do it.
62214 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
62216         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
62217         fast fma builtins, define the macros in the C99 standard.
62218         (FP_FAST_FMAF): Likewise.
62219         (FP_FAST_FMAL): Likewise.
62220         * sysdeps/x86_64/bits/mathdef.h: Likewise.
62222         * bits/mathdef.h: Update copyright year.
62223         * sysdeps/powerpc/bits/mathdef.h: Likewise.
62225 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
62227         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
62228         builtins, define the macros in the C99 standard.
62229         (FP_FAST_FMAF): Likewise.
62230         (FP_FAST_FMAL): Likewise.
62231         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
62232         multiply/add.
62233         (FP_FAST_FMAF): Likewise.
62235 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
62237         [BZ #3268]
62238         * math/libm-test.inc (fma_test): Some new testcases.
62239         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
62240         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
62241         y and infinite z.  Do multiplication by C already in long double.
62242         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
62243         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
62244         y and infinite z.  Do bitwise or of inexact bit into u.d.
62245         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
62246         * sysdeps/i386/fpu/s_fmaf.S: Removed.
62247         * sysdeps/i386/fpu/s_fma.S: Removed.
62248         * sysdeps/i386/fpu/s_fmal.S: Removed.
62250 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
62252         [BZ #3268]
62253         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
62254         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
62255         computation is not scheduled after fetestexcept.  Fix value
62256         of minimum denormal long double.
62258 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
62260         [BZ #3268]
62261         * math/libm-test.inc (fma_test): Add some more tests.
62262         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
62263         correctly.
62265 2010-10-15  Andreas Schwab  <schwab@redhat.com>
62267         * scripts/data/localplt-s390-linux-gnu.data: New file.
62268         * scripts/data/localplt-s390x-linux-gnu.data: New file.
62270 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
62272         [BZ #3268]
62273         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
62274         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
62275         instead of dbl-64.
62276         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
62277         inlines.
62278         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
62279         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
62280         if one of x and y is very large and the other is subnormal.
62281         * sysdeps/s390/fpu/s_fmaf.c: New file.
62282         * sysdeps/s390/fpu/s_fma.c: New file.
62283         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
62284         * sysdeps/powerpc/fpu/s_fma.S: New file.
62285         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
62286         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
62287         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
62289 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
62291         [BZ #3268]
62292         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
62293         fma tests.
62294         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
62295         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
62296         * sysdeps/i386/i686/multiarch/s_fma.c: Include
62297         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
62298         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
62299         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
62300         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
62302 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
62304         [BZ #12078]
62305         * posix/regcomp.c (parse_branch): One more memory leak plugged.
62306         * posix/bug-regex31.input: Add test case.
62308 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
62310         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
62311         * posix/bug-regex31.input: New file.
62313         [BZ #12078]
62314         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
62315         (parse_sub_exp): Fix last change, use postorder.
62317         * posix/bug-regex31.c: New file.
62318         * posix/Makefile: Add rules to build and run bug-regex31.
62320         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
62322         [BZ #12078]
62323         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
62325         [BZ #12108]
62326         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
62327         to have entries in sys_siglist.
62329         [BZ #12093]
62330         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
62331         be NULL.
62333 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
62335         [BZ #3268]
62336         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
62337         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
62338         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
62339         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
62340         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
62341         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
62342         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
62343         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
62344         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
62345         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
62346         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
62347         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
62348         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
62349         * math/ftestexcept.c (fetestexcept): Likewise.
62350         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
62351         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
62352         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
62353         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
62354         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
62355         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
62356         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
62358 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
62360         [BZ #12107]
62361         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
62362         newline.
62364 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
62366         * string/bug-strstr1.c: New file.
62367         * string/Makefile: Add rules to build and run bug-strstr1.
62369 2010-10-05  Eric Blake  <eblake@redhat.com>
62371         [BZ #12092]
62372         * string/str-two-way.h (two_way_long_needle): Always clear memory
62373         when skipping input due to the shift table.
62375 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
62377         [BZ #12005]
62378         * malloc/mcheck.c: Handle large requests.
62380         [BZ #12077]
62381         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
62382         for strncmp and strncasecmp.
62383         * string/stratcliff.c: Add tests for strcmp and strncmp.
62384         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
62386 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62388         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
62389         __set_fpscr.
62391 2010-09-30  Andreas Jaeger  <aj@suse.de>
62393         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
62394         (CGROUP_SUPER_MAGIC): Define.
62395         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62396         Handle btrfs and cgroup file systems.
62397         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
62398         Likewise.
62400 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
62402         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
62403         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
62405 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62407         [BZ #12067]
62408         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
62409         trying to locate the ELF header.
62411 2010-09-27  Andreas Schwab  <schwab@redhat.com>
62413         [BZ #11611]
62414         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
62415         Mask out sign-bit copies when constructing f_fsid.
62417 2010-09-24  Petr Baudis <pasky@suse.cz>
62419         * debug/stack_chk_fail_local.c: Add missing licence exception.
62420         * debug/warning-nop.c: Likewise.
62422 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
62424         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
62425         implementing getdents64 using getdents syscall, set d_type if
62426         __ASSUME_GETDENTS32_D_TYPE.
62428 2010-09-16  Andreas Schwab  <schwab@redhat.com>
62430         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
62431         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
62433 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
62435         [BZ #12037]
62436         * posix/unistd.h: Undo change of feature selection for ftruncate from
62437         2010-01-11.
62439 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
62441         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
62442         detection.
62444 2010-09-20  Andreas Schwab  <schwab@redhat.com>
62446         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
62447         fanotify_mark.
62448         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
62450 2010-09-14  Andreas Schwab  <schwab@redhat.com>
62452         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
62453         variables after CHECK_SP call.
62454         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
62456 2010-09-13  Andreas Schwab  <schwab@redhat.com>
62457             Ulrich Drepper  <drepper@redhat.com>
62459         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
62460         re-relocationg ld.so.
62461         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
62462         _dl_init_paths call.
62463         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
62464         here anymore.
62466 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
62468         * resolv/res_init.c (__res_vinit): Count the default server we added.
62470 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
62471             Ulrich Drepper  <drepper@redhat.com>
62473         [BZ #11968]
62474         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
62475         (____longjmp_chk): Use %ebx for saving value across system call.
62476         Add unwind info.
62478 2010-09-06  Andreas Schwab  <schwab@redhat.com>
62480         * manual/Makefile: Don't mix pattern rules with normal rules.
62482 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
62484         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
62485         operation.
62486         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
62487         * libio/iofopncook.c (_IO_cookie_init): Likewise.
62488         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
62489         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
62490         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
62491         Likewise.
62493 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
62495         [BZ #11979]
62496         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
62497         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
62499 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
62501         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
62502         * sysdeps/x86_64/addmul_1.S: Likewise.
62503         * sysdeps/x86_64/lshift.S: Likewise.
62504         * sysdeps/x86_64/mul_1.S: Likewise.
62505         * sysdeps/x86_64/rshift.S: Likewise.
62506         * sysdeps/x86_64/sub_n.S: Likewise.
62507         * sysdeps/x86_64/submul_1.S: Likewise.
62509 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62511         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
62512         Define __sched_param instead of SCHED_* and sched_param when
62513         <bits/sched.h> is included with __need_schedparam defined.
62514         * bits/sched.h [__need_schedparam]
62515         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
62516         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
62517         (__defined_schedparam): Define to 1.
62518         (__sched_param): New structure, identical to sched_param.
62519         (__need_schedparam): Undefine.
62521 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
62523         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
62524         (epoll_create1): Declare.
62526         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
62528 2010-08-31  Andreas Schwab  <schwab@redhat.com>
62530         [BZ #7066]
62531         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
62532         shifting retval into place.
62534 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
62536         * nis/rpcsvc/nis.h: Update copyright notice.
62537         * nis/rpcsvc/nis.x: Likewise.
62538         * nis/rpcsvc/nis_callback.h: Likewise.
62539         * nis/rpcsvc/nis_callback.x: Likewise.
62540         * nis/rpcsvc/nis_object.x: Likewise.
62541         * nis/rpcsvc/nis_tags.h: Likewise.
62542         * nis/rpcsvc/yp.h: Likewise.
62543         * nis/rpcsvc/yp.x: Likewise.
62544         * nis/rpcsvc/ypupd.h: Likewise.
62545         * nis/yp_xdr.c: Likewise.
62546         * nis/ypupdate_xdr.c: Likewise.
62548         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
62549         mainly the body of pmap_getport.  Add parameters to specify timeouts.
62550         (pmap_getport): Use __libc_rpc_getport.
62551         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
62552         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
62553         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
62555 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
62557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
62558         fanotify_mark.
62560 2010-08-27  Roland McGrath  <roland@redhat.com>
62562         * sysdeps/i386/i686/multiarch/Makefile
62563         (CFLAGS-varshift.c): New variable.
62565 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
62567         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
62568         * sysdeps/i386/i686/multiarch/varshift.c: New file.
62570         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
62572         * sysdeps/x86_64/strlen.S: Minimal code improvement.
62574 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
62576         * sysdeps/x86_64/strlen.S: Unroll the loop.
62577         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62578         strlen-sse2 strlen-sse2-bsf.
62579         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
62580         __strlen_no_bsf if bit_Slow_BSF is set.
62581         (__strlen_sse42): Removed.
62582         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
62583         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
62585 2010-08-25  Roland McGrath  <roland@redhat.com>
62587         * sysdeps/x86_64/multiarch/varshift.S: File removed.
62588         * sysdeps/x86_64/multiarch/varshift.c: New file.
62589         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
62590         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
62591         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
62592         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
62594 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
62596         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62597         strlen-sse2 strlen-sse2-bsf.
62598         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
62599         __strlen_sse2_bsf if bit_Slow_BSF is unset.
62600         (__strlen_sse2): Removed.
62601         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
62602         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
62603         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
62604         bit_Slow_BSF for Atom.
62605         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
62606         (index_Slow_BSF): Define.
62607         (HAS_SLOW_BSF): Define.
62609 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
62611         [BZ #10851]
62612         * resolv/res_init.c (__res_vinit): When no server address at all
62613         is given default to loopback.
62615 2010-08-24  Roland McGrath  <roland@redhat.com>
62617         * configure.in: Remove config-name.h generation.
62618         * configure: Regenerated.
62619         * config-name.in: File removed.
62620         * scripts/config-uname.sh: New file.
62621         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
62622         ($(objdir)config-name.h): New target.
62624         * sunrpc/rpc_parse.h: Avoid nested comment.
62626 2010-08-24  Richard Henderson  <rth@redhat.com>
62627             Ulrich Drepper  <drepper@redhat.com>
62628             H.J. Lu  <hongjiu.lu@intel.com>
62630         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
62631         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
62632         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
62633         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
62634         _mm_alignr_epi8 with _mm_loadu_si128.
62635         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
62636         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
62637         (__m128i_shift_right): Removed.
62638         * sysdeps/i386/i686/multiarch/varshift.h: New file.
62639         * sysdeps/i386/i686/multiarch/varshift.S: New file.
62640         * sysdeps/x86_64/multiarch/varshift.h: New file.
62641         * sysdeps/x86_64/multiarch/varshift.S: New file.
62643 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
62645         * configure.in: Move assembler checks to before sysdep dir checking.
62647 2010-08-20  Petr Baudis  <pasky@suse.cz>
62649         * LICENSES: Sync the sunrpc license.
62651 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
62653         * sunrpc/auth_des.c: Update copyright notice once again.
62654         * sunrpc/auth_none.c: Likewise.
62655         * sunrpc/auth_unix.c: Likewise.
62656         * sunrpc/authdes_prot.c: Likewise.
62657         * sunrpc/authuxprot.c: Likewise.
62658         * sunrpc/bindrsvprt.c: Likewise.
62659         * sunrpc/clnt_gen.c: Likewise.
62660         * sunrpc/clnt_perr.c: Likewise.
62661         * sunrpc/clnt_raw.c: Likewise.
62662         * sunrpc/clnt_simp.c: Likewise.
62663         * sunrpc/clnt_tcp.c: Likewise.
62664         * sunrpc/clnt_udp.c: Likewise.
62665         * sunrpc/clnt_unix.c: Likewise.
62666         * sunrpc/des_crypt.c: Likewise.
62667         * sunrpc/des_soft.c: Likewise.
62668         * sunrpc/get_myaddr.c: Likewise.
62669         * sunrpc/getrpcport.c: Likewise.
62670         * sunrpc/key_call.c: Likewise.
62671         * sunrpc/key_prot.c: Likewise.
62672         * sunrpc/openchild.c: Likewise.
62673         * sunrpc/pm_getmaps.c: Likewise.
62674         * sunrpc/pm_getport.c: Likewise.
62675         * sunrpc/pmap_clnt.c: Likewise.
62676         * sunrpc/pmap_prot.c: Likewise.
62677         * sunrpc/pmap_prot2.c: Likewise.
62678         * sunrpc/pmap_rmt.c: Likewise.
62679         * sunrpc/rpc/auth.h: Likewise.
62680         * sunrpc/rpc/auth_unix.h: Likewise.
62681         * sunrpc/rpc/clnt.h: Likewise.
62682         * sunrpc/rpc/des_crypt.h: Likewise.
62683         * sunrpc/rpc/key_prot.h: Likewise.
62684         * sunrpc/rpc/netdb.h: Likewise.
62685         * sunrpc/rpc/pmap_clnt.h: Likewise.
62686         * sunrpc/rpc/pmap_prot.h: Likewise.
62687         * sunrpc/rpc/pmap_rmt.h: Likewise.
62688         * sunrpc/rpc/rpc.h: Likewise.
62689         * sunrpc/rpc/rpc_des.h: Likewise.
62690         * sunrpc/rpc/rpc_msg.h: Likewise.
62691         * sunrpc/rpc/svc.h: Likewise.
62692         * sunrpc/rpc/svc_auth.h: Likewise.
62693         * sunrpc/rpc/types.h: Likewise.
62694         * sunrpc/rpc/xdr.h: Likewise.
62695         * sunrpc/rpc_clntout.c: Likewise.
62696         * sunrpc/rpc_cmsg.c: Likewise.
62697         * sunrpc/rpc_common.c: Likewise.
62698         * sunrpc/rpc_cout.c: Likewise.
62699         * sunrpc/rpc_dtable.c: Likewise.
62700         * sunrpc/rpc_hout.c: Likewise.
62701         * sunrpc/rpc_main.c: Likewise.
62702         * sunrpc/rpc_parse.c: Likewise.
62703         * sunrpc/rpc_parse.h: Likewise.
62704         * sunrpc/rpc_prot.c: Likewise.
62705         * sunrpc/rpc_sample.c: Likewise.
62706         * sunrpc/rpc_scan.c: Likewise.
62707         * sunrpc/rpc_scan.h: Likewise.
62708         * sunrpc/rpc_svcout.c: Likewise.
62709         * sunrpc/rpc_tblout.c: Likewise.
62710         * sunrpc/rpc_util.c: Likewise.
62711         * sunrpc/rpc_util.h: Likewise.
62712         * sunrpc/rpcinfo.c: Likewise.
62713         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
62714         * sunrpc/rpcsvc/key_prot.x: Likewise.
62715         * sunrpc/rpcsvc/klm_prot.x: Likewise.
62716         * sunrpc/rpcsvc/mount.x: Likewise.
62717         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
62718         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
62719         * sunrpc/rpcsvc/rex.x: Likewise.
62720         * sunrpc/rpcsvc/rstat.x: Likewise.
62721         * sunrpc/rpcsvc/rusers.x: Likewise.
62722         * sunrpc/rpcsvc/sm_inter.x: Likewise.
62723         * sunrpc/rpcsvc/spray.x: Likewise.
62724         * sunrpc/rpcsvc/yppasswd.x: Likewise.
62725         * sunrpc/rtime.c: Likewise.
62726         * sunrpc/svc.c: Likewise.
62727         * sunrpc/svc_auth.c: Likewise.
62728         * sunrpc/svc_authux.c: Likewise.
62729         * sunrpc/svc_raw.c: Likewise.
62730         * sunrpc/svc_run.c: Likewise.
62731         * sunrpc/svc_simple.c: Likewise.
62732         * sunrpc/svc_tcp.c: Likewise.
62733         * sunrpc/svc_udp.c: Likewise.
62734         * sunrpc/svc_unix.c: Likewise.
62735         * sunrpc/svcauth_des.c: Likewise.
62736         * sunrpc/xcrypt.c: Likewise.
62737         * sunrpc/xdr.c: Likewise.
62738         * sunrpc/xdr_array.c: Likewise.
62739         * sunrpc/xdr_float.c: Likewise.
62740         * sunrpc/xdr_mem.c: Likewise.
62741         * sunrpc/xdr_rec.c: Likewise.
62742         * sunrpc/xdr_ref.c: Likewise.
62743         * sunrpc/xdr_sizeof.c: Likewise.
62744         * sunrpc/xdr_stdio.c: Likewise.
62746         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
62747         handling.
62749 2010-08-19  Andreas Schwab  <schwab@redhat.com>
62751         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
62753 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
62755         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
62756         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
62757         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
62758         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
62759         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
62760         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
62761         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
62762         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
62763         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
62764         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
62765         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
62766         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
62767         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
62768         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
62770 2010-07-26  Anton Blanchard  <anton@samba.org>
62772         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
62773         * malloc/arena.c (heap_trim): Likewise.
62775 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
62777         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
62778         here.  Not...
62779         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
62780         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
62782 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
62784         * sysdeps/i386/elf/Makefile: New file.
62786 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
62788         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
62789         from fanotify_init.
62790         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
62791         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
62793 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
62795         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
62796         of strncasecmp_l.
62797         * sysdeps/multiarch/strcmp.S: Likewise.
62799 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
62801         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
62802         strncase_l-nonascii.
62803         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
62804         Add strncase_l-ssse3.
62805         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
62806         * sysdeps/x86_64/strcmp.S: Likewise.
62807         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
62808         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
62809         * sysdeps/x86_64/strncase.S: New file.
62810         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
62811         * sysdeps/x86_64/strncase_l.S: New file.
62812         * string/Makefile (strop-tests): Add strncasecmp.
62813         * string/test-strncasecmp.c: New file.
62815         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
62816         warning.
62818         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
62819         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
62821 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
62823         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
62825 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
62827         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
62828         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
62829         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
62831 2010-05-01  Alan Modra  <amodra@gmail.com>
62833         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
62834         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
62835         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
62836         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
62837         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
62838         tidying.  Don't tail-call __sigjmp_save for static lib.
62839         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
62840         save location.
62841         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
62842         (CALL_MCOUNT): Add eh info, and nop after bl.
62843         (TAIL_CALL_SYSCALL_ERROR): New macro.
62844         (PSEUDO_RET): Use it.
62845         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
62846         Correct save location of integer regs and cr.
62847         (_dl_profile_resolve): Correct cr save location.  Delete nops
62848         after bl when SHARED.  Reduce cfi size a little by better
62849         placement of cfi directives.
62850         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
62851         make a stack frame.  Instead use parm save area as a temp.
62852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
62853         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
62854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
62855         Don't make a stack frame for parent, use parm save area.
62856         Increase child stack frame to 112 bytes.  Don't save unused reg,
62857         and adjust reg usage.  Set up cfi on error recovery and
62858         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
62859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
62860         (__makecontext): Add dummy nop after jump to exit.
62861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
62862         Use correct parm save area and cr save, reduce stack frame.
62863         Correct cfi for possible PSEUDO_RET frame setup.
62864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
62865         Branch to local label emitted by PSEUDO_RET rather than
62866         __syscall_error.
62868 2010-08-12  Andreas Schwab  <schwab@redhat.com>
62870         [BZ #11904]
62871         * locale/programs/locale.c (print_assignment): New function.
62872         (show_locale_vars): Use it.
62874 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
62876         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
62877         field.
62878         (struct statfs64): Likewise.
62879         (_STATFS_F_FLAGS): Define.
62880         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
62881         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62882         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
62883         (ST_VALID): Define locally.
62884         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
62885         __statvfs_getflags, use the provided value.
62886         * sysdeps/unix/sysv/linux/kernel-features.h: Define
62887         __ASSUME_STATFS_F_FLAGS.
62889         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
62891         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
62892         Add sys/fanotify.h.
62893         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
62894         fanotify_mask for GLIBC_2.13.
62895         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
62896         fanotify_init and fanotify_mark.
62897         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
62898         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
62900         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
62901         Add prlimit.
62902         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
62903         prlimit64 for GLIBC_2.13.
62904         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
62905         prlimit64.
62906         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
62907         syscall.
62908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
62909         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
62910         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
62911         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
62912         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
62913         add prlimit alias.
62914         * sysdeps/unix/sysv/linux/prlimit.c: New file.
62916         [BZ #11903]
62917         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
62918         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
62920         * nss/Makefile: Add rules to build and run tst-nss-test1.
62921         * shlib-versions: Add entry for libnss_test1.
62922         * nss/nss_test1.c: New file.
62923         * nss/tst-nss-test1.c: New file.
62925         * nss/nsswitch.c (__nss_database_custom): Define new variable.
62926         (__nss_configure_lookup): Set appropriate entry in
62927         __nss_configure_lookup to true.
62928         * nss/nsswitch.h: Define enum with indeces of databases in
62929         databases and __nss_database_custom arrays.  Declare
62930         __nss_database_custom.
62931         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
62932         to avoid using nscd when custom rules are installed.
62933         * nss/getXXbyYY_r.c: Likewise.
62934         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
62936         * nss/nss_files/files-parse.c: Whitespace fixes.
62938 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
62940         [BZ #11883]
62941         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
62942         * posix/fnmatch_loop.c: Likewise.
62944 2010-07-17  Andi Kleen  <ak@linux.intel.com>
62946         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
62947         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
62948         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
62949         * Versions.def [GLIBC_2.13]: Add.
62951 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
62953         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
62954         Also fail if tpwd after pwuid call is NULL.
62956 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62958         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
62959         when converting to ms.
62961 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62963         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
62964         EOPNOTSUPP errors with ENOTTY.
62965         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
62966         EOPNOTSUPP errors with ENOTTY.
62968 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
62970         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
62971         Add strcasecmp_l-ssse3.
62972         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
62973         strcasecmp.
62974         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
62975         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
62976         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
62978 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
62980         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
62982         * string/Makefile (strop-tests): Add strcasecmp.
62983         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
62984         strcasecmp_l-nonascii.
62985         (gen-as-const-headers): Add locale-defines.sym.
62986         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
62987         * sysdeps/x86_64/strcasecmp.S: New file.
62988         * sysdeps/x86_64/strcasecmp_l.S: New file.
62989         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
62990         * sysdeps/x86_64/locale-defines.sym: New file.
62991         * string/test-strcasecmp.c: New file.
62993         * string/test-strcasestr.c: Test both ends of the range of characters.
62994         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
62996 2010-07-29  Roland McGrath  <roland@redhat.com>
62998         [BZ #11856]
62999         * manual/locale.texi (Yes-or-No Questions): Fix example code.
63001 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
63003         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
63004         for ld.so.
63006 2010-07-27  Andreas Schwab  <schwab@redhat.com>
63008         * manual/memory.texi (Malloc Tunable Parameters): Document
63009         M_PERTURB.
63011 2010-07-26  Roland McGrath  <roland@redhat.com>
63013         [BZ #11840]
63014         * configure.in (-fgnu89-inline check): Set and substitute
63015         gnu89_inline, not libc_cv_gnu89_inline.
63016         * configure: Regenerated.
63017         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
63019 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
63021         * string/test-strnlen.c: New file.
63022         * string/Makefile (strop-tests): Add strnlen.
63023         * string/tester.c (test_strnlen): Add a few more test cases.
63024         * string/tst-strlen.c: Better error reporting.
63026         * sysdeps/x86_64/strnlen.S: New file.
63028 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
63030         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
63031         lower-latency instructions.
63033 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
63035         * string/test-strcasestr.c: New file.
63036         * string/test-strstr.c: New file.
63037         * string/Makefile (strop-tests): Add strstr and strcasestr.
63038         * string/str-two-way.h: Don't undefine MAX.
63039         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
63041 2010-07-21  Andreas Schwab  <schwab@redhat.com>
63043         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63044         strcasestr-nonascii.
63045         (CFLAGS-strcasestr-nonascii.c): Define.
63046         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
63047         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
63048         Remove unused attribute.
63050 2010-07-20  Roland McGrath  <roland@redhat.com>
63052         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
63053         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
63054         ld.so.cache was broken.  With it, there is no way to disable dsocaps
63055         like LD_HWCAP_MASK can disable hwcaps.
63057 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
63059         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
63061 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
63063         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
63064         call in strcasestr.
63065         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
63066         __strcasestr_sse42_nonascii.
63067         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
63068         strcasestr-nonascii.c.
63069         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
63071 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
63073         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
63074         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
63075         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
63076         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
63078 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
63080         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
63081         fcntl.
63083 2010-07-06  Andreas Schwab  <schwab@redhat.com>
63085         [BZ #11577]
63086         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
63087         dl_signal_cerror.
63089 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
63091         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
63092         _PC_PIPE_BUF using F_GETPIPE_SZ.
63094 2010-07-05  Roland McGrath  <roland@redhat.com>
63096         * manual/arith.texi (Rounding Functions): Fix rint description
63097         implicit in round description.
63099 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
63101         * elf/Makefile: Fix linking for a few tests to make recent linker
63102         happy.
63104 2010-06-30  Andreas Schwab  <schwab@redhat.com>
63106         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
63107         $(common-objpfx)libc_nonshared.a.
63109 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
63111         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
63112         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
63113         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
63114         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
63115         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
63116         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
63117         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
63118         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
63119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
63120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
63121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
63122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
63123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
63124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
63125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
63126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
63127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
63128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
63129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
63130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
63131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
63132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
63133         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
63134         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
63135         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
63136         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
63137         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
63138         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
63139         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
63140         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
63141         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
63142         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
63143         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
63144         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
63145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
63146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
63147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
63148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
63149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
63150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
63151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
63152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
63153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
63154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
63155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
63156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
63157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
63158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
63160 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
63162         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
63163         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
63164         * string/memmove.c (memmove): Renamed to ...
63165         (MEMMOVE): ...this.  Default to memmove.
63166         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
63167         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
63168         (END_CHK): Define.
63169         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63170         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
63171         mempcpy-ssse3-back memmove-ssse3-back.
63172         * sysdeps/x86_64/multiarch/bcopy.S: New file .
63173         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
63174         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
63175         * sysdeps/x86_64/multiarch/memcpy.S: New file.
63176         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
63177         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
63178         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
63179         * sysdeps/x86_64/multiarch/memmove.c: New file.
63180         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
63181         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
63182         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
63183         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
63184         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
63185         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
63186         Define.
63187         (index_Fast_Copy_Backward): Define.
63188         (HAS_ARCH_FEATURE): Define.
63189         (HAS_FAST_REP_STRING): Define.
63190         (HAS_FAST_COPY_BACKWARD): Define.
63192 2010-06-21  Andreas Schwab  <schwab@redhat.com>
63194         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
63195         Restore proper fallback handling.
63197 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
63199         [BZ #11701]
63200         * posix/group_member.c (__group_member): Correct checking loop.
63202         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
63203         OOM in getpwuid_r correctly.  Return error number when the caller
63204         should return, otherwise -1.
63205         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
63206         call returning > 0 value.
63207         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
63209 2010-06-07  Andreas Schwab  <schwab@redhat.com>
63211         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
63212         libc_nonshared.a from targets in modules-names.
63214 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
63216         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
63217         requires it.
63219 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
63221         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
63222         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
63223         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
63224         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
63226 2010-06-02  Andreas Schwab  <schwab@redhat.com>
63228         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
63230 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
63232         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
63233         and F_GETPIPE_SZ.
63234         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
63235         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63236         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63237         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63238         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63239         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
63241 2010-06-14  Roland McGrath  <roland@redhat.com>
63243         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
63245 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
63247         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
63248         __REDIRECT followed by __THROW.
63249         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
63250         * posix/getopt.h (getopt): Likewise.
63252 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
63254         * hurd/lookup-at.c (__file_name_lookup_at): Accept
63255         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
63256         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
63257         in AT_FLAGS.
63258         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
63259         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
63261 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
63263         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
63265 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
63267         [BZ #11640]
63268         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63269         Properly check family and model.
63271 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
63273         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
63275 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
63277         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
63279 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
63281         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
63282         symbol reference.
63284 2010-05-19  Andreas Schwab  <schwab@redhat.com>
63286         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
63287         symbol reference.
63289 2010-05-21  Andreas Schwab  <schwab@redhat.com>
63291         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
63292         and internal_recvmmsg.
63293         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
63294         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
63295         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
63296         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
63298         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
63299         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
63300         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
63302 2010-05-20  Andreas Schwab  <schwab@redhat.com>
63304         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
63306 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
63308         POWER7 optimizations.
63309         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
63310         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
63312 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
63314         * version.h: Update for 2.13 development version.
63316 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
63318         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
63319         exceptions.  Return 0.
63321 2010-05-07  Roland McGrath  <roland@redhat.com>
63323         * elf/ldconfig.c (main): Add a const.
63325 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
63327         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
63328         (args_options): Add no-idn option.
63329         (ahosts_keys_int): Add idn_flags to ai_flags.
63330         (parse_option): Handle 'i' option to clear idn_flags.
63332         * malloc/malloc.c (_int_free): Possible race in the most recently
63333         added check.  Only act on the data if no current modification
63334         happened.
63336 See ChangeLog.17 for earlier changes.