sparc: Fix .udiv plt on libc
[glibc.git] / ChangeLog
blob9024e62fc7e0de833a721f3ce59d5969a45d3939
1 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3         * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
4         * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
5         to __wrap_.udiv.
6         * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
7         * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
9         * sysdeps/i386/symbol-hacks.h: New file.
10         * sysdeps/m68k/symbol-hacks.h: New file.
11         * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
12         * sysdeps/s390/s390-32/symbol-hacks.h: New file.
13         * sysdeps/unix/sysv/linux/i386/Makefile
14         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
15         [$(subdir) = csu] (sysdep-only-routines): Likewise.
16         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
17         * sysdeps/unix/sysv/linux/m68k/Makefile
18         [$(subdir) = csu] (sysdep_routines): Likewise.
19         [$(subdir) = csu] (sysdep-only-routines): Likewise.
20         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
21         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
22         [$(subdir) = csu] (sysdep_routines): Likewise.
23         [$(subdir) = csu] (sysdep-only-routines): Likewise.
24         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
25         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
26         [$(subdir) = csu] (sysdep_routines): Likewise.
27         [$(subdir) = csu] (sysdep-only-routines): Likewise.
28         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
29         * sysdeps/wordsize-32/Makefile: Remove file.
30         * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
31         * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
33 2017-04-05  H.J. Lu  <hongjiu.lu@intel.com>
35         * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
36         (TEST_FUNCTION_ARGV): New.
38 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
40         * elf/next.c: Import support/test-driver.c instead of
41         test-skeleton.c and delete TEST_FUNCTION macro definition.
42         * elf/nodelete.c: Likewise.
43         * elf/order2.c: Likewise.
44         * elf/tst-_dl_addr_inside_object.c: Likewise.
45         * elf/tst-addr1.c: Likewise.
46         * elf/tst-align.c: Likewise.
47         * elf/tst-align2.c: Likewise.
48         * elf/tst-audit11.c: Likewise.
49         * elf/tst-audit12.c: Likewise.
50         * elf/tst-audit2.c: Likewise.
51         * elf/tst-audit9.c: Likewise.
52         * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
53         * elf/tst-deep1.c: Likewise.
54         * elf/tst-dl-iter-static.c: Likewise.
55         * elf/tst-dlmodcount.c: Likewise.
56         * elf/tst-dlmopen1.c: Likewise.
57         * elf/tst-dlmopen2.c: Likewise.
58         * elf/tst-dlmopen3.c: Likewise.
59         * elf/tst-dlopen-aout.c: Likewise.
60         * elf/tst-dlopenrpath.c: Likewise.
61         * elf/tst-dlsym-error.c: Likewise.
62         * elf/tst-execstack-needed.c: Likewise.
63         * elf/tst-execstack-prog.c: Likewise.
64         * elf/tst-execstack.c: Likewise.
65         * elf/tst-global1.c: Likewise.
66         * elf/tst-gnu2-tls1.c: Likewise.
67         * elf/tst-latepthread.c: Likewise.
68         * elf/tst-leaks1.c: Likewise.
69         * elf/tst-linkall-static.c: Likewise.
70         (do_test): New function.
71         * elf/tst-nodelete-opened.c: Likewise.
72         * elf/tst-nodelete.cc: Likewise.
73         * elf/tst-nodelete2.c: Likewise.
74         * elf/tst-noload.c: Likewise.
75         * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
76         * elf/tst-order-main.c: Likewise.
77         * elf/tst-pathopt.c: Likewise.
78         * elf/tst-pie2.c: Likewise.
79         * elf/tst-piemod1.c: Likewise.
80         * elf/tst-prelink.c: Likewise.
81         * elf/tst-protected1a.c: Likewise.
82         * elf/tst-protected1b.c: Likewise.
83         * elf/tst-ptrguard1.c: Likewise, import getopt.h,
84         and define _GNU_SOURCE macro.
85         (cmdline_process_function): New function.
86         * elf/tst-relsort1.c: Likewise.
87         * elf/tst-stackguard1.c: Likewise, import getopt.h,
88         and define _GNU_SOURCE macro.
89         (cmdline_process_function): New function.
90         * elf/tst-thrlock.c: Likewise.
91         * elf/tst-tls-dlinfo.c: Likewise.
92         * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
93         * elf/tst-tls1.c: Likewise.
94         * elf/tst-tls10.c: Likewise.
95         * elf/tst-tls11.c: Likewise.
96         * elf/tst-tls12.c: Likewise.
97         * elf/tst-tls13.c: Likewise.
98         * elf/tst-tls14.c: Likewise.
99         * elf/tst-tls15.c: Likewise.
100         * elf/tst-tls16.c: Likewise.
101         * elf/tst-tls17.c: Likewise.
102         * elf/tst-tls18.c: Likewise.
103         * elf/tst-tls19.c: Likewise.
104         * elf/tst-tls2.c: Likewise.
105         * elf/tst-tls3.c: Likewise.
106         * elf/tst-tls4.c: Likewise.
107         * elf/tst-tls5.c: Likewise.
108         * elf/tst-tls6.c: Likewise.
109         * elf/tst-tls7.c: Likewise.
110         * elf/tst-tls8.c: Likewise.
111         * elf/tst-tls9.c: Likewise.
112         * elf/tst-tlsalign-extern.c: Likewise.
113         * elf/tst-tlsalign.c: Likewise.
114         * elf/tst-unique1.c: Likewise.
115         * elf/tst-unique2.c: Likewise.
116         * elf/vismain.c: Likewise.
118 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
120         * string/test-strnlen.c (do_page_tests): New function
121         to check length of strings ending at the page boundary.
122         (test_main): Added call to the do_page_tests function.
124 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
125             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
127         * sysdeps/powerpc/powerpc64/multiarch/Makefile
128         (sysdep_routines): Add strnlen-power8.
129         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
130         (strnlen): Add __strnlen_power8 to list of strnlen functions.
131         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
132         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
133         (__strnlen): Add __strnlen_power8 to ifunc list.
134         * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
136 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
138         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
139         the TEST_FUNCTION macro definition.
140         * wcsmbs/tst-mbrtowc2.c: Likewise.
141         * wcsmbs/tst-mbsrtowcs.c: Likewise.
142         * wcsmbs/tst-wchar-h.c: Likewise.
143         * wcsmbs/tst-wcpncpy.c: Likewise.
144         * wcsmbs/tst-wcrtomb.c: Likewise.
145         * wcsmbs/tst-wcsnlen.c: Likewise.
146         * wcsmbs/tst-wcstof.c: Likewise.
148 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
150         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
151         CALL_THREAD_FCT macro usage.
152         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
153         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
154         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
156         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
157         * sysdeps/unix/sysv/linux/arm/kernel-features.h
158         (__ASSUME_REQUEUE_PI): Likewise.
159         * sysdeps/unix/sysv/linux/kernel-features.h
160         (__ASSUME_REQUEUE_PI): Likewise.
161         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
162         (__ASSUME_REQUEUE_PI): Likewise.
163         * sysdeps/unix/sysv/linux/mips/kernel-features.h
164         (__ASSUME_REQUEUE_PI): Likewise.
165         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
166         (__ASSUME_REQUEUE_PI): Likewise.
168 2017-04-04  Florian Weimer  <fweimer@redhat.com>
170         * resolv/tst-resolv-canonname.c: New file.
171         * resolv/Makefile (tests): Add tst-resolv-canonname.
172         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
174 2017-04-04  Florian Weimer  <fweimer@redhat.com>
176         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
177         Declare.
178         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
179         (NS_MAXCDNAME): Remove definition.
180         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
181         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
182         (NS_MAXCDNAME): Remove definition.
183         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
185 2017-04-04  Florian Weimer  <fweimer@redhat.com>
187         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
188         call whose result is not used.
190 2017-04-04  Florian Weimer  <fweimer@redhat.com>
192         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
193         * resolv/Makefile (tests): Add tst-ns_name.
194         (tst-ns_name): Link with -lresolv.
195         (tst-ns_name.out): Depend on the input data file.
197 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
199         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
200         Clobber also r14.
202 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
204         [BZ #21253]
205         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
206         slack space by 32KiB.
208 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
210         [BZ #21338]
211         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
212         instead of incorrect do_set_arena_test
214 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
216         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
217         * math/bits/math-finite.h: Likewise.
219 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
221         [BZ #21289]
222         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
224 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
226         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
227         non expected inotify_add_watch and quotactl return.
229 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
231         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
232         to int32_t.
233         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
234         as returning int32_t.
236 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
238         * math/math.h: Include bits/math-finite.h once per
239         floating-point type.
240         * math/bits/math-finite.h: Macroize all declarations by
241         floating-point type.
243 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
245         [BZ #21182]
246         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
247         near end of a page.
248         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
249         overflow calculation.
251 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
253         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
254         (IMPL) Call with 1 instead of 0 as argument.
256 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
258         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
259         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
260         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
261         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
262         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
263         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
264         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
265         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
266         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
267         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
268         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
269         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
270         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
271         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
272         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
273         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
274         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
275         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
276         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
277         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
278         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
279         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
280         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
281         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
282         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
283         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
284         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
285         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
286         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
287         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
288         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
289         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
290         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
291         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
292         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
293         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
294         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
295         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
296         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
297         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
298         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
299         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
300         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
301         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
302         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
303         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
304         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
305         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
306         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
307         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
308         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
309         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
310         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
311         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
312         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
313         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
314         INLINE_SYSCALL_ERROR_RETURN_VALUE.
315         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
316         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
317         defined.
318         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
319         __NR_setgroups32 if defined.
320         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
321         if defined.
322         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
323         __NR_setresgid32 is defined.
324         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
325         __NR_setresuid32 if defined.
326         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
327         __NR_setreuid32 if defined.
328         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
329         defined.
330         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
331         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
332         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
333         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
334         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
335         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
336         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
337         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
338         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
339         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
340         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
341         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
342         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
343         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
344         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
345         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
346         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
347         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
348         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
349         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
350         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
351         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
352         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
353         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
354         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
355         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
356         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
357         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
358         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
359         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
360         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
361         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
362         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
363         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
364         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
365         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
366         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
367         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
368         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
369         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
370         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
371         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
372         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
373         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
374         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
375         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
376         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
377         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
378         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
379         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
380         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
381         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
382         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
383         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
384         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
385         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
386         INLINE_SYSCALL_ERROR_RETURN_VALUE.
387         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
388         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
389         defined.
390         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
391         __NR_setgroups32 if defined.
392         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
393         if defined.
394         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
395         __NR_setresgid32 is defined.
396         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
397         __NR_setresuid32 if defined.
398         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
399         __NR_setreuid32 if defined.
400         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
401         defined.
403 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
405         [BZ #21277]
406         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
407         unconditionally.
408         (IMAXBEL): Likewise.
409         (IUTF8): Likewise.
411 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
413         * sysdeps/aarch64/libm-test-ulps: Update.
415 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
417         * README.tunables: Updated descriptions.
418         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
419         * scripts/gen-tunables.awk: Updated the code related to the
420         commit.
422 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
424         * benchtests/Makefile (string-benchset): Add memcpy-random.
425         * benchtests/bench-memcpy-random.c: New file.
427 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
429         * stdio-common/printf.h (register_printf_modifier): Change the
430         order of __wur and __THROW.
431         (register_printf_type): Likewise.
433 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
435         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
436         test_main ().
437         (CMDLINE_PROCESS): Use function instead of defined macro.
438         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
439         <suppport/support.h> to use set_fortify_handler().
440         * string/bug-envz1.c: Import support/test-driver.c instead of
441         test-skeleton.c.
442         * string/bug-strcoll2.c: Likewise.
443         * string/bug-strtok1.c: Likewise.
444         * string/stratcliff.c: Likewise.
445         * string/test-ffs.c: Likewise.
446         * string/test-memccpy.c: Likewise.
447         * string/test-memchr.c: Likewise.
448         * string/test-memcmp.c: Likewise.
449         * string/test-memcpy.c: Likewise.
450         * string/test-memmem.c: Likewise.
451         * string/test-memmove.c: Likewise.
452         * string/test-memrchr.c: Likewise.
453         * string/test-memset.c: Likewise.
454         * string/test-rawmemchr.c: Likewise.
455         * string/test-strcasecmp.c: Likewise.
456         * string/test-strcasestr.c: Likewise.
457         * string/test-strcat.c: Likewise.
458         * string/test-strchr.c: Likewise.
459         * string/test-strcmp.c: Likewise.
460         * string/test-strcpy.c: Likewise.
461         * string/test-string.h: Likewise.
462         * string/test-strlen.c: Likewise.
463         * string/test-strncasecmp.c: Likewise.
464         * string/test-strncat.c: Likewise.
465         * string/test-strncmp.c: Likewise.
466         * string/test-strncpy.c: Likewise.
467         * string/test-strnlen.c: Likewise.
468         * string/test-strpbrk.c: Likewise.
469         * string/test-strrchr.c: Likewise.
470         * string/test-strspn.c: Likewise.
471         * string/test-strstr.c: Likewise.
472         * string/tst-bswap.c: Likewise.
473         * string/tst-cmp.c: Likewise.
474         * string/tst-endian.c: Likewise.
475         * string/tst-inlcall.c: Likewise.
476         * string/tst-strcoll-overflow.c: Likewise.
477         * string/tst-strfry.c: Likewise.
478         * string/tst-strlen.c: Likewise.
479         * string/tst-strtok.c: Likewise.
480         * string/tst-strtok_r.c: Likewise.
481         * string/tst-strxfrm.c: Likewise.
482         * string/tst-strxfrm2.c: Likewise.
483         * string/tst-svc.c: Likewise.
484         * string/tst-svc2.c: Likewise.
486 2017-03-22  Zack Weinberg  <zackw@panix.com>
488         * stdio-common/bug25.c: Include stdlib.h.
489         * support/tst-support_format_dns_packet.c: Include stdio.h,
490         stdlib.h, and string.h.
491         * support/tst-support_record_failure.c: Include string.h.
492         * support/tst-support_record_failure-2.sh: Adjust line number
493         expectations and correct a typo in an error message.
495 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
497         [BZ #21258]
498         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
499         Define only if _dl_runtime_resolve is defined to
500         _dl_runtime_resolve_sse_vex.
501         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
502         Fallthrough to _dl_runtime_resolve_sse_vex.
504 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
506         * INSTALL: Regenerated.
508 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
510         * config.h.in: Add LINK_OBSOLETE_NSL.
511         * config.make.in: Add build-obsolete-nsl.
512         * configure.ac: Add obsolete-nsl option.
513         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
514         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
515         * include/rpcsvc/nislib.h: Likewise.
516         * include/rpcsvc/ypclnt.h: Likewise.
517         * manual/install.texi: Document --enable-obsolete-nsl.
518         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
519         * nis/nis_add.c: Replace libnsl_hidden_def with
520         libnsl_hidden_nolink_def.
521         * nis/nis_addmember.c: Likewise.
522         * nis/nis_call.c: Likewise.
523         * nis/nis_clone_obj.c: Likewise.
524         * nis/nis_defaults.c: Likeise.
525         * nis/nis_domain_of_r.c: Likewise.
526         * nis/nis_error.c: Likewise.
527         * nis/nis_file.c: Likewise.
528         * nis/nis_free.c: Likewise.
529         * nis_local_names.c: Likewise.
530         * nis/nis_lookup.c: Likewise.
531         * nis/nis_modify.c: Likewise.
532         * nis/nis_print.c: Likewise.
533         * nis/nis_remove.c: Likewise.
534         * nis/nis_table.c: Likewise.
535         * nis/nis_util.c: Likewise.
536         * nis/nis_xdr.c: Likewise.
537         * nis/yp_xdr.c: Likewise.
538         * nis/ypclnt.c: Likewise.
539         * nis/ypupdate_xdr.c: Likewise.
540         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
541         * nis/nis_clone_dir.c: Likewise.
542         * nis/nis_clone_res.c: Likewise.
543         * nis/nis_creategroup.c: Likewise.
544         * nis/nis_destroygroup.c: Likewise.
545         * nis/nis_domain_of.c: Likewise.
546         * nis/nis_getservlist.c: Likewise.
547         * nis/nis_ismember.c: Likewise.
548         * nis/nis_mkdir.c: Likewise.
549         * nis/nis_ping.c: Likewise.
550         * nis/nis_print_group_entry.c: Likewise.
551         * nis/nis_removemember.c: Likewise.
552         * nis/nis_rmdir.c: Likewise.
553         * nis/nis_server.c: Likewise.
554         * nis/nis_subr.c: Likewise.
555         * nis/nis_verifygroup.c: Likewise.
557 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
559         * malloc/tst-interpose-aux.c (check_for_allocations):
560         Move compiler barrier before free.
562 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
564         [BZ #21279]
565         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
566         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
567         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
568         x86_64-x32-linux.
569         (mq_attr.mq_maxmsg): Likewise.
570         (mq_attr.mq_msgsize): Likewise.
571         (mq_attr.mq_curmsgs): Likewise.
573         [BZ #21278]
574         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
575         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
576         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
577         mips-o32-linux.
579         [BZ #21268]
580         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
581         if [__USE_MISC]
582         (NL3): Likewise.
584 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
586         [BZ #21275]
587         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
588         __stack to __stackbase.
589         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
590         checks so we can include defined(__ia64__) first.
592 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
594         * sysdeps/unix/sysv/linux/ttyname.h: New file.
595         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
596         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
597         Call is_pty when the link does not exist or does not match, fail
598         with ENODEV when it returns true.
599         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
600         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
601         Call is_pty when the link does not exist or does not match, fail
602         with ENODEV when it returns true.
604 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
606         [BZ #16437]
607         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
608         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
609         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
610         x86_64-x32-linux.
611         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
612         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
613         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
615         [BZ #21261]
616         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
617         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
618         names for all fields.
619         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
620         for jmp_buf field renaming.
621         (_JMPBUF_UNWINDS_ADJ): Likewise.
623         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
624         with allow-header.
626 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
628         * malloc/malloc.c (unlink): Add consistency check between size and
629         next->prev->size, to further harden against 1-byte overflows.
631 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
633         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
634         CPU_FEATURES_CPU_P.
636 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
638         [BZ #21259]
639         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
640         unconditionally, not just for [__USE_MISC].
642         [BZ #17786]
643         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
644         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
645         mips-o32-linux.
647         [BZ #21260]
648         * sysdeps/unix/sysv/linux/alpha/Makefile
649         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
650         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
652         * conform/conformtest.pl ($cross): New variable.
653         (--cross): New command-line option.
654         (runtest): Skip test execution when cross-compiling.
655         * conform/Makefile (conformtest-cross): New variable.
656         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
657         conformtest.pl.
659         * conform/conformtest.pl ($xfail_str): New variable.
660         (--xfail=): New command-line option.
661         (top level): Handle expectations starting xfail[cond]-.
662         * conform/Makefile (conformtest-xfail): New variable.
663         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
664         conformtest.pl.
666 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
668         * conform/conformtest.pl: Use compilation instead of execution
669         tests for testing values of constants and usability in #if.
671 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
673         * math/auto-libm-test-in: Mark some catan and catanh as
674         xfail-rounding:ibm128-libgcc.
675         * math/auto-libm-test-out-catan: Regenerate.
676         * math/auto-libm-test-out-catanh: Likewise.
678 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
680         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
681         (__END_NAMESPACE_STD): Likewise.
682         (__USING_NAMESPACE_STD): Likewise.
683         (__BEGIN_NAMESPACE_C99): Likewise.
684         (__END_NAMESPACE_C99): Likewise.
685         (__USING_NAMESPACE_C99): Likewise.
686         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
687         undefine macro.
688         (_Mdouble_END_NAMESPACE): Likewise.
689         * ctype/ctype.h: Do not handle C++ namespaces.
690         * libio/bits/stdio-ldbl.h: Likewise.
691         * libio/stdio.h: Likewise.
692         * locale/locale.h: Likewise.
693         * math/bits/mathcalls.h: Likewise.
694         * setjmp/setjmp.h: Likewise.
695         * signal/signal.h: Likewise.
696         * stdlib/bits/stdlib-float.h: Likewise.
697         * stdlib/bits/stdlib-ldbl.h: Likewise.
698         * stdlib/stdlib.h: Likewise.
699         * string/string.h: Likewise.
700         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
701         * time/bits/types/clock_t.h: Likewise.
702         * time/bits/types/struct_tm.h: Likewise.
703         * time/bits/types/time_t.h: Likewise.
704         * time/time.h: Likewise.
705         * wcsmbs/bits/wchar-ldbl.h: Likewise.
706         * wcsmbs/uchar.h: Likewise.
707         * wcsmbs/wchar.h: Likewise.
708         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
709         * wctype/wctype.h: Do not handle C++ namespaces.
710         * scripts/begin-end-check.pl: Remove.
711         * Makefile (installed-headers): Likewise.
712         (tests-special): Do not add $(objpfx)begin-end-check.out.
713         ($(objpfx)begin-end-check.out): Remove.
715 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
716             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
718         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
719         (DL_PLATFORM_INIT): New define.
720         (dl_platform_init): New function.
721         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
722         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
723         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
724         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
725         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
727 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
729         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
730         instead of PIC.
732 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
734         [BZ #21094]
735         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
736         24+24+24-bit pi for wider range of values around pi/2.
737         * math/auto-libm-test-in: Add more tests of cos and tan.
738         * math/auto-libm-test-out-cos: Regenerated.
739         * math/auto-libm-test-out-tan: Likewise.
741 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
743         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
744         (RTLD_START): Don't record stack end address in _dl_start_user.
746 2017-03-15  Alexey Neyman  <stilor@att.net>
748         [BZ #21088]
749         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
750         around definitions match those around use.
752 2017-03-15  Alexey Neyman  <stilor@att.net>
754         * configure.ac: Avoid empty subexpression in grep.
755         * configure: Regenerate.
757 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
759         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
760         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
761         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
762         (test_wrp_rv): Fix format.
763         (test_wrp_rv2): New macro.
764         (do_test): Handle mlock return on 64 bits kernels with 32 bits
765         binaries.
767 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
769         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
770         Use a union when storing pointers.
771         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
772         cast result when passing to INIT_VEC_PTRS_LOOP.
773         (VECTOR_WRAPPER_fFF_3): Likewise.
774         (VECTOR_WRAPPER_fFF_4): Likewise.
776 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
778         * include/bits/mathcalls-helper-functions.h: New file.
779         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
780         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
781         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
782         math/bits/mathcalls-helper-functions.h.
783         * math/bits/mathcalls-helper-functions.h: New file.
784         * math/math.h: Include bits/mathcalls-helper-functions.h for
785         float, double, and long double.
787 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
789         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
790         instead of feraiseexcept.
792 2017-03-15  Florian Weimer  <fweimer@redhat.com>
794         [BZ #21243]
795         * support/temp_file.c (support_delete_temp_files): Add comment
796         about ignored errors.
798 2017-03-15  Florian Weimer  <fweimer@redhat.com>
800         [BZ #21244]
801         * support/xclose.c: New file.
802         * support/Makefile (libsupport-routines): Add xclose.
803         * support/xunistd.h (xclose): Declare.
804         * support/resolv_test.c (server_thread_tcp_client)
805         (server_thread_tcp, make_server_sockets, resolv_test_start)
806         (resolv_test_end): Call xclose instead of close.
807         * support/support_enter_network_namespace.c
808         (support_enter_network_namespace): Likewise.
809         * support/support_run_diff.c (write_to_temp_file): Likewise.
811 2017-03-15  Florian Weimer  <fweimer@redhat.com>
813         * support/support_format_dns_packet.c (support_format_dns_packet):
814         Handle CNAME records in the response.  Extract RDATA names from
815         rdata, not the whole packet.  Check AAAA record length.
816         * support/tst-support_format_dns_packet.c: New file.
817         * support/Makefile (tests): Add tst-support_format_dns_packet.
818         (tst-support_format_dns_packet): Link against libresolv.
820 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
822         [BZ #21232]
823         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
824         posix_fadvise64 weak_alias for static build.
826 2017-03-14  Andreas Schwab  <schwab@suse.de>
828         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
829         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
830         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
831         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
832         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
833         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
834         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
835         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
837 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
839         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
840         posix error code.
841         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
843 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
845         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
846         no_isolate usage for SH.
848 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
850         [BZ #15105]
851         [BZ #19463]
852         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
853         * inet/rcmd.c (rcmd_af): Likewise.
854         * inet/rexec.c   (rexec_af): Likewise.
855         * intl/dcigettext.c (_LIBC): Likewise.
856         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
857         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
858         * locale/setlocale.c (setlocale): Likewise.
859         * posix/spawn_faction_addopen.c
860         (posix_spawn_file_actions_addopen): Likewise.
861         * stdlib/putenv.c (putenv): Use __strndup.
862         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
863         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
864         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
865         (__Need_M_And_C) Remove define/undef.
866         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
867         (__malloc_and_calloc_defined): Remove define.
868         * string/bits/string2.h (__strdup): Remove define.
869         (strdup): Likewise.
870         (__strndup): Likewise.
871         (strndup): Likewise.
873 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
875         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
876         macro.
877         (IPV6_ADDR_PREFERENCES): Likewise.
878         (IPV6_MINHOPCOUNT): Likewise.
879         (IPV6_ORIGDSTADDR): Likewise.
880         (IPV6_RECVORIGDSTADDR): Likewise.
881         (IPV6_TRANSPARENT): Likewise.
882         (IPV6_UNICAST_IF): Likewise.
883         (IPV6_RECVFRAGSIZE): Likewise.
885 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
887         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
889 2017-03-12  Alexey Neyman <stilor@att.net>
891         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
892         in R_SH_DIR32 case is always false when inlined from
893         dl-conflict.c. Ifdef out to prevent GCC from insertin an
895 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
897         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
898         (__ASSUME_RECV_SYSCALL): Replace duplicate by
899         __ASSUME_SEND_SYSCALL.
901 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
903         * sunrpc/Makefile: don't build and install rpcsvc header
904         files, rpcgen and librpcsvc.a by default.
906 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
908         * math/auto-libm-test-out-catan: Regenerated.
909         * math/auto-libm-test-out-catanh: Likewise.
910         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
912 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
914         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
915         for long double with corrected test expectations.
917 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
919         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
920         Define.
921         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
922         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
923         * sysdeps/unix/sysv/linux/nios2/sysdep.h
924         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
925         * sysdeps/unix/sysv/linux/tile/sysdep.h
926         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
927         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
928         (__ASSUME_RECV_SYSCALL): Define.
929         * sysdeps/unix/sysv/linux/arm/kernel-features.h
930         (__ASSUME_RECV_SYSCALL): Likewise.
931         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
932         (__ASSUME_RECV_SYSCALL): Likewise.
933         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
934         (__ASSUME_RECV_SYSCALL): Likewise.
935         * sysdeps/unix/sysv/linux/mips/kernel-features.h
936         (__ASSUME_RECV_SYSCALL): Likewise.
937         * sysdeps/unix/sysv/linux/i386/kernel-features.h
938         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
939         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
940         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
941         * sysdeps/unix/sysv/linux/s390/kernel-features.h
942         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
943         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
944         auto-generation list.
945         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
946         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
947         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
948         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
949         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
950         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
951         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
952         __ASSUME_SENDTO_SYSCALL.
953         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
954         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
955         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
957         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
958         auto-generation list.
959         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
960         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
961         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
962         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
963         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
964         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
965         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
966         * sysdeps/unix/sysv/linux/kernel-features.h
967         (__ASSUME_SENDTO_SYSCALL): Define by default.
968         * sysdeps/unix/sysv/linux/i386/kernel-features.h
969         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
970         __NR_sendto.
971         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
972         (__ASSUME_SENDTO_SYSCALL): Likewise.
973         * sysdeps/unix/sysv/linux/s390/kernel-features.h
974         (__ASSUME_SENDTO_SYSCALL): Likewise.
975         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
976         (__ASSUME_SENDTO_SYSCALL): Remove definition.
977         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
978         (__ASSUME_SENDTO_SYSCALL): Likewise.
979         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
980         (__ASSUME_SENDTO_SYSCALL): Likewise.
981         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
983         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
984         auto-generation list.
985         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
986         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
987         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
988         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
989         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
990         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
991         (__ASSUME_RECV_SYSCALL): New define.
992         * sysdeps/unix/sysv/linux/arm/kernel-features.h
993         (__ASSUME_RECV_SYSCALL): Likewise.
994         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
995         (__ASSUME_RECV_SYSCALL): Likewise.
996         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
997         (__ASSUME_RECV_SYSCALL): Likewise.
998         * sysdeps/unix/sysv/linux/mips/kernel-features.h
999         (__ASSUME_RECV_SYSCALL): Likewise.
1000         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1001         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
1002         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1003         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
1004         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1005         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
1006         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
1007         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
1008         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
1009         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
1010         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
1011         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
1013         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
1014         auto-generation list.
1015         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1016         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
1017         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1018         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1019         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1020         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1021         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1022         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1023         (__ASSUME_RECVFROM_SYSCALL): Define by default.
1024         * sysdeps/unix/sysv/linux/kernel-features.h
1025         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
1026         __NR_recvfrom.
1027         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1028         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1029         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1030         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1031         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1032         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
1033         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1034         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1035         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1036         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1037         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1038         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1039         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
1041         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
1042         auto-generation list.
1043         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1044         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
1045         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1046         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1047         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1048         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1049         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1050         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
1051         * sysdeps/unix/sysv/linux/kernel-features.h
1052         (__ASSUME_CONNECT_SYSCALL): Define.
1053         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1054         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
1055         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1056         (__ASSUME_CONNECT_SYSCALL): Likewise.
1057         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1058         (__ASSUME_CONNECT_SYSCALL): Likewise.
1059         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1060         (__ASSUME_CONNECT_SYSCALL): Likewise.
1062         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
1063         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
1064         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
1065         auto-generation list.
1066         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1067         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
1068         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1069         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1070         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1071         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1072         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1073         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1074         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
1075         (__ASSUME_ACCEPT_SYSCALL): Undefine.
1076         * sysdeps/unix/sysv/linux/kernel-features.h
1077         (__ASSUME_ACCEPT_SYSCALL): New define.
1078         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1079         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
1080         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
1081         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1082         (__ASSUME_ACCEPT_SYSCALL): Define.
1083         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1084         (__ASSUME_ACCEPT_SYSCALL): Undefine.
1085         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1086         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
1087         (__ASSUME_ACCEPT_SYSCALL): Undefine.
1088         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1089         (__ASSUME_ACCEPT_SYSCALL): Undefine.
1090         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1091         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
1093 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
1094             Zack Weinberg  <zackw@panix.com>
1096         * posix/test-errno.c: New file.
1097         * posix/Makefile (tests): Add test-errno.
1098         * sysdeps/unix/sysv/linux/test-errno.c: New file.
1099         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
1101 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
1103         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1105 2017-03-07  Florian Weimer  <fweimer@redhat.com>
1107         * time/tzset.c (compute_offset): Open-code min macro.
1108         (min, max, sign): Remove.
1110 2017-03-07  Florian Weimer  <fweimer@redhat.com>
1112         [BZ #15576]
1113         Remove TZNAME_MAX limit from sysconf.
1114         * include/time.h (__tzname_cur_max, __tzname_max): Remove
1115         declaration.
1116         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
1117         compute_tzname_max.
1118         (compute_tzname_max): Remove.
1119         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
1120         (update_vars): Do not update __tzname_cur_max.
1121         (tzset_internal): Remove argument.
1122         (__tzset): Adjust call to tzset_internal.
1123         (__tz_convert): Likewise.
1125         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
1126         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
1127         * manual/conf.texi (Sysconf Definition): Update comment.
1129 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1131         [BZ #21209]
1132         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
1133         AT_SECURE processes.
1134         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
1135         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
1136         (test_child): Likewise.
1137         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
1139 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1141         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
1143 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1145         * sysdeps/s390/atomic-machine.h
1146         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
1147         (__arch_compare_and_exchange_val_8_acq,
1148         __arch_compare_and_exchange_val_16_acq,
1149         __arch_compare_and_exchange_val_32_acq,
1150         __arch_compare_and_exchange_val_64_acq):
1151         Delete macro.
1152         (atomic_compare_and_exchange_val_acq,
1153         atomic_compare_and_exchange_val_rel,
1154         atomic_compare_and_exchange_bool_acq,
1155         catomic_compare_and_exchange_bool_acq,
1156         atomic_exchange_acq, atomic_exchange_rel,
1157         atomic_exchange_and_add_acq,
1158         atomic_exchange_and_add_rel,
1159         catomic_exchange_and_add, atomic_or_val,
1160         atomic_or, catomic_or, atomic_bit_test_set,
1161         atomic_and_val, atomic_and, catomic_and):
1162         Define macros with help of C11 atomic builtins.
1164 2017-03-03  Justus Winter <justus@gnupg.org>
1166         * sysdeps/mach/hurd/ftruncate64.c: New file.
1167         * sysdeps/mach/hurd/truncate64.c: Likewise.
1169 2017-03-03  Florian Weimer  <fweimer@redhat.com>
1171         * time/tzfile.c (NOID): Do not define.
1172         * time/tzset.c (NOID): Likewise.
1174 2017-03-03  Florian Weimer  <fweimer@redhat.com>
1176         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
1178 2017-03-02  Florian Weimer  <fweimer@redhat.com>
1180         * elf/get-dynamic-info.h: Remove header file inclusion guard.
1182 2017-03-02  Florian Weimer  <fweimer@redhat.com>
1184         [BZ #21015]
1185         * manual/install.texi (Configuring and compiling): Document
1186         --enable-bind-now.
1187         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
1188         (build-shlib-helper): Use $(LDFLAGS-lib.so).
1189         (format.lds): Likewise.
1190         [bind-now] (LDFLAGS-c.so): Remove.
1191         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
1192         be R_X86_64_GLOB_DAT.
1193         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
1194         relocation can be R_386_GLOB_DAT.
1195         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
1196         relocaiton can be R_ALPHA_GLOB_DAT.
1197         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
1199 2017-03-01  Zack Weinberg  <zackw@panix.com>
1201         * include/libc-pointer-arith.h: New file.  Define
1202         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
1203         PTR_ALIGN_DOWN here.
1204         * include/libc-internal.h: Definitions of above macros
1205         moved from here.  Don't include libc-diag.h anymore either.
1206         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
1207         Don't include libc-internal.h.
1209         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
1210         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
1211         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
1212         * string/strcoll_l.c, sysdeps/nacl/brk.c
1213         * sysdeps/unix/clock_settime.c
1214         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
1215         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
1216         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
1217         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
1218         Don't include libc-internal.h.
1220         * elf/get-dynamic-info.h, iconv/loop.c
1221         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
1222         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
1223         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
1224         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
1225         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
1226         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
1227         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
1228         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
1229         * sysdeps/ieee754/ldbl-128/k_tanl.c
1230         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
1231         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
1232         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
1233         Include libc-diag.h instead of libc-internal.h.
1235         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
1236         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
1237         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
1238         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
1239         * sysdeps/unix/sysv/linux/spawni.c
1240         * sysdeps/x86_64/nptl/tls.h:
1241         Include libc-pointer-arith.h instead of libc-internal.h.
1243         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
1244         * sysdeps/x86_64/atomic-machine.h:
1245         Add multiple include guard.
1247         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
1248         * string/strcasestr.c: No need to include config.h.
1249         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
1250         sys/auxv.h. Don't include sysdep.h.
1251         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
1253         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
1254         DL_LOOKUP_ADDRESS.
1255         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
1256         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
1257         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
1258         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
1259         of ARTIFICIAL_LIMIT.
1260         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
1261         declaration of __clone2.
1263 2017-02-28  Florian Weimer  <fweimer@redhat.com>
1265         * scripts/backport-support.sh (latest_commit): New file.
1267 2017-02-28  Florian Weimer  <fweimer@redhat.com>
1269         [BZ #20257]
1270         * inet/Makefile (routines): Add deadline.
1271         (tests-static): Add tst-deadline.
1272         * inet/net-internal.h (struct deadline_current_time)
1273         (__deadline_current_time, struct deadline, __deadline_is_infinite)
1274         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
1275         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
1276         * inet/deadline.c: New file.
1277         * inet/tst-deadline.c: Likewise.
1278         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
1279         tst-udp-timeout, tst-udp-garbage.
1280         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
1281         explicitly.
1282         (tst-udp-garbage): Likewise.  Also link against thread library.
1283         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
1284         struct layout is part of the ABI.
1285         (clntudp_call): Rework timeout handling.
1286         * sunrpc/tst-udp-garbage.c: New file.
1287         * sunrpc/tst-udp-nonblocking.c: Likewise.
1288         * sunrpc/tst-udp-timeout.c: Likewise.
1290 2017-02-28  Florian Weimer  <fweimer@redhat.com>
1292         [BZ #5010]
1293         * sunrpc/svc.c (svc_is_mapped): Remove.
1294         (svc_unregister): Obtain mapped status while the service is still
1295         registered.
1296         * sunrpc/Makefile [have-thread-library] (tests): Add
1297         tst-svc_register.
1298         (tst-svc_register): Link against libc.so explicitly and the thread
1299         library.
1300         * sunrpc/tst-svc_register.c: New file.
1302 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
1304         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
1305         * sysdeps/pthread/bits/sigthread.h: Likewise.
1307 2017-02-27  Florian Weimer  <fweimer@redhat.com>
1309         [BZ #21115]
1310         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
1311         * sunrpc/Makefile (tests): Add tst-udp-error.
1312         (tst-udp-error): Link against libc.so explicitly.
1313         * sunrpc/tst-udp-error: New file.
1315 2017-02-25  Zack Weinberg  <zackw@panix.com>
1317         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
1318         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
1320         * sysdeps/generic/math_ldbl.h
1321         * sysdeps/ia64/fpu/math_ldbl.h
1322         * sysdeps/ieee754/ldbl-128/math_ldbl.h
1323         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
1324         * sysdeps/ieee754/ldbl-96/math_ldbl.h
1325         * sysdeps/powerpc/fpu/math_ldbl.h
1326         * sysdeps/x86_64/fpu/math_ldbl.h:
1327         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
1328         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
1329         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
1330         Add copyright notices.
1332         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
1333         Don't use EXTRACT_WORDS64.
1335         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
1336         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
1337         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
1338         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
1339         Include math_ldbl.h, not math_private.h.
1341 2017-02-25  Zack Weinberg  <zackw@panix.com>
1343         * include/libc-diag.h: New file.  Define ignore_value,
1344         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
1345         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
1347         * include/libc-internal.h: Definitions of above macros moved from
1348         here.  Include libc-diag.h.  Add copyright notice.
1350         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
1351         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
1352         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
1353         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
1354         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
1355         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
1356         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
1357         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
1358         Include libc-diag.h instead of libc-internal.h.
1360         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
1361         call to unsetenv (NULL).
1362         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
1363         call to pthread_mutexattr_destroy (NULL).
1365 2017-02-25  Zack Weinberg  <zackw@panix.com>
1367         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
1368         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
1369         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
1370         gets was removed from C++ in C++14.
1371         * include/stdio.h: Remove redundant declaration of gets.
1372         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
1373         be declared, since we are testing it.
1374         * stdio-common/Makefile (tst-gets.c): Compile with
1375         -Wno-deprecated-declarations.
1376         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
1377         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
1378         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
1379         Compile with -Wno-deprecated-declarations.
1381 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1383         * math/libm-test-support.c (check_ulp): Use LIT() around literal
1384         numbers.
1386 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1388         * resolv/tst-resolv-qtypes.c (domain):
1389         Change type to const pointer to const char.
1391 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
1393         * math/Makefile (libm-tests-generated): Remove variable.
1394         (libm-tests-base-normal): New variable.
1395         (libm-tests-base-finite): Likewise.
1396         (libm-tests-base-inline): Likewise.
1397         (libm-tests-base): Likewise.
1398         (libm-tests-normal): Likewise.
1399         (libm-tests-finite): Likewise.
1400         (libm-tests-inline): Likewise.
1401         (libm-tests-vector): Likewise.
1402         (libm-tests): Define in terms of these new variables.
1403         (libm-tests-for-type): New variable.
1404         (libm-tests.o): Move definition.
1405         (tests): Move addition of $(libm-tests).
1406         (generated): Update for new and removed libm test files.
1407         ($(objpfx)libm-test.c): Remove target.
1408         ($(objpfx)libm-have-vector-test.h): Likewise.
1409         (CFLAGS-test-double-vlen2.c): Remove variable.
1410         (CFLAGS-test-double-vlen4.c): Likewise.
1411         (CFLAGS-test-double-vlen8.c): Likewise.
1412         (CFLAGS-test-float-vlen4.c): Likewise.
1413         (CFLAGS-test-float-vlen8.c): Likewise.
1414         (CFLAGS-test-float-vlen16.c): Likewise.
1415         (CFLAGS-test-float.c): Likewise.
1416         (CFLAGS-test-float-finite.c): Likewise.
1417         (CFLAGS-libm-test-support-float.c): Likewise.
1418         (CFLAGS-test-double.c): Likewise.
1419         (CFLAGS-test-double-finite.c): Likewise.
1420         (CFLAGS-libm-test-support-double.c): Likewise.
1421         (CFLAGS-test-ldouble.c): Likewise.
1422         (CFLAGS-test-ldouble-finite.c): Likewise.
1423         (CFLAGS-libm-test-support-ldouble.c): Likewise.
1424         (libm-test-inline-cflags): New variable.
1425         (CFLAGS-test-ifloat.c): Remove variable.
1426         (CFLAGS-test-idouble.c): Likewise.
1427         (CFLAGS-test-ildouble.c): Likewise.
1428         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
1429         dependencies.
1430         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
1431         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
1432         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
1433         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
1434         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
1435         Likewise.
1436         (dependencies on libm-test-support-*.o): Remove.
1437         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
1438         rules using iterators.
1439         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
1440         Likewise.
1441         ($(objpfx)libm-test-support-$(o).o): Likewise.
1442         ($(addprefix $(objpfx),$(filter-out $(tests-static)
1443         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
1444         instead.
1445         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
1446         define rule instead.
1447         * math/README.libm-test: Update.
1448         * math/libm-test-acos.inc: Include libm-test-driver.c.
1449         (do_test): New function.
1450         * math/libm-test-acosh.inc: Include libm-test-driver.c.
1451         (do_test): New function.
1452         * math/libm-test-asin.inc: Include libm-test-driver.c.
1453         (do_test): New function.
1454         * math/libm-test-asinh.inc: Include libm-test-driver.c.
1455         (do_test): New function.
1456         * math/libm-test-atan.inc: Include libm-test-driver.c.
1457         (do_test): New function.
1458         * math/libm-test-atan2.inc: Include libm-test-driver.c.
1459         (do_test): New function.
1460         * math/libm-test-atanh.inc: Include libm-test-driver.c.
1461         (do_test): New function.
1462         * math/libm-test-cabs.inc: Include libm-test-driver.c.
1463         (do_test): New function.
1464         * math/libm-test-cacos.inc: Include libm-test-driver.c.
1465         (do_test): New function.
1466         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
1467         (do_test): New function.
1468         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
1469         (do_test): New function.
1470         * math/libm-test-carg.inc: Include libm-test-driver.c.
1471         (do_test): New function.
1472         * math/libm-test-casin.inc: Include libm-test-driver.c.
1473         (do_test): New function.
1474         * math/libm-test-casinh.inc: Include libm-test-driver.c.
1475         (do_test): New function.
1476         * math/libm-test-catan.inc: Include libm-test-driver.c.
1477         (do_test): New function.
1478         * math/libm-test-catanh.inc: Include libm-test-driver.c.
1479         (do_test): New function.
1480         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
1481         (do_test): New function.
1482         * math/libm-test-ccos.inc: Include libm-test-driver.c.
1483         (do_test): New function.
1484         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
1485         (do_test): New function.
1486         * math/libm-test-ceil.inc: Include libm-test-driver.c.
1487         (do_test): New function.
1488         * math/libm-test-cexp.inc: Include libm-test-driver.c.
1489         (do_test): New function.
1490         * math/libm-test-cimag.inc: Include libm-test-driver.c.
1491         (do_test): New function.
1492         * math/libm-test-clog.inc: Include libm-test-driver.c.
1493         (do_test): New function.
1494         * math/libm-test-clog10.inc: Include libm-test-driver.c.
1495         (do_test): New function.
1496         * math/libm-test-conj.inc: Include libm-test-driver.c.
1497         (do_test): New function.
1498         * math/libm-test-copysign.inc: Include libm-test-driver.c.
1499         (do_test): New function.
1500         * math/libm-test-cos.inc: Include libm-test-driver.c.
1501         (do_test): New function.
1502         * math/libm-test-cosh.inc: Include libm-test-driver.c.
1503         (do_test): New function.
1504         * math/libm-test-cpow.inc: Include libm-test-driver.c.
1505         (do_test): New function.
1506         * math/libm-test-cproj.inc: Include libm-test-driver.c.
1507         (do_test): New function.
1508         * math/libm-test-creal.inc: Include libm-test-driver.c.
1509         (do_test): New function.
1510         * math/libm-test-csin.inc: Include libm-test-driver.c.
1511         (do_test): New function.
1512         * math/libm-test-csinh.inc: Include libm-test-driver.c.
1513         (do_test): New function.
1514         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
1515         (do_test): New function.
1516         * math/libm-test-ctan.inc: Include libm-test-driver.c.
1517         (do_test): New function.
1518         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
1519         (do_test): New function.
1520         * math/libm-test-erf.inc: Include libm-test-driver.c.
1521         (do_test): New function.
1522         * math/libm-test-erfc.inc: Include libm-test-driver.c.
1523         (do_test): New function.
1524         * math/libm-test-exp.inc: Include libm-test-driver.c.
1525         (do_test): New function.
1526         * math/libm-test-exp10.inc: Include libm-test-driver.c.
1527         (do_test): New function.
1528         * math/libm-test-exp2.inc: Include libm-test-driver.c.
1529         (do_test): New function.
1530         * math/libm-test-expm1.inc: Include libm-test-driver.c.
1531         (do_test): New function.
1532         * math/libm-test-fabs.inc: Include libm-test-driver.c.
1533         (do_test): New function.
1534         * math/libm-test-fdim.inc: Include libm-test-driver.c.
1535         (do_test): New function.
1536         * math/libm-test-floor.inc: Include libm-test-driver.c.
1537         (do_test): New function.
1538         * math/libm-test-fma.inc: Include libm-test-driver.c.
1539         (do_test): New function.
1540         * math/libm-test-fmax.inc: Include libm-test-driver.c.
1541         (do_test): New function.
1542         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
1543         (do_test): New function.
1544         * math/libm-test-fmin.inc: Include libm-test-driver.c.
1545         (do_test): New function.
1546         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
1547         (do_test): New function.
1548         * math/libm-test-fmod.inc: Include libm-test-driver.c.
1549         (do_test): New function.
1550         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
1551         (do_test): New function.
1552         * math/libm-test-frexp.inc: Include libm-test-driver.c.
1553         (do_test): New function.
1554         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
1555         (do_test): New function.
1556         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
1557         (do_test): New function.
1558         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
1559         (do_test): New function.
1560         * math/libm-test-hypot.inc: Include libm-test-driver.c.
1561         (do_test): New function.
1562         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
1563         (do_test): New function.
1564         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
1565         (do_test): New function.
1566         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
1567         (do_test): New function.
1568         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
1569         (do_test): New function.
1570         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
1571         (do_test): New function.
1572         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
1573         (do_test): New function.
1574         * math/libm-test-isinf.inc: Include libm-test-driver.c.
1575         (do_test): New function.
1576         * math/libm-test-isless.inc: Include libm-test-driver.c.
1577         (do_test): New function.
1578         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
1579         (do_test): New function.
1580         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
1581         (do_test): New function.
1582         * math/libm-test-isnan.inc: Include libm-test-driver.c.
1583         (do_test): New function.
1584         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
1585         (do_test): New function.
1586         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
1587         (do_test): New function.
1588         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
1589         (do_test): New function.
1590         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
1591         (do_test): New function.
1592         * math/libm-test-iszero.inc: Include libm-test-driver.c.
1593         (do_test): New function.
1594         * math/libm-test-j0.inc: Include libm-test-driver.c.
1595         (do_test): New function.
1596         * math/libm-test-j1.inc: Include libm-test-driver.c.
1597         (do_test): New function.
1598         * math/libm-test-jn.inc: Include libm-test-driver.c.
1599         (do_test): New function.
1600         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
1601         (do_test): New function.
1602         * math/libm-test-llogb.inc: Include libm-test-driver.c.
1603         (do_test): New function.
1604         * math/libm-test-llrint.inc: Include libm-test-driver.c.
1605         (do_test): New function.
1606         * math/libm-test-llround.inc: Include libm-test-driver.c.
1607         (do_test): New function.
1608         * math/libm-test-log.inc: Include libm-test-driver.c.
1609         (do_test): New function.
1610         * math/libm-test-log10.inc: Include libm-test-driver.c.
1611         (do_test): New function.
1612         * math/libm-test-log1p.inc: Include libm-test-driver.c.
1613         (do_test): New function.
1614         * math/libm-test-log2.inc: Include libm-test-driver.c.
1615         (do_test): New function.
1616         * math/libm-test-logb.inc: Include libm-test-driver.c.
1617         (do_test): New function.
1618         * math/libm-test-lrint.inc: Include libm-test-driver.c.
1619         (do_test): New function.
1620         * math/libm-test-lround.inc: Include libm-test-driver.c.
1621         (do_test): New function.
1622         * math/libm-test-modf.inc: Include libm-test-driver.c.
1623         (do_test): New function.
1624         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
1625         (do_test): New function.
1626         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
1627         (do_test): New function.
1628         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
1629         (do_test): New function.
1630         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
1631         (do_test): New function.
1632         * math/libm-test-nextup.inc: Include libm-test-driver.c.
1633         (do_test): New function.
1634         * math/libm-test-pow.inc: Include libm-test-driver.c.
1635         (do_test): New function.
1636         * math/libm-test-remainder.inc: Include libm-test-driver.c.
1637         (do_test): New function.
1638         * math/libm-test-remquo.inc: Include libm-test-driver.c.
1639         (do_test): New function.
1640         * math/libm-test-rint.inc: Include libm-test-driver.c.
1641         (do_test): New function.
1642         * math/libm-test-round.inc: Include libm-test-driver.c.
1643         (do_test): New function.
1644         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
1645         (do_test): New function.
1646         * math/libm-test-scalb.inc: Include libm-test-driver.c.
1647         (do_test): New function.
1648         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
1649         (do_test): New function.
1650         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
1651         (do_test): New function.
1652         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
1653         (do_test): New function.
1654         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
1655         (do_test): New function.
1656         * math/libm-test-signbit.inc: Include libm-test-driver.c.
1657         (do_test): New function.
1658         * math/libm-test-significand.inc: Include libm-test-driver.c.
1659         (do_test): New function.
1660         * math/libm-test-sin.inc: Include libm-test-driver.c.
1661         (do_test): New function.
1662         * math/libm-test-sincos.inc: Include libm-test-driver.c.
1663         (do_test): New function.
1664         * math/libm-test-sinh.inc: Include libm-test-driver.c.
1665         (do_test): New function.
1666         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
1667         (do_test): New function.
1668         * math/libm-test-tan.inc: Include libm-test-driver.c.
1669         (do_test): New function.
1670         * math/libm-test-tanh.inc: Include libm-test-driver.c.
1671         (do_test): New function.
1672         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
1673         (do_test): New function.
1674         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
1675         (do_test): New function.
1676         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
1677         (do_test): New function.
1678         * math/libm-test-trunc.inc: Include libm-test-driver.c.
1679         (do_test): New function.
1680         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
1681         (do_test): New function.
1682         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
1683         (do_test): New function.
1684         * math/libm-test-y0.inc: Include libm-test-driver.c.
1685         (do_test): New function.
1686         * math/libm-test-y1.inc: Include libm-test-driver.c.
1687         (do_test): New function.
1688         * math/libm-test-yn.inc: Include libm-test-driver.c.
1689         (do_test): New function.
1690         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
1691         (HAVE_VECTOR): Remove macro.
1692         (START): Do not call HAVE_VECTOR.
1693         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
1694         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
1695         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
1696         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
1697         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
1698         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
1699         * math/test-math-vector.h (FUNC_TEST): New macro.
1700         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
1701         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
1702         (double-vlen4-funcs): Likewise.
1703         (double-vlen4-avx2-funcs): Likewise.
1704         (double-vlen8-funcs): Likewise.
1705         (float-vlen4-funcs): Likewise.
1706         (float-vlen8-funcs): Likewise.
1707         (float-vlen8-avx2-funcs): Likewise.
1708         (float-vlen16-funcs): Likewise.
1709         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
1710         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
1711         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
1712         macro.
1713         (TEST_VECTOR_sin): Likewise.
1714         (TEST_VECTOR_sincos): Likewise.
1715         (TEST_VECTOR_log): Likewise.
1716         (TEST_VECTOR_exp): Likewise.
1717         (TEST_VECTOR_pow): Likewise.
1718         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
1719         Likewise.
1720         (TEST_VECTOR_sin): Likewise.
1721         (TEST_VECTOR_sincos): Likewise.
1722         (TEST_VECTOR_log): Likewise.
1723         (TEST_VECTOR_exp): Likewise.
1724         (TEST_VECTOR_pow): Likewise.
1725         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
1726         Likewise.
1727         (TEST_VECTOR_sinf): Likewise.
1728         (TEST_VECTOR_sincosf): Likewise.
1729         (TEST_VECTOR_logf): Likewise.
1730         (TEST_VECTOR_expf): Likewise.
1731         (TEST_VECTOR_powf): Likewise.
1732         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
1733         Likewise.
1734         (TEST_VECTOR_sinf): Likewise.
1735         (TEST_VECTOR_sincosf): Likewise.
1736         (TEST_VECTOR_logf): Likewise.
1737         (TEST_VECTOR_expf): Likewise.
1738         (TEST_VECTOR_powf): Likewise.
1739         * math/gen-libm-have-vector-test.sh: Remove file.
1740         * math/libm-test.inc: Likewise.
1741         * math/libm-test-support-double.c: Likewise.
1742         * math/libm-test-support-float.c: Likewise.
1743         * math/libm-test-support-ldouble.c: Likewise.
1744         * math/test-double-finite.c: Likewise.: Likewise.
1745         * math/test-double.c: Likewise.
1746         * math/test-float-finite.c: Likewise.
1747         * math/test-float.c: Likewise.
1748         * math/test-idouble.c: Likewise.
1749         * math/test-ifloat.c: Likewise.
1750         * math/test-ildouble.c: Likewise.
1751         * math/test-ldouble-finite.c: Likewise.
1752         * math/test-ldouble.c: Likewise.
1753         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1754         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
1755         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1756         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1757         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1758         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1759         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1760         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
1761         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1762         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1764 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1765            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1767         * math/Makefile: Add wrappers to gen-libm-calls.
1768         * math/w_acos_template.c: New file.
1769         * math/w_acosh_template.c: Likewise.
1770         * math/w_asin_template.c: Likewise.
1771         * math/w_atan2_template.c: Likewise.
1772         * math/w_atanh_template.c: Likewise.
1773         * math/w_cosh_template.c: Likewise.
1774         * math/w_exp10_template.c: Likewise.
1775         * math/w_exp2_template.c: Likewise.
1776         * math/w_exp_template.c: Likewise.
1777         * math/w_fmod_template.c: Likewise.
1778         * math/w_hypot_template.c: Likewise.
1779         * math/w_j0_template.c: Likewise.
1780         * math/w_j1_template.c: Likewise.
1781         * math/w_jn_template.c: Likewise.
1782         * math/w_lgamma_r_template.c: Likewise.
1783         * math/w_lgamma_template.c: Likewise.
1784         * math/w_log10_template.c: Likewise.
1785         * math/w_log2_template.c: Likewise.
1786         * math/w_log_template.c: Likewise.
1787         * math/w_pow_template.c: Likewise.
1788         * math/w_remainder_template.c: Likewise.
1789         * math/w_sinh_template.c: Likewise.
1790         * math/w_sqrt_template.c: Likewise.
1791         * math/w_tgamma_template.c: Likewise.: Likewise.
1792         * sysdeps/generic/math-type-macros-double.h
1793         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
1794         the new wrappers.
1795         * sysdeps/generic/math-type-macros-float.h: Likewise.
1796         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
1798 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
1800         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
1801         New enum constant and macro.
1803         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1804         kernel version to 4.10.
1806 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
1808         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
1810 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1812         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1814 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1816         * sysdeps/powerpc/tst-set_ppr.c: New file.
1817         Implement test cases for __ppc_set_ppr_* functions.
1818         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
1819         in the list of tests.
1821 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1823         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
1824         instead of test-skeleton.c.
1825         (do_test): Replaced pthread_create and pthread_join with
1826         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
1827         Removed unneeded status variable.
1828         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
1829         instead of test-skeleton.c.
1830         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
1832 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
1834         [BZ #20313]
1835         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1836         201605L, for Unicode 9.
1838 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
1840         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
1841         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1842         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1843         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1844         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
1845         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1847 2017-02-19  Zack Weinberg  <zackw@panix.com>
1849         * rt/tst-mqueue4.c: Include stdint.h.
1851 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
1853         * sysdeps/arm/libm-test-ulps: Update.
1854         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1855         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1856         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
1858 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1860         [BZ #21029]
1861         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
1862         * sysdeps/unix/sysv/linux/i386/Makefile
1863         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
1864         (uses-6-syscall-arguments): Remove.
1865         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
1866         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
1867         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
1868         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
1869         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
1870         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
1871         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
1872         [$(subdir) = misc] (cflags-pselect.o): Likewise.
1873         [$(subdir) = misc] (cflags-pselect.os): Likewise.
1874         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
1875         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
1876         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
1877         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
1878         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
1879         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
1880         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
1881         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
1882         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
1883         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
1884         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
1885         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
1886         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
1887         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
1888         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
1889         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
1890         Likewise.
1891         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
1892         Likewise.
1893         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
1894         Likewise.
1895         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
1896         Likewise.
1897         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
1898         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
1899         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
1900         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
1901         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
1902         ebp on inline assembly.
1903         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
1904         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
1905         Set if CAN_USE_REGISTER_ASM_EBP is set.
1907 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
1909         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
1910         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
1912 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
1914         * math/auto-libm-test-in: Add tests of catan and catanh.
1915         * math/auto-libm-test-out-catan: New generated file.
1916         * math/auto-libm-test-out-catanh: Likewise.
1917         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
1918         Move tests with finite inputs, except divide-by-zero cases, to
1919         auto-libm-test-in.
1920         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
1921         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
1922         (libm-test-funcs-noauto): Remove catan and catanh.
1923         * sysdeps/i386/fpu/libm-test-ulps: Update.
1924         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1927         * math/auto-libm-test-in: Add tests of casin and casinh.
1928         * math/auto-libm-test-out-casin: New generated file.
1929         * math/auto-libm-test-out-casinh: Likewise.
1930         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
1931         Move tests with finite inputs to auto-libm-test-in.
1932         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
1933         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
1934         (libm-test-funcs-noauto): Remove casin and casinh.
1935         * sysdeps/i386/fpu/libm-test-ulps: Update.
1936         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1939         * math/auto-libm-test-in: Add tests of cacos and cacosh.
1940         * math/auto-libm-test-out-cacos: New generated file.
1941         * math/auto-libm-test-out-cacosh: Likewise.
1942         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
1943         Move tests with finite inputs to auto-libm-test-in.
1944         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
1945         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
1946         (libm-test-funcs-noauto): Remove cacos and cacosh.
1947         * sysdeps/i386/fpu/libm-test-ulps: Update.
1948         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1951         Revert:
1952         2017-02-16  Zack Weinberg  <zackw@panix.com>
1954         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
1955         Don't include init-arch.h.
1956         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
1957         Don't include init-arch.h.
1959 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1961         [BZ #21171]
1962         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
1963         +Inf and raise divide-by-zero when x is negative.
1964         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
1965         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
1966         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
1967         -Inf and raise divide-by-zero when x = +-0.
1968         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
1969         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
1970         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
1971         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
1972         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
1973         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1974         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1976 2017-02-16  Zack Weinberg  <zackw@panix.com>
1978         * scripts/build-many-glibcs.py (bot_build_mail): If the
1979         bot_config does not contain all of the necessary email-
1980         related settings, just print a warning and continue.
1982 2017-02-16  Zack Weinberg  <zackw@panix.com>
1984         * crypt/md5.h: Test _LIBC with #if defined, not #if.
1985         * dirent/opendir-tst1.c: Include sys/stat.h.
1986         * dirent/tst-fdopendir.c: Include sys/stat.h.
1987         * dirent/tst-fdopendir2.c: Include stdlib.h.
1988         * dirent/tst-scandir.c: Include stdbool.h.
1989         * elf/tst-auditmod1.c: Include link.h and stddef.h.
1990         * elf/tst-tls15.c: Include stdlib.h.
1991         * elf/tst-tls16.c: Include stdlib.h.
1992         * elf/tst-tls17.c: Include stdlib.h.
1993         * elf/tst-tls18.c: Include stdlib.h.
1994         * iconv/tst-iconv6.c: Include endian.h.
1995         * iconvdata/bug-iconv11.c: Include limits.h.
1996         * io/test-utime.c: Include stdint.h.
1997         * io/tst-faccessat.c: Include sys/stat.h.
1998         * io/tst-fchmodat.c: Include sys/stat.h.
1999         * io/tst-fchownat.c: Include sys/stat.h.
2000         * io/tst-fstatat.c: Include sys/stat.h.
2001         * io/tst-futimesat.c: Include sys/stat.h.
2002         * io/tst-linkat.c: Include sys/stat.h.
2003         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
2004         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
2005         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
2006         * io/tst-openat.c: Include stdbool.h.
2007         * io/tst-readlinkat.c: Include sys/stat.h.
2008         * io/tst-renameat.c: Include sys/stat.h.
2009         * io/tst-symlinkat.c: Include sys/stat.h.
2010         * io/tst-unlinkat.c: Include stdbool.h.
2011         * libio/bug-memstream1.c: Include stdlib.h.
2012         * libio/bug-wmemstream1.c: Include stdlib.h.
2013         * libio/tst-fwrite-error.c: Include stdlib.h.
2014         * libio/tst-memstream1.c: Include stdlib.h.
2015         * libio/tst-memstream2.c: Include stdlib.h.
2016         * libio/tst-memstream3.c: Include stdlib.h.
2017         * malloc/tst-interpose-aux.c: Include stdint.h.
2018         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
2019         * nptl/tst-basic7.c: Include limits.h.
2020         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
2021         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
2022         * nptl/tst-cancel4_1.c: Include stddef.h.
2023         * nptl/tst-cancel4_2.c: Include stddef.h.
2024         * nptl/tst-cond16.c: Include limits.h.
2025         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
2026         * nptl/tst-cond18.c: Include limits.h.
2027         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
2028         * nptl/tst-cond4.c: Include stdint.h.
2029         * nptl/tst-cond6.c: Include stdint.h.
2030         * nptl/tst-stack2.c: Include limits.h.
2031         * nptl/tst-stackguard1.c: Include stddef.h.
2032         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
2033         * nptl/tst-tls4moda.c: Include stddef.h.
2034         Don't include stdio.h, unistd.h, or tls.h.
2035         * nptl/tst-tls4modb.c: Include stddef.h.
2036         Don't include stdio.h, unistd.h, or tls.h.
2037         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
2038         * posix/tst-getaddrinfo2.c: Include stdio.h.
2039         * posix/tst-getaddrinfo5.c: Include stdio.h.
2040         * posix/tst-pathconf.c: Include sys/stat.h.
2041         * posix/tst-posix_fadvise-common.c: Include stdint.h.
2042         * posix/tst-preadwrite-common.c: Include sys/stat.h.
2043         * posix/tst-regex.c: Include stdint.h.
2044         Don't include spawn.h or spawn_int.h.
2045         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
2046         * posix/tst-vfork3.c: Include sys/stat.h.
2047         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
2048         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
2049         * resolv/tst-resolv-search.c: Include stdlib.h.
2050         * stdio-common/tst-fmemopen2.c: Include stdint.h.
2051         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
2052         * stdlib/test-canon.c: Include sys/stat.h.
2053         * stdlib/tst-tls-atexit.c: Include stdbool.h.
2054         * string/test-memchr.c: Include stdint.h.
2055         * string/tst-cmp.c: Include stdint.h.
2056         * sysdeps/pthread/tst-timer.c: Include stdint.h.
2057         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
2058         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
2059         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
2060         Don't include init-arch.h.
2061         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
2062         Don't include init-arch.h.
2063         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
2064         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
2065         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
2066         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
2067         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
2068         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
2069         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
2070         * time/clocktest.c: Include stdint.h.
2071         * time/tst-posixtz.c: Include stdint.h.
2072         * timezone/tst-timezone.c: Include stdint.h.
2074 2017-02-16  Zack Weinberg  <zackw@panix.com>
2076         * string/string.h [__USE_MISC]: Include strings.h.
2077         (__bzero, bcmp, bcopy, bzero, index, rindex)
2078         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
2079         (ffs, ffsl, ffsll): Don't declare.
2080         * string/strings.h: Do not suppress the file if string.h has
2081         already been included.
2082         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
2083         annotations.
2084         (index, rindex): Define inline forwarders even if
2085         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
2086         (ffs): Use __attribute_const__.
2087         (ffsl, ffsll): Declare here.
2088         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
2089         have now been standardized.
2090         * include/string.h (__bzero): Declare here.
2092         * bits/types.h: Move to posix/bits.
2093         * include/bits/types.h: New wrapper.
2095 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
2097         * string/bits/string2.h (strcmp): Remove define.
2098         (__strcmp_cg): Likewise.
2099         (strncmp): Likewise.
2101 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
2103         * include/string.h: Add __cplusplus check.
2105 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2107         [BZ #21134]
2108         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
2109         "divide by zero" exception when the input is zero.
2110         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
2111         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
2112         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
2113         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
2114         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
2116 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
2118         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
2119         and include ...
2120         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
2121         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
2122         to, and include ...
2123         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
2124         file.
2125         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
2126         and include ...
2127         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
2128         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
2129         and include ...
2130         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
2131         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
2132         and include ...
2133         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
2134         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
2135         and include ...
2136         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
2137         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
2138         to, and include ...
2139         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
2140         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
2141         and include ...
2142         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
2144 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
2146         * math/libm-test-support.h: Do not include <math-tests-arch.h>
2147         here.
2148         * math/libm-test-support.c (libm_test_init): Do not call
2149         INIT_ARCH_EXT here.
2150         * math/libm-test-driver.c: Include <math-tests-arch.h>.
2151         (main): Call INIT_ARCH_EXT.
2153 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2155         [BZ #21130]
2156         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
2157         with the "invalid" exception raised when x is -Inf.
2158         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
2160 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
2162         * string/bits/string2.h (strchr): Remove define.
2164 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
2166         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
2167         tst-avx512.
2168         (test-extras): Add tst-avx-aux and tst-avx512-aux.
2169         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
2170         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
2171         ($(objpfx)tst-sse): New rule.
2172         ($(objpfx)tst-avx): Likewise.
2173         ($(objpfx)tst-avx512): Likewise.
2174         (CFLAGS-tst-avx-aux.c): New.
2175         (CFLAGS-tst-avxmod.c): Likewise.
2176         (CFLAGS-tst-avx512-aux.c): Likewise.
2177         (CFLAGS-tst-avx512mod.c): Likewise.
2178         * sysdeps/x86_64/tst-avx-aux.c: New file.
2179         * sysdeps/x86_64/tst-avx.c: Likewise.
2180         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
2181         * sysdeps/x86_64/tst-avx512.c: Likewise.
2182         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
2183         * sysdeps/x86_64/tst-avxmod.c: Likewise.
2184         * sysdeps/x86_64/tst-sse.c: Likewise.
2185         * sysdeps/x86_64/tst-ssemod.c: Likewise.
2187 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
2189         * math/auto-libm-test-in: Add more tests of csin and csinh.
2190         * math/auto-libm-test-out-csin: Regenerated.
2191         * math/auto-libm-test-out-csinh: Likewise.
2192         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
2193         auto-libm-test-in.
2194         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
2196 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2198         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
2199         libm-compat-calls-auto.
2200         (libm-compat-calls): Likewise.
2201         (libm-compat-calls-auto): Rename to libm-compat-calls and add
2202         w_lgamma_compatF and k_standardF (merged from the items above).
2203         (libm-routines): Use libm-compat-calls, instead of
2204         libm-compat-calls-auto, with type-foreach.
2206 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
2208         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
2209         macro.
2210         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
2211         (CFLAGS-test-ifloat.c): ... this.  Remove
2212         -U__LIBC_INTERNAL_MATH_INLINES.
2213         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
2214         (CFLAGS-test-idouble.c): ... this.  Remove
2215         -U__LIBC_INTERNAL_MATH_INLINES.
2216         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
2217         (CFLAGS-test-ildouble.c): ... this.  Remove
2218         -U__LIBC_INTERNAL_MATH_INLINES.
2220 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
2222         * math/libm-test-support.c: New file.  Content from
2223         math/libm-test-driver.c.
2224         * math/libm-test-support.h: Likewise.
2225         * math/libm-test-support-double.c: New file.
2226         * math/libm-test-support-float.c: Likewise.
2227         * math/libm-test-support-ldouble.c: Likewise.
2228         * math/libm-test-driver.c: Remove main comment and header
2229         includes.  Include libm-test-support.h.
2230         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
2231         (flag_test_errno): Remove static.
2232         (flag_test_exceptions): Likewise.
2233         (flag_test_finite): Likewise.
2234         (flag_test_inline): Likewise.
2235         (flag_test_mathvec): Likewise.
2236         (test_msg): Likewise.
2237         (NO_EXCEPTION): Remove.
2238         (INVALID_EXCEPTION): Likewise.
2239         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
2240         (OVERFLOW_EXCEPTION): Likewise.
2241         (UNDERFLOW_EXCEPTION): Likewise.
2242         (INEXACT_EXCEPTION): Likewise.
2243         (INVALID_EXCEPTION_OK): Likewise.
2244         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2245         (OVERFLOW_EXCEPTION_OK): Likewise.
2246         (UNDERFLOW_EXCEPTION_OK): Likewise.
2247         (NO_INEXACT_EXCEPTION): Likewise.
2248         (EXCEPTIONS_OK): Likewise.
2249         (IGNORE_ZERO_INF_SIGN): Likewise.
2250         (TEST_NAN_SIGN): Likewise.
2251         (TEST_NAN_PAYLOAD): Likewise.
2252         (NO_TEST_INLINE): Likewise.
2253         (XFAIL_TEST): Likewise.
2254         (ERRNO_UNCHANGED): Likewise.
2255         (ERRNO_EDOM): Likewise.
2256         (ERRNO_ERANGE): Likewise.
2257         (IGNORE_RESULT): Likewise.
2258         (NON_FINITE): Likewise.
2259         (TEST_SNAN): Likewise.
2260         (NO_TEST_MATHVEC): Likewise.
2261         (__CONCATX): Likewise.
2262         (TYPE_MIN): Likewise.
2263         (TYPE_TRUE_MIN): Likewise.
2264         (TYPE_MAX): Likewise.
2265         (MIN_EXP): Likewise.
2266         (MAX_EXP): Likewise.
2267         (MANT_DIG): Likewise.
2268         (FSTR_MAX): Likewise.
2269         (ulp_idx): Likewise.
2270         (qtype_str): Remove static.
2271         (TEST_COND_binary32): Remove.
2272         (TEST_COND_binary64): Likewise.
2273         (TEST_COND_binary128): Likewise.
2274         (TEST_COND_ibm128): Likewise.
2275         (TEST_COND_intel96): Likewise.
2276         (TEST_COND_m68k96): Likewise.
2277         (TEST_COND_ibm128_libgcc): Likewise.
2278         (XFAIL_IBM128_LIBGCC): Likewise.
2279         (PAYLOAD_DIG): Likewise.
2280         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2281         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2282         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2283         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
2284         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2285         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
2286         (TEST_COND_long32): Likewise.
2287         (TEST_COND_long64): Likewise.
2288         (TEST_COND_before_rounding): Likewise.
2289         (TEST_COND_after_rounding): Likewise.
2290         (ulps_file_name): Likewise.
2291         (ulps_file): Likewise.
2292         (output_ulps): Likewise.
2293         (output_dir): Likewise.
2294         (noErrors): Likewise.
2295         (noTests): Likewise.
2296         (noExcTests): Likewise.
2297         (noErrnoTests): Likewise.
2298         (verbose): Likewise.
2299         (output_max_error): Likewise.
2300         (output_points): Likewise.
2301         (ignore_max_ulp): Likewise.
2302         (max_error): Likewise.
2303         (real_max_error): Likewise.
2304         (imag_max_error): Likewise.
2305         (prev_max_error): Likewise.
2306         (prev_real_max_error): Likewise.
2307         (prev_imag_max_error): Likewise.
2308         (max_valid_error): Likewise.
2309         (TYPE_DECIMAL_DIG): Likewise.
2310         (TYPE_HEX_DIG): Likewise.
2311         (fmt_ftostr): Likewise.
2312         (compare_ulp_data): Likewise.
2313         (find_ulps): Likewise.
2314         (init_max_error): Likewise.
2315         (set_max_error): Likewise.
2316         (print_float): Likewise.
2317         (print_screen): Likewise.
2318         (print_screen_max_error): Likewise.
2319         (update_stats): Likewise.
2320         (print_function_ulps): Likewise.
2321         (print_complex_function_ulps): Likewise.
2322         (fpstack_test): Likewise.
2323         (print_max_error): Likewise.
2324         (print_complex_max_error): Likewise.
2325         (test_single_exception): Likewise.
2326         (test_exceptions): Likewise.
2327         (test_single_errno): Likewise.
2328         (test_errno): Likewise.
2329         (ULPDIFF): Likewise.
2330         (ulp): Likewise.
2331         (check_float_internal): Likewise.
2332         (check_float): Likewise.
2333         (check_complex): Likewise.
2334         (check_int): Likewise.
2335         (check_long): Likewise.
2336         (check_bool): Likewise.
2337         (check_longlong): Likewise.
2338         (check_intmax_t): Likewise.
2339         (check_uintmax_t): Likewise.
2340         (enable_test): Likewise.
2341         (matherr): Likewise.
2342         (initialize): Likewise.
2343         (options): Likewise.
2344         (doc): Remove static.
2345         (argp): Likewise.
2346         (parse_opt): Remove.
2347         (check_ulp): Likewise.
2348         (libm_test_init): Likewise.
2349         (libm_test_finish): Likewise.
2350         * math/Makefile (libm-test-support): New variable.
2351         (test-extras): Add libm-test-support files.
2352         (extra-test-objs): Likewise.
2353         (CFLAGS-libm-test-support-float.c): New variable.
2354         (CFLAGS-libm-test-support-double.c): Likewise.
2355         (CFLAGS-libm-test-support-ldouble.c): Likewise.
2356         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
2357         libm-test-support objects.
2359 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2361         * math/Makefile (libm-calls): Move w_exp...
2362         (libm-compat-calls-auto): Here.
2364         * math/w_expl.c: Add suffix "_compat" to filename.
2365         * sysdeps/ia64/fpu/w_expl.c: Likewise.
2366         * sysdeps/ia64/fpu/w_expf.c: Likewise.
2367         * sysdeps/ia64/fpu/w_exp.c: Likewise.
2368         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2369         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2370         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2371         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
2372         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2374         * math/w_expl_compat.c: New file, copied from above.
2375         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
2376         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
2377         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
2378         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
2379         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
2380         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
2381         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
2382         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
2384         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
2385         to filename.
2386         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
2388         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
2389         copied from above and adjusted for the new filenames.
2390         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
2392 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2394         * math/Makefile (libm-calls): Move w_lgammaF...
2395         (libm-compat-calls-auto): Here.
2397         * math/w_lgamma.c: Add suffix "_compat2" to filename.
2398         * math/w_lgammaf.c: Likewise.
2399         * math/w_lgammal.c: Likewise.
2401         * math/w_lgamma_compat2.c: New file, copied from above.
2402         * math/w_lgammaf_compat2.c: Likewise.
2403         * math/w_lgammal_compat2.c: Likewise.
2405 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2407         * math/Makefile (libm-calls): Move w_lgammaF_r...
2408         (libm-compat-calls-auto): Here.
2410         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
2411         * math/w_lgammaf_r.c: Likewise.
2412         * math/w_lgammal_r.c: Likewise.
2413         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
2414         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
2415         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
2417         * math/w_lgamma_r_compat.c: New file, copied from above.
2418         * math/w_lgammaf_r_compat.c: Likewise.
2419         * math/w_lgammal_r_compat.c: Likewise.
2420         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
2421         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
2422         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
2424         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
2425         to filename.
2426         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
2428         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
2429         copied from above and adjusted for the new filenames.
2430         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
2432 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
2434         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
2435         calculation in SYSCALL_ERROR_HANDLER().
2437 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
2439         * manual/contrib.texi: Fix typo.
2441 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2443         [BZ #21109]
2444         * elf/dl-tunable-types.h (tunable_callback_t): Accept
2445         tunable_val_t as argument.
2446         * elf/dl-tunables.c (__tunable_set_val): Add comment.
2447         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
2448         argument.
2449         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
2451 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
2453         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
2454         Add PTRACE_EVENT_STOP.
2455         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
2456         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2457         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2458         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2459         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
2460         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
2462 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
2464         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
2465         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
2466         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
2467         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
2468         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
2469         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
2470         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
2471         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
2472         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
2473         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
2475         [BZ #21112]
2476         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
2477         12 bits zero.
2478         (cp_l): Update for new value of cp_h.
2479         * math/auto-libm-test-in: Add another test of pow.
2480         * math/auto-libm-test-out-pow: Regenerated.
2482 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2484         * manual/contrib.texi: Fix typo.
2486 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2488         [BZ #15998]
2489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2490         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
2491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2493 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2495         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
2496         STRCHR as __strchr_power8.
2497         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
2498         strlen as __strlen_power8.
2500 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2502         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
2503         unaligned load for shorter strings.
2504         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
2506 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
2508         * math/libm-test-driver.c (flag_test_errno): New variable.
2509         (flag_test_exceptions): Likewise.
2510         (flag_test_finite): Likewise.
2511         (flag_test_inline): Likewise.
2512         (flag_test_mathvec): Likewise.
2513         (test_msg): Likewise.
2514         (ulp_idx): Likewise.
2515         (qtype_str): Likewise.
2516         (ULP_IDX): Remove macro.
2517         (QTYPE_STR): Likewise.
2518         (find_ulps): Use ulp_idx not ULP_IDX.
2519         (print_function_ulps): Use qtype_str, printed with %s, not
2520         QTYPE_STR, printed with concatentation to format string.
2521         (print_complex_function_ulps): Likewise.
2522         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
2523         (test_errno): Use flag_test_errno not TEST_ERRNO.
2524         (enable_test): Use flag_test_inline, flag_test_finite and
2525         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
2526         TEST_MATHVEC.
2527         (libm_test_init): New function.  Factored out of main.
2528         (libm_test_finish): Likewise.
2529         (main): Call libm_test_init and libm_test_finish and move most
2530         code to those functions.
2532         * math/libm-test-driver.c (STRX): New macro.
2533         (STR): Likewise.
2534         (STR_FLOAT): Likewise.
2535         (STR_VEC_LEN): Likewise.
2536         (TEST_MSG): Likewise.  Define here instead of expecting to be
2537         defined by including file.
2538         * math/test-double-finite.c (TEST_MSG): Remove macro.
2539         * math/test-double-vlen2.h (TEST_MSG): Likewise.
2540         * math/test-double-vlen4.h (TEST_MSG): Likewise.
2541         * math/test-double-vlen8.h (TEST_MSG): Likewise.
2542         * math/test-double.c (TEST_MSG): Likewise.
2543         * math/test-float-finite.c (TEST_MSG): Likewise.
2544         * math/test-float-vlen16.h (TEST_MSG): Likewise.
2545         * math/test-float-vlen4.h (TEST_MSG): Likewise.
2546         * math/test-float-vlen8.h (TEST_MSG): Likewise.
2547         * math/test-float.c (TEST_MSG): Likewise.
2548         * math/test-idouble.c (TEST_MSG): Likewise.
2549         * math/test-ifloat.c (TEST_MSG): Likewise.
2550         * math/test-ildouble.c (TEST_MSG): Likewise.
2551         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
2552         * math/test-ldouble.c (TEST_MSG): Likewise.
2554         * math/libm-test.inc: Move all tests of individual functions to
2555         libm-test-*.inc and #include libm-test-*.c files.
2556         (acos_test_data): Remove.
2557         (acos_test): Likewise.
2558         (acosh_test_data): Likewise.
2559         (acosh_test): Likewise.
2560         (asin_test_data): Likewise.
2561         (asin_test): Likewise.
2562         (asinh_test_data): Likewise.
2563         (asinh_test): Likewise.
2564         (atan_test_data): Likewise.
2565         (atan_test): Likewise.
2566         (atanh_test_data): Likewise.
2567         (atanh_test): Likewise.
2568         (atan2_test_data): Likewise.
2569         (atan2_test): Likewise.
2570         (cabs_test_data): Likewise.
2571         (cabs_test): Likewise.
2572         (cacos_test_data): Likewise.
2573         (cacos_test): Likewise.
2574         (cacosh_test_data): Likewise.
2575         (cacosh_test): Likewise.
2576         (canonicalize_test_data): Likewise.
2577         (canonicalize_test): Likewise.
2578         (carg_test_data): Likewise.
2579         (carg_test): Likewise.
2580         (casin_test_data): Likewise.
2581         (casin_test): Likewise.
2582         (casinh_test_data): Likewise.
2583         (casinh_test): Likewise.
2584         (catan_test_data): Likewise.
2585         (catan_test): Likewise.
2586         (catanh_test_data): Likewise.
2587         (catanh_test): Likewise.
2588         (cbrt_test_data): Likewise.
2589         (cbrt_test): Likewise.
2590         (ccos_test_data): Likewise.
2591         (ccos_test): Likewise.
2592         (ccosh_test_data): Likewise.
2593         (ccosh_test): Likewise.
2594         (ceil_test_data): Likewise.
2595         (ceil_test): Likewise.
2596         (cexp_test_data): Likewise.
2597         (cexp_test): Likewise.
2598         (cimag_test_data): Likewise.
2599         (cimag_test): Likewise.
2600         (clog_test_data): Likewise.
2601         (clog_test): Likewise.
2602         (clog10_test_data): Likewise.
2603         (clog10_test): Likewise.
2604         (conj_test_data): Likewise.
2605         (conj_test): Likewise.
2606         (copysign_test_data): Likewise.
2607         (copysign_test): Likewise.
2608         (cos_test_data): Likewise.
2609         (cos_test): Likewise.
2610         (cosh_test_data): Likewise.
2611         (cosh_test): Likewise.
2612         (cpow_test_data): Likewise.
2613         (cpow_test): Likewise.
2614         (cproj_test_data): Likewise.
2615         (cproj_test): Likewise.
2616         (creal_test_data): Likewise.
2617         (creal_test): Likewise.
2618         (csin_test_data): Likewise.
2619         (csin_test): Likewise.
2620         (csinh_test_data): Likewise.
2621         (csinh_test): Likewise.
2622         (csqrt_test_data): Likewise.
2623         (csqrt_test): Likewise.
2624         (ctan_test_data): Likewise.
2625         (ctan_test): Likewise.
2626         (ctanh_test_data): Likewise.
2627         (ctanh_test): Likewise.
2628         (erf_test_data): Likewise.
2629         (erf_test): Likewise.
2630         (erfc_test_data): Likewise.
2631         (erfc_test): Likewise.
2632         (exp_test_data): Likewise.
2633         (exp_test): Likewise.
2634         (exp10_test_data): Likewise.
2635         (exp10_test): Likewise.
2636         (pow10_test): Likewise.
2637         (exp2_test_data): Likewise.
2638         (exp2_test): Likewise.
2639         (expm1_test_data): Likewise.
2640         (expm1_test): Likewise.
2641         (fabs_test_data): Likewise.
2642         (fabs_test): Likewise.
2643         (fdim_test_data): Likewise.
2644         (fdim_test): Likewise.
2645         (floor_test_data): Likewise.
2646         (floor_test): Likewise.
2647         (fma_test_data): Likewise.
2648         (fma_test): Likewise.
2649         (fmax_test_data): Likewise.
2650         (fmax_test): Likewise.
2651         (fmaxmag_test_data): Likewise.
2652         (fmaxmag_test): Likewise.
2653         (fmin_test_data): Likewise.
2654         (fmin_test): Likewise.
2655         (fminmag_test_data): Likewise.
2656         (fminmag_test): Likewise.
2657         (fmod_test_data): Likewise.
2658         (fmod_test): Likewise.
2659         (fpclassify_test_data): Likewise.
2660         (fpclassify_test): Likewise.
2661         (frexp_test_data): Likewise.
2662         (frexp_test): Likewise.
2663         (fromfp_test_data): Likewise.
2664         (fromfp_test): Likewise.
2665         (fromfpx_test_data): Likewise.
2666         (fromfpx_test): Likewise.
2667         (getpayload_test_data): Likewise.
2668         (getpayload_test): Likewise.
2669         (hypot_test_data): Likewise.
2670         (hypot_test): Likewise.
2671         (ilogb_test_data): Likewise.
2672         (ilogb_test): Likewise.
2673         (iscanonical_test_data): Likewise.
2674         (iscanonical_test): Likewise.
2675         (iseqsig_test_data): Likewise.
2676         (iseqsig_test): Likewise.
2677         (isfinite_test_data): Likewise.
2678         (isfinite_test): Likewise.
2679         (finite_test): Likewise.
2680         (isgreater_test_data): Likewise.
2681         (isgreater_test): Likewise.
2682         (isgreaterequal_test_data): Likewise.
2683         (isgreaterequal_test): Likewise.
2684         (isinf_test_data): Likewise.
2685         (isinf_test): Likewise.
2686         (isless_test_data): Likewise.
2687         (isless_test): Likewise.
2688         (islessequal_test_data): Likewise.
2689         (islessequal_test): Likewise.
2690         (islessgreater_test_data): Likewise.
2691         (islessgreater_test): Likewise.
2692         (isnan_test_data): Likewise.
2693         (isnan_test): Likewise.
2694         (isnormal_test_data): Likewise.
2695         (isnormal_test): Likewise.
2696         (issignaling_test_data): Likewise.
2697         (issignaling_test): Likewise.
2698         (issubnormal_test_data): Likewise.
2699         (issubnormal_test): Likewise.
2700         (isunordered_test_data): Likewise.
2701         (isunordered_test): Likewise.
2702         (iszero_test_data): Likewise.
2703         (iszero_test): Likewise.
2704         (j0_test_data): Likewise.
2705         (j0_test): Likewise.
2706         (j1_test_data): Likewise.
2707         (j1_test): Likewise.
2708         (jn_test_data): Likewise.
2709         (jn_test): Likewise.
2710         (lgamma_test_data): Likewise.
2711         (lgamma_test): Likewise.
2712         (gamma_test): Likewise.
2713         (llogb_test_data): Likewise.
2714         (llogb_test): Likewise.
2715         (lrint_test_data): Likewise.
2716         (lrint_test): Likewise.
2717         (llrint_test_data): Likewise.
2718         (llrint_test): Likewise.
2719         (log_test_data): Likewise.
2720         (log_test): Likewise.
2721         (log10_test_data): Likewise.
2722         (log10_test): Likewise.
2723         (log1p_test_data): Likewise.
2724         (log1p_test): Likewise.
2725         (log2_test_data): Likewise.
2726         (log2_test): Likewise.
2727         (logb_test_data): Likewise.
2728         (logb_test): Likewise.
2729         (lround_test_data): Likewise.
2730         (lround_test): Likewise.
2731         (llround_test_data): Likewise.
2732         (llround_test): Likewise.
2733         (modf_test_data): Likewise.
2734         (modf_test): Likewise.
2735         (nearbyint_test_data): Likewise.
2736         (nearbyint_test): Likewise.
2737         (nextafter_test_data): Likewise.
2738         (nextafter_test): Likewise.
2739         (nextup_test_data): Likewise.
2740         (nextup_test): Likewise.
2741         (nextdown_test_data): Likewise.
2742         (nextdown_test): Likewise.
2743         (nexttoward_test_data): Likewise.
2744         (nexttoward_test): Likewise.
2745         (pow_test_data): Likewise.
2746         (pow_test): Likewise.
2747         (remainder_test_data): Likewise.
2748         (remainder_test): Likewise.
2749         (drem_test): Likewise.
2750         (remquo_test_data): Likewise.
2751         (remquo_test): Likewise.
2752         (rint_test_data): Likewise.
2753         (rint_test): Likewise.
2754         (round_test_data): Likewise.
2755         (round_test): Likewise.
2756         (roundeven_test_data): Likewise.
2757         (roundeven_test): Likewise.
2758         (scalb_test_data): Likewise.
2759         (scalb_test): Likewise.
2760         (scalbn_test_data): Likewise.
2761         (scalbn_test): Likewise.
2762         (ldexp_test): Likewise.
2763         (scalbln_test_data): Likewise.
2764         (scalbln_test): Likewise.
2765         (setpayload_test_data): Likewise.
2766         (setpayload_test): Likewise.
2767         (setpayloadsig_test_data): Likewise.
2768         (setpayloadsig_test): Likewise.
2769         (signbit_test_data): Likewise.
2770         (signbit_test): Likewise.
2771         (sin_test_data): Likewise.
2772         (sin_test): Likewise.
2773         (sincos_test_data): Likewise.
2774         (sincos_test): Likewise.
2775         (sinh_test_data): Likewise.
2776         (sinh_test): Likewise.
2777         (sqrt_test_data): Likewise.
2778         (sqrt_test): Likewise.
2779         (tan_test_data): Likewise.
2780         (tan_test): Likewise.
2781         (tanh_test_data): Likewise.
2782         (tanh_test): Likewise.
2783         (tgamma_test_data): Likewise.
2784         (tgamma_test): Likewise.
2785         (totalorder_test_data): Likewise.
2786         (totalorder_test): Likewise.
2787         (totalordermag_test_data): Likewise.
2788         (totalordermag_test): Likewise.
2789         (trunc_test_data): Likewise.
2790         (trunc_test): Likewise.
2791         (ufromfp_test_data): Likewise.
2792         (ufromfp_test): Likewise.
2793         (ufromfpx_test_data): Likewise.
2794         (ufromfpx_test): Likewise.
2795         (y0_test_data): Likewise.
2796         (y0_test): Likewise.
2797         (y1_test_data): Likewise.
2798         (y1_test): Likewise.
2799         (yn_test_data): Likewise.
2800         (yn_test): Likewise.
2801         (significand_test_data): Likewise.
2802         (significand_test): Likewise.
2803         * math/Makefile (auto-libm-test-out-files): Remove variable.
2804         (libm-test-funcs-noauto): New variable.
2805         (libm-test-funcs-all): Likewise.
2806         (libm-test-c-auto): Likewise.
2807         (libm-test-c-noauto): Likewise.
2808         (libm-tests-generated): Add $(libm-test-c-auto) and
2809         $(libm-test-c-noauto).
2810         (generated): Do not add auto-libm-test-out.
2811         (libm-test-c-auto-obj): New variable.
2812         (libm-test-c-noauto-obj): Likewise.
2813         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
2814         ($(libm-test-c-noauto-obj)): New static pattern rule.
2815         ($(libm-test-c-auto-obj)): Likewise.
2816         (libm-test-incs): New variable.
2817         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
2818         and pass it to gen-libm-have-vector-test.sh.
2819         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
2820         be passed on command line.
2821         * math/libm-test-acos.inc: New file.  Content from
2822         math/libm-test.inc.
2823         * math/libm-test-acosh.inc: Likewise.
2824         * math/libm-test-asin.inc: Likewise.
2825         * math/libm-test-asinh.inc: Likewise.
2826         * math/libm-test-atan.inc: Likewise.
2827         * math/libm-test-atan2.inc: Likewise.
2828         * math/libm-test-atanh.inc: Likewise.
2829         * math/libm-test-cabs.inc: Likewise.
2830         * math/libm-test-cacos.inc: Likewise.
2831         * math/libm-test-cacosh.inc: Likewise.
2832         * math/libm-test-canonicalize.inc: Likewise.
2833         * math/libm-test-carg.inc: Likewise.
2834         * math/libm-test-casin.inc: Likewise.
2835         * math/libm-test-casinh.inc: Likewise.
2836         * math/libm-test-catan.inc: Likewise.
2837         * math/libm-test-catanh.inc: Likewise.
2838         * math/libm-test-cbrt.inc: Likewise.
2839         * math/libm-test-ccos.inc: Likewise.
2840         * math/libm-test-ccosh.inc: Likewise.
2841         * math/libm-test-ceil.inc: Likewise.
2842         * math/libm-test-cexp.inc: Likewise.
2843         * math/libm-test-cimag.inc: Likewise.
2844         * math/libm-test-clog.inc: Likewise.
2845         * math/libm-test-clog10.inc: Likewise.
2846         * math/libm-test-conj.inc: Likewise.
2847         * math/libm-test-copysign.inc: Likewise.
2848         * math/libm-test-cos.inc: Likewise.
2849         * math/libm-test-cosh.inc: Likewise.
2850         * math/libm-test-cpow.inc: Likewise.
2851         * math/libm-test-cproj.inc: Likewise.
2852         * math/libm-test-creal.inc: Likewise.
2853         * math/libm-test-csin.inc: Likewise.
2854         * math/libm-test-csinh.inc: Likewise.
2855         * math/libm-test-csqrt.inc: Likewise.
2856         * math/libm-test-ctan.inc: Likewise.
2857         * math/libm-test-ctanh.inc: Likewise.
2858         * math/libm-test-erf.inc: Likewise.
2859         * math/libm-test-erfc.inc: Likewise.
2860         * math/libm-test-exp.inc: Likewise.
2861         * math/libm-test-exp10.inc: Likewise.
2862         * math/libm-test-exp2.inc: Likewise.
2863         * math/libm-test-expm1.inc: Likewise.
2864         * math/libm-test-fabs.inc: Likewise.
2865         * math/libm-test-fdim.inc: Likewise.
2866         * math/libm-test-floor.inc: Likewise.
2867         * math/libm-test-fma.inc: Likewise.
2868         * math/libm-test-fmax.inc: Likewise.
2869         * math/libm-test-fmaxmag.inc: Likewise.
2870         * math/libm-test-fmin.inc: Likewise.
2871         * math/libm-test-fminmag.inc: Likewise.
2872         * math/libm-test-fmod.inc: Likewise.
2873         * math/libm-test-fpclassify.inc: Likewise.
2874         * math/libm-test-frexp.inc: Likewise.
2875         * math/libm-test-fromfp.inc: Likewise.
2876         * math/libm-test-fromfpx.inc: Likewise.
2877         * math/libm-test-getpayload.inc: Likewise.
2878         * math/libm-test-hypot.inc: Likewise.
2879         * math/libm-test-ilogb.inc: Likewise.
2880         * math/libm-test-iscanonical.inc: Likewise.
2881         * math/libm-test-iseqsig.inc: Likewise.
2882         * math/libm-test-isfinite.inc: Likewise.
2883         * math/libm-test-isgreater.inc: Likewise.
2884         * math/libm-test-isgreaterequal.inc: Likewise.
2885         * math/libm-test-isinf.inc: Likewise.
2886         * math/libm-test-isless.inc: Likewise.
2887         * math/libm-test-islessequal.inc: Likewise.
2888         * math/libm-test-islessgreater.inc: Likewise.
2889         * math/libm-test-isnan.inc: Likewise.
2890         * math/libm-test-isnormal.inc: Likewise.
2891         * math/libm-test-issignaling.inc: Likewise.
2892         * math/libm-test-issubnormal.inc: Likewise.
2893         * math/libm-test-isunordered.inc: Likewise.
2894         * math/libm-test-iszero.inc: Likewise.
2895         * math/libm-test-j0.inc: Likewise.
2896         * math/libm-test-j1.inc: Likewise.
2897         * math/libm-test-jn.inc: Likewise.
2898         * math/libm-test-lgamma.inc: Likewise.
2899         * math/libm-test-llogb.inc: Likewise.
2900         * math/libm-test-llrint.inc: Likewise.
2901         * math/libm-test-llround.inc: Likewise.
2902         * math/libm-test-log.inc: Likewise.
2903         * math/libm-test-log10.inc: Likewise.
2904         * math/libm-test-log1p.inc: Likewise.
2905         * math/libm-test-log2.inc: Likewise.
2906         * math/libm-test-logb.inc: Likewise.
2907         * math/libm-test-lrint.inc: Likewise.
2908         * math/libm-test-lround.inc: Likewise.
2909         * math/libm-test-modf.inc: Likewise.
2910         * math/libm-test-nearbyint.inc: Likewise.
2911         * math/libm-test-nextafter.inc: Likewise.
2912         * math/libm-test-nextdown.inc: Likewise.
2913         * math/libm-test-nexttoward.inc: Likewise.
2914         * math/libm-test-nextup.inc: Likewise.
2915         * math/libm-test-pow.inc: Likewise.
2916         * math/libm-test-remainder.inc: Likewise.
2917         * math/libm-test-remquo.inc: Likewise.
2918         * math/libm-test-rint.inc: Likewise.
2919         * math/libm-test-round.inc: Likewise.
2920         * math/libm-test-roundeven.inc: Likewise.
2921         * math/libm-test-scalb.inc: Likewise.
2922         * math/libm-test-scalbln.inc: Likewise.
2923         * math/libm-test-scalbn.inc: Likewise.
2924         * math/libm-test-setpayload.inc: Likewise.
2925         * math/libm-test-setpayloadsig.inc: Likewise.
2926         * math/libm-test-signbit.inc: Likewise.
2927         * math/libm-test-significand.inc: Likewise.
2928         * math/libm-test-sin.inc: Likewise.
2929         * math/libm-test-sincos.inc: Likewise.
2930         * math/libm-test-sinh.inc: Likewise.
2931         * math/libm-test-sqrt.inc: Likewise.
2932         * math/libm-test-tan.inc: Likewise.
2933         * math/libm-test-tanh.inc: Likewise.
2934         * math/libm-test-tgamma.inc: Likewise.
2935         * math/libm-test-totalorder.inc: Likewise.
2936         * math/libm-test-totalordermag.inc: Likewise.
2937         * math/libm-test-trunc.inc: Likewise.
2938         * math/libm-test-ufromfp.inc: Likewise.
2939         * math/libm-test-ufromfpx.inc: Likewise.
2940         * math/libm-test-y0.inc: Likewise.
2941         * math/libm-test-y1.inc: Likewise.
2942         * math/libm-test-yn.inc: Likewise.
2943         * math/README.libm-test: Update.
2945         * math/gen-auto-libm-tests.c: Update comment about use of program.
2946         (generate_output): Add argument FUNCTION.
2947         (main): Require extra argument.  Pass function name to
2948         generate_output.
2949         * math/Makefile (generated): Add auto-libm-test-out.
2950         (libm-test-funcs-auto): New variable.
2951         (auto-libm-test-out-files): New variable.
2952         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
2953         Concatenate those files to form $(objpfx)auto-libm-test-out and
2954         use it as input to gen-libm-test.pl.
2955         * math/README.libm-test: Update.
2956         * math/auto-libm-test-out: Remove.
2957         * math/auto-libm-test-out-acos: New generated file.
2958         * math/auto-libm-test-out-acosh: Likewise.
2959         * math/auto-libm-test-out-asin: Likewise.
2960         * math/auto-libm-test-out-asinh: Likewise.
2961         * math/auto-libm-test-out-atan: Likewise.
2962         * math/auto-libm-test-out-atan2: Likewise.
2963         * math/auto-libm-test-out-atanh: Likewise.
2964         * math/auto-libm-test-out-cabs: Likewise.
2965         * math/auto-libm-test-out-carg: Likewise.
2966         * math/auto-libm-test-out-cbrt: Likewise.
2967         * math/auto-libm-test-out-ccos: Likewise.
2968         * math/auto-libm-test-out-ccosh: Likewise.
2969         * math/auto-libm-test-out-cexp: Likewise.
2970         * math/auto-libm-test-out-clog: Likewise.
2971         * math/auto-libm-test-out-clog10: Likewise.
2972         * math/auto-libm-test-out-cos: Likewise.
2973         * math/auto-libm-test-out-cosh: Likewise.
2974         * math/auto-libm-test-out-cpow: Likewise.
2975         * math/auto-libm-test-out-csin: Likewise.
2976         * math/auto-libm-test-out-csinh: Likewise.
2977         * math/auto-libm-test-out-csqrt: Likewise.
2978         * math/auto-libm-test-out-ctan: Likewise.
2979         * math/auto-libm-test-out-ctanh: Likewise.
2980         * math/auto-libm-test-out-erf: Likewise.
2981         * math/auto-libm-test-out-erfc: Likewise.
2982         * math/auto-libm-test-out-exp: Likewise.
2983         * math/auto-libm-test-out-exp10: Likewise.
2984         * math/auto-libm-test-out-exp2: Likewise.
2985         * math/auto-libm-test-out-expm1: Likewise.
2986         * math/auto-libm-test-out-fma: Likewise.
2987         * math/auto-libm-test-out-hypot: Likewise.
2988         * math/auto-libm-test-out-j0: Likewise.
2989         * math/auto-libm-test-out-j1: Likewise.
2990         * math/auto-libm-test-out-jn: Likewise.
2991         * math/auto-libm-test-out-lgamma: Likewise.
2992         * math/auto-libm-test-out-log: Likewise.
2993         * math/auto-libm-test-out-log10: Likewise.
2994         * math/auto-libm-test-out-log1p: Likewise.
2995         * math/auto-libm-test-out-log2: Likewise.
2996         * math/auto-libm-test-out-pow: Likewise.
2997         * math/auto-libm-test-out-sin: Likewise.
2998         * math/auto-libm-test-out-sincos: Likewise.
2999         * math/auto-libm-test-out-sinh: Likewise.
3000         * math/auto-libm-test-out-sqrt: Likewise.
3001         * math/auto-libm-test-out-tan: Likewise.
3002         * math/auto-libm-test-out-tanh: Likewise.
3003         * math/auto-libm-test-out-tgamma: Likewise.
3004         * math/auto-libm-test-out-y0: Likewise.
3005         * math/auto-libm-test-out-y1: Likewise.
3006         * math/auto-libm-test-out-yn: Likewise.
3008         * math/Makefile (generated): Do not include libm-test.stmp.
3009         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
3010         on $(objpfx)libm-test.stmp.
3011         ($(objpfx)libm-test.stmp): Remove rule.
3012         ($(objpfx)libm-test-ulps.h): New rule.
3013         ($(objpfx)libm-test.c): Likewise.
3014         ($(objpfx)libm-have-vector-test.h): Likewise.
3015         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
3016         individual generated files, not libm-test.stmp.
3018         * math/gen-libm-test.pl ($output_dir): Remove variable.
3019         ($srcdir): Likewise.
3020         ($opt_a): New variable.
3021         ($opt_c): Likewise.
3022         ($opt_C): Likewise.
3023         ($opt_H): Likewise.
3024         (-n): Make option take argument and use it as NewUlps output.
3025         (-a): New option.  Use its argument for auto-libm-test-out input.
3026         (-c): New option.  Use its argument for libm-test.inc input.
3027         (-C): New option.  Use its argument for libm-test.c output.
3028         (-H): New option.  Use its argument for libm-test-ulps.h output.
3029         (top level): Only process inputs needed to generate outputs
3030         specified by command-line options.  Only generate outputs
3031         specified by command-line options.
3032         * math/README.libm-test: Update example gen-libm-test.pl command.
3033         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
3034         commands.
3035         (regen-ulps): Likewise.
3037 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
3039         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
3040         * include/string.h (index): Remove define.
3041         (rindex): Likewise.
3042         * misc/getttyent.c (__getttyent): Rename index to strchr.
3043         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
3044         * sunrpc/rpc_main.c (mkfile_output): Likewise.
3046 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
3048         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
3049         * math/libm-test.inc: Move all contents, other than tests of
3050         individual functions, to libm-test-driver.c.
3051         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
3052         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
3053         [!FE_UPWARD] (FE_UPWARD): Likewise.
3054         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
3055         (NO_EXCEPTION): Likewise.
3056         (INVALID_EXCEPTION): Likewise.
3057         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
3058         (OVERFLOW_EXCEPTION): Likewise.
3059         (UNDERFLOW_EXCEPTION): Likewise.
3060         (INEXACT_EXCEPTION): Likewise.
3061         (INVALID_EXCEPTION_OK): Likewise.
3062         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3063         (OVERFLOW_EXCEPTION_OK): Likewise.
3064         (UNDERFLOW_EXCEPTION_OK): Likewise.
3065         (NO_INEXACT_EXCEPTION): Likewise.
3066         (EXCEPTIONS_OK): Likewise.
3067         (IGNORE_ZERO_INF_SIGN): Likewise.
3068         (TEST_NAN_SIGN): Likewise.
3069         (TEST_NAN_PAYLOAD): Likewise.
3070         (NO_TEST_INLINE): Likewise.
3071         (XFAIL_TEST): Likewise.
3072         (ERRNO_UNCHANGED): Likewise.
3073         (ERRNO_EDOM): Likewise.
3074         (ERRNO_ERANGE): Likewise.
3075         (IGNORE_RESULT): Likewise.
3076         (NON_FINITE): Likewise.
3077         (TEST_SNAN): Likewise.
3078         (NO_TEST_MATHVEC): Likewise.
3079         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
3080         (__CONCATX): Likewise.
3081         (TYPE_MIN): Likewise.
3082         (TYPE_TRUE_MIN): Likewise.
3083         (TYPE_MAX): Likewise.
3084         (MIN_EXP): Likewise.
3085         (MAX_EXP): Likewise.
3086         (MANT_DIG): Likewise.
3087         (FSTR_MAX): Likewise.
3088         (ULP_IDX): Likewise.
3089         (QTYPE_STR): Likewise.
3090         (TEST_COND_binary32): Likewise.
3091         (TEST_COND_binary64): Likewise.
3092         (TEST_COND_binary128): Likewise.
3093         (TEST_COND_ibm128): Likewise.
3094         (TEST_COND_intel96): Likewise.
3095         (TEST_COND_m68k96): Likewise.
3096         (TEST_COND_ibm128_libgcc): Likewise.
3097         (XFAIL_IBM128_LIBGCC): Likewise.
3098         (PAYLOAD_DIG): Likewise.
3099         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3100         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3101         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3102         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
3103         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3104         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
3105         (TEST_COND_long32): Likewise.
3106         (TEST_COND_long64): Likewise.
3107         (TEST_COND_before_rounding): Likewise.
3108         (TEST_COND_after_rounding): Likewise.
3109         (lit_pi_3_m_4_d): Likewise.
3110         (lit_pi_3_m_4_ln10_m_d): Likewise.
3111         (lit_pi_2_ln10_m_d): Likewise.
3112         (lit_pi_4_ln10_m_d): Likewise.
3113         (lit_pi_ln10_d): Likewise.
3114         (lit_pi_2_d): Likewise.
3115         (lit_pi_4_d): Likewise.
3116         (lit_pi): Likewise.
3117         (lit_e): Likewise.
3118         (ulps_file_name): Likewise.
3119         (ulps_file): Likewise.
3120         (output_ulps): Likewise.
3121         (output_dir): Likewise.
3122         (noErrors): Likewise.
3123         (noTests): Likewise.
3124         (noExcTests): Likewise.
3125         (noErrnoTests): Likewise.
3126         (verbose): Likewise.
3127         (output_max_error): Likewise.
3128         (output_points): Likewise.
3129         (ignore_max_ulp): Likewise.
3130         (plus_zero): Likewise.
3131         (minus_zero): Likewise.
3132         (plus_infty): Likewise.
3133         (minus_infty): Likewise.
3134         (qnan_value_pl): Likewise.
3135         (qnan_value): Likewise.
3136         (snan_value_pl): Likewise.
3137         (snan_value): Likewise.
3138         (max_value): Likewise.
3139         (min_value): Likewise.
3140         (min_subnorm_value): Likewise.
3141         (snan_value_ld): Likewise.
3142         (max_error): Likewise.
3143         (real_max_error): Likewise.
3144         (imag_max_error): Likewise.
3145         (prev_max_error): Likewise.
3146         (prev_real_max_error): Likewise.
3147         (prev_imag_max_error): Likewise.
3148         (max_valid_error): Likewise.
3149         (TYPE_DECIMAL_DIG): Likewise.
3150         (TYPE_HEX_DIG): Likewise.
3151         (fmt_ftostr): Likewise.
3152         (compare_ulp_data): Likewise.
3153         (find_ulps): Likewise.
3154         (init_max_error): Likewise.
3155         (set_max_error): Likewise.
3156         (print_float): Likewise.
3157         (print_screen): Likewise.
3158         (print_screen_max_error): Likewise.
3159         (update_stats): Likewise.
3160         (print_function_ulps): Likewise.
3161         (print_complex_function_ulps): Likewise.
3162         (fpstack_test): Likewise.
3163         (print_max_error): Likewise.
3164         (print_complex_max_error): Likewise.
3165         (test_single_exception): Likewise.
3166         (test_exceptions): Likewise.
3167         (test_single_errno): Likewise.
3168         (test_errno): Likewise.
3169         (ULPDIFF): Likewise.
3170         (ulp): Likewise.
3171         (check_float_internal): Likewise.
3172         (check_float): Likewise.
3173         (check_complex): Likewise.
3174         (check_int): Likewise.
3175         (check_long): Likewise.
3176         (check_bool): Likewise.
3177         (check_longlong): Likewise.
3178         (check_intmax_t): Likewise.
3179         (check_uintmax_t): Likewise.
3180         (enable_test): Likewise.
3181         (struct test_f_f_data): Likewise.
3182         (struct test_ff_f_data): Likewise.
3183         (struct test_fj_f_data): Likewise.
3184         (struct test_fi_f_data): Likewise.
3185         (struct test_fl_f_data): Likewise.
3186         (struct test_if_f_data): Likewise.
3187         (struct test_fff_f_data): Likewise.
3188         (struct test_fiu_M_data): Likewise.
3189         (struct test_fiu_U_data): Likewise.
3190         (struct test_c_f_data): Likewise.
3191         (struct test_f_f1_data): Likewise.
3192         (struct test_fF_f1_data): Likewise.
3193         (struct test_ffI_f1_data): Likewise.
3194         (struct test_c_c_data): Likewise.
3195         (struct test_cc_c_data): Likewise.
3196         (struct test_f_i_data): Likewise.
3197         (struct test_ff_i_data): Likewise.
3198         (struct test_f_l_data): Likewise.
3199         (struct test_f_L_data): Likewise.
3200         (struct test_fFF_11_data): Likewise.
3201         (struct test_Ff_b1_data): Likewise.
3202         (IF_ROUND_INIT_): Likewise.
3203         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3204         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3205         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3206         (IF_ROUND_INIT_FE_UPWARD): Likewise.
3207         (ROUND_RESTORE_): Likewise.
3208         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3209         (ROUND_RESTORE_FE_TONEAREST): Likewise.
3210         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3211         (ROUND_RESTORE_FE_UPWARD): Likewise.
3212         (RM_): Likewise.
3213         (RM_FE_DOWNWARD): Likewise.
3214         (RM_FE_TONEAREST): Likewise.
3215         (RM_FE_TOWARDZERO): Likewise.
3216         (RM_FE_UPWARD): Likewise.
3217         (COMMON_TEST_SETUP): Likewise.
3218         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
3219         (COMMON_TEST_CLEANUP): Likewise.
3220         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
3221         (RUN_TEST_f_f): Likewise.
3222         (RUN_TEST_LOOP_f_f): Likewise.
3223         (RUN_TEST_fp_f): Likewise.
3224         (RUN_TEST_LOOP_fp_f): Likewise.
3225         (RUN_TEST_2_f): Likewise.
3226         (RUN_TEST_LOOP_2_f): Likewise.
3227         (RUN_TEST_ff_f): Likewise.
3228         (RUN_TEST_LOOP_ff_f): Likewise.
3229         (RUN_TEST_LOOP_fj_f): Likewise.
3230         (RUN_TEST_fi_f): Likewise.
3231         (RUN_TEST_LOOP_fi_f): Likewise.
3232         (RUN_TEST_fl_f): Likewise.
3233         (RUN_TEST_LOOP_fl_f): Likewise.
3234         (RUN_TEST_if_f): Likewise.
3235         (RUN_TEST_LOOP_if_f): Likewise.
3236         (RUN_TEST_fff_f): Likewise.
3237         (RUN_TEST_LOOP_fff_f): Likewise.
3238         (RUN_TEST_fiu_M): Likewise.
3239         (RUN_TEST_LOOP_fiu_M): Likewise.
3240         (RUN_TEST_fiu_U): Likewise.
3241         (RUN_TEST_LOOP_fiu_U): Likewise.
3242         (RUN_TEST_c_f): Likewise.
3243         (RUN_TEST_LOOP_c_f): Likewise.
3244         (RUN_TEST_f_f1): Likewise.
3245         (RUN_TEST_LOOP_f_f1): Likewise.
3246         (RUN_TEST_fF_f1): Likewise.
3247         (RUN_TEST_LOOP_fF_f1): Likewise.
3248         (RUN_TEST_fI_f1): Likewise.
3249         (RUN_TEST_LOOP_fI_f1): Likewise.
3250         (RUN_TEST_ffI_f1_mod8): Likewise.
3251         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
3252         (RUN_TEST_Ff_b1): Likewise.
3253         (RUN_TEST_LOOP_Ff_b1): Likewise.
3254         (RUN_TEST_Ffp_b1): Likewise.
3255         (RUN_TEST_LOOP_Ffp_b1): Likewise.
3256         (RUN_TEST_c_c): Likewise.
3257         (RUN_TEST_LOOP_c_c): Likewise.
3258         (RUN_TEST_cc_c): Likewise.
3259         (RUN_TEST_LOOP_cc_c): Likewise.
3260         (RUN_TEST_f_i): Likewise.
3261         (RUN_TEST_LOOP_f_i): Likewise.
3262         (RUN_TEST_f_i_tg): Likewise.
3263         (RUN_TEST_LOOP_f_i_tg): Likewise.
3264         (RUN_TEST_ff_b): Likewise.
3265         (RUN_TEST_LOOP_ff_b): Likewise.
3266         (RUN_TEST_ff_i_tg): Likewise.
3267         (RUN_TEST_LOOP_ff_i_tg): Likewise.
3268         (RUN_TEST_f_b): Likewise.
3269         (RUN_TEST_LOOP_f_b): Likewise.
3270         (RUN_TEST_f_b_tg): Likewise.
3271         (RUN_TEST_LOOP_f_b_tg): Likewise.
3272         (RUN_TEST_f_l): Likewise.
3273         (RUN_TEST_LOOP_f_l): Likewise.
3274         (RUN_TEST_f_L): Likewise.
3275         (RUN_TEST_LOOP_f_L): Likewise.
3276         (RUN_TEST_fFF_11): Likewise.
3277         (RUN_TEST_LOOP_fFF_11): Likewise.
3278         (VEC_SUFF): Likewise.
3279         (STR_CONCAT): Likewise.
3280         (STR_CON3): Likewise.
3281         (HAVE_VECTOR): Likewise.
3282         (START): Likewise.
3283         (END): Likewise.
3284         (END_COMPLEX): Likewise.
3285         (ALL_RM_TEST): Likewise.
3286         (matherr): Likewise.
3287         (initialize): Likewise.
3288         (options): Likewise.
3289         (doc): Likewise.
3290         (parse_opt): Likewise.
3291         (argp): Likewise.
3292         (check_ulp): Likewise.
3293         (main): Likewise.
3294         (do_test): New function.  Call tests of individual functions
3295         previously called from main.
3297         * math/libm-test.inc: Remove comment listing functions tested and
3298         not tested.
3300 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3302         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
3303         (allocate_stack): Remove COLORING_INCREMENT usage.
3304         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
3305         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
3307 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
3309         * manual/libm-err-tab.pl (@all_functions): Change to
3310         %all_functions.  Initialize as empty.
3311         (parse_ulps): Add to %all_functions based on functions found in
3312         ulps files.  Ignore results for non-default rounding modes and
3313         vector functions.
3314         (print_platforms): Use %all_platforms.
3315         * manual/math.texi (Errors in Math Functions): Document omissions
3316         from the table.
3318         * math/Makefile (before-compile): Remove.
3320 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
3322         [BZ #21075]
3323         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
3324         unused assignment.
3325         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
3327 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3329         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
3330         Add __glibc_unlikely hint.
3332 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3334         [BZ #16640]
3335         * sysdeps/i386/i686/strtok.S: Remove file.
3336         * sysdeps/i386/i686/strtok_r.S: Likewise.
3337         * sysdeps/i386/strtok.S: Likewise.
3338         * sysdeps/i386/strtok_r.S: Likewise.
3339         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
3340         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
3341         * sysdeps/x86_64/strtok.S: Likewise.
3342         * sysdeps/x86_64/strtok_r.S: Likewise.
3344         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
3345         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
3346         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3347         (__ASSUME_FADVISE64_AS_64_64): Define.
3348         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
3349         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
3350         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
3351         __ALIGNMENT_ARG usage.
3352         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
3353         __NR_fadvise64_64 if it is not defined.
3355 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3357         * version.h (RELEASE): Set to "development"
3358         (VERSION): Set to 2.25.90.
3359         * NEWS: Add 2.26 section.
3361         * version.h (RELEASE): Set to "stable"
3362         (VERSION): Set to 2.25.
3363         * include/features.h (__GLIBC_MINOR__): Set to 25.
3365         * manual/contrib.texi: Add more contributors from this release
3366         and past releases.
3368         * NEWS (2.25): Add list of bugs fixed.
3370         * NEWS: Add missing news items.
3372 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3374         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
3375         parent if child exited in that manner.  Print WEXITSTATUS
3376         instead of the raw status.
3377         (do_test_prep): Rename to do_test.
3378         (do_test): Return the result of run_executable_sgid.
3379         (TEST_FUNCTION_ARGV): Adjust.
3381 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
3382             Florian Weimer  <fweimer@redhat.com>
3383             Carlos O'Donell  <carlos@redhat.com>
3385         [BZ #20915]
3386         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
3387         Do not initialize DTV.
3388         * nptl/allocatestack.c (init_one_static_tls): Likewise.
3390 2017-02-03  David S. Miller  <davem@davemloft.net>
3392         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
3393         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3394         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
3395         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3396         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
3397         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3398         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
3399         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3400         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
3401         (libm-sysdep_routines): Update.
3402         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
3403         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
3404         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
3405         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
3406         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
3407         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
3408         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
3409         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
3410         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
3411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
3412         Likewise.
3413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
3415         Likewise.
3416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
3418         Likewise.
3419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
3421         Likewise.
3422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
3423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3424         (libm-sysdep_routines): Update.
3426 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
3428         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
3429         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
3430         against unrelocated shared library.
3431         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3433 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3435         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
3436         * elf/tst-env-setuid-tunables.c
3437         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
3438         GLIBC_TUNABLES is removed in a setgid process.
3440         [BZ #21073]
3441         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
3442         * elf/dl-tunables.c (tunables_strdup): Remove.
3443         (get_next_env): Also return the previous envp.
3444         (parse_tunables): Erase tunables of category
3445         TUNABLES_SECLEVEL_SXID_ERASE.
3446         (maybe_enable_malloc_check): Make MALLOC_CHECK_
3447         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
3448         (__tunables_init)[TUNABLES_FRONTEND ==
3449         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
3450         after parsing.
3451         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
3452         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
3453         * elf/dl-tunables.h (struct _tunable): Change member is_secure
3454         to security_level.
3455         * elf/dl-tunables.list: Add security_level annotations for all
3456         tunables.
3457         * scripts/gen-tunables.awk: Recognize and generate enum values
3458         for security_level.
3459         * elf/tst-env-setuid.c: New test case.
3460         * elf/tst-env-setuid-tunables: new test case.
3461         * elf/Makefile (tests-static): Add them.
3463 2017-02-01  Richard Henderson  <rth@twiddle.net>
3465         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
3466         adjusting the byte count.
3468 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
3470         * conform/Makefile (linknamespace-libs): Define.
3472         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
3473         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
3474         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
3475         operands.
3477 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
3479         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
3481 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
3483         [BZ #21081]
3484         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
3485         (L(stosb)): Add VZEROUPPER before ret.
3487 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
3488             Alexey Makhalov <amakhalov@vmware.com>
3489             Florian Weimer <fweimer@redhat.com>
3491         [BZ #20116]
3492         * nptl/pthread_create.c: Document concurrency notes.
3493         Enhance thread creation notes.
3494         (create_thread): Use bool *stopped_start.
3495         (START_THREAD_DEFN): Comment ownership of PD.
3496         (__pthread_create_2_1): Add local bool stopped_start and use
3497         that instead of pd->stopped_start where appropriate.
3498         * nptl/createthread.c (create_thread): Use bool *stopped_start.
3499         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
3500         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
3501         * nptl/tst-create-detached.c: New file.
3502         * nptl/Makefile (tests): Add tst-create-detached.
3503         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
3504         Reference the enhanced thread creation notes.
3505         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
3506         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
3507         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
3508         (__pthread_current_priority): Likewise.
3509         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
3510         xpthread_attr_init, xpthread_attr_setdetachstate, and
3511         xpthread_attr_setstacksize.
3512         * support/xpthread_attr_destroy.c: New file.
3513         * support/xpthread_attr_init.c: New file.
3514         * support/xpthread_attr_setdetachstate.c: New file.
3515         * support/xpthread_attr_setstacksize.c: New file.
3516         * support/xthread.h: Define prototypes for xpthread_attr_destroy
3517         xpthread_attr_init, xpthread_attr_setdetachstate, and
3518         xpthread_attr_setstacksize.
3520 2017-01-27  Florian Weimer  <fweimer@redhat.com>
3522         * nptl/Makefile (tests): Add tst-robust-fork.
3523         * nptl/tst-robust-fork.c: New file.
3524         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
3525         xpthread_mutex_consistent, xpthread_mutex_destroy,
3526         xpthread_mutex_init, xpthread_mutexattr_destroy,
3527         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
3528         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
3529         xpthread_mutexattr_settype.
3530         * support/xmmap.c: New file.
3531         * support/xmunmap.c: Likewise.
3532         * support/xpthread_mutex_consistent.c: Likewise.
3533         * support/xpthread_mutex_destroy.c: Likewise.
3534         * support/xpthread_mutex_init.c: Likewise.
3535         * support/xpthread_mutexattr_destroy.c: Likewise.
3536         * support/xpthread_mutexattr_init.c: Likewise.
3537         * support/xpthread_mutexattr_setprotocol.c: Likewise.
3538         * support/xpthread_mutexattr_setpshared.c: Likewise.
3539         * support/xpthread_mutexattr_setrobust.c: Likewise.
3540         * support/xpthread_mutexattr_settype.c: Likewise.
3541         * support/xthread.h (xpthread_mutexattr_destroy)
3542         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
3543         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
3544         (xpthread_mutexattr_settype, xpthread_mutex_init)
3545         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
3546         * support/xunistd.h (xmmap, xmunmap): Likewise.
3548 2017-01-25  Florian Weimer  <fweimer@redhat.com>
3550         * string/Makefile (xtests): Add comment.
3551         (LOCALES): Add en_GB.UTF-8.
3552         (tst-strcoll-overflow.out): Depend on generated locales.
3553         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
3554         (SIZE, TIMEOUT): Update comments.
3555         (do_test): Define as static.  Fail test if setlocale fails.
3556         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
3557         messages.
3558         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
3559         TIMEOUT at 300 seconds should be enough to run this test
3560         successfully.
3562 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
3564         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
3565         /* FALLTHRU */ comments.
3567 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
3569         [BZ #21053]
3570         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
3571         constants instead of the old R* ones.
3572         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
3573         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
3574         (NGREG): ... to this, to fit in with other architectures.
3575         (gpregset_t): Use new NGREG macro.
3576         [__USE_GNU]: Remove condition; all architectures other than tile
3577         are unconditional.
3578         (R*): Rename to REG_R*.
3580 2017-01-20  DJ Delorie  <dj@redhat.com>
3582         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
3583         (tunable_set_val_if_valid_range_signed) ... this, and ...
3584         (tunable_set_val_if_valid_range_unsigned) ... this.
3585         (tunable_initialize): Call the correct one of the above based on type.
3587 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
3589         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
3590         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3591         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
3592         * sysdeps/microblaze/libm-test-ulps: Likewise.
3593         * sysdeps/sh/libm-test-ulps: Likewise.
3595         * math/README.libm-test: Update list of characters for input and
3596         output types.
3598 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3600         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
3601         (__lll_unlock_elision): Fix adapt_count decrement.
3603 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
3605         * README.pretty-printers (Known issues): Warn about printers not
3606         always covering everything.
3607         * nptl/nptl-printers.py (MutexPrinter): Change output.
3608         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
3610 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3612         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
3613         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3614         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
3615         (__lll_lock_elision): Do not test futex before starting a
3616         transaction.  Use __glibc_likely instead of __builtin_expect.
3617         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
3618         (__lll_trylock_elision): Do not test futex before starting a
3619         transaction.  Use __glibc_likely instead of __builtin_expect.
3621 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3623         * po/Makefile (update-translations): New target.
3625 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
3627         [BZ #21061]
3628         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
3630 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3632         * elf/dl-tunables (get_next_env): Always advance envp.
3633         * stdlib/tst-empty-env.c: New test case.
3634         * stdlib/Makefile (tests): Use it.
3636 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
3638         [BZ #21047]
3639         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
3640         name for instruction.
3641         [!__SOFTFP__] (_FPU_SETCW): Likewise.
3643 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
3645         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
3646         for make install.
3648 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3650         * po/bg.po: Merge from Translation Project.
3651         * po/fr.po: Likewise.
3652         * po/ko.po: Likewise.
3653         * po/nl.po: Likewise.
3654         * po/sv.po: Likewise.
3656 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
3658         * manual/install.texi (Tools for Compilation): Update GCC version
3659         known to work to build glibc.
3660         * INSTALL: Regenerated.
3662 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
3664         [BZ #21006]
3665         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
3667 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
3669         [BZ #21045]
3670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
3671         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
3672         to __sigprocmask.
3674 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
3676         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
3677         wrap-around.
3678         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
3680         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
3682 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3684         * NEWS: Fix typo.
3686 2016-01-13  Torvald Riegel  <triegel@redhat.com>
3688         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
3689         barriers and comments.
3690         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
3691         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
3692         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3694 2016-01-13  Torvald Riegel  <triegel@redhat.com>
3696         [BZ #19402]
3697         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
3698         mutexes.
3700 2016-01-13  Torvald Riegel  <triegel@redhat.com>
3702         [BZ #20985]
3703         * nptl/Makefile: Adapt.
3704         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
3705         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
3706         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
3707         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
3708         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
3709         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
3710         lll_robust* functions and adapt.
3711         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3712         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
3713         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
3714         __lll_robust_timedlock, __lll_robust_unlock): Remove.
3715         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
3716         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
3717         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
3718         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
3719         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
3720         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
3721         __lll_robust_timedlock, __lll_robust_unlock): Remove.
3722         * nptl/lowlevelrobustlock.c: Remove file.
3723         * nptl/lowlevelrobustlock.sym: Likewise.
3724         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
3725         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
3727 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3729         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
3731 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3733         * po/cs.po: Merge translations from the Translation Project.
3734         * po/de.po: Likewise.
3735         * po/pl.po: Likewise.
3736         * po/ru.po: Likewise.
3737         * po/tr.po: Likewise.
3738         * po/uk.po: Likewise.
3739         * po/vi.po: Likewise.
3740         * po/zh_CN.po: Likewise.
3742 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
3744         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
3746         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
3747         object.
3749 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
3751         [BZ #16458]
3752         * bits/uintn-identity.h: New file.
3753         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
3754         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
3755         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
3756         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
3757         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
3758         * string/endian.h: Include <bits/uintn-identity.h>.
3759         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
3760         __uint16_identity.
3761         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
3762         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
3763         __uint32_identity.
3764         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
3765         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
3766         __uint64_identity.
3767         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
3768         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
3769         __uint16_identity.
3770         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
3771         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
3772         __uint32_identity.
3773         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
3774         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
3775         __uint64_identity.
3776         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
3777         * string/Makefile (headers): Add bits/uintn-identity.h.
3778         (tests): Add test-endian-types.
3779         * string/test-endian-types.c: New file.
3780         * inet/Makefile (tests): Add test-hnto-types.
3781         * inet/test-hnto-types.c: New file.
3783 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3785         * po/be.po: Update from Translation Project.
3786         * po/bg.po: Likewise.
3787         * po/ca.po: Likewise.
3788         * po/cs.po: Likewise.
3789         * po/da.po: Likewise.
3790         * po/de.po: Likewise.
3791         * po/el.po: Likewise.
3792         * po/eo.po: Likewise.
3793         * po/es.po: Likewise.
3794         * po/fi.po: Likewise.
3795         * po/fr.po: Likewise.
3796         * po/gl.po: Likewise.
3797         * po/hr.po: Likewise.
3798         * po/hu.po: Likewise.
3799         * po/ia.po: Likewise.
3800         * po/id.po: Likewise.
3801         * po/it.po: Likewise.
3802         * po/ja.po: Likewise.
3803         * po/ko.po: Likewise.
3804         * po/lt.po: Likewise.
3805         * po/nb.po: Likewise.
3806         * po/nl.po: Likewise.
3807         * po/pl.po: Likewise.
3808         * po/pt_BR.po: Likewise.
3809         * po/ru.po: Likewise.
3810         * po/rw.po: Likewise.
3811         * po/sk.po: Likewise.
3812         * po/sl.po: Likewise.
3813         * po/sv.po: Likewise.
3814         * po/tr.po: Likewise.
3815         * po/uk.po: Likewise.
3816         * po/vi.po: Likewise.
3817         * po/zh_CN.po: Likewise.
3818         * po/zh_TW.po: Likewise.
3820 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
3822         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
3823         -Wformat-truncation instead of -Wformat-length.
3824         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
3825         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
3826         GCC 7.
3827         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
3828         (do_test): Ignore -Wformat-truncation for GCC 7.
3830         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
3831         buffer used to print long int value.
3833         * elf/sotruss-lib.c (init): Increase space allocated for pid by
3834         one byte.  Print it with %ld, cast to long int.
3836 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3838         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
3839         (re.fullmatch, subprocess.run): Likewise.
3841 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3843         * po/libc.pot: Regenerate.
3845 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3847         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
3848         (min_strlen): Likewise.
3849         (disable_tunable): Likewise.
3850         (maybe_disable_malloc_check): Rename to
3851         maybe_enable_malloc_check.
3852         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
3853         if /etc/suid-debug file exists.
3854         (__tunables_init): Update caller.
3855         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
3856         secure.
3858 2016-01-10  Torvald Riegel  <triegel@redhat.com>
3860         * nptl/DESIGN-rwlock.txt: Remove.
3861         * nptl/lowlevelrwlock.sym: Remove.
3862         * nptl/Makefile: Add new tests.
3863         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
3864         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
3865         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
3866         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
3867         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
3868         PTHREAD_RWLOCK_FUTEX_USED): New.
3869         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
3870         implementation.
3871         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
3872         (__pthread_rwlock_rdlock): Adapt.
3873         * nptl/pthread_rwlock_timedrdlock.c
3874         (pthread_rwlock_timedrdlock): Adapt.
3875         * nptl/pthread_rwlock_timedwrlock.c
3876         (pthread_rwlock_timedwrlock): Adapt.
3877         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
3878         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
3879         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
3880         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
3881         (__pthread_rwlock_wrlock): Adapt.
3882         * nptl/tst-rwlock10.c: Adapt.
3883         * nptl/tst-rwlock11.c: Adapt.
3884         * nptl/tst-rwlock17.c: New file.
3885         * nptl/tst-rwlock18.c: New file.
3886         * nptl/tst-rwlock19.c: New file.
3887         * nptl/tst-rwlock2b.c: New file.
3888         * nptl/tst-rwlock8.c: Adapt.
3889         * nptl/tst-rwlock9.c: Adapt.
3890         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3891         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3892         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3893         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3894         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3895         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3896         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3897         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3898         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3899         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3900         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3901         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3902         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
3903         (pthread_rwlock_t): Adapt.
3904         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3905         (pthread_rwlock_t): Adapt.
3906         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3907         * nptl/nptl-printers.py (): Adapt.
3908         * nptl/nptl_lock_constants.pysym: Adapt.
3909         * nptl/test-rwlock-printers.py: Adapt.
3910         * nptl/test-rwlockattr-printers.c: Adapt.
3911         * nptl/test-rwlockattr-printers.py: Adapt.
3913 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
3915         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
3916         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
3917         (fma_test_data): Likewise.
3918         (hypot_test_data): Likewise.
3919         (log1p_test_data): Likewise.
3920         (modf_test_data): Likewise.
3921         (pow_test_data): Likewise.
3922         (remainder_test_data): Likewise.
3923         (remquo_test_data): Likewise.
3924         (scalb_test_data): Likewise.
3925         (scalbn_test_data): Likewise.
3926         (scalbln_test_data): Likewise.
3927         * math/gen-libm-test.pl (parse_args): Transform
3928         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
3929         on the rounding mode.
3931 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
3933         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
3934         xfail-rounding:ibm128-libgcc automatically to tests overflowing
3935         and those that can underflow to zero.
3936         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
3937         add others.
3938         * math/auto-libm-test-out: Regenerated.
3940         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
3941         supported.
3942         (feholdexcept_tests): Skip tests requiring exceptions or rounding
3943         modes support if not supported.
3945         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
3946         Add libc.so PLT entry.
3947         (__tls_get_addr): Make ld.so PLT entry optional.
3949 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3951         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
3952         * string/bits/string3.h: ... here.
3954 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
3956         [BZ #21028]
3957         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
3958         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
3959         if EXCEPTION_TESTS returns false.
3961 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3963         [BZ #20558]
3964         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
3965         strings_fortified.h.
3966         [__USE_MISC] (bzero): Likewise.
3967         [__USE_MISC] (explicit_bzero): Likewise.
3968         * string/strings.h: Include strings_fortified.h.
3969         * string/Makefile (headers): Add strings_fortified.h.
3970         * string/bits/strings_fortified.h: New file.
3971         * include/bits/strings_fortified.h: Likewise.
3973 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
3975         * elf/tst-tls13.c (TIMEOUT): Remove.
3976         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
3977         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
3978         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
3979         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
3980         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
3982         [BZ #21026]
3983         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
3984         (readahead): New syscall entry.
3986 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
3988         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
3989         around tests of strncat with large sizes.
3991         * malloc/tst-malloc.c: Include <libc-internal.h>.
3992         (do_test): Disable -Walloc-size-larger-than= around tests of
3993         malloc with negative sizes.
3994         * malloc/tst-mcheck.c: Include <libc-internal.h>.
3995         (do_test): Disable -Walloc-size-larger-than= around tests of
3996         malloc and realloc with negative sizes.
3997         * malloc/tst-realloc.c: Include <libc-internal.h>.
3998         (do_test): Disable -Walloc-size-larger-than= around tests of
3999         realloc with negative sizes.
4001         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
4002         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
4003         allowed to 16 ulps.
4004         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
4005         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
4006         * math/auto-libm-test-out: Regenerated.
4008 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4010         * math/Makefile (libm-calls): Move wrappers...
4011         (libm-compat-call-auto): Here.
4012         (libm-routines): Add items in libm-compat-calls-auto.
4013         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
4014         the filenames of the wrappers that have been renamed.
4015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
4016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4018         * math/w_acos.c: Add _compat suffix to filename.
4019         * math/w_acosf.c: Likewise.
4020         * math/w_acosh.c: Likewise.
4021         * math/w_acoshf.c: Likewise.
4022         * math/w_acoshl.c: Likewise.
4023         * math/w_acosl.c: Likewise.
4024         * math/w_asin.c: Likewise.
4025         * math/w_asinf.c: Likewise.
4026         * math/w_asinl.c: Likewise.
4027         * math/w_atan2.c: Likewise.
4028         * math/w_atan2f.c: Likewise.
4029         * math/w_atan2l.c: Likewise.
4030         * math/w_atanh.c: Likewise.
4031         * math/w_atanhf.c: Likewise.
4032         * math/w_atanhl.c: Likewise.
4033         * math/w_cosh.c: Likewise.
4034         * math/w_coshf.c: Likewise.
4035         * math/w_coshl.c: Likewise.
4036         * math/w_exp10.c: Likewise.
4037         * math/w_exp10f.c: Likewise.
4038         * math/w_exp10l.c: Likewise.
4039         * math/w_exp2.c: Likewise.
4040         * math/w_exp2f.c: Likewise.
4041         * math/w_exp2l.c: Likewise.
4042         * math/w_fmod.c: Likewise.
4043         * math/w_fmodf.c: Likewise.
4044         * math/w_fmodl.c: Likewise.
4045         * math/w_hypot.c: Likewise.
4046         * math/w_hypotf.c: Likewise.
4047         * math/w_hypotl.c: Likewise.
4048         * math/w_j0.c: Likewise.
4049         * math/w_j0f.c: Likewise.
4050         * math/w_j0l.c: Likewise.
4051         * math/w_j1.c: Likewise.
4052         * math/w_j1f.c: Likewise.
4053         * math/w_j1l.c: Likewise.
4054         * math/w_jn.c: Likewise.
4055         * math/w_jnf.c: Likewise.
4056         * math/w_jnl.c: Likewise.
4057         * math/w_log10.c: Likewise.
4058         * math/w_log10f.c: Likewise.
4059         * math/w_log10l.c: Likewise.
4060         * math/w_log2.c: Likewise.
4061         * math/w_log2f.c: Likewise.
4062         * math/w_log2l.c: Likewise.
4063         * math/w_log.c: Likewise.
4064         * math/w_logf.c: Likewise.
4065         * math/w_logl.c: Likewise.
4066         * math/w_pow.c: Likewise.
4067         * math/w_powf.c: Likewise.
4068         * math/w_powl.c: Likewise.
4069         * math/w_remainder.c: Likewise.
4070         * math/w_remainderf.c: Likewise.
4071         * math/w_remainderl.c: Likewise.
4072         * math/w_scalb.c: Likewise.
4073         * math/w_scalbf.c: Likewise.
4074         * math/w_scalbl.c: Likewise.
4075         * math/w_sinh.c: Likewise.
4076         * math/w_sinhf.c: Likewise.
4077         * math/w_sinhl.c: Likewise.
4078         * math/w_sqrt.c: Likewise.
4079         * math/w_sqrtf.c: Likewise.
4080         * math/w_sqrtl.c: Likewise.
4081         * math/w_tgamma.c: Likewise.
4082         * math/w_tgammaf.c: Likewise.
4083         * math/w_tgammal.c: Likewise.
4085         * math/w_acos_compat.c: New file copied from above and
4086         adjusted for new #includes path
4087         * math/w_acosf_compat.c: Likewise.
4088         * math/w_acosh_compat.c: Likewise.
4089         * math/w_acoshf_compat.c: Likewise.
4090         * math/w_acoshl_compat.c: Likewise.
4091         * math/w_acosl_compat.c: Likewise.
4092         * math/w_asin_compat.c: Likewise.
4093         * math/w_asinf_compat.c: Likewise.
4094         * math/w_asinl_compat.c: Likewise.
4095         * math/w_atan2_compat.c: Likewise.
4096         * math/w_atan2f_compat.c: Likewise.
4097         * math/w_atan2l_compat.c: Likewise.
4098         * math/w_atanh_compat.c: Likewise.
4099         * math/w_atanhf_compat.c: Likewise.
4100         * math/w_atanhl_compat.c: Likewise.
4101         * math/w_cosh_compat.c: Likewise.
4102         * math/w_coshf_compat.c: Likewise.
4103         * math/w_coshl_compat.c: Likewise.
4104         * math/w_exp10_compat.c: Likewise.
4105         * math/w_exp10f_compat.c: Likewise.
4106         * math/w_exp10l_compat.c: Likewise.
4107         * math/w_exp2_compat.c: Likewise.
4108         * math/w_exp2f_compat.c: Likewise.
4109         * math/w_exp2l_compat.c: Likewise.
4110         * math/w_fmod_compat.c: Likewise.
4111         * math/w_fmodf_compat.c: Likewise.
4112         * math/w_fmodl_compat.c: Likewise.
4113         * math/w_hypot_compat.c: Likewise.
4114         * math/w_hypotf_compat.c: Likewise.
4115         * math/w_hypotl_compat.c: Likewise.
4116         * math/w_j0_compat.c: Likewise.
4117         * math/w_j0f_compat.c: Likewise.
4118         * math/w_j0l_compat.c: Likewise.
4119         * math/w_j1_compat.c: Likewise.
4120         * math/w_j1f_compat.c: Likewise.
4121         * math/w_j1l_compat.c: Likewise.
4122         * math/w_jn_compat.c: Likewise.
4123         * math/w_jnf_compat.c: Likewise.
4124         * math/w_jnl_compat.c: Likewise.
4125         * math/w_log10_compat.c: Likewise.
4126         * math/w_log10f_compat.c: Likewise.
4127         * math/w_log10l_compat.c: Likewise.
4128         * math/w_log2_compat.c: Likewise.
4129         * math/w_log2f_compat.c: Likewise.
4130         * math/w_log2l_compat.c: Likewise.
4131         * math/w_log_compat.c: Likewise.
4132         * math/w_logf_compat.c: Likewise.
4133         * math/w_logl_compat.c: Likewise.
4134         * math/w_pow_compat.c: Likewise.
4135         * math/w_powf_compat.c: Likewise.
4136         * math/w_powl_compat.c: Likewise.
4137         * math/w_remainder_compat.c: Likewise.
4138         * math/w_remainderf_compat.c: Likewise.
4139         * math/w_remainderl_compat.c: Likewise.
4140         * math/w_scalb_compat.c: Likewise.
4141         * math/w_scalbf_compat.c: Likewise.
4142         * math/w_scalbl_compat.c: Likewise.
4143         * math/w_sinh_compat.c: Likewise.
4144         * math/w_sinhf_compat.c: Likewise.
4145         * math/w_sinhl_compat.c: Likewise.
4146         * math/w_sqrt_compat.c: Likewise.
4147         * math/w_sqrtf_compat.c: Likewise.
4148         * math/w_sqrtl_compat.c: Likewise.
4149         * math/w_tgamma_compat.c: Likewise.
4150         * math/w_tgammaf_compat.c: Likewise.
4151         * math/w_tgammal_compat.c: Likewise.
4153         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
4154         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
4155         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
4156         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
4157         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
4158         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
4159         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
4160         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
4161         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
4162         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
4163         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
4164         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
4165         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
4166         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
4167         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
4168         * sysdeps/ia64/fpu/w_powl.c: Likewise.
4169         * sysdeps/ia64/fpu/w_powf.c: Likewise.
4170         * sysdeps/ia64/fpu/w_pow.c: Likewise.
4171         * sysdeps/ia64/fpu/w_logl.c: Likewise.
4172         * sysdeps/ia64/fpu/w_logf.c: Likewise.
4173         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
4174         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
4175         * sysdeps/ia64/fpu/w_log2.c: Likewise.
4176         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
4177         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
4178         * sysdeps/ia64/fpu/w_log10.c: Likewise.
4179         * sysdeps/ia64/fpu/w_log.c: Likewise.
4180         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
4181         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
4182         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
4183         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
4184         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
4185         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
4186         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
4187         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
4188         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
4189         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
4190         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
4191         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
4192         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
4193         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
4194         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
4195         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
4196         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
4197         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
4198         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
4199         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
4200         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
4201         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
4202         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
4203         * sysdeps/ia64/fpu/w_asin.c: Likewise.
4204         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
4205         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
4206         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
4207         * sysdeps/ia64/fpu/w_acos.c: Likewise.
4208         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
4209         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
4210         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
4211         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
4212         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
4213         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
4214         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
4215         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
4216         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
4217         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
4218         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
4219         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
4220         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
4221         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
4222         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
4223         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
4224         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
4225         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
4226         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
4227         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
4228         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
4229         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
4230         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
4231         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
4232         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
4233         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
4234         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
4235         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
4236         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
4237         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
4238         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
4239         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
4240         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
4241         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
4242         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
4243         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
4244         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
4245         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
4246         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
4247         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
4248         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
4249         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
4250         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
4251         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
4252         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
4253         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
4254         Likewise.
4255         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
4256         Likewise.
4257         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
4258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
4259         Likewise.
4260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
4261         Likewise.
4262         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
4263         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4264         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4265         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4266         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4267         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4268         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
4270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
4272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4273         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4274         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4275         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4276         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4278         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
4279         and adjusted for new #includes path
4280         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
4281         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
4282         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
4283         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
4284         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
4285         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
4286         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
4287         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
4288         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
4289         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
4290         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
4291         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
4292         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
4293         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
4294         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
4295         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
4296         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
4297         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
4298         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
4299         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
4300         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
4301         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
4302         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
4303         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
4304         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
4305         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
4306         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
4307         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
4308         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
4309         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
4310         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
4311         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
4312         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
4313         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
4314         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
4315         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
4316         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
4317         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
4318         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
4319         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
4320         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
4321         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
4322         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
4323         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
4324         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
4325         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
4326         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
4327         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
4328         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
4329         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
4330         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
4331         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
4332         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
4333         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
4334         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
4335         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
4336         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
4337         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
4338         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
4339         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
4340         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
4341         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
4342         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
4343         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
4344         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
4345         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
4346         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
4347         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
4348         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
4349         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
4350         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
4351         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
4352         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
4353         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
4354         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
4355         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
4356         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
4357         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
4358         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
4359         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
4360         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
4361         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
4362         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
4363         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
4364         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
4365         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
4366         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
4367         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
4368         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
4369         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
4370         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
4371         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
4372         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
4373         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
4374         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
4375         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
4376         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
4377         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
4378         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
4379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
4380         Likewise.
4381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
4382         Likewise.
4383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
4384         Likewise.
4385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
4386         Likewise.
4387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
4388         Likewise.
4389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
4390         Likewise.
4391         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
4392         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
4393         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
4394         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
4395         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
4396         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
4397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
4398         Likewise.
4399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
4400         Likewise.
4401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
4402         Likewise.
4403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
4404         Likewise.
4405         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
4406         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
4407         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
4408         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
4410 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
4412         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
4413         __jmp_buf_internal_tag.
4415         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
4416         preserve NaN payload if [__mips_nan2008].
4417         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
4419         [BZ #21022]
4420         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
4422 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
4424         * sysdeps/i386/fpu/libm-test-ulps: Update.
4426 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4428         * sysdeps/ia64/strcat.c: Remove file.
4429         * sysdeps/powerpc/strcat.c: Likewise.
4430         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
4431         C implementation.
4432         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
4433         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
4435 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4436             Steven Munroe  <sjmunroe@us.ibm.com>
4437             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4439         [BZ #20822]
4440         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
4441         (__lll_lock_elision): Access adapt_count via C11 atomics.
4442         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
4443         (__lll_trylock_elision): Likewise.
4444         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
4445         (__lll_unlock_elision):  Update adapt_count variable inside the
4446         critical section using C11 atomics.
4448 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
4450         * math/test-fenvinline.c (do_test): Disable tests of raised
4451         exceptions if !EXCEPTION_TESTS (FLOAT).
4453 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4455         [BZ #19390]
4456         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
4457         maximum string size.
4458         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
4459         in pointer addition.
4460         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
4461         Likewise.
4463 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
4465         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
4466         passed to tst-ldconfig-X.sh.
4468 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
4470         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
4472 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
4474         [BZ #21019]
4475         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
4476         New syscall entry.
4477         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
4478         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
4479         lseek.
4481         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
4482         power4 glibc for powerpc-linux-gnu.
4484 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4486         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
4487         semctl.
4489 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
4491         * math/test-nearbyint-except.c: Include <stdbool.h>.
4492         (any_supported): New variable.
4493         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
4494         set any_supported.
4495         (do_test): Return 77 if no floating-point type supported
4496         exceptions.
4498         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
4499         condition on [__mips_hard_float].
4501 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4503         [BZ #21014]
4504         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
4505         in pointer addition.
4506         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
4508 2017-01-02  Torvald Riegel  <triegel@redhat.com>
4510         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
4511         new condvar.
4513 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
4515         * scripts/build-many-glibcs.py (Context.checkout): Default
4516         binutils version to 2.28 branch.
4518 2017-01-01  Florian Weimer  <fweimer@redhat.com>
4520         * support/support_format_netent.c (support_format_netent): Work
4521         around alpha struct netent definition difference.
4523 2017-01-01  Florian Weimer  <fweimer@redhat.com>
4525         * support/xwrite.c (xwrite): Use %td for pointer difference.
4527 2017-01-01  Florian Weimer  <fweimer@redhat.com>
4529         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
4530         have-tunables only.
4531         (tests-static): Add tst-malloc-usable-static-tunables for
4532         have-tunables only.
4534 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
4536         * scripts/config.guess: Update to version 2017-01-01.
4537         * scripts/config.sub: Update to version 2017-01-01.
4539         * NEWS: Update copyright dates.
4540         * catgets/gencat.c (print_version): Likewise.
4541         * csu/version.c (banner): Likewise.
4542         * debug/catchsegv.sh: Likewise.
4543         * debug/pcprofiledump.c (print_version): Likewise.
4544         * debug/xtrace.sh (do_version): Likewise.
4545         * elf/ldconfig.c (print_version): Likewise.
4546         * elf/ldd.bash.in: Likewise.
4547         * elf/pldd.c (print_version): Likewise.
4548         * elf/sotruss.sh: Likewise.
4549         * elf/sprof.c (print_version): Likewise.
4550         * iconv/iconv_prog.c (print_version): Likewise.
4551         * iconv/iconvconfig.c (print_version): Likewise.
4552         * locale/programs/locale.c (print_version): Likewise.
4553         * locale/programs/localedef.c (print_version): Likewise.
4554         * login/programs/pt_chown.c (print_version): Likewise.
4555         * malloc/memusage.sh (do_version): Likewise.
4556         * malloc/memusagestat.c (print_version): Likewise.
4557         * malloc/mtrace.pl: Likewise.
4558         * manual/libc.texinfo: Likewise.
4559         * nptl/version.c (banner): Likewise.
4560         * nscd/nscd.c (print_version): Likewise.
4561         * nss/getent.c (print_version): Likewise.
4562         * nss/makedb.c (print_version): Likewise.
4563         * posix/getconf.c (main): Likewise.
4564         * scripts/test-installation.pl: Likewise.
4565         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4567         * All files with FSF copyright notices: Update copyright dates
4568         using scripts/update-copyrights.
4569         * intl/plural.c: Regenerated.
4570         * locale/programs/charmap-kw.h: Likewise.
4571         * locale/programs/locfile-kw.h: Likewise.
4573 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4575         [BZ #20593]
4576         Update DNS RR type definitions.
4577         * scripts/gen-rrtypes.py: New file.
4578         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
4579         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
4580         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
4581         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
4582         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
4583         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
4584         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
4585         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
4586         ns_t_ta, ns_t_dlv.
4587         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
4588         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
4589         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
4590         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
4591         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
4592         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
4593         Define.
4594         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
4595         entry for ns_t_zxfr.
4597 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4599         [BZ #18784]
4600         CVE-2015-5180
4601         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
4602         T_UNSPEC.  Adjust value.
4603         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
4604         * resolv/res_query.c (__libc_res_nquery): Likewise.
4605         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
4606         QTYPEs.
4607         * resolv/tst-resolv-qtypes.c: New file.
4608         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
4609         (tst-resolv-qtypes): Link against libresolv and libpthread.
4611 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4613         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
4615 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4617         * manual/tunables.texi: New chapter.
4618         * manual/Makefile (chapters): Add it.
4619         * manual/probes.texi (@node): Point to the Tunables chapter.
4621         * Makeconfig (have-tunables): Check for non-negative instead
4622         of positive.
4623         * configure.ac: Add 'valstring' as a valid value for
4624         --enable-tunables.
4625         * configure: Regenerate.
4626         * elf/Makefile (have-tunables): Check for non-negative instead
4627         of positive.
4628         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
4629         dl-tunables.c.
4630         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
4631         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
4632         (tunables_strdup): Likewise.
4633         (disable_tunables): Likewise.
4634         (parse_tunables): Likewise.
4635         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
4636         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
4637         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
4638         (TUNABLES_FRONTEND_yes): New macro, define as
4639         TUNABLES_FRONTEND_valstring by default.
4640         * manual/install.texi: Document new acceptable values for
4641         --enable-tunables.
4642         * INSTALL: Regenerate.
4644         * config.make.in (have-loop-to-function): Define.
4645         * elf/Makefile (CFLAGS-dl-tunables.c): Add
4646         -fno-tree-loop-distribute-patterns.
4647         * elf/dl-tunables.c: Include libc-internals.h.
4648         (GLIBC_TUNABLES): New macro.
4649         (tunables_strdup): New function.
4650         (parse_tunables): New function.
4651         (min_strlen): New function.
4652         (__tunables_init): Use the new functions and macro.
4653         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
4654         * malloc/tst-malloc-usable-tunables.c: New test case.
4655         * malloc/tst-malloc-usable-static-tunables.c: New test case.
4656         * malloc/Makefile (tests, tests-static): Add tests.
4658         * manual/install.texi: Add --enable-tunables option.
4659         * INSTALL: Regenerate.
4660         * README.tunables: New file.
4661         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
4662         (before-compile): Generate dl-tunable-list.h early.
4663         * config.h.in: Add HAVE_TUNABLES.
4664         * config.make.in: Add have-tunables.
4665         * configure.ac: Add --enable-tunables option.
4666         * configure: Regenerate.
4667         * csu/init-first.c (__libc_init_first): Move
4668         __libc_init_secure earlier...
4669         * csu/init-first.c (LIBC_START_MAIN):... to here.
4670         Include dl-tunables.h, libc-internal.h.
4671         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
4672         binaries.
4673         * elf/Makefile (dl-routines): Add dl-tunables.
4674         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
4675         namespace.
4676         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
4677         only when !HAVE_TUNABLES.
4678         * elf/rtld.c (process_envvars): Likewise.
4679         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
4680         (_dl_sysdep_start): Call __tunables_init.
4681         * elf/dl-tunable-types.h: New file.
4682         * elf/dl-tunables.c: New file.
4683         * elf/dl-tunables.h: New file.
4684         * elf/dl-tunables.list: New file.
4685         * malloc/tst-malloc-usable-static.c: New test case.
4686         * malloc/Makefile (tests-static): Add it.
4687         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
4688         Define TUNABLE_NAMESPACE.
4689         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
4690         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
4691         callback functions.
4692         (ptmalloc_init): Set tunable values.
4693         * scripts/gen-tunables.awk: New file.
4694         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
4695         (_dl_sysdep_start): Call __tunables_init.
4697 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4699         * resolv/resolv.h (RES_BLAST): Deprecate.
4700         * resolv/res_debug.c (p_option): Remove RES_BLAST.
4701         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
4702         to RES_BLAST.
4704 2016-12-27  Florian Weimer  <fweimer@redhat.com>
4706         [BZ #19582]
4707         Deprecate RES_USE_INET6.
4708         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
4709         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
4710         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
4711         RES_USE_INET6.
4712         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
4713         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
4714         (_nss_nisplus_gethostbyaddr_r): Likewise.
4715         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
4716         of res_use_inet6.
4717         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
4718         instead of RES_USE_INET6.
4719         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
4720         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
4721         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
4722         Likewise.
4723         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
4724         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
4725         Likewise.
4726         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
4727         (_nss_dns_gethostbyname_r): Likewise.
4728         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
4729         alternate RES_USE_INET6 handling.
4730         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
4731         instead of RES_USE_INET6.
4732         * resolv/res_init.c (res_setoptions): Likewise.
4733         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
4734         * resolv/resolv-internal.h: New file.
4735         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
4736         make the deprecation warning non-fatal.
4737         * resolv/README (Using the resolver in multi-threaded code): Drop
4738         reference to RES_USE_INET6.
4739         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
4740         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
4742 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4744         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
4745         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
4746         tst-resolv-search.
4747         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
4748         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
4749         with libresolv and libpthread.
4750         * resolv/tst-bug18665.c: New file.
4751         * resolv/tst-bug18665-tcp: Likewise.
4752         * resolv/tst-res_use_inet6: Likewise.
4753         * resolv/tst-resolv-basic: Likewise.
4754         * resolv/tst-resolv-network: Likewise.
4755         * resolv/tst-resolv-search: Likewise.
4756         * support/Makefile (libsupport-routines): Add check_addrinfo,
4757         check_dns_packet, check_hostent, check_netent, resolv_test,
4758         support_format_address_family, support_format_addrinfo,
4759         support_format_dns_packet, support_format_herrno,
4760         support_format_hostent, support_format_netent, support_run_diff,
4761         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
4762         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
4763         xstrdup, xwrite.
4764         * support/check_addrinfo.c: New file.
4765         * support/check_dns_packet.c: Likewise.
4766         * support/check_hostent.c: Likewise.
4767         * support/check_netent.c: Likewise.
4768         * support/check_nss.h: Likewise.
4769         * support/format_nss.h: Likewise.
4770         * support/resolv_test.c: Likewise.
4771         * support/resolv_test.h: Likewise.
4772         * support/run_diff.h: Likewise.
4773         * support/support_format_address_family.c: Likewise.
4774         * support/support_format_addrinfo.c: Likewise.
4775         * support/support_format_dns_packet.c: Likewise.
4776         * support/support_format_herrno.c: Likewise.
4777         * support/support_format_hostent.c: Likewise.
4778         * support/support_format_netent.c: Likewise.
4779         * support/support_run_diff.c: Likewise.
4780         * support/xaccept.c: Likewise.
4781         * support/xbind.c: Likewise.
4782         * support/xconnect.c: Likewise.
4783         * support/xfclose.c: Likewise.
4784         * support/xfopen.c: Likewise.
4785         * support/xgetsockname.c: Likewise.
4786         * support/xlisten.c: Likewise.
4787         * support/xmemstream.c: Likewise.
4788         * support/xmemstream.h: Likewise.
4789         * support/xpoll.c: Likewise.
4790         * support/xpthread_once.c: Likewise.
4791         * support/xrecvfrom.c: Likewise.
4792         * support/xsendto.c: Likewise.
4793         * support/xsetsockopt.c: Likewise.
4794         * support/xstdio.h: Likewise.
4795         * support/xstrdup.c: Likewise.
4796         * support/support.h (xstrdup): Declare.
4797         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
4798         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
4799         * support/xthread.h (xpthread_once): Likwise.
4800         * support/xunistd.h (xwrite): Declare.
4802 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4804         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
4805         (test_verbose): Declare.
4806         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
4807         * support/support_test_main.c (default_options): Likewise.
4808         (usage, support_test_main): Handle 'v'.
4809         (test_verbose): Define.
4810         * support/tst-support_record_failure.c (do_test): Use
4811         test_verbose.
4812         * support/tst-support_record_failure-2.sh (different_status): Add
4813         --verbose test.
4815 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4817         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
4818         test failures are recorded.
4819         * support/check.c (support_print_failure_impl): Call
4820         support_record_failure.
4821         (support_exit_failure_impl): Call support_record_failure if status
4822         indicates failure.
4823         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
4824         * support/xasprintf.c (xasprintf): Likewise.
4825         * support/xfork.c (xfork): Likewise.
4826         * support/xpthread_check_return.c (xpthread_check_return):
4827         Likewise.
4828         * support/xsocket.c (xsocket): Likeweise.
4829         * support/xwaitpid.c (xwaitpid): Likewise.
4830         * support/support_record_failure.c (struct test_failures): Adjust
4831         to coding style.
4832         * support/support_test_verify_impl.c (support_test_verify_impl):
4833         Adjust error messages.
4834         * support/tst-support_record_failure-2.sh (different_status):
4835         Adjust error messages.
4837 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4839         * support/namespace.h: New file.
4840         * support/support_become_root.c: Likewise.
4841         * support/support_enter_network_namespace.c: Likewise.
4842         * support/tst-support-namespace.c: Likewise.
4843         * support/xsocket.c: Likewise.
4844         * support/xsocket.h: Likewise.
4845         * support/Makefile (libsupport-routines): Add support_become_root,
4846         support_enter_network_namespace, xsocket.
4847         (tests): Add tst-support-namespace.
4849 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4851         [BZ #17252]
4852         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
4853         __USE_GNU.
4855 2016-12-31  Torvald Riegel  <triegel@redhat.com>
4857         [BZ #13165]
4858         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
4859         use new algorithm.
4860         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
4861         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
4862         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
4863         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
4864         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
4865         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
4866         __condvar_cleanup_waiting, __condvar_dec_grefs,
4867         __pthread_cond_wait_common): New.
4868         (__condvar_cleanup): Remove.
4869         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
4870         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
4871         Likewise.
4872         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
4873         Likewise.
4874         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
4875         * nptl/tst-cond1.c: Add comment.
4876         * nptl/tst-cond20.c (do_test): Adapt.
4877         * nptl/tst-cond22.c (do_test): Likewise.
4878         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
4879         structure.
4880         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4881         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4882         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4883         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
4884         Likewise.
4885         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4886         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4887         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4888         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4889         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4890         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
4891         Likewise.
4892         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
4893         Likewise.
4894         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4895         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
4896         (COND_CLOCK_BITS): Adapt.
4897         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
4898         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
4899         __PTHREAD_COND_SHARED_MASK): New.
4900         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
4901         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
4902         * nptl/nptl_lock_constants.pysym: Adapt.
4903         * nptl/test-cond-printers.py: Adapt.
4904         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
4905         cond_compat_check_and_clear): Adapt.
4906         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
4907         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
4908         (__pthread_cond_timedwait): ... and move here.
4909         * nptl/DESIGN-condvar.txt: Remove file.
4910         * nptl/lowlevelcond.sym: Likewise.
4911         * nptl/pthread_cond_timedwait.c: Likewise.
4912         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
4913         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
4914         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
4915         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
4916         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
4917         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
4918         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
4919         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
4920         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
4921         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
4922         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
4923         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
4924         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
4925         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
4926         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
4927         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
4929 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
4931         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4932         (fromfp): New declaration.
4933         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
4934         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
4935         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
4936         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
4937         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
4938         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
4939         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
4940         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
4941         * math/math.h: Include <bits/types.h>.
4942         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
4943         constant and macro.
4944         (FP_INT_DOWNWARD): Likewise.
4945         (FP_INT_TOWARDZERO): Likewise.
4946         (FP_INT_TONEARESTFROMZERO): Likewise.
4947         (FP_INT_TONEAREST): Likewise.
4948         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
4949         (fromfpf): Likewise.
4950         (fromfpl): Likewise.
4951         (ufromfp): Likewise.
4952         (ufromfpf): Likewise.
4953         (ufromfpl): Likewise.
4954         (fromfpx): Likewise.
4955         (fromfpxf): Likewise.
4956         (fromfpxl): Likewise.
4957         (ufromfpx): Likewise.
4958         (ufromfpxf): Likewise.
4959         (ufromfpxl): Likewise.
4960         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
4961         s_fromfpxF and s_ufromfpxF.
4962         * math/gen-fromfp-tests.py: New file.
4963         * math/gen-fromfp-tests-inputs: Likewise.
4964         * math/libm-test.inc: Include <stdint.h>
4965         (check_intmax_t): New function.
4966         (check_uintmax_t): Likewise.
4967         (struct test_fiu_M_data): New type.
4968         (struct test_fiu_U_data): Likewise.
4969         (RUN_TEST_fiu_M): New macro.
4970         (RUN_TEST_LOOP_fiu_M): Likewise.
4971         (RUN_TEST_fiu_U): Likewise.
4972         (RUN_TEST_LOOP_fiu_U): Likewise.
4973         (fromfp_test_data): New array.
4974         (fromfp_test): New function.
4975         (fromfpx_test_data): New array.
4976         (fromfpx_test): New function.
4977         (ufromfp_test_data): New array.
4978         (ufromfp_test): New function.
4979         (ufromfpx_test_data): New array.
4980         (ufromfpx_test): New function.
4981         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
4982         ufromfpx_test.
4983         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
4984         characters.
4985         * math/test-tgmath-ret.c: Include <stdint.h>.
4986         (rm): New variable.
4987         (width): Likewise.
4988         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
4989         called function.
4990         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
4991         CHECK_RET_CONST_TYPE.
4992         (CHECK_RET_CONST_DOUBLE): Likewise.
4993         (CHECK_RET_CONST_LDOUBLE): Likewise.
4994         (CHECK_RET_CONST): Take extra arguments and pass them to calls
4995         macros.
4996         (fromfp): New CHECK_RET_CONST call.
4997         (ufromfp): Likewise.
4998         (fromfpx): Likewise.
4999         (ufromfpx): Likewise.
5000         (do_test): Call check_return_fromfp, check_return_ufromfp,
5001         check_return_fromfpx and check_return_ufromfpx.
5002         * math/test-tgmath.c: Include <stdint.h>
5003         (NCALLS): Increase to 138.
5004         (F(compile_test)): Initialize i.  Call fromfp functions.
5005         (F(fromfp)): New function.
5006         (F(fromfpx)): Likewise.
5007         (F(ufromfp)): Likewise.
5008         (F(ufromfpx)): Likewise.
5009         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
5010         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
5011         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
5012         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
5013         ufromfpxl.
5014         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
5015         ufromfp and ufromfpx.
5016         * math/fromfp.h: New file.
5017         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
5018         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
5019         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
5020         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
5021         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
5022         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
5023         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
5024         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
5025         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
5026         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
5027         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
5028         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
5029         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
5030         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
5031         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
5032         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
5033         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
5034         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
5035         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
5036         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
5037         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
5038         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
5039         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
5040         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
5041         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
5042         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
5043         ufromfp, fromfpx and ufromfpx.
5044         (CFLAGS-nldbl-fromfp.c): New variable.
5045         (CFLAGS-nldbl-fromfpx.c): Likewise.
5046         (CFLAGS-nldbl-ufromfp.c): Likewise.
5047         (CFLAGS-nldbl-ufromfpx.c): Likewise.
5048         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
5049         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
5050         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
5051         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
5052         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
5053         * sysdeps/nacl/libm.abilist: Update.
5054         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5055         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5056         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5057         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5058         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5059         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5060         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5061         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5062         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5063         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5064         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5065         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5067         Likewise.
5068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5069         Likewise.
5070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5071         Likewise.
5072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5073         Likewise.
5074         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5075         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5076         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5077         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5078         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5079         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5080         Likewise.
5081         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5082         Likewise.
5083         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5084         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5085         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5087 2016-12-30  Florian Weimer  <fweimer@redhat.com>
5089         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
5090         compat-gethnamaddr.
5091         (CPPFLAGS): Remove.
5092         * resolv/gethnamaddr.c: Rename ...
5093         * resolv/compat-gethnamaddr.c: ... to this file.
5094         (_endhtent): Make static.
5095         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
5096         symbol.
5097         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
5098         compat symbol.
5099         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
5100         symbol.
5101         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
5102         Turn into compat symbol.
5103         * include/resolv.h (_endhtent): Remove declaration.
5105 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
5107         * bits/types.h (__intmax_t): New typedef.
5108         (__uintmax_t): Likewise.
5109         * sysdeps/generic/stdint.h: Include <bits/types.h>.
5110         (intmax_t): Define using __intmax_t.
5111         (uintmax_t): Define using __uintmax_t.
5113         * support/Makefile (tests-special): Make definition conditional on
5114         [$(run-built-tests) = yes].
5115         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
5116         on [$(run-built-tests) = yes].
5118 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5120         * Rules (tests): Add tests-printers-programs to tests to be
5121         built.
5123 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5125         * sysvipc/Makefile (tests): Add test-sysvshm.
5126         * sysvipc/test-sysvshm.c: New file.
5128         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
5129         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
5130         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
5131         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
5132         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
5133         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
5134         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
5135         Likewise.
5136         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
5137         Likewise.
5138         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
5139         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
5140         is defined.
5142         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
5143         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
5144         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
5145         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
5146         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
5147         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
5148         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
5149         Likewise.
5150         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
5151         Likewise.
5152         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
5153         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
5154         defined.
5156         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
5157         oldshmctl.
5158         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
5159         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
5160         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
5161         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
5162         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
5163         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
5164         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
5165         Likewise.
5166         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
5167         Likewise.
5168         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
5169         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
5170         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
5171         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
5172         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
5173         implementation.
5174         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
5175         if it is defined.
5177         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
5178         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
5179         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
5180         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
5181         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
5182         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
5183         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
5184         Likewise.
5185         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
5186         Likewise.
5187         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
5188         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
5189         Define to __NR_osf_shmat.
5190         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
5191         defined.
5193         * sysvipc/Makefile (tests): Add test-sysvsem.
5194         * sysvipc/test-sysvsem.c: New file.
5196         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
5197         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
5198         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
5199         Likewise.
5200         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
5201         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
5202         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
5203         Likewise.
5204         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
5205         Likewise.
5206         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
5207         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
5208         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
5209         add a comment about s390 syscall difference from default one.
5210         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
5211         syscall if it is defined.
5213         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
5214         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
5215         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
5216         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
5217         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
5218         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
5219         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
5220         Likewise.
5221         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
5222         Likewise.
5223         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
5224         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
5225         defined.
5227         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
5228         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
5229         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
5230         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
5231         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
5232         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
5233         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
5234         Likewise.
5235         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
5236         Likewise.
5237         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
5238         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
5239         if it is defined.
5241         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
5242         oldsemctl.
5243         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
5244         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
5245         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
5246         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
5247         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
5248         implementation.
5249         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
5250         syscall if it is defined.
5251         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
5252         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
5253         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
5254         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
5255         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
5256         Likewise.
5257         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
5259         * sysvipc/Makefile (tests): Add test-sysvmsg.
5260         * sysvipc/test-sysvmsg.c: New file.
5261         * support/check.h (FAIL_UNSUPPORTED): New define.
5263         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
5264         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
5265         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
5266         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
5267         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
5268         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
5269         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
5270         Likewise.
5271         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
5272         Likewise.
5273         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
5274         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
5275         define.
5277         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
5278         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
5279         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
5280         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
5281         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
5282         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
5283         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
5284         Likewise.
5285         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
5286         Likewise.
5287         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
5288         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
5289         if defined.
5291         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
5292         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
5293         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
5294         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
5295         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
5296         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
5297         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
5298         Likewise.
5299         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
5300         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
5301         Likewise.
5302         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
5303         if defined.
5304         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
5306         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
5307         oldmsgctl.
5308         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
5309         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
5310         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
5311         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
5312         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
5313         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
5314         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
5315         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
5316         Likewise.
5317         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
5318         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
5319         implementation.
5320         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
5321         if defined.
5323         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
5324         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
5325         definition and define its own.
5326         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
5327         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
5328         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
5329         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
5330         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
5331         definitions to common header.
5332         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
5333         operation from ipc_ops.h.
5335         * sysdeps/unix/sysv/linux/kernel-features.h
5336         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
5337         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5338         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
5339         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5340         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
5341         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5342         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
5343         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5344         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
5345         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5346         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
5347         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5348         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
5349         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5350         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
5352 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5354         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
5355         overflow in pointer addition.
5357 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5359         * sysdeps/powerpc/powerpc64/multiarch/Makefile
5360         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
5361         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5362         (strchr): Add __strchr_power8 to list of strchr functions.
5363         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
5364         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
5365         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
5366         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
5367         (strchr): Add __strchr_power8 to ifunc list.
5368         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
5369         (__strchrnul): Add __strchrnul_power8 to ifunc list.
5370         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
5371         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
5373 2016-12-28  Florian Weimer  <fweimer@redhat.com>
5375         * support/Makefile (libsupport-routines): Add
5376         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
5377         (tests): Add tst-support_record_failure.
5378         (tests-special): tst-support_record_failure-2.
5379         (tst-support_record_failure-2.out): Depend on
5380         tst-support_record_failure-2.sh and tst-support_record_failure.
5381         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
5382         (support_test_verify_impl, support_record_failure)
5383         (support_report_failure, support_report_failure_reset): Declare.
5384         * support/support_test_main.c (adjust_exit_status): New function.
5385         (support_test_main): Call it to incorporate record test failures.
5386         * support/support_test_verify_impl.c: New file.
5387         * support/support_record_failure.c: Likewise.
5388         * support/tst-support_record_failure.c: Likewise.
5389         * support/tst-support_record_failure-2.sh: Likewise.
5390         * support/xunistd.h: Likewise.
5391         * support/xfork.c: Likewise.
5392         * support/xwaitpid.c: Likewise.
5394 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
5396         * scripts/check-c++-types.sh: Add comments.
5398 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
5400         [BZ #19514]
5401         * resolv/res_send.c: Fix typo in comment.
5402         * sysdeps/i386/i386-mcount.S: Likewise.
5403         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5404         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5405         * sysdeps/sparc/sparc-mcount.S: Likewise.
5407 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5409         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
5410         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
5411         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
5412         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
5413         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
5414         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
5415         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
5416         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
5418 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5420         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
5422 2016-12-27  Florian Weimer  <fweimer@redhat.com>
5424         [BZ #17252]
5425         * posix/unistd.h (getentropy): Declare.
5427 2016-12-27  Florian Weimer  <fweimer@redhat.com>
5429         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
5430         Remove.
5431         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
5432         (cmd): Remove spoof, nospoof, spoofalert.
5433         (parse_line): Ignore spoof-related lines.
5434         (do_init): Do not process RESOLV_SPOOF_CHECK.
5436 2016-12-27  Florian Weimer  <fweimer@redhat.com>
5438         [BZ #20964]
5439         sunrpc: Always obtain AF_INET addresses from NSS.
5440         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
5441         * sunrpc/rpc_gethostbyname.c: New file.
5442         * sunrpc/Makefile (routines): Add it.
5443         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
5444         * sunrpc/clnt_simp.c (callrpc): Likewise.
5445         * sunrpc/getrpcport.c (getrpcport): Likewise.
5447 2016-12-27  Florian Weimer  <fweimer@redhat.com>
5449         * sunrpc/rpcinfo.c: Remove.
5450         * sunrpc/Makefile: Remove comments referring to rpcinfo.
5452 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5454         [BZ #19387]
5455         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
5456         addition.
5457         * string/test-memchr.c (do_test): Remove alignment limitation.
5458         (test_main): Add test that trigger BZ #19387.
5460 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5462         [BZ #7065]
5463         Enable stack protectore if requested by ./configure.
5464         * Makeconfig (+stack-protector): New variable.
5465         (+cflags): Use it.
5467 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5469         [BZ #7065]
5470         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
5471         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
5472         (__rt_sigreturn_stub): Use inhibit_stack_protector.
5473         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5474         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
5476 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5478         [BZ #7065]
5479         * login/Makefile (pt_chown-cflags): Remove.
5480         * nscd/Makefile (CFLAGS-nscd): Likewise.
5481         * resolv/Makefile (CFLAGS-libresolv): Likewise.
5483 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5485         [BZ #7065]
5486         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
5487         non-libc-linking testcase.
5489 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5490             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5491             Florian Weimer  <fweimer@redhat.com>
5493         [BZ #7065]
5494         PLT avoidance for __stack_chk_fail*.
5495         * debug/Makefile (CFLAGS-stack_chk_fail.c)
5496         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
5497         * debug/stack_chk_fail.c (__stack_chk_fail): Add
5498         __stack_chk_fail_local alias.
5499         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
5500         (__stack_chk_fail): Turn into hidden reference to
5501         __stack_chk_fail_local.
5503 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5505         [BZ #7065]
5506         * configure.ac: Add check for unsupported stack-protection level.
5507         (libc_cv_predef_stack_protector): Remove.
5508         (no_ssp): New variable.
5509         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
5510         (stack_protector): Set to -fno-stack-protector similarly.
5511         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
5512         (libc_cv_asm_set_directive): Likewise.
5513         (libc_cv_protected_data): Likewise.
5514         (libc_cv_z_combreloc): Likewise.
5515         (libc_cv_hashstyle): Likewise.
5516         (libc_cv_has_glob_dat): Likewise.
5517         (libc_cv_output_format): Likewise.
5518         (libc_cv_output_format): Likewise.
5519         (libc_cv_ehdr_start): Likewise.
5520         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
5521         (LIBC_LINKER_FEATURE): Likewise.
5522         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
5524 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5526         [BZ #7065]
5527         * elf/Makefile (dummy-stack-chk-fail): New.
5528         (librtld.map): Use it.
5530 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5532         [BZ #7065]
5533         Compile the dynamic linker without stack protection.
5534         * elf/Makefile (elide-stack-protector): New.
5535         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
5536         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
5537         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
5538         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
5540 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5542         [BZ #7065]
5543         * config.make.in (have-ssp, no-stack-protector): New.
5544         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
5545         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
5546         (CFLAGS-sbrk.op): Likewise.
5547         (CFLAGS-brk.o): Likewise.
5548         (CFLAGS-brk.op): Likewise.
5549         * string/Makefile (CFLAGS-memcpy.c): Likewise.
5550         (CFLAGS-wordcopy.c): Likewise.
5552 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5554         [BZ #7065]
5555         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
5556         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
5557         * include/libc-symbols.h (inhibit_stack_protector): New macro.
5558         (__ifunc_resolver): Use it.
5559         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
5560         inhibit_stack_protector.
5561         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
5562         * elf/ifuncmain7.c (foo_ifunc): Likewise.
5563         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
5564         (foo_protected_ifunc): Likewise.
5565         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
5566         (foo_protected_ifunc): Likewise.
5567         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
5568         * sysdeps/nacl/nacl_interface_query.c
5569         (nacl_interface_query_ifunc): Likewise.
5570         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
5571         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
5572         Likewise.
5573         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
5574         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
5575         the generated vDSO syscall resolver.
5577 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5578             Florian Weimer  <fweimer@redhat.com>
5580         [BZ #7065]
5581         Initialize the stack guard earlier when linking statically.
5582         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
5583         (__pthread_initialize_minimal): Declare.
5584         * csu/libc-start.c (__pthread_initialize_minimal): Remove
5585         declaration.
5586         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
5587         stack canary and apply_irel initialization up.  Call
5588         __pthread_initialize_minimal only if linked in.
5589         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
5590         constant values.
5591         (__pthread_initialize_minimal): Remove.
5592         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
5593         (__pthread_initialize_minimal_internal): Do not call
5594         __libc_setup_tls.
5596 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5598         [BZ #7065]
5599         * configure.ac (libc_cv_ssp): Move up.
5600         (libc_cv_ssp_strong): Likewise.
5601         (libc_cv_ssp_all): New.
5602         (stack_protector): Augment, adding -fstack-protector-all.
5603         (no_stack_protector): New.
5604         (STACK_PROTECTOR_LEVEL): New.
5605         (AC_ARG_ENABLE(stack-protector)): New configure flag.
5606         * manual/install.texi (--enable-stack-protector): Document it.
5607         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
5609 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
5611         * README.pretty-printers: Must specify CPPFLAGS-* also.
5612         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
5613         (CPPFLAGS-test-mutex-printers.c): Define.
5614         (CPPFLAGS-test-condattr-printers.c): Define.
5615         (CPPFLAGS-test-cond-printers.c): Define.
5616         (CPPFLAGS-test-rwlockattr-printers.c): Define.
5617         (CPPFLAGS-test-rwlock-printers.c): Define.
5619         * nss/Makefile [ifeq (yes,$(have-thread-library))]
5620         (tests): Add tst-cancel-getpwuid_r.
5621         * nss/tst-cancel-getpwuid_r.c: New file.
5623         [BZ #11941]
5624         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
5625         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
5626         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
5627         tst-nodelete-dlclose.
5628         (modules-names): Add tst-nodelete-dlclose-dso and
5629         tst-nodelete-dlclose-plugin.
5630         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
5631         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
5632         ($(objpfx)tst-nodelete-dlclose): Define.
5633         ($(objpfx)tst-nodelete-dlclose.out): Define.
5635 2016-12-23  Florian Weimer  <fweimer@redhat.com>
5637         * scripts/test_printers_common.py: Log GDB output in case of
5638         Python detection failure.
5640 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5642         * configure.ac: Check for python3 or python.
5643         * configure: Regenerated.
5644         * config.make.in (PYTHON): New variable.
5645         * benchtests/Makefile: Don't define PYTHON.
5646         (bench): Define target only if PYTHON was defined.
5647         * Rules: Don't define PYTHON.
5648         Define pretty printer targets only if PYTHON was defined.
5649         (tests-printers): Add to tests-unsupported if PYTHON is not
5650         found.
5651         (python-flags, python-invoke): Remove.
5652         (tests-printers-out): Use PYTHON instead of python-invoke.
5654 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
5656         [BZ #20978]
5657         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
5658         Compare name == NULL, not name != NULL.
5660         * manual/texinfo.tex: Update to version 2016-09-18.18 with
5661         trailing whitespace removed.
5662         * scripts/config.guess: Update to version 2016-10-02.
5663         * scripts/config.sub: Update to version 2016-11-19.
5664         * scripts/install-sh: Update to version 2016-01-11.22.
5665         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
5666         * scripts/move-if-change: Update to version 2016-01-11 22:04.
5668 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
5670         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
5671         (do_one_test) Restore original string so iteration works.
5672         * string/string-inlines.c (do_test): Create better input strings.
5673         (test_main) Reduce number of testruns.
5674         * string/string-inlines.c (__old_strsep_1c): New function.
5675         (__old_strsep_2c): Likewise.
5676         (__old_strsep_3c): Likewise.
5677         * string/strsep.c (__strsep): Remove case of small delim string.
5678         Call strcspn directly rather than strpbrk.
5679         * string/bits/string2.h (__strsep): Remove define.
5680         (__strsep_1c): Remove.
5681         (__strsep_2c): Remove.
5682         (__strsep_3c): Remove.
5683         (strsep): Remove.
5684         * sysdeps/unix/sysv/linux/internal_statvfs.c
5685         (__statvfs_getflags): Rename to __strsep.
5687 2016-12-21  Florian Weimer  <fweimer@redhat.com>
5689         * csu/libc-tls.c (_dl_tls_setup): Remove.
5690         * elf/dl-tls.c (_dl_tls_setup): Likewise.
5691         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
5692         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
5694 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
5696         [BZ #7065]
5697         * sysdeps/x86_64/Makefile [$(subdir) = elf]
5698         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
5700 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
5701             Florian Weimer  <fweimer@redhat.com>
5703         [BZ #7065]
5704         * csu/Makefile (tests): Empty assignment and document it.
5705         (tests-static): Remove.
5706         * csu/tst-empty.c: Move to...
5707         * misc/tst-empty.c: ... here.  Switch to new test driver.
5708         * csu/tst-atomic.c: Move to...
5709         * misc/tst-atomic.c: ... here.  Switch to new test driver.
5710         * csu/tst-atomic-long.c: Move to...
5711         * misc/tst-atomic-long.c: ... here.
5712         * misc/Makefile (tests): Add tst-empty, tst-atomic,
5713         tst-atomic-long.
5714         (tests-static): Add tst-empty.
5716 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
5718         * manual/nss.texi: Change incorrect @vtable to @table.
5719         * manual/arith.texi: Convert @tables of variables to @vtables
5720         and remove unnecessary indexing.
5721         * manual/filesys.texi: Likewise.
5722         * manual/llio.texi: Likewise.
5723         * manual/memory.texi: Likewise.
5724         * manual/process.texi: Likewise.
5725         * manual/resource.texi: Likewise.
5726         * manual/search.texi: Likewise.
5727         * manual/signal.texi: Likewise.
5728         * manual/socket.texi: Likewise.
5729         * manual/stdio.texi: Likewise.
5730         * manual/sysinfo.texi: Likewise.
5731         * manual/syslog.texi: Likewise.
5732         * manual/terminal.texi: Likewise.
5733         * manual/time.texi: Likewise.
5734         * manual/users.texi: Likewise.
5736 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
5738         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5739         (roundeven): New declaration.
5740         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
5741         macro.
5742         * math/Versions (roundeven): New libm symbol at version
5743         GLIBC_2.25.
5744         (roundevenf): Likewise.
5745         (roundevenl): Likewise.
5746         * math/Makefile (libm-calls): Add s_roundevenF.
5747         * math/libm-test.inc (roundeven_test_data): New array.
5748         (roundeven_test): New function.
5749         (main): Call roundeven_test.
5750         * math/test-tgmath.c (NCALLS): Increase to 134.
5751         (F(compile_test)): Call roundeven.
5752         (F(roundeven)): New function.
5753         * manual/arith.texi (Rounding Functions): Document roundeven,
5754         roundevenf and roundevenl.
5755         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
5756         * include/math.h (roundeven): Use libm_hidden_proto.
5757         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
5758         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
5759         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
5760         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
5761         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
5762         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
5763         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5764         roundeven.
5765         (CFLAGS-nldbl-roundeven.c): New variable.
5766         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
5767         * sysdeps/nacl/libm.abilist: Update.
5768         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5769         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5770         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5771         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5772         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5773         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5774         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5775         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5776         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5777         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5778         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5779         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5781         Likewise.
5782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5783         Likewise.
5784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5785         Likewise.
5786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5787         Likewise.
5788         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5789         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5790         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5791         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5792         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5793         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5794         Likewise.
5795         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5796         Likewise.
5797         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5798         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5799         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5801 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
5803         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
5804         preprocessor indentation inside #if.
5806 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5808         * math/libm-test.inc (fmt_ftostr): New function.
5809         (print_float, check_float_internal): Replace some uses of
5810         FTOSTR with uses of fmt_ftostr.
5811         (print_max_error, print_complex_max_error, print_function_ulps)
5812         (print_complex_function_ulps): Remove uses of the macros
5813         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
5814         * math/test-double.h (FTOSTR): Define to strfromd.
5815         (PRINTF_EXPR): Delete.
5816         (PRINTF_XEXPR): Likewise.
5817         (PRINTF_NEXPR): Likewise.
5818         * math/test-float.h (FTOSTR): Define to strfromf.
5819         (PRINTF_EXPR): Delete.
5820         (PRINTF_XEXPR): Likewise.
5821         (PRINTF_NEXPR): Likewise.
5822         * math/test-ldouble.h (FTOSTR): Define to strfroml.
5823         (PRINTF_EXPR): Delete.
5824         (PRINTF_XEXPR): Likewise.
5825         (PRINTF_NEXPR): Likewise.
5827 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5829         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
5830         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
5831         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
5832         (__lll_lock_elision): Decrement adapt_count while unlocking
5833         instead of before locking.
5834         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
5835         (__lll_trylock_elision): Likewise.
5836         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
5837         (__lll_unlock_elision): Likewise.
5839 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5841         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
5842         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
5843         Use __libc_tbegin_retry macro.
5845 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5847         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
5848         Add -msoft-float.
5849         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
5850         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
5851         Use __libc_t* transaction macros instead of __builtin_t*.
5852         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5853         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5855 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5857         * sysdeps/unix/sysv/linux/s390/elision-lock.c
5858         (__lll_lock_elision): Use atomics to load / store adapt_count.
5859         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
5860         (__lll_trylock_elision): Likewise.
5862 2016-12-20  Florian Weimer  <fweimer@redhat.com>
5864         Do not require memset elimination in explicit_bzero test.
5865         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
5866         (enum test_expectation): Add NO_EXPECTATIONS.
5867         (subtests): NO_EXPECTATIONS for ordinary clear.
5868         (check_test_buffer): Handle NO_EXPECTATIONS.
5869         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
5871 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
5873         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5874         (fmaxmag): New declaration.
5875         (fminmag): Likewise.
5876         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
5877         macro.
5878         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
5879         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
5880         (fmaxmagf): Likewise.
5881         (fmaxmagl): Likewise.
5882         (fminmag): Likewise.
5883         (fminmagf): Likewise.
5884         (fminmagl): Likewise.
5885         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
5886         * math/s_fmaxmag_template.c: New file.
5887         * math/s_fminmag_template.c: Likewise.
5888         * math/libm-test.inc (fmaxmag_test_data): New array.
5889         (fmaxmag_test): New function.
5890         (fminmag_test_data): New array.
5891         (fminmag_test): New function.
5892         (main): Call fmaxmag_test and fminmag_test.
5893         * math/test-tgmath.c (NCALLS): Increase to 132.
5894         (F(compile_test)): Call fmaxmag and fminmag.
5895         (F(fminmag)): New function.
5896         (F(fmaxmag)): Likewise.
5897         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
5898         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
5899         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
5900         fminmag.
5901         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
5902         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
5903         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
5904         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
5905         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
5906         and fminmag.
5907         (CFLAGS-nldbl-fmaxmag.c): New variable.
5908         (CFLAGS-nldbl-fminmag.c): Likewise.
5909         * sysdeps/nacl/libm.abilist: Update.
5910         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5911         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5912         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5913         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5914         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5915         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5916         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5917         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5918         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5919         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5920         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5921         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5923         Likewise.
5924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5925         Likewise.
5926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5927         Likewise.
5928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5929         Likewise.
5930         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5931         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5932         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5933         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5934         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5935         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5936         Likewise.
5937         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5938         Likewise.
5939         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5940         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5941         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5943 2016-12-19  Torvald Riegel  <triegel@redhat.com>
5945         [BZ #20973]
5946         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
5947         wake-up in robust mutexes.
5948         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
5950 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5952         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
5953         (CFLAGS-bench-fmaxf.c): New rule.
5954         (CFLAGS-bench-fminf.c): Likewise.
5955         * benchtests/fmaxf-inputs: New file.
5956         * benchtests/fminf-inputs: Likewise.
5958         * benchtests/Makefile (bench-math): Add fmin and fmax.
5959         (CFLAGS-bench-fmax.c): New rule.
5960         (CFLAGS-bench-fmin.c): Likewise.
5961         * benchtests/fmax-inputs: New file.
5962         * benchtests/fmin-inputs: Likewise.
5964         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
5965         parenthesis.
5966         (CMDLINE_PROCESS): Define using function instead of macro.
5967         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
5968         of test-skeleton.
5969         * benchtests/bench-memchr.c: Likewise.
5970         * benchtests/bench-memcmp.c: Likewise.
5971         * benchtests/bench-memcpy-large.c: Likewise.
5972         * benchtests/bench-memcpy.c: Likewise.
5973         * benchtests/bench-memmem.c: Likewise.
5974         * benchtests/bench-memmove-large.c: Likewise.
5975         * benchtests/bench-memmove.c: Likewise.
5976         * benchtests/bench-memset-large.c: Likewise.
5977         * benchtests/bench-memset.c: Likewise.
5978         * benchtests/bench-rawmemchr.c: Likewise.
5979         * benchtests/bench-strcasecmp.c: Likewise.
5980         * benchtests/bench-strcasestr.c: Likewise.
5981         * benchtests/bench-strcat.c: Likewise.
5982         * benchtests/bench-strchr.c: Likewise.
5983         * benchtests/bench-strcmp.c: Likewise.
5984         * benchtests/bench-strcpy.c: Likewise.
5985         * benchtests/bench-strcpy_chk.c: Likewise.
5986         * benchtests/bench-strlen.c: Likewise.
5987         * benchtests/bench-strncasecmp.c: Likewise.
5988         * benchtests/bench-strncmp.c: Likewise.
5989         * benchtests/bench-strncpy.c: Likewise.
5990         * benchtests/bench-strnlen.c: Likewise.
5991         * benchtests/bench-strpbrk.c: Likewise.
5992         * benchtests/bench-strrchr.c: Likewise.
5993         * benchtests/bench-strsep.c: Likewise.
5994         * benchtests/bench-strspn.c: Likewise.
5995         * benchtests/bench-strstr.c: Likewise.
5996         * benchtests/bench-strtok.c: Likewise.
5998 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
6000         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
6001         stepping identification.
6002         (init_cpu_features): Add handle of Haswell.
6004 2016-11-25  Jim Meyering  <meyering@fb.com>
6006         [BZ #20386]
6007         Let gcc detect assert(a = 1) errors.
6008         * assert/assert.h (assert): Rewrite, retaining the old definintion
6009         when required, but otherwise putting the expression as-is in an "if"
6010         expression (hence, with no added parentheses) within a statement
6011         expression.
6013 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6015         * benchtests/Makefile (binaries-benchset): Depend on libsupport
6016         DSO.
6018 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
6020         * Rules (python-flags, python-invoke): New.
6021         ($(test-printers-out)): Use $(python-flags).
6023 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
6025         * manual/arith.texi (Math Error Reporting): Document that sNaN
6026         arguments are not considered domain errors.
6028 2016-12-16  Zack Weinberg <zackw@panix.com>
6029             Florian Weimer <fweimer@redhat.com>
6030             Nick Mathewson <nickm@torproject.org>
6032         * string/explicit_bzero.c: New routine.
6033         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
6034         * string/Makefile (routines, strop-tests, tests): Add them.
6035         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
6036         * string/string.h [__USE_MISC]: Declare explicit_bzero.
6038         * debug/explicit_bzero_chk.c: New routine.
6039         * debug/Makefile (routines): Add it.
6040         * debug/tst-chk1.c: Test fortification of explicit_bzero.
6041         * string/bits/string3.h: Fortify explicit_bzero.
6043         * manual/string.texi: Document explicit_bzero.
6044         * NEWS: Mention addition of explicit_bzero.
6046         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
6047         data before returning, using explicit_bzero.
6048         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
6049         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6050         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6052         * include/string.h: Redirect internal uses of explicit_bzero
6053         to __explicit_bzero_chk[_internal].
6054         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
6055         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
6056         * sysdeps/arm/nacl/libc.abilist
6057         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
6058         * sysdeps/unix/sysv/linux/alpha/libc.abilist
6059         * sysdeps/unix/sysv/linux/arm/libc.abilist
6060         * sysdeps/unix/sysv/linux/hppa/libc.abilist
6061         * sysdeps/unix/sysv/linux/i386/libc.abilist
6062         * sysdeps/unix/sysv/linux/ia64/libc.abilist
6063         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
6064         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
6065         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
6066         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6067         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6068         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6069         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6070         * sysdeps/unix/sysv/linux/nios2/libc.abilist
6071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6075         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
6076         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
6077         * sysdeps/unix/sysv/linux/sh/libc.abilist
6078         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
6079         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
6080         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
6081         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
6082         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
6083         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
6084         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
6085         Add entries for explicit_bzero and __explicit_bzero_chk.
6087 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
6089         * math/fenv.h
6090         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
6091         (FE_SNANS_ALWAYS_SIGNAL): New macro.
6092         * math/test-fe-snans-always-signal.c: New file.
6093         * math/Makefile (tests): Add test-fe-snans-always-signal.
6094         (CFLAGS-test-fe-snans-always-signal.c): New variable.
6095         * manual/arith.texi (Infinity and NaN): Document
6096         FE_SNANS_ALWAYS_SIGNAL.
6098 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6100         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
6101         bracket.
6103 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
6105         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
6106         before calling execv.
6108 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6110         [BZ #20971]
6111         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
6112         overflow in pointer addition.
6113         * string/test-memchr.c (do_test): Add an argument to pass as
6114         the size on memchr.
6115         (test_main): Add check for SIZE_MAX.
6117 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6119         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
6120         (libm-calls): Add w_scalblnF.
6121         * math/w_scalbln.c: Remove.
6122         * math/w_scalblnf.c: Likewise.
6123         * math/w_scalblnl.c: Likewise.
6124         * math/w_scalbln_template.c: New file with type-generic
6125         implementation based on math/w_scalbln.c.
6126         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
6127         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
6129 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
6131         [BZ #20947]
6132         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
6133         either is a signaling NaN.
6134         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
6135         follow fmaxl more closely.
6136         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
6137         when either is a signaling NaN.
6138         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
6139         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
6140         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
6141         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
6142         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
6143         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
6144         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
6145         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
6146         (fmin_test_data): Likewise.
6148 2016-12-15  Andreas Schwab  <schwab@suse.de>
6150         * support/support_test_main.c (support_test_main): Don't shadow
6151         file-local variable test_pid.
6153 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
6155         [BZ #20947]
6156         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
6157         either is a signaling NaN.
6158         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
6160 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
6162         [BZ #20947]
6163         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
6164         when either is a signaling NaN.
6165         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
6167         * bits/long-double.h: New file.
6168         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
6169         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
6170         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
6171         * sysdeps/mips/bits/long-double.h: Likewise.
6172         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
6173         * math/Makefile (headers): Add bits/long-double.h.
6174         * misc/sys/cdefs.h: Include <bits/long-double.h>.
6175         * stdlib/strtold.c: Include <bits/long-double.h> instead of
6176         <bits/wordsize.h>.
6177         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
6178         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
6179         * math/math.h: Do not include <bits/mathdef.h>.
6180         * sysdeps/aarch64/bits/mathdef.h: Remove file.
6181         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
6182         inclusion.
6183         * sysdeps/ia64/bits/mathdef.h: Remove file.
6184         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
6185         * sysdeps/mips/bits/mathdef.h: Likewise.
6186         * sysdeps/powerpc/bits/mathdef.h: Likewise.
6187         * sysdeps/s390/bits/mathdef.h: Likewise.
6188         * sysdeps/sparc/bits/mathdef.h: Likewise.
6189         * sysdeps/x86/bits/mathdef.h: Likewise.
6190         * sysdeps/s390/s390-32/bits/wordsize.h
6191         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
6192         conditional code.
6193         * sysdeps/s390/s390-64/bits/wordsize.h
6194         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
6195         Likewise.
6196         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
6197         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
6198         Likewise.
6199         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
6200         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
6201         Likewise.
6202         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
6203         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
6204         Likewise.
6206         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
6207         <linux/falloc.h>.
6208         (FALLOC_FL_KEEP_SIZE): Remove.
6209         (FALLOC_FL_PUNCH_HOLE): Likewise.
6210         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
6211         (FALLOC_FL_ZERO_RANGE): Likewise.
6213 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6215         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
6217 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6219         * sysdeps/unix/sysv/linux/renameat.c: New file.
6220         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
6222         * sysdeps/unix/sysv/linux/rename.c: New file.
6223         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
6225 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
6227         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
6228         * string/strtok.c (strtok): Change to tailcall __strtok_r.
6229         * string/strtok_r.c (__strtok_r): Optimize for performance.
6230         * string/string-inlines.c (__old_strtok_r_1c): New function.
6231         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
6233 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6235         * math/Makefile (gen-libm-calls): Add w_log1pF.
6236         (libm-calls): Remove w_log1pF.
6237         * math/w_log1p.c: Remove.
6238         * math/w_log1pf.c: Likewise.
6239         * math/w_log1pl.c: Likewise.
6240         * math/w_log1p_template.c: New file with type-generic
6241         implementation based on math/w_log1p.c.
6242         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
6243         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
6245 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
6247         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
6249 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
6251         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6252         kernel version to 4.9.
6254 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
6256         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
6257         ($(inst_libdir)/libm.a): Fix rule to create the target only.
6259 2016-12-13  Andreas Schwab  <schwab@suse.de>
6261         * sysdeps/powerpc/dl-procinfo.c: Don't define
6262         _dl_powerpc_platforms.
6263         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
6264         constants instead of referencing _dl_powerpc_platforms.
6265         (_dl_platform_string): Remove.
6267 2016-12-13  Florian Weimer  <fweimer@redhat.com>
6269         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
6271 2016-12-13  Florian Weimer  <fweimer@redhat.com>
6273         * Rules (binaries-shared-tests, binaries-pie-tests)
6274         (binaries-static-tests): Link with $(link-extra-libs-tests).
6275         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
6276         Remove $(link-extra-libs-tests).
6278 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6280         * sysdeps/powerpc/powerpc64/multiarch/Makefile
6281         (sysdep_routines): Add strncmp_power9.
6282         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6283         (strncmp): Add __strncmp_power9 to list of strncmp functions.
6284         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
6285         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
6286         (strncmp): Add __strncmp_power9 to ifunc list.
6287         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
6289 2016-12-12  Florian Weimer  <fweimer@redhat.com>
6291         [BZ #17252]
6292         Add getentropy, getrandom.
6293         * stdlib/sys/random.h: New file.
6294         (headers): Add it.
6295         * stdlib/Makefile (routines): Add getentropy, getrandom.
6296         (tests): Add tst-getrandom.
6297         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
6298         * stdlib/getentropy.c: New file.
6299         * stdlib/getrandom.c: Likewise.
6300         * stdlib/tst-getrandom.c: Likewise.
6301         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
6302         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
6303         * manual/crypt.texi (Unpredictable Bytes): New section.
6304         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
6305         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
6306         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
6307         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6308         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6309         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6310         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6311         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6312         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6313         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6314         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6315         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6316         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
6317         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6318         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6319         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6321         Likewise.
6322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6323         Likewise.
6324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6326         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6327         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6328         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6329         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6330         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6331         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
6332         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
6333         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6334         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6335         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6337 2016-12-10  Florian Weimer  <fweimer@redhat.com>
6339         [BZ #20956]
6340         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
6341         as additional compiler barriers.
6342         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
6343         (fn2, do_test): Declare with external linkage.
6344         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
6345         (do_test): Declare with external linkage.
6346         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
6347         (do_test): Declare with external linkage.
6348         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
6349         (do_test): Declare with external linkage.
6351 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
6353         * support/support_test_main.c (support_test_main): Use correct
6354         timeout.
6356 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
6357             Florian Weimer  <fweimer@redhat.com>
6359         [BZ #16421]
6360         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
6361         and __u6_addr32 members.
6362         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
6363         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
6364         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
6365         Use __u6_addr32.
6366         * inet/tst-checks.c: Use <support/test-driver.c>
6367         * inet/tst-checks-posix.c: New file.
6368         * inet/Makefile (tests): Add it.
6369         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
6371 2016-12-09  Florian Weimer  <fweimer@redhat.com>
6373         New subdirectory support for build and test infrastructure.
6374         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
6375         setting install-lib.
6376         * Makeconfig (link-extra-libs-tests): Define.
6377         (+link-pie-tests, +link-static-tests, +link-tests): Use
6378         link-extra-libs-tests.
6379         (rpath-dirs, all-subdirs): Add support.
6380         (built-modules): Add libsupport.
6381         (libsupport): Define.
6382         * support: New directory.
6383         * support/Makefile: New file.
6384         * support/check.c: Likewise.
6385         * support/check.h: Likewise.
6386         * support/delayed_exit.c: Likewise.
6387         * support/ignore_stderr.c: Likewise.
6388         * support/oom_error.c: Likewise.
6389         * support/set_fortify_handler.c: Likewise.
6390         * support/support.h: Likewise.
6391         * support/temp_file-internal.h: Likewise.
6392         * support/temp_file.c: Likewise.
6393         * support/test-driver.c: Likewise.
6394         * support/test-driver.h: Likewise.
6395         * support/test_main.c: Likewise.
6396         * support/write_message.c: Likewise.
6397         * support/xasprintf.c: Likewise.
6398         * support/xcalloc.c: Likewise.
6399         * support/xmalloc.c: Likewise.
6400         * support/xpthread_barrier_destroy.c: Likewise.
6401         * support/xpthread_barrier_init.c: Likewise.
6402         * support/xpthread_barrier_wait.c: Likewise.
6403         * support/xpthread_cancel.c: Likewise.
6404         * support/xpthread_check_return.c: Likewise.
6405         * support/xpthread_cond_wait.c: Likewise.
6406         * support/xpthread_create.c: Likewise.
6407         * support/xpthread_detach.c: Likewise.
6408         * support/xpthread_join.c: Likewise.
6409         * support/xpthread_mutex_lock.c: Likewise.
6410         * support/xpthread_mutex_unlock.c: Likewise.
6411         * support/xpthread_sigmask.c: Likewise.
6412         * support/xpthread_spin_lock.c: Likewise.
6413         * support/xpthread_spin_unlock.c: Likewise.
6414         * support/xrealloc.c: Likewise.
6415         * support/xsignal.h: Likewise.
6416         * support/xthread.h: Likewise.
6417         * support_tempfile.h: Likewise.
6418         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
6419         (TEST_DATA_LIMIT): Remove unused macro.
6420         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
6421         <support/check.h>.
6422         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
6423         (ignore_stderr, set_fortify_handler): Remove.  Now in
6424         <support/support.h>.
6425         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
6426         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
6427         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
6428         (xpthread_join): Remove.  Now in <support/xthread.h>.
6429         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
6430         Introduce legacy wrappers.
6431         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
6432         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
6433         (write_message): Remove.
6434         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
6435         test-skeleton.c.
6436         * io/test-open-tmpfile: Likewise.
6437         * io/tst-posix_fallocate-common.c: Likewise.
6438         * libio/tst-fseek.c: Likewise.
6439         * malloc/tst-malloc-backtrace.c: Likewise.
6440         * malloc/tst-malloc-fork-deadlock.c: Likewise.
6441         * malloc/tst-malloc-thread-exit.c: Likewise.
6442         * nptl/tst-cancel7.c: Likewise.
6443         * nptl/tst-cleanup0.c: Likewise.
6444         * posix/tst-posix_fadvise-common.c: Likewise.
6445         * rt/tst-shm.c: Likewise.
6446         * time/bug-getdate1.c: Likewise.
6447         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
6448         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
6449         * elf/Makefile (tst-piemod1.so): Link against libsupport.
6451 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
6453         * Rules [$(run-built-tests) != no] (tests-expected): Add
6454         $(tests-printers).
6455         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
6457 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
6459         [BZ #20539]
6460         * math/Makefile (install-lib-ldscripts): Add libm.a.
6461         (install_subdir): Remove.
6462         (install-others): Add.
6463         ($(inst_libdir)/libm.a): Add rule for installation as
6464         linker script.
6465         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
6467 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
6469         * INSTALL: Regenerated.
6470         * Makeconfig: Add comments and whitespace to make the control flow
6471         clearer.
6472         (+link-printers-tests, +link-pie-printers-tests,
6473         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
6474         built-rtld-LDFLAGS, link-libc-rpath,
6475         link-libc-tests-after-rpath-link,
6476         link-libc-printers-tests): New.
6477         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
6478         link-libc-tests): Use the new variables as required.
6479         * Makerules ($(py-const)): New rule.
6480         generated: Add $(py-const).
6481         * README.pretty-printers: New file.
6482         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
6483         (others): Depend on $(py-const).
6484         (tests): Depend on $(tests-printers-programs) or
6485         $(tests-printers-out),
6486         as required.  Pass $(tests-printers) to merge-test-results.sh.
6487         * manual/install.texi: Add requirements for testing the pretty
6488         printers.
6489         * nptl/Makefile (gen-py-const-headers, pretty-printers,
6490         tests-printers, CFLAGS-test-mutexattr-printers.c
6491         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
6492         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
6493         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
6494         * nptl/nptl-printers.py: New file.
6495         * nptl/nptl_lock_constants.pysym: Likewise.
6496         * nptl/test-cond-printers.c: Likewise.
6497         * nptl/test-cond-printers.py: Likewise.
6498         * nptl/test-condattr-printers.c: Likewise.
6499         * nptl/test-condattr-printers.py: Likewise.
6500         * nptl/test-mutex-printers.c: Likewise.
6501         * nptl/test-mutex-printers.py: Likewise.
6502         * nptl/test-mutexattr-printers.c: Likewise.
6503         * nptl/test-mutexattr-printers.py: Likewise.
6504         * nptl/test-rwlock-printers.c: Likewise.
6505         * nptl/test-rwlock-printers.py: Likewise.
6506         * nptl/test-rwlockattr-printers.c: Likewise.
6507         * nptl/test-rwlockattr-printers.py: Likewise.
6508         * scripts/gen-py-const.awk: Likewise.
6509         * scripts/test_printers_common.py: Likewise.
6510         * scripts/test_printers_exceptions.py: Likewise.
6512 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
6514         * scripts/build-many-glibcs.py (Context.__init__): Take strip
6515         argument.
6516         (Glibc.build_glibc): Strip installed shared libraries if
6517         requested.
6518         (get_parser): Add --strip option.
6519         (main): Update Context call.
6521 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6522             Dominik Vogt  <vogt@linux.vnet.ibm.com>
6524         [BZ #20847]
6525         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
6526         array bounds for else branch.
6527         (__execvpe): Style fixes.
6528         * posix/tst-vfork3.c (run_script): New function.
6529         (create_script): Likewise.
6530         (do_test): Use run_script internal function.
6531         (do_prepare): Use create_script internal function.
6533 2016-12-07  Andreas Schwab  <schwab@suse.de>
6535         * sysdeps/unix/sysv/linux/x86/elision-conf.h
6536         (__elision_available): Don't declare.
6537         * sysdeps/unix/sysv/linux/x86/elision-conf.c
6538         (__elision_available): Don't define.
6539         (elision_init): Don't set __elision_available.
6541 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
6543         [BZ #20940]
6544         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
6545         return Inf for arguments Inf and sNaN.
6546         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
6547         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
6548         Likewise.
6549         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
6550         Likewise.
6551         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
6552         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
6553         for arguments Inf and sNaN.  When returning a NaN, compute it by
6554         arithmetic on the arguments.
6555         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
6556         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
6557         arguments.
6559 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
6561         [BZ #20916]
6562         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
6563         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
6564         to compute result.
6565         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
6566         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
6568 2016-12-05  Torvald Riegel  <triegel@redhat.com>
6570         * include/atomic.h (__atomic_check_size_ls): New.
6571         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
6572         atomic_store_release): Use it.
6573         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
6574         (elision_adapt, ELIDE_LOCK): Use atomics.
6575         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
6576         atomics and improve code comments.
6577         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
6578         (__lll_trylock_elision): Likewise.
6580 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6582         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
6583         programs.
6585 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
6587         [BZ #20916]
6588         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
6589         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
6590         arguments to compute result.
6591         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
6592         1 for arguments (sNaN, 0) or (1, sNaN).
6593         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
6594         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6596         [BZ #20919]
6597         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
6598         NaN first argument when raised to power 0.
6599         * math/w_pow.c (__pow): Do not check for NaN or zero results from
6600         raising to power zero.
6601         * math/w_powf.c (__powf): Likewise.
6602         * math/w_powl.c (__powl): Likewise.
6603         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
6604         pow (0, 0) or pow (NaN, 0).
6606 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
6608         [BZ #20918]
6609         * configure.ac: Test for static NSS cryptographic libraries and set
6610         libc_cv_static_nss_crypt.
6611         * configure: Regenerate.
6612         * config.make.in (static-nss-crypt): Define.
6613         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
6614         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
6615         (CFLAGS-tst-linkall-static.c): Define.
6616         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
6617         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
6618         ($(objpfx)tst-linkall-static): Define.
6619         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
6620         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
6622 2016-12-02  Florian Weimer  <fweimer@redhat.com>
6624         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
6625         (one-hundred, tst-tls-many-dynamic-modules): Define.
6626         (modules-names): Add $(tst-tls-many-dynamic-modules).
6627         (tst-tls-manydynamic%mod.os): Build with special preprocessor
6628         macros.
6629         (tst-tls-manydynamic): Link against libdl, libpthread.
6630         (tst-tls-manydynamic.out): The test needs the test modules at run
6631         time.
6632         * elf/tst-tls-manydynamic.c: New file.
6633         * elf/tst-tls-manydynamic.h: Likewise.
6634         * elf/tst-tls-manydynamicmod.c: Likewise.
6636 2016-12-02  Florian Weimer  <fweimer@redhat.com>
6638         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
6639         (TLS_DTV_UNALLOCATED): Add.
6640         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
6641         offsets.
6643 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
6645         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6647 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
6649         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
6650         Add -fno-optimize-sibling-calls.
6652 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
6654         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
6655         New declaration.
6656         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
6657         macro.
6658         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
6659         New macro.
6660         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
6661         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
6662         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
6663         (llogbf): Likewise.
6664         (llogbl): Likewise.
6665         * math/Makefile (gen-libm-calls): Add w_llogbF.
6666         (tests): Add test-fp-llogb-constants.
6667         * math/w_llogb_template.c: New file.  Based on
6668         math/w_ilogb_template.c.
6669         * math/libm-test.inc (llogb_test_data): New array.
6670         (llogb_test): New function.
6671         (main): Call llogb_test.
6672         * math/test-fp-llogb-constants.c: New file.  Based on
6673         math/test-fp-ilogb-constants.c.
6674         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
6675         (do_test): Call check_return_llogb.
6676         * math/test-tgmath.c (NCALLS): Increase to 126.
6677         (F(compile_test)): Call llogb.
6678         (F(llogb)): New function.
6679         * manual/math.texi (Exponents and Logarithms): Document llogb,
6680         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
6681         * manual/libm-err-tab.pl (@all_functions): Add llogb.
6682         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
6683         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
6684         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
6685         (CFLAGS-nldbl-llogb.c): New variable.
6686         * sysdeps/nacl/libm.abilist: Update.
6687         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6688         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6689         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6690         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6691         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6692         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6693         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6694         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6695         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6696         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6697         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6698         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6700         Likewise.
6701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6702         Likewise.
6703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6704         Likewise.
6705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6706         Likewise.
6707         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6708         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6709         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6710         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6711         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6712         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6713         Likewise.
6714         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6715         Likewise.
6716         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6717         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6718         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6720 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
6722         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
6723         _Float128 instead of long double.
6724         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
6726         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
6727         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
6728         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
6729         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
6730         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
6731         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
6732         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
6733         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
6734         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
6735         Likewise.
6737 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6739         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
6740         Remove redirection to __strrchr_ppc.
6742 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6744         * sysdeps/powerpc/powerpc64/multiarch/Makefile
6745         (sysdep_routines): Add strcmp_power9.
6746         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6747         (strcmp): Add __strcmp_power9 to list of strcmp functions.
6748         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
6749         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
6750         (strcmp): Add __strcmp_power9 to ifunc list.
6751         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
6753 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
6755         * bits/fp-logb.h: New file.
6756         * sysdeps/ia64/bits/fp-logb.h: Likewise.
6757         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
6758         * sysdeps/x86/bits/fp-logb.h: Likewise.
6759         * math/Makefile (headers): Add bits/fp-logb.h.
6760         * math/math.h: Include <bits/fp-logb.h>.
6761         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
6762         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
6763         * bits/mathdef.h (FP_ILOGB0): Remove.
6764         (FP_ILOGBNAN): Likewise.
6765         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
6766         (FP_ILOGBNAN): Likewise.
6767         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
6768         (FP_ILOGBNAN): Likewise.
6769         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
6770         (FP_ILOGBNAN): Likewise.
6771         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
6772         (FP_ILOGBNAN): Likewise.
6773         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
6774         (FP_ILOGBNAN): Likewise.
6775         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
6776         (FP_ILOGBNAN): Likewise.
6777         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
6778         (FP_ILOGBNAN): Likewise.
6779         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
6780         (FP_ILOGBNAN): Likewise.
6781         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
6782         (FP_ILOGBNAN): Likewise.
6784         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
6785         time module.
6786         (Context.__init__): Initialize self.logsdir_old.
6787         (Context.run_builds): Handle bot action.
6788         (Context.bot_cycle): Copy logs directory before running builds.
6789         (Context.bot_run_self): Take argument for whether to check
6790         subprocess result.  Flush stdout before running subprocess.
6791         (Context.bot): New function.
6792         (get_parser): Allow bot action.
6794 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
6796         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
6797         Import email.mime.text, email.utils and smtplib modules.
6798         (Context.__init__): Initialize self.bot_config_json.
6799         (Context.run_builds): Handle bot-cycle action.
6800         (Context.load_bot_config_json): New function.
6801         (Context.part_build_old): Likewise.
6802         (Context.bot_cycle): Likewise.
6803         (Context.bot_build_mail): Likewise.
6804         (Context.bot_run_self): Likewise.
6805         (get_parser): Allow bot-cycle action.
6807 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6809         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
6810         Remove redirection to __stpcpy_ppc.
6812 2016-11-30  Florian Weimer  <fweimer@redhat.com>
6814         Remove __libc_memalign from ld.so because it is unused.
6815         * elf/dl-minimal.c: Update comment on the malloc implementation.
6816         (malloc): Renamed from __libc_memalign, replacing the original
6817         malloc implementation.  Replace the align parameter with
6818         MALLOC_ALIGNMENT.
6819         * elf/Versions (ld): Update comment and remove __libc_memalign.
6820         * sysdeps/nacl/ld.abilist: Likewise.
6821         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
6822         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
6823         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
6824         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
6825         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
6826         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
6827         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
6828         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
6829         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
6830         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
6831         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
6832         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
6833         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
6834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
6835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
6836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
6837         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
6838         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
6839         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
6840         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
6841         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
6842         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
6843         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
6844         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
6845         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
6846         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
6847         * sysdeps/generic/localplt.data (ld.so): Likewise.
6848         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
6849         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
6850         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
6851         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
6852         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
6853         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
6854         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
6855         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
6856         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
6857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
6858         (ld.so): Likewise.
6859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
6860         (ld.so): Likewise.
6861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
6862         Likewise.
6863         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
6864         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
6865         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
6866         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
6867         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
6869 2016-11-30  Florian Weimer  <fweimer@redhat.com>
6871         [BZ #16628]
6872         Implement _dl_catch_error, _dl_signal_error in libc.so.
6873         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
6874         (catch_hook): Define as thread-local or regular variable,
6875         depending on DL_ERROR_BOOTSTRAP.
6876         (CATCH_HOOK): Remove.
6877         (dl_signal_error, _dl_catch_error): Use
6878         catch_hook.  Add hidden definition for libc.
6879         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
6880         for DL_ERROR_BOOTSTRAP only.
6881         * elf/dl-error.c: New file.
6882         * elf/dl-error-minimal.c: Likewise.
6883         * elf/tst-latepthread.c: Likewise.
6884         * elf/tst-latepthreadmod.c: Likewise.
6885         * elf/Makefile (routines): Add dl-error.
6886         (dl-routines): Remove dl-error.
6887         (rtld-routines): Add dl-error-minimal.
6888         [build-shared] (tests): Add tst-latepthread.
6889         (module-names): Add tst-latepthreadmod.
6890         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
6891         symbol.
6892         (tst-latepthreadmod.so): Link against libpthread.
6893         (tst-latepthread): Link against libdbl.
6894         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
6895         _dl_catch_error.
6896         [ld] (GLIBC_PRIVATE): Likewise.
6897         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
6898         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
6899         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
6900         directly.
6901         * elf/dl-tsd.c: Remove file.
6902         * elf/rtld.c (_rtld_global_ro): Remove initializers for
6903         _dl_catch_error, _dl_signal_error.
6904         (_dl_initial_error_catch_tsd): Remove definition.
6905         (do_preload): Remove initialization of dl_error_catch_tsd.
6906         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
6907         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
6908         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
6909         * dlfcn/dlopen.c (dlopen_doit): Likewise.
6910         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
6911         set dl_error_catch_tsd.
6912         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
6913         _dl_error_catch_tsd member.
6914         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
6915         members.
6916         (_dl_initial_error_catch_tsd): Remove declaration.
6917         (_dl_dprintf): Provide definition for use outside of ld.so.
6918         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
6919         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
6920         prototype for libc.
6921         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
6922         _dl_catch_error.
6923         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
6924         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
6925         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
6926         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
6927         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
6928         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
6929         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
6930         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
6931         Likewise.
6932         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
6933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
6934         (ld.so): Likewise.
6935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
6936         (ld.so): Likewise.
6937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
6938         Likewise.
6939         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
6940         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
6941         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
6942         Likewise.
6943         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
6944         Likewise.
6945         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
6947 2016-11-30  Florian Weimer  <fweimer@redhat.com>
6949         [BZ #4099]
6950         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
6951         _IO_BUFSIZ (8192).
6953 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
6955         * PROJECTS: Remove file.
6957 2016-11-29  Florian Weimer  <fweimer@redhat.com>
6959         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
6961 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
6962             Steve Ellcey  <sellcey@caviumnetworks.com>
6964         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
6965         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
6966         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
6967         fxstatat.
6968         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
6969         lxstat.
6970         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
6971         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
6972         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
6973         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
6974         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
6975         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
6976         __xstat.
6978 2016-11-29  Florian Weimer  <fweimer@redhat.com>
6980         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
6981         Define.
6982         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
6983         definition.
6985 2016-11-29  Florian Weimer  <fweimer@redhat.com>
6987         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
6988         version and turn into strong alias.  Remove compat symbol.
6990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6991         (__longjmp): Remove.
6993 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
6995         * bits/fp-fast.h: New file.
6996         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
6997         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
6998         * math/Makefile (headers): Add bits/fp-fast.h.
6999         * math/math.h: Include <bits/fp-fast.h>.
7000         * bits/mathdef.h (FP_FAST_FMA): Remove.
7001         (FP_FAST_FMAF): Likewise.
7002         (FP_FAST_FMAL): Likewise.
7003         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
7004         (FP_FAST_FMAF): Likewise.
7005         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
7006         (FP_FAST_FMAF): Likewise.
7007         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
7008         (FP_FAST_FMAF): Likewise.
7009         (FP_FAST_FMAL): Likewise.
7010         * sysdeps/arm/bits/mathdef.h: Remove file.
7011         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
7012         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7013         * sysdeps/tile/bits/mathdef.h: Likewise.
7015 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
7017         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
7018         * math/w_ilogb.c: Remove.
7019         * math/w_ilogbf.c: Likewise.
7020         * math/w_ilogbl.c: Likewise.
7021         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
7022         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
7023         * math/Makefile (gen-libm-calls): Add w_ilogbF.
7024         (libm-calls): Remove w_ilogbF.
7025         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
7026         (LDOUBLE_ilogbl_libm_version): New macro.
7028         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
7030         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
7031         [!__STRICT_ANSI__ && !__cplusplus].
7033 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
7035         [BZ #20750]
7036         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
7037         of PIC.
7039 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
7040             Yury Norov  <ynorov@caviumnetworks.com>
7041             Steve Ellcey  <sellcey@caviumnetworks.com>
7043         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
7044         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
7045         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
7046         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
7047         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
7048         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
7049         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
7050         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
7051         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
7052         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
7053         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
7054         to get correct reg name for ILP32.
7055         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
7056         (RELA_SIZE): New Macro.
7057         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
7058         to support ILP32.
7059         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
7060         cast for ILP32 mode.
7061         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
7062         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
7063         * sysdeps/aarch64/memset.S (__memset): Ditto.
7064         * sysdeps/aarch64/strchr.S (strchr): Ditto.
7065         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
7066         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
7067         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
7068         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
7069         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
7070         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
7071         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
7072         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
7073         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
7074         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
7075         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
7076         change PTR_MANGLE call to use register numbers instead of names.
7077         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
7078         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
7079         ILP32 mode, change PTR_MANGLE calls to use register numbers.
7080         * sysdeps/aarch64/start.S (_start): Ditto.
7081         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
7082         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
7083         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
7084         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
7085         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
7086         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
7087         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
7088         Make defined values dependent on __ILP32__.
7089         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
7090         (sem_t): Change __align type.
7091         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
7092         PTR_SIZE): New Macros.
7093         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
7094         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
7095         Set when in ILP32 mode.
7096         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
7097         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
7098         Set elf flags for ILP32.
7099         (add_system_dir): Set ILP32 library directories.
7100         * sysdeps/unix/sysv/linux/aarch64/init-first.c
7101         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
7102         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
7103         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
7104         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
7105         New Macros.
7106         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
7108 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
7110         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
7111         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
7112         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
7114 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
7116         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
7117         <asm/cachectl.h>.
7119 2016-11-27  Zack Weinberg  <zackw@panix.com>
7121         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
7122         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
7124 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7126         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
7127         error_t to fix usage in C++ programs.
7129 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
7131         * scripts/build-many-glibcs.py: Import datetime module.
7132         (Context.__init__): Load JSON build state.  Initialize list of
7133         status logs.
7134         (Context.run_builds): Update saved build state.
7135         (Context.add_makefile_cmdlist): Update list of status logs.
7136         (Context.load_build_state_json): New function.
7137         (Context.store_build_state_json): Likewise.
7138         (Context.clear_last_build_state): Likewise.
7139         (Context.update_build_state): Likewise.
7140         (CommandList.status_logs): Likewise.
7142 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
7144         * scripts/build-many-glibcs.py (Context.__init__): Save text of
7145         script being executed.
7146         (Context.get_script_text): New function.
7147         (Context.exec_self): Likewise.
7148         (Context.checkout): Re-exec script if changed by checkout process.
7150 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
7152         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7153         (setpayloadsig): New declaration.
7154         * math/Versions (setpayloadsig): New libm symbol at version
7155         GLIBC_2.25.
7156         (setpayloadsigf): Likewise.
7157         (setpayloadsigl): Likewise.
7158         * math/Makefile (libm-calls): Add s_setpayloadsigF.
7159         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
7160         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
7161         (setpayloadsig_test_data): New array.
7162         (setpayloadsig_test): New function.
7163         (main): Call setpayloadsig_test.
7164         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
7165         setpayloadsigf and setpayloadsigl.
7166         * manual/libm-err-tab.pl: Update comment on interfaces without
7167         ulps tabulated.
7168         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
7169         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
7170         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
7171         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
7172         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
7173         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
7174         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7175         setpayloadsig.
7176         (CFLAGS-nldbl-setpayloadsig.c): New variable.
7177         * sysdeps/nacl/libm.abilist: Update.
7178         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7179         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7180         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7181         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7182         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7183         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7184         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7185         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7186         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7187         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7188         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7189         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7191         Likewise.
7192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7193         Likewise.
7194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7195         Likewise.
7196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7197         Likewise.
7198         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7199         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7200         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7201         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7202         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7203         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7204         Likewise.
7205         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7206         Likewise.
7207         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7208         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7209         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7211         * scripts/build-many-glibcs.py: Import json module.
7212         (Context.__init__): Take replace_sources argument.  Load
7213         versions.json.
7214         (Context.load_versions_json): New function.
7215         (Context.store_json): Likewise.
7216         (Context.store_versions_json): Likewise.
7217         (Context.set_component_version): Likewise.
7218         (Context.checkout): Update versions.json.  Check for and handle
7219         changes of version.  Prefer previously explicitly specified
7220         version to default version.
7221         (Context.checkout_vcs): Return a revision identifier.
7222         (Context.git_checkout): Likewise.
7223         (Context.gcc_checkout): Likewise.
7224         (get_parser): Add --replace-sources option.
7225         (main): Pass replace_sources argument to Context call.
7227 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7229         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
7230         * nptl/allocatestack.c (allocate_stack): Likewise.
7231         (__reclaim_stacks): Likewise.
7232         (setxid_signal_thread): Obtain pid through syscall.
7233         * nptl/nptl-init.c (sigcancel_handler): Likewise.
7234         (sighandle_setxid): Likewise.
7235         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
7236         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
7237         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
7238         Likewise.
7239         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
7240         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
7241         comment.
7242         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
7243         * nptl/descr.h (struct pthread): Change comment about pid value.
7244         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
7245         pid assert.
7246         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
7247         Do not set pid value.
7248         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
7249         pid cache check.
7250         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
7251         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
7252         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
7253         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
7254         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
7255         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
7256         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
7257         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
7258         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
7259         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
7260         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
7261         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
7262         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
7263         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
7264         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
7265         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
7266         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
7267         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
7268         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
7269         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
7270         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
7271         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7272         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
7273         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
7274         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
7275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
7277         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7278         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
7279         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7280         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
7281         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
7282         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
7283         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
7284         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
7285         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
7286         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
7287         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7288         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
7289         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
7290         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
7291         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
7292         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
7293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
7294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
7295         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7296         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7297         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7298         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
7299         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
7300         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
7301         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
7302         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
7303         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
7304         struct access.
7305         (clone_test): Remove function.
7306         (do_test): Rewrite to take in consideration pid is not cached anymore.
7308 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
7310         * bits/flt-eval-method.h: New file.
7311         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
7312         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
7313         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
7314         * math/Makefile (headers): Add bits/flt-eval-method.h.
7315         * math/math.h: Include <bits/flt-eval-method.h>.
7316         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
7317         [__USE_ISOC99] (double_t): Likewise.
7318         * bits/mathdef.h (float_t): Remove.
7319         (double_t): Likewise.
7320         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
7321         (double_t): Likewise.
7322         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
7323         (double_t): Likewise.
7324         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
7325         (double_t): Likewise.
7326         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
7327         (double_t): Likewise.
7328         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
7329         (double_t): Likewise.
7330         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
7331         (double_t): Likewise.
7332         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
7333         (double_t): Likewise.
7334         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
7335         (double_t): Likewise.
7336         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
7337         (double_t): Likewise.
7338         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
7339         (double_t): Likewise.
7340         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
7341         (double_t): Likewise.
7342         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
7343         (double_t): Likewise.
7344         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
7345         (double_t): Likewise.
7347 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
7349         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
7350         instead of PIC.
7352 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
7354         [BZ #20859]
7355         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
7356         (-0x7fffffff) instead of 0x80000001.
7357         * math/test-fp-ilogb-constants.c: New file.
7358         * math/Makefile (tests): Add test-fp-ilogb-constants.
7360 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
7362         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
7363         (_init): Use it in place of hardcoded R_MIPS_JALR.
7364         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
7365         (_init): Use it in place of hardcoded R_MIPS_JALR.
7366         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
7367         (_init): Use it in place of hardcoded R_MIPS_JALR.
7369 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
7371         [BZ #20787]
7372         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
7373         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
7374         (double_t): Do not define to double if [__x86_64__] when
7375         __FLT_EVAL_METHOD__ is nonzero.
7376         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
7377         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
7378         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7379         test-flt-eval-method-387 and test-flt-eval-method-sse.
7380         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
7381         variable.
7382         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
7384 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
7386         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
7387         use of -fno-isolate-erroneous-paths options for tilepro.
7389 2016-11-23  Florian Weimer  <fweimer@redhat.com>
7391         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
7392         structure initialization is no longer needed.
7394 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
7396         [BZ #20855]
7397         * bits/mathdef.h (float_t): Define to float.
7398         * math/test-flt-eval-method.c: New file.
7399         * math/Makefile (tests): Add test-flt-eval-method.
7400         (CFLAGS-test-flt-eval-method.c): New variable.
7402 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
7404         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
7405         and __fstatfs.  Make them aliases of __fstatfs64 if
7406         STATFS_IS_STATFS64 is set to non-zero.
7407         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
7408         and __statfs64.
7409         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
7410         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
7411         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
7412         for __statfs and statfs.
7413         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
7414         to 0.
7415         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
7416         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
7417         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
7418         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
7419         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
7420         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
7421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
7422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
7423         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
7424         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
7425         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
7426         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
7428 2016-11-22  Andreas Schwab  <schwab@suse.de>
7430         * misc/mkstemp.c: Include <fcntl.h>.
7431         * misc/mkstemps.c: Likewise.
7432         * misc/mkostemp.c: Likewise.
7433         * misc/mkostemps.c: Likewise.
7435 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
7437         [BZ #20847]
7438         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
7439         array bounds.
7440         (__execvpe): Likewise.
7442 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
7444         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
7445         -fno-isolate-erroneous-paths options for tilepro.
7447 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
7449         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
7450         to 0 when in 32 bit mode.
7451         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
7452         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
7453         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
7454         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
7455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
7456         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
7457         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
7458         XSTAT_IS_XSTAT64 test.
7459         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
7460         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
7461         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
7462         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
7463         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
7464         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
7465         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
7466         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
7467         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
7468         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
7469         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
7471 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
7473         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7474         (setpayload): New declaration.
7475         * math/Versions (setpayload): New libm symbol at version
7476         GLIBC_2.25.
7477         (setpayloadf): Likewise.
7478         (setpayloadl): Likewise.
7479         * math/Makefile (libm-calls): Add s_setpayloadF.
7480         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
7481         test_Ff_b1_data.
7482         (RUN_TEST_Ff_b1): New macro.
7483         (RUN_TEST_LOOP_Ff_b1): Likewise.
7484         (canonicalize_test_data): Update type.
7485         (setpayload_test_data): New array.
7486         (setpayload_test): New function.
7487         (main): Call setpayload_test.
7488         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
7489         setpayloadf and setpayloadl.
7490         * manual/libm-err-tab.pl: Update comment on interfaces without
7491         ulps tabulated.
7492         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
7493         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
7494         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
7495         Likewise.
7496         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
7497         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
7498         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
7499         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
7500         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
7501         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
7502         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
7503         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
7504         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
7505         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7506         setpayload.
7507         (CFLAGS-nldbl-setpayload.c): New variable.
7508         * sysdeps/nacl/libm.abilist: Update.
7509         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7510         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7511         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7512         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7513         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7514         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7515         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7516         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7517         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7518         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7519         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7520         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7522         Likewise.
7523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7524         Likewise.
7525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7526         Likewise.
7527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7528         Likewise.
7529         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7530         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7531         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7532         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7533         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7534         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7535         Likewise.
7536         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7537         Likewise.
7538         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7539         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7540         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7542 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7544         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
7545         * include/unistd.h: Extend comment about __access_noerrno return
7546         semantics.
7547         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
7548         (access_common): Correct typo for EACCES.
7550 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
7552         * sysdeps/tile/math-tests.h: New file.
7554         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
7555         (__old_set_dataplane): Rename from set_dataplane and make a
7556         compatibility symbol.
7557         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
7558         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
7559         sys/dataplane.h.
7561 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
7563         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
7564         script quote words in command output to log suitably for input to
7565         the shell.
7567 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
7568             Maciej W. Rozycki  <macro@imgtec.com>
7570         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
7571         `.Lno_weak_fn' label.
7572         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
7573         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
7575 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7576             Yury Norov  <ynorov@caviumnetworks.com>
7578         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
7579         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
7580         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
7581         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
7582         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
7583         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
7584         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
7585         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7586         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
7587         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
7588         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
7589         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
7590         (sysdep_routines): Remove oldgetrlimit64.
7591         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
7592         (sysdep_routines): Likewise.
7593         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
7594         (sysdep_routines): Likewise.
7595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
7596         [$(subdir) = resource] (sysdep_routines): Likewise.
7597         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
7598         [$(subdir) = resource] (sysdep_routines): Likewise.
7599         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
7600         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
7601         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
7602         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
7603         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
7604         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
7605         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
7606         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
7607         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
7608         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
7609         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
7610         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
7611         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
7612         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
7613         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
7614         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
7615         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
7616         setrlimit and getrlimit.
7617         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7618         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
7619         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
7620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
7621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
7622         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
7623         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
7624         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
7625         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
7626         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
7627         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
7628         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
7629         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
7630         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
7631         (__old_getrlimit64): Add compatibility symbol.
7632         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
7634 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
7636         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
7637         newly built gmp, mpfr and mpc.
7639         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
7641 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
7643         * conform/Makefile (linknamespace-libs): Rename to
7644         linknamespace-libs-thr.
7645         (linknamespace-libs-posix): New variable.
7646         (linknamespace-libs-xsi): Likewise.
7647         (linknamespace-libs-XPG3): Include libcrypt.a.
7648         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
7649         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
7650         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
7651         (linknamespace-libs-XOPEN2K): Likewise.
7652         (linknamespace-libs-XOPEN2K8): Likewise.
7653         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
7655         [BZ #20829]
7656         * stdio-common/Versions (__snprintf): Add to version
7657         GLIBC_PRIVATE.
7658         * include/stdio.h (__snprintf): Use libc_hidden_proto.
7659         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
7660         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
7661         of snprintf.
7662         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7664 2016-11-16  Zack Weinberg  <zackw@panix.com>
7666         * string/string.h: Remove obsolete comment stating that
7667         strcoll_l and strxfrm_l have not yet been standardized.
7669 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7671         * hurd/hurd.h (__hurd_fail_noerrno): New function.
7672         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
7673         __access_noerrno.
7674         * io/access.c (__access_noerrno): New function.
7675         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
7676         (hurd_fail_seterrno): Likewise.
7677         (access_common): Likewise.
7678         (__access_noerrno): Likewise.
7679         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
7680         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
7681         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
7682         macro.
7684 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
7686         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
7687         Only declare fpregs if [__SH_FPU_ANY__].
7689 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
7691         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
7692         Make code unconditional.
7693         [!(__SH4__ || __SH4A__)]: Remove conditional code.
7695 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
7697         * manual/sysinfo.texi (S_APPEND): Delete.
7698         (S_IMMUTABLE): Likewise.
7700 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
7701             Magnus Granberg  <zorry@gentoo.org>
7702             Mike Frysinger  <vapier@gentoo.org>
7704         [BZ #20662]
7705         * configure.ac (libc_cv_predef_stack_protector): Also check for
7706         __stack_chk_fail_local symbols.
7707         * configure: Regenerated.
7709 2016-11-15  Florian Weimer  <fweimer@redhat.com>
7711         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
7712         (libc_hidden_def): Remove redefinition.
7713         (__sigsetjmp): Add hidden definition.
7714         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
7715         (libc_hidden_def): Remove redefinition.
7716         (__sigsetjmp): Add hidden definition.
7718 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
7720         * scripts/build-many-glibcs.py (os.path): Do not import.
7721         (Context): Inherit explicitly from object.  Remove blank line
7722         between class and docstring.
7723         (Config): Likewise.
7724         (Glibc): Likewise.
7725         (Command): Likewise.
7726         (CommandList): Likewise.
7727         (Context.write_files): Store chmod mode in a variable.
7729         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
7730         LIBC_SLIBDIR_RTLDDIR for tilegx32.
7731         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
7733 2016-11-14  Zack Weinberg  <zackw@panix.com>
7735         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
7736         creating or re-creating it.
7738         * string/bits/string2.h: Fix typo in comment.
7740 2016-11-14  Zack Weinberg  <zackw@panix.com>
7742         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
7743         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
7744         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
7745         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
7746         of redirected function names.
7748         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
7749         as well.  Document that MESSAGE must be a single string literal.
7751 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
7753         * scripts/build-many-glibcs.py: New file.
7755         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
7756         (do_test): Disable -Wmaybe-uninitialized around uses of
7757         except_mask.
7759         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
7761 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
7763         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
7764         (atomic_store_release): Provide tilepro-specific implementations.
7766 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
7768         * math/math.h (__MATH_TG): New macro.
7769         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
7770         [__USE_ISOC99] (signbit): Likewise.
7771         [__USE_ISOC99] (isfinite): Likewise.
7772         [__USE_ISOC99] (isnan): Likewise.
7773         [__USE_ISOC99] (isinf): Likewise.
7774         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
7775         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
7776         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
7777         __MATH_TG and __MATH_EVAL_FMT2.
7778         * sysdeps/generic/math_private.h (fabs_tg): Define using
7779         __MATH_TG.
7780         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
7781         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
7782         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
7783         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
7784         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
7785         macro.
7786         (__iscanonical): Likewise.
7787         (iscanonical): Define using __MATH_TG.
7789 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7791         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
7792         guards.
7794         * sysdeps/unix/sysv/linux/access.c: New file.
7795         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
7797 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
7799         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
7800         and __WORDSIZE32_PTRDIFF_LONG.
7802 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7804         * sysdeps/aarch64/libm-test-ulps: Regenerated.
7806 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7808         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
7809         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
7810         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
7811         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
7812         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
7813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
7814         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
7815         * sysdeps/unix/sysv/linux/truncate.c: New file.
7816         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
7817         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
7818         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
7819         Remove.
7820         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
7821         Likewise.
7823         * posix/tst-truncate-common.c: New file.
7824         * posix/tst-truncate.c: Use tst-truncate-common.c.
7825         * posix/tst-truncate64.c: Likewise and add LFS tests.
7826         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
7827         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
7828         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
7829         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
7830         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
7831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
7832         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
7833         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
7834         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
7835         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
7836         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
7837         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
7838         Remove.
7839         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
7840         Likewise.
7842 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
7844         [BZ #20790]
7845         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
7846         to MAXLINESIZE.
7847         * sunrpc/bug20790.x: New file.
7848         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
7849         variable.
7850         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
7851         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
7853         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
7855         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
7857         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
7858         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
7859         calloc, realloc, free, memalign and __libc_memalign rather than
7860         making them optional.
7862         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
7863         for libc.so.
7865 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7867         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
7868         ptw-lseek64.
7869         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
7870         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
7871         Likewise.
7872         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
7873         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
7874         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
7875         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
7876         * sysdeps/unix/sysv/linux/lseek.c: New file.
7877         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
7878         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
7879         __libc_lseek64 from auto-generation.
7880         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
7881         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
7883 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7885         * nptl/tst-basic1.c (tf, do_test): Use write_message.
7886         * nptl/tst-cleanup1.c (do_test): Likewise.
7887         * nptl/tst-cleanup3.c (do_test): Likewise.
7888         * nptl/tst-key1.c (do_test): Likewise.
7889         * nptl/tst-key2.c (tf, do_test): Likewise.
7890         * nptl/tst-key3.c (tf, do_test): Likewise.
7891         * nptl/tst-stdio1.c (do_test): Likewise.
7892         * nptl/tst-stdio2.c (do_test): Likewise.
7894         * nptl/tst-kill3.c (handler): Use write_message in place of write.
7895         * nptl/tst-kill6.c (handler): Likewise.
7896         * nptl/tst-tls2.c (CB): Likewise.
7897         * nptl/tst-tls3.c (CB): Likewise.
7899 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
7901         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
7903 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
7904             Steve Ellcey  <sellcey@caviumnetworks.com>
7906         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
7907           __ASSUME_ST_INO_64_BIT as 0
7908         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
7909         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
7910           over the code where __ASSUME_ST_INO_64_BIT is used.
7911         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
7912         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
7913         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7915 2016-11-07  Florian Weimer  <fweimer@redhat.com>
7917         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7918         Document ABI exposure of the __kind offset.
7919         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7920         Mention reason for the __kind offset exposure in the ABI.
7921         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7922         Likewise.
7923         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7924         Likewise.
7925         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7926         Likewise.
7927         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
7928         (struct __pthread_mutex_s): Likewise.
7929         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7930         Likewise.
7931         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7932         Likewise.
7933         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7934         Likewise.
7935         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7936         Likewise.
7937         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7938         Likewise.
7939         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7940         Likewise.
7941         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
7942         (struct __pthread_mutex_s): Likewise.
7943         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7944         (struct __pthread_mutex_s): Likewise.
7945         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
7946         Likewise.
7948 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
7950         * test-skeleton.c: Document do_test usage.
7952 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
7954         * iconv/gconv.h (__gconv_info): Define __data element using a
7955         zero-length array.
7957 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
7959         * math/test-tgmath2.c: Split up test function.
7961 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
7963         * Rules (tests-expected): New variable, depending on
7964         $(run-built-tests).
7965         (tests): Pass $(tests-expected) to merge-test-results.sh, not
7966         $(tests).
7968         * Rules [$(run-built-tests) = no] (tests): Do not depend on
7969         $(tests-unsupported).
7971 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7973         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
7974         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
7976 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
7978         [BZ #20768]
7979         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
7980         __fegetenv instead of fegetenv.
7982         [BZ #14139]
7983         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
7984         (find_files): Obtain platform name from libm-test-ulps-name and
7985         store in %pplatforms.
7986         (canonicalize_platform): Remove.
7987         (print_platforms): Use $pplatforms directly.
7988         (by_platforms): Do not allow for platforms missing from
7989         %pplatforms.
7990         * sysdeps/aarch64/libm-test-ulps-name: New file.
7991         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
7992         * sysdeps/arm/libm-test-ulps-name: Likewise.
7993         * sysdeps/generic/libm-test-ulps-name: Likewise.
7994         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
7995         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
7996         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
7997         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
7998         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
7999         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
8000         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
8001         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
8002         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
8003         * sysdeps/nios2/libm-test-ulps-name: Likewise.
8004         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
8005         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
8006         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
8007         * sysdeps/sh/libm-test-ulps-name: Likewise.
8008         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
8009         * sysdeps/tile/libm-test-ulps-name: Likewise.
8010         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
8012         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
8014         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
8015         (test-xfail-check-execstack): New variable.
8017         * sysdeps/mips/localplt.data: New file.
8019 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
8020             Steve Ellcey  <sellcey@caviumnetworks.com>
8022         * bits/wordsize.h: Add documentation.
8023         * sysdeps/aarch64/bits/wordsize.h : New file
8024         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
8025         definitions.
8026         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
8027         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
8028         with #if instead of #ifdef.
8029         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
8030         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
8031         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
8032         Add or change defines.
8033         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
8034         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8035         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
8036         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
8037         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8038         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8039         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
8040         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
8041         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
8042         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8043         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
8044         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
8045         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
8046         * sysdeps/x86/bits/wordsize.h: Likewise.
8048 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
8049             Kevin Petit  <kevin.petit@arm.com>
8051         * sysdeps/aarch64/memchr.S (__memchr): New file.
8053 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
8055         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
8057 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
8059         [BZ #19398]
8060         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
8061         $(linknamespace-symlists-tests).
8063 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
8065         * time/tst-strptime2.c: Ignore -Wformat-length warning.
8067 2016-11-02  Florian Weimer  <fweimer@redhat.com>
8068             Carlos O'Donell  <carlos@redhat.com>
8070         [Bug #20729]
8071         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
8072         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
8073         for -Os related change.
8075 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
8077         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
8079 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
8081         [BZ #19673]
8082         * manual/math.texi (Exponents and Logarithms): Correct description
8083         of clog10.
8085 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
8087         [Bz #20729]
8088         * locale/weight.h: Include libc-internal.h.
8089         * locale/weightwc.h: Likewise.
8090         * nptl/nptl_dbP.h: Likewise.
8092 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
8094         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
8095         when it is MACH_PORT_NULL.
8097 2016-10-31  Andreas Schwab  <schwab@suse.de>
8099         [BZ #20707]
8100         * posix/glob.c (glob): Initialize pglob before checking for
8101         GLOB_BRACE.  Don't call glob recursively if pattern contains no
8102         valid brace expression despite GLOB_BRACE.
8103         * posix/globtest.sh: Test it.
8105 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
8107         [BZ #20729]
8108         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
8109         Define.
8110         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
8111         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
8112         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
8113         for seq2.back_us and seq1.back_us only for -Os compiles.
8114         * locale/weightwc.h (findix): Likewise.
8115         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
8116         DB_GET_FIELD_ADDRESS only for -Os compiles.
8117         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
8118         for slen only for -Os compiles.
8119         * string/strcoll_l.c (get_next_seq): Ignore
8120         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
8121         for -Os compiles.
8123         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
8124         * include/crypt.h: New file.
8126 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8128         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
8129         from test-skeleton.c.
8130         (statclass): Replace calls to write with calls to write_message.
8132 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
8134         * math/math.h
8135         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
8136         New macro.
8137         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
8138         Likewise.
8139         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
8140         Likewise.
8141         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
8142         SNANL.
8143         * math/test-double.h (snan_value_MACRO): New macro.
8144         * math/test-float.h (snan_value_MACRO): Likewise.
8145         * math/test-ldouble.h (snan_value_MACRO): Likewise.
8146         * math/libm-test.inc (issignaling_test_data): Add tests of
8147         snan_value_MACRO.
8149 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8151         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
8152         behavior when eliding a lock not held by the current thread.
8153         * sysdeps/powerpc/nptl/elide.h: Likewise.
8155 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8157         [BZ #20728]
8158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
8159         branch to _exit() by a function call.
8161 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8163         * malloc/malloc.c: Update chunk layout comments.
8164         (chunk_main_arena): Update comment.
8166 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8168         * crypt/sha256.c, crypt/sha256-block.c,
8169         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
8170         sha256_process_block to __sha256_process_block.
8171         * crypt/sha512.c, crypt/sha512-block.c,
8172         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
8173         sha512_process_block to __sha512_process_block.
8175 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
8177         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
8179         * math/test-nan-overflow.c: Include stdlib.h for malloc.
8181 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
8183         [BZ #20019]
8184         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
8185         definition in unrelocated shared library.
8186         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8188 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8190         [BZ #20729]
8191         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
8192         * sysdeps/unix/sysv/linux/i386/Makefile
8193         (uses-6-syscall-arguments): Define.
8194         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
8195         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
8196         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
8197         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
8198         Likewise.
8199         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
8200         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
8201         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
8202         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
8203         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
8204         (CFLAGS-fallocate64.os): Likewise.
8205         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
8206         (CFLAGS-pthread_rwlock_timedrdlock.os)
8207         (CFLAGS-pthread_rwlock_timedwrlock.o)
8208         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
8209         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
8210         (CFLAGS-sem_timedwait.os): Likewise.
8212 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8214         * elf/tst-linkall-static.c: New file.
8215         * elf/Makefile (tests-static): Add tst-linkall-static.
8216         (tst-linkall-static): Link against static libraries.
8218 2016-10-27  Florian Weimer  <fweimer@redhat.com>
8220         * malloc/malloc.c (sysmalloc): Initialize previous size field of
8221         mmaped chunks.
8223 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8225         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
8226         members to mchunk_prev_size, mchunk_size.
8227         (chunk_main_arena): Reverse sense and rename from
8228         chunk_non_main_arena.
8229         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
8230         mchunk_size instead of size.
8231         (set_non_main_arena): Define.
8232         (chunksize): Use chunksize_nomask instead of direct member access.
8233         (chunksize_nomask): Define.
8234         (next_chunk): Use chunksize instead of direct member access.
8235         (prev_size, set_prev_size): Define.
8236         (prev_chunk): Use prev_size instead of direct member access.
8237         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
8238         (inuse_bit_at_offset, set_inuse_bit_at_offset)
8239         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
8240         (mchunk_prev_size, mchunk_size): Poison tokens.
8241         (unlink): Use chunksize_nomask, prev_size accessors.
8242         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
8243         (do_check_free_chunk): Use prev_size accessor.
8244         (sysmalloc): Use set_prev_size, set_head accessors.
8245         (munmap_chunk, mremap_chunk): Use prev_size accessor.
8246         (__libc_free): Use chunksize_nomask accessor.
8247         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
8248         chunk_main_arena accessors.
8249         (_int_free): Use chunksize_nomask, prev_size accessors.
8250         (malloc_consolidate): Use chunksize, prev_size accessors.
8251         (_int_realloc): Use chunksize_nomask accessor.
8252         (_int_memalign): Use set_prev_size accessor.
8253         (__malloc_info): Use chunksize_nomask accessor.
8254         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
8255         accessors.
8256         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
8257         (heap_trim): Use chunksize_nomask, prev_size accessors.
8259 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
8261         [BZ #19380]
8262         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
8263         for inexact results.
8264         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
8265         of inexact result where mpfr_subnormalize is the only inexact
8266         step.
8267         * stdlib/tst-strtod-round-data.h: Regenerated.
8268         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
8269         Define to 0.
8270         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
8272 2016-10-27  David S. Miller  <davem@davemloft.net>
8274         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
8276 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8278         * malloc/malloc.c (do_set_mallopt_check): New function.
8279         (do_set_mmap_threshold): Likewise.
8280         (do_set_mmaps_max): Likewise.
8281         (do_set_top_pad): Likewise.
8282         (do_set_perturb_byte): Likewise.
8283         (do_set_trim_threshold): Likewise.
8284         (do_set_arena_max): Likewise.
8285         (do_set_arena_test): Likewise.
8286         (__libc_mallopt): Use them.
8288 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
8290         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8291         (canonicalize): New declaration.
8292         * math/Versions (canonicalize): New libm symbol at version
8293         GLIBC_2.25.
8294         (canonicalizef): Likewise.
8295         (canonicalizel): Likewise.
8296         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
8297         * math/s_canonicalize_template.c: New file.
8298         * math/libm-test.inc: Update comment on functions tested and
8299         testing of NaN payloads.
8300         (TEST_NAN_PAYLOAD): New macro.
8301         (NO_TEST_INLINE): Update value.
8302         (XFAIL_TEST): Likewise.
8303         (ERRNO_UNCHANGED): Likewise.
8304         (ERRNO_EDOM): Likewise.
8305         (ERRNO_ERANGE): Likewise.
8306         (IGNORE_RESULT): Likewise.
8307         (NON_FINITE): Likewise.
8308         (TEST_SNAN): Likewise.
8309         (NO_TEST_MATHVEC): Likewise.
8310         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
8311         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
8312         (struct test_Ffp_b1_data): New type.
8313         (RUN_TEST_Ffp_b1): New macro.
8314         (RUN_TEST_LOOP_Ffp_b1): Likewise.
8315         (canonicalize_test_data): New array.
8316         (canonicalize_test): New function.
8317         (main): Call canonicalize_test.
8318         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
8319         canonicalizef and canonicalizel.
8320         * manual/libm-err-tab.pl: Update comment on interfaces without
8321         ulps tabulated.
8322         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
8323         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
8324         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8325         canonicalize.
8326         (CFLAGS-nldbl-canonicalize.c): New variable.
8327         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
8328         to ...
8329         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
8330         ... here.
8331         (do_test): Also test canonicalizel.
8332         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
8333         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
8334         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
8335         file.
8336         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
8337         Use libm_hidden_def.
8338         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
8339         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
8340         (do_test): Also test canonicalizel.
8341         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
8342         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
8343         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
8344         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
8345         libm_hidden_def.
8346         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
8347         macro.
8348         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
8349         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
8350         * sysdeps/nacl/libm.abilist: Update.
8351         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8352         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8353         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8354         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8355         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8356         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8357         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8358         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8359         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8360         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8361         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8362         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8364         Likewise.
8365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8366         Likewise.
8367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8368         Likewise.
8369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8370         Likewise.
8371         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8372         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8373         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8374         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8375         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8376         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8377         Likewise.
8378         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8379         Likewise.
8380         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8381         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8382         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8384         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
8385         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8386         getpayload.
8387         (CFLAGS-nldbl-getpayload.c): New variable.
8389 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8391         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
8392         integer from the format string.
8394 2016-10-26  Florian Weimer  <fweimer@redhat.com>
8396         [BZ #19473]
8397         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
8398         declarations.
8399         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
8400         weak aliases.
8401         * malloc/hooks.c (__malloc_get_state): Remove definition.
8402         (malloc_get_state): New stub implementation as
8403         compatibility symbol.
8404         (malloc_set_state): Rename from __malloc_set_state.  Turn into
8405         compat symbol.
8406         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
8407         malloc_set_state.
8408         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
8410 2016-10-26  Florian Weimer  <fweimer@redhat.com>
8412         * iconvdata/iso646.c (enum variant): Drop illegal_var.
8413         (names): Turn into concatenation of strings.
8414         (gconv_init): Adapt iteration over names.
8416 2016-10-26  Florian Weimer  <fweimer@redhat.com>
8418         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
8419         make const.
8420         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
8421         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
8422         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
8423         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
8424         character in sbconv.
8425         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
8426         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
8427         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
8429 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8431         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
8433         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
8434         (M_TRIM_THRESHOLD): Likewise.
8436         * manual/memory.texi (M_ARENA_TEST): Add documentation.
8437         (M_ARENA_MAX): Likewise.
8438         * malloc/malloc.c: Remove obsolete comment.
8440         * manual/memory.texi: Add environment variable alternatives to
8441         setting mallopt parameters.
8443 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
8445         * include/atomic.h
8446         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
8447         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
8449 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8451         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
8452         * stdlib/tst-strfrom.h: New file.
8453         * stdlib/tst-strfrom.c: New file.
8454         * stdlib/tst-strfrom-locale.c: New file.
8456         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
8457         * stdlib/bug-strtod2.c: Likewise.
8458         * stdlib/tst-strtod-round-skeleton.c: Likewise.
8459         * stdlib/tst-strtod6.c: Likewise.
8460         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
8462 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8464         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
8465         * manual/arith.texi: Document strfromd, strfromf, strfroml.
8466         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
8467         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
8468         * stdlib/stdlib.h (strfromd): New declaration.
8469         (strfromf): Likewise.
8470         (strfroml): Likewise.
8471         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
8472         strfrom.
8473         * stdlib/strfromd.c: New file.
8474         * stdlib/strfromf.c: Likewise.
8475         * stdlib/strfroml.c: Likewise.
8476         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
8477         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
8478         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
8479         * sysdeps/arm/nacl/libc.abilist: Update.
8480         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
8481         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8482         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8483         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8484         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8485         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8486         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8487         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8488         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8489         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8490         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8491         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8492         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8493         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
8495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
8496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8498         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8499         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8500         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8501         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8502         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8503         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
8504         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
8505         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8506         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8507         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8509 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
8511         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
8512         instead of cmpli.
8513         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
8514         instead of cmpli.
8516 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
8518         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
8519         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
8520         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
8521         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
8522         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
8523         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
8525 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8527         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
8528         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
8529         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
8530         SYSCALL_LL64_PRW.
8531         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
8532         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
8533         __ASSUME_PRW_DUMMY_ARG.
8534         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
8535         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
8536         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
8537         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
8538         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
8539         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
8541 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
8543         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
8545 2016-10-22  Florian Weimer  <fweimer@redhat.com>
8547         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
8548         "C++", to override a potential extern "C" directive around the
8549         header file inclusion.
8551 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
8553         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
8555 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8557         * sysdeps/powerpc/fpu/fenv_private.h:
8558         (_FPU_MASK_ALL): Rename to...
8559         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
8560         XE FPSCR bits.
8562         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
8564         (_FPU_MASK_ROUNDING): Rename to...
8565         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
8566         NI bits.
8568         (_FPU_MASK_EXCEPT_ROUND): Rename to...
8569         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
8570         bits and rounding bits.
8572         (__libc_feholdbits_ppc): New inline function to mask, set,
8573         and pontentially clear FSPCR bits, and change MSR[FE] bits.
8574         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
8575         (libc_feholdexcept_setround_ppc): Likewise.
8577         (__libc_femergeenv_ppc): New function to dynamically mask both
8578         old and new FP environments and merge.
8579         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
8580         (libc_feresetround_ppc): Likewise.
8581         (libc_feupdateenv_test_ppc): Likewise.
8582         (libc_feupdateenv_ppc): Likewise.
8584         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
8585         of ISA RN bits, and update macro names.
8586         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
8587         effectively the same as the previously mentioned function.
8589         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
8590         usage with fe_resetround_ppc.
8592         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
8593         to be used.
8594         (libc_feholdexcept_setround_ctxf): Likewise.
8595         (libc_feholdexcept_setround_ctxl): Likewise.
8597 2016-10-21  Florian Weimer  <fweimer@redhat.com>
8599         [BZ #20715]
8600         * math/math.h [__cplusplus] (iszero): Define as function template.
8601         * math/Makefile [CXX] (tests): Add test-math-iszero.
8602         (CFLAGS-test-math-iszero.cc): Set.
8603         * math/test-math-iszero.cc: New file.
8605 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
8607         [BZ #20660]
8608         * sysdeps/arm/e_sqrt.c: New file.
8609         * sysdeps/arm/e_sqrtf.c: Likewise.
8611 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
8613         [BZ #20718]
8614         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
8615         not use floating-point comparisons to test sign.
8616         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
8617         Likewise.
8619         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8620         (getpayload): New declaration.
8621         * math/Versions (getpayload): New libm symbol at version
8622         GLIBC_2.25.
8623         (getpayloadf): Likewise.
8624         (getpayloadl): Likewise.
8625         * math/Makefile (libm-calls): Add s_getpayloadF.
8626         * math/libm-test.inc: Include <nan-high-order-bit.h>.
8627         (struct test_f_f_data): Add comment.
8628         (RUN_TEST_fp_f): New macro.
8629         (RUN_TEST_LOOP_fp_f): Likewise.
8630         (getpayload_test_data): New array.
8631         (getpayload_test): New function.
8632         (main): Call getpayload_test.
8633         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
8634         descriptor.
8635         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
8636         getpayloadf and getpayloadl.
8637         * manual/libm-err-tab.pl: Update comment on interfaces without
8638         ulps tabulated.
8639         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
8640         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
8641         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
8642         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
8643         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
8644         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
8645         * sysdeps/nacl/libm.abilist: Update.
8646         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8647         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8648         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8649         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8650         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8651         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8652         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8653         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8654         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8655         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8656         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8657         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8659         Likewise.
8660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8661         Likewise.
8662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8663         Likewise.
8664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8665         Likewise.
8666         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8667         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8668         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8669         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8670         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8671         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8672         Likewise.
8673         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8674         Likewise.
8675         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8676         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8677         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8679 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8681         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
8682         tst-fallocate{64}.
8683         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
8684         on syscall return.
8686 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
8688         [BZ #20689]
8689         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
8690         usable.
8692 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
8694         * sysdeps/generic/nan-high-order-bit.h: New file.
8695         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
8696         * sysdeps/mips/nan-high-order-bit.h: Likewise.
8697         * sysdeps/hppa/math_private.h: Remove file.
8698         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
8699         not define here.
8700         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
8701         <nan-high-order-bit.h>.
8702         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8703         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
8704         <nan-high-order-bit.h>.
8705         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8706         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
8707         <nan-high-order-bit.h>.
8708         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8709         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
8710         <nan-high-order-bit.h>.
8711         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8712         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
8713         <nan-high-order-bit.h>.
8714         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8715         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
8716         <nan-high-order-bit.h>.
8717         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8718         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
8719         <nan-high-order-bit.h>.
8720         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8721         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
8722         <nan-high-order-bit.h>.
8723         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8724         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
8725         <nan-high-order-bit.h>.
8726         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8727         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
8728         <nan-high-order-bit.h>.
8729         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8730         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
8731         <nan-high-order-bit.h>.
8732         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8733         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
8734         <nan-high-order-bit.h>.
8735         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8736         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
8737         <nan-high-order-bit.h>.
8738         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8739         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
8740         <nan-high-order-bit.h>.
8741         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8742         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
8743         <nan-high-order-bit.h>.
8744         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8745         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
8746         <nan-high-order-bit.h>.
8747         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8748         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
8749         <nan-high-order-bit.h>.
8750         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8751         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
8752         <nan-high-order-bit.h>.
8753         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8755 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8757         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
8759 2016-09-22  John David Anglin  <dave.anglin@bell.net>
8761         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
8762         abort-instr.h.
8763         (EFAULT): Remove conditional define.
8764         (ENOSYS): Likewise.
8765         (atomic_compare_and_exchange_val_acq): Use instruction nullification
8766         instead of conditional branch instructions.
8768 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
8770         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8771         (totalordermag): New declaration.
8772         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
8773         New macro.
8774         * math/Versions (totalordermag): New libm symbol at version
8775         GLIBC_2.25.
8776         (totalordermagf): Likewise.
8777         (totalordermagl): Likewise.
8778         * math/Makefile (libm-calls): Add s_totalordermagF.
8779         * math/libm-test.inc (totalordermag_test_data): New array.
8780         (totalordermag_test): New function.
8781         (main): Call totalordermag_test.
8782         * math/test-tgmath.c (NCALLS): Increase to 125.
8783         (F(compile_test)): Call totalordermag.
8784         (F(totalordermag)): New function.
8785         * manual/arith.texi (FP Comparison Functions): Document
8786         totalordermag, totalordermagf and totalordermagl.
8787         * manual/libm-err-tab.pl: Update comment on interfaces without
8788         ulps tabulated.
8789         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
8790         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
8791         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
8792         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
8793         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
8794         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
8795         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
8796         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8797         totalordermag.
8798         (CFLAGS-nldbl-totalordermag.c): New variable.
8799         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
8800         (do_test): Also test totalordermagl.
8801         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
8802         Likewise.
8803         * sysdeps/nacl/libm.abilist: Update.
8804         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8805         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8806         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8807         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8808         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8809         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8810         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8811         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8812         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8813         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8814         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8815         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8817         Likewise.
8818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8819         Likewise.
8820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8821         Likewise.
8822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8823         Likewise.
8824         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8825         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8826         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8827         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8828         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8829         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8830         Likewise.
8831         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8832         Likewise.
8833         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8834         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8835         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8837 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
8839         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
8840         boolean.
8842 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
8844         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
8845         raising FE_INVALID with feraisexcept in case where part of
8846         argument is infinite, subtract that part of argument from itself.
8847         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
8848         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
8849         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
8851 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
8853         * math/libm-test.inc (totalorder_test_data): Add more tests.
8855 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
8857         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
8858         Undefine weak_alias and add a comment why mips64 require
8859         versioning.
8861 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
8863         [BZ #20647]
8864         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
8865         maximum CPUID level is less than 2.
8867 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
8869         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8870         (totalorder): New declaration.
8871         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
8872         New macro.
8873         * math/Versions (totalorder): New libm symbol at version
8874         GLIBC_2.25.
8875         (totalorderf): Likewise.
8876         (totalorderl): Likewise.
8877         * math/Makefile (libm-calls): Add s_totalorderF.
8878         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
8879         string.
8880         * math/libm-test.inc (PAYLOAD_DIG): New macro.
8881         (qnan_value_pl): Likewise.
8882         (snan_value_pl): Likewise.
8883         (qnan_value): Define using qnan_value_pl.
8884         (snan_value): Define using snan_value_pl.
8885         (struct test_ff_i_data): Add comment about which tests use this
8886         structure.
8887         (RUN_TEST_ff_b): New macro.
8888         (RUN_TEST_LOOP_ff_b): Likewise.
8889         (totalorder_test_data): New array.
8890         (totalorder_test): New function.
8891         (main): Call totalorder_test.
8892         * math/test-tgmath.c (NCALLS): Increase to 122.
8893         (F(compile_test)): Call totalorder.
8894         (F(totalorder)): New function.
8895         * manual/arith.texi (FP Comparison Functions): Document
8896         totalorder, totalorderf and totalorderl.
8897         * manual/libm-err-tab.pl: Update comment on interfaces without
8898         ulps tabulated.
8899         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
8900         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
8901         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
8902         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
8903         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
8904         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
8905         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
8906         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8907         totalorder.
8908         (CFLAGS-nldbl-totalorder.c): New variable.
8909         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
8910         file.
8911         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
8912         Add test-totalorderl-ldbl-128ibm.
8913         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
8914         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
8915         test-totalorderl-ldbl-96.
8916         * sysdeps/nacl/libm.abilist: Update.
8917         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8918         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8919         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8920         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8921         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8922         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8923         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8924         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8925         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8926         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8927         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8928         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8930         Likewise.
8931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8932         Likewise.
8933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8934         Likewise.
8935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8936         Likewise.
8937         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8938         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8939         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8940         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8941         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8942         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8943         Likewise.
8944         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8945         Likewise.
8946         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8947         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8948         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8950 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8952         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
8953         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
8954         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
8955         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
8956         remove ENOSYS implementation.
8957         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
8958         Consolidate all Linux implementations.
8960 2016-10-11  Florian Weimer  <fweimer@redhat.com>
8962         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
8963         * resolv/herror.c (herror): Cast away const-ness.
8964         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
8965         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
8967 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
8969         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
8970         instead of M_NAN + M_NAN.
8971         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
8973 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8975         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
8976         unused variable 'p'.
8978 2016-10-09  Alan Modra  <amodra@gmail.com>
8979             Andreas Schwab  <schwab@linux-m68k.org>
8981         [BZ #20554]
8982         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
8983         [PIC && !SHARED]: Set up PIC register for PLT call.
8985 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
8987         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
8988         conditional on value of [__FLT_EVAL_METHOD__].
8989         * math/test-iseqsig-excess-precision.c: New file.
8990         * math/Makefile (tests): Add test-iseqsig-excess-precision.
8992 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8994         * math/s_iseqsig_template.c: Include math-private.h.
8996         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
8997         * posix/tst-posix_fadvise.c: New file.
8998         * posix/tst-posix_fadvise64.c: Likewise.
8999         * posix/tst-posix_fadvise-common.c: Likewise.
9000         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9001         (__ASSUME_FADVISE64_64_6ARG): Define.
9002         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9003         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
9004         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9005         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
9006         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
9007         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
9008         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
9009         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
9010         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
9011         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
9012         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
9013         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
9014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
9015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
9016         Likewise.
9017         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
9018         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
9019         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
9020         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
9021         Alias to __posix_fadvise64_l32.
9022         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
9023         Add compat definition to posix_fadvise64.
9024         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
9025         Add versioned definition to posix_fadvise64.
9026         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
9027         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
9028         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
9029         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
9030         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
9032         * io/Makefile (tests): Add tst-posix_fallocate and
9033         tst-posix_fallocate64.
9034         * io/tst-posix_fallocate-common.c: New file.
9035         * io/tst-posix_fallocate.c: Likewise.
9036         * io/tst-posix_fallocate64.c: Likewise.
9037         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
9038         file.
9039         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
9040         Likewise.
9041         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
9042         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
9043         Likewise.
9044         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
9045         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
9046         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
9047         SYSCALL_LL to pass both offset and len arguments.
9048         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
9049         Likewise.
9050         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
9051         __libc_pwrite64 alias used by posix_fallocate64.
9053         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
9054         tst-fallocate64.
9055         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
9056         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
9057         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
9058         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
9059         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
9060         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
9061         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
9062         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9063         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
9064         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
9065         macro on offset argument.
9066         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
9067         SYSCALL_LL64 on offset argument.
9069         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
9070         tst-fallocate64.
9071         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
9072         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
9073         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
9074         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
9075         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
9076         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
9077         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
9078         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9079         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
9080         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
9081         macro on offset argument.
9082         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
9083         SYSCALL_LL64 on offset argument.
9084         * test-skeleton.c (FAIL_RET): Add macro.
9085         (FAIL_EXIT): Likewise.
9086         (FAIL_EXIT1): Likewise.
9087         (_FAIL): Likewise.
9089 2016-10-07  Florian Weimer  <fweimer@redhat.com>
9091         [BZ #20629]
9092         resolv: Remove RES_USEBSTRING and its implementation.
9093         * resolv/resolv.h (RES_USEBSTRING): Remove.
9094         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
9095         (digitvalue, encode_bitstring, decode_bitstring): Remove.
9096         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
9097         (labellen): Remove extended label types support.
9098         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
9099         * resolv/res_init.c (res_setoptions): Likewise.
9100         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
9102 2016-10-07  Florian Weimer  <fweimer@redhat.com>
9104         resolv: Remove RES_NOIP6DOTINT and its implementation.
9105         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
9106         (RES_NOIP6DOTINT): Remove.
9107         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
9108         handling.
9109         * resolv/res_debug.c (p_option): Likewise.
9110         * resolv/res_init.c (res_setoptions): Likewise.
9111         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
9113 2016-10-07  Florian Weimer  <fweimer@redhat.com>
9115         resolv: Deprecate unimplemented flags.
9116         * misc/sys/cdefs.h (__glibc_macro_warning1)
9117         (__glibc_macro_warning): Define.
9118         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
9119         (RES_KEEPTSIG): Mark as deprecated.
9120         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
9121         RES_NOCHECKNAME, RES_KEEPTSIG.
9122         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
9124 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9126         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
9127         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
9128         Use strong_alias to create symbols for glibc verison 2.19.
9130 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9132         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
9134 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9136         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
9138 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9140         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
9142 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9144         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9145         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
9146         in header for using it as type for ifunc function because __GI_* symbols
9147         for ppc32 do not target the ifunc symbols.
9148         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
9150 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9152         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
9153         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
9154         libc_ifunc_hidden_def.
9155         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
9156         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
9157         Redirect ifunced function in header for using it as type of ifunc'ed
9158         function. Redefine libc_hidden_def to use fallback non ifunc'ed
9159         function for __GI_* symbol.
9160         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
9161         * include/libc-symbols.h
9162         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
9164 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9166         [BZ #20478]
9167         * sysdeps/s390/multiarch/ifunc-resolve.h
9168         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
9169         to create ifunc symbols.
9170         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
9171         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
9172         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
9173         for using it as type for ifunc function.
9174         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
9175         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
9176         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
9177         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
9178         * sysdeps/s390/multiarch/strcat.c: Likewise.
9179         * sysdeps/s390/multiarch/strchr.c: Likewise.
9180         * sysdeps/s390/multiarch/strcmp.c: Likewise.
9181         * sysdeps/s390/multiarch/strcpy.c: Likewise.
9182         * sysdeps/s390/multiarch/strcspn.c: Likewise.
9183         * sysdeps/s390/multiarch/strlen.c: Likewise.
9184         * sysdeps/s390/multiarch/strncmp.c: Likewise.
9185         * sysdeps/s390/multiarch/strncpy.c: Likewise.
9186         * sysdeps/s390/multiarch/strnlen.c: Likewise.
9187         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
9188         * sysdeps/s390/multiarch/strrchr.c: Likewise.
9189         * sysdeps/s390/multiarch/strspn.c: Likewise.
9190         * sysdeps/s390/multiarch/wcschr.c: Likewise.
9191         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
9192         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
9193         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
9194         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
9195         * sysdeps/s390/multiarch/wmemset.c: Likewise.
9196         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
9197         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
9198         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
9199         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
9200         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
9201         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
9203 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9205         * include/libc-symbols.h (__ifunc_resolver):
9206         New macro is used by __ifunc* macros.
9207         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
9208         depending on HAVE_GCC_IFUNC.
9209         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
9210         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
9211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
9212         Redirect ifunced function in header for using as type for ifunc function.
9213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
9214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
9215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
9216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
9217         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
9218         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
9219         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
9220         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
9221         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
9222         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
9223         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
9224         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
9225         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
9226         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
9227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
9228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
9229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
9230         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
9231         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
9232         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
9233         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
9234         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
9235         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
9236         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
9237         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
9238         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
9239         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
9240         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
9241         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
9242         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
9243         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
9244         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
9245         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
9246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
9247         Add libc_hidden_def() and use libc_ifunc_hidden() macro
9248         instead of libc_ifunc() macro.
9249         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
9250         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
9252 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9254         * config.h.in (HAVE_GCC_IFUNC): New undef.
9255         * configure.ac: Add check if gcc supports attribute ifunc feature.
9256         * configure: Regenerated.
9257         * manual/install.texi: Add recommendation for gcc with
9258         indirect-function support.
9259         * INSTALL: Regenerated.
9261 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
9263         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
9264         macro.
9265         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9266         (__iseqsig): New declaration.
9267         * math/s_iseqsig_template.c: New file.
9268         * math/Versions (__iseqsigf): New libm symbol at version
9269         GLIBC_2.25.
9270         (__iseqsig): Likewise.
9271         (__iseqsigl): Likewise.
9272         * math/libm-test.inc (iseqsig_test_data): New array.
9273         (iseqsig_test): New function.
9274         (main): Call iseqsig_test.
9275         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
9276         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
9277         * manual/libm-err-tab.pl: Update comment on interfaces without
9278         ulps tabulated.
9279         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
9280         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
9281         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
9282         * sysdeps/nacl/libm.abilist: Update.
9283         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9284         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9285         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9286         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9287         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9288         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9289         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9290         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9291         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9292         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9293         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9294         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9296         Likewise.
9297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9298         Likewise.
9299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9300         Likewise.
9301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9302         Likewise.
9303         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9304         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9305         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9306         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9307         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9308         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9309         Likewise.
9310         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9311         Likewise.
9312         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9313         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9314         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9316 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9318         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
9319         do_sincos_2, sloww, sloww1): Update comments.
9321         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
9322         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
9324         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
9325         K boolean and rename it.
9326         (__sin): Adjust.
9327         (__cos): Adjust.
9329 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
9330             Siddhesh Poyarekar  <siddhesh@sourceware.org>
9332         * manual/nss.texi: Fix typos in the manual.
9334 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
9336         * manual/contrib.texi: Fix typos in the manual.
9338         * manual/maint.texi: Fix typos in the manual.
9340         * manual/install.texi: Fix typos in the manual.
9341         * INSTALL: Regenerated.
9343         * manual/lang.texi: Fix typos in the manual.
9345         * manual/probes.texi: Fix typos in the manual.
9347         * manual/threads.texi: Fix typos in the manual.
9349         * manual/debug.texi: Fix typos in the manual.
9351         * manual/crypt.texi: Fix typos in the manual.
9353         * manual/conf.texi: Fix typos in the manual.
9355         * manual/sysinfo.texi: Fix typos in the manual.
9357         * manual/users.texi: Fix typos in the manual.
9359         * manual/job.texi: Fix typos in the manual.
9361         * manual/process.texi: Fix typos in the manual.
9363         * manual/argp.texi: Fix typos in the manual.
9364         * manual/getopt.texi: Likewise.
9365         * manual/startup.texi: Likewise.
9367         * manual/signal.texi: Fix typos in the manual.
9369         * manual/setjmp.texi: Fix typos in the manual.
9371         * manual/resource.texi: Fix typos in the manual.
9373         * manual/time.texi: Fix typos in the manual.
9375         * manual/arith.texi: Fix typos in the manual.
9377         * manual/math.texi: Fix typos in the manual.
9379         * manual/syslog.texi: Fix typos in the manual.
9381         * manual/terminal.texi: Fix typos in the manual.
9383         * manual/socket.texi: Fix typos in the manual.
9385         * manual/filesys.texi: Fix typos in the manual.
9387         * manual/llio.texi: Fix typos in the manual.
9389         * manual/stdio.text: Fix typos in the manual.
9391 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9393         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
9394         instead of K1.
9396         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
9397         SHIFT_QUADRANT and make it bool.
9398         (do_sincos_2): Likewise.
9399         (sloww): Likewise.
9400         (sloww1): Likewise.
9401         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
9402         (__cos): Likewise.
9404 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9406         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
9408 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
9410         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
9411         Define to __WORDSIZE, not conditional on [LONG_MAX ==
9412         0x7fffffffL].
9413         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
9415 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9417         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
9418         inline by __inline__.
9419         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
9420         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
9421         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
9422         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
9423         sigset_t from signal.h.
9424         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
9425         which is already required.
9427 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
9429         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9431 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
9433         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
9434         (struct tcp_repair_window): New type.
9436 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9438         * libio/tst-memstream3.c: Include string.h.
9440 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9442         [BZ #18241]
9443         [BZ #20181]
9444         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
9445         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
9446         write position is at the end the buffer.
9447         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
9448         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
9449         (_IO_str_seekoff): Set correct offset from negative displacement and
9450         set EINVAL for invalid ones.
9451         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
9452         buffer length.
9453         (_IO_wstr_switch_to_get_mode): New function.
9454         (_IO_wstr_seekoff): Set correct offset from negative displacement and
9455         set EINVAL for invalid ones.
9456         * libio/tst-memstream3.c: New file.
9457         * libio/tst-wmemstream3.c: Likewise.
9458         * manual/examples/memstrm.c: Remove warning when priting size_t.
9460 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
9462         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
9463         macro to use __builtin_fma.
9464         * sysdeps/x86_64/fpu/dla.h: Remove file.
9466         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
9467         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
9468         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
9470 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
9472         [BZ #20292]
9473         * elf/Makefile (routines): Add dl-addr-obj.
9474         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
9475         tst-_dl_addr_inside_object.
9476         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
9477         [ifeq (yesyes,$(have-fpie)$(build-shared))]
9478         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
9479         [ifeq (yesyes,$(have-fpie)$(build-shared))]
9480         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
9481         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
9482         * elf/dl-open.c: Likewise.
9483         * elf/dl-addr-obj.c: New file.
9484         * elf/tst-_dl_addr_inside_object.c: New file.
9486 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
9488         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
9489         <bits/iscanonical.h>.
9490         * bits/iscanonical.h: New file.
9491         * math/s_iscanonicall.c: Likewise.
9492         * math/Versions (__iscanonicall): New libm symbol at version
9493         GLIBC_2.25.
9494         * math/libm-test.inc (iscanonical_test_data): New array.
9495         (iscanonical_test): New function.
9496         (main): Call iscanonical_test.
9497         * math/Makefile (headers): Add bits/iscanonical.h.
9498         (type-ldouble-routines): Add s_iscanonicall.
9499         * manual/arith.texi (Floating Point Classes): Document
9500         iscanonical.
9501         * manual/libm-err-tab.pl: Update comment on interfaces without
9502         ulps tabulated.
9503         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
9504         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
9505         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
9506         Likewise.
9507         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
9508         test-iscanonical-ldbl-128ibm.
9509         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
9510         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
9511         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
9512         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
9513         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
9514         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9515         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9517         Likewise.
9518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9519         Likewise.
9520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9521         Likewise.
9522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9523         Likewise.
9524         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9525         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9527 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9529         * string/bits/string3.h: Remove C++ style comments.
9531 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9533         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
9534         instead of ternary condition.
9535         (do_sincos_2): Likewise.
9536         (__sin): Likewise.
9537         (__cos): Likewise.
9538         (slow): Likewise.
9539         (sloww): Likewise.
9540         (sloww1): Likewise.
9541         (bsloww): Likewise.
9542         (bsloww1): Likewise.
9544         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
9545         instead of ternary condition.
9546         (do_sin_slow): Likewise.
9547         (do_sincos_1): Likewise.
9548         (do_sincos_2): Likewise.
9549         (__cos): Likewise.
9550         (sloww): Likewise.
9551         (sloww1): Likewise.
9552         (sloww2): Likewise.
9553         (bsloww): Likewise.
9554         (bsloww1): Likewise.
9555         (bsloww2): Likewise.
9557         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
9558         check from here...
9559         (slow2): ... and here...
9560         (__sin): ... to here.
9562 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
9564         * math/math.h
9565         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
9566         Cast argument to its own type.
9567         * math/test-iszero-excess-precision.c: New file.
9568         * math/Makefile (tests): Add test-iszero-excess-precision.
9569         (CFLAGS-test-iszero-excess-precision.c): New variable.
9571 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
9573         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
9574         field, add err field.
9575         (__spawni_child): Report error through err member instead of pipe.
9576         (__spawnix): Likewise.
9578 2016-09-28  Zack Weinberg  <zackw@panix.com>
9580         * scripts/check-installed-headers.sh: Generalize treatment of
9581         sys/elf.h to all target architectures.
9583         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
9584         deleted typedef ucontext_t.
9586 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9588         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
9589         (__INTERNAL_SYSCALL1): Likewise.
9590         (__INTERNAL_SYSCALL2): Likewise.
9591         (__INTERNAL_SYSCALL3): Likewise.
9592         (__INTERNAL_SYSCALL4): Likewise.
9593         (__INTERNAL_SYSCALL5): Likewise.
9594         (__INTERNAL_SYSCALL6): Likewise.
9595         (__INTERNAL_SYSCALL7): Likewise.
9596         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
9597         (__INTERNAL_SYSCALL_NARGS): Likewise.
9598         (__INTERNAL_SYSCALL_DISP): Likewise.
9599         (INTERNAL_SYSCALL_CALL): Likewise.
9600         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
9601         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
9602         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
9603         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
9604         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
9605         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
9606         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
9607         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
9608         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
9609         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
9610         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
9611         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
9612         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
9614 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
9616         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
9617         macro.
9618         * math/libm-test.inc (iszero_test_data): New array.
9619         (iszero_test): New function.
9620         (main): Call iszero_test.
9621         * manual/arith.texi (Floating Point Classes): Document iszero.
9622         * manual/libm-err-tab.pl: Update comment on interfaces without
9623         ulps tabulated.
9625 2016-09-23  Zack Weinberg  <zackw@panix.com>
9627         * scripts/check-installed-headers.sh: New script.
9628         * Rules: In each directory that defines header files to be installed,
9629         run check-installed-headers.sh on them as a special test.
9630         * Makefile: Likewise for the headers installed at top level.
9632         * include/aliases.h, include/alloca.h, include/argz.h
9633         * include/arpa/nameser.h, include/arpa/nameser_compat.h
9634         * include/elf.h, include/envz.h, include/err.h
9635         * include/execinfo.h, include/fpu_control.h, include/getopt.h
9636         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
9637         * include/link.h, include/malloc.h, include/mcheck.h
9638         * include/mntent.h, include/netinet/ether.h
9639         * include/nss.h, include/obstack.h, include/printf.h
9640         * include/pty.h, include/resolv.h, include/rpc/auth.h
9641         * include/rpc/auth_des.h, include/rpc/auth_unix.h
9642         * include/rpc/clnt.h, include/rpc/des_crypt.h
9643         * include/rpc/key_prot.h, include/rpc/netdb.h
9644         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
9645         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
9646         * include/rpc/rpc_msg.h, include/rpc/svc.h
9647         * include/rpc/svc_auth.h, include/rpc/xdr.h
9648         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
9649         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
9650         * include/rpcsvc/ypupd.h, include/shadow.h
9651         * include/stdio_ext.h, include/sys/epoll.h
9652         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
9653         * include/sys/prctl.h, include/sys/profil.h
9654         * include/sys/statfs.h, include/sys/sysctl.h
9655         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
9656         * sysdeps/arm/nacl/include/bits/setjmp.h
9657         * sysdeps/mips/include/sys/asm.h
9658         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
9659         * sysdeps/unix/sysv/linux/include/sys/timex.h
9660         * sysdeps/x86/fpu/include/bits/fenv.h:
9661         Add #ifndef _ISOMAC guard around internal declarations.
9662         Add multiple-inclusion guard if not already present.
9664 2016-09-23  Zack Weinberg  <zackw@panix.com>
9666         * sysdeps/generic/sys/ucontext.h
9667         * sysdeps/arm/sys/ucontext.h
9668         * sysdeps/i386/sys/ucontext.h
9669         * sysdeps/m68k/sys/ucontext.h
9670         * sysdeps/mips/sys/ucontext.h
9671         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
9672         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
9673         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
9674         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
9675         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
9676         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
9677         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
9678         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
9679         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
9680         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
9681         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
9682         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
9683         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
9684         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
9685         Include both bits/sigcontext.h and bits/sigstack.h.
9686         Fix grammar error in comment, if present.
9688         * bits/sigstack.h
9689         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
9690         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
9691         * sysdeps/unix/sysv/linux/bits/sigstack.h
9692         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
9693         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
9694         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
9695         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
9696         * bits/sigcontext.h
9697         * sysdeps/mach/hurd/i386/bits/sigcontext.h
9698         * sysdeps/unix/sysv/linux/bits/sigcontext.h
9699         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
9700         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
9701         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
9702         as well as signal.h, if this was not already allowed.  Request
9703         definition of size_t if necessary.  Minimize semantically-null
9704         differences across files.
9706 2016-09-23  Zack Weinberg  <zackw@panix.com>
9708         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
9709         Remove all logic conditional on __need macros.  Move all the
9710         conditionally defined types to their own headers...
9711         * time/bits/types/clock_t.h: Define clock_t here.
9712         * time/bits/types/clockid_t.h: Define clockid_t here.
9713         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
9714         * time/bits/types/struct_timespec.h: Define struct timespec here.
9715         * time/bits/types/struct_timeval.h: Define struct timeval here.
9716         * time/bits/types/struct_tm.h: Define struct tm here.
9717         * time/bits/types/time_t.h: Define time_t here.
9718         * time/bits/types/timer_t.h: Define timer_t here.
9719         * time/Makefile: Install the new headers.
9721         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
9722         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
9723         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
9724         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
9725         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
9726         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
9727         * sysdeps/unix/sysv/linux/bits/resource.h
9728         * sysdeps/unix/sysv/linux/bits/timex.h
9729         * sysdeps/unix/sysv/linux/mips/bits/resource.h
9730         * sysdeps/unix/sysv/linux/net/ppp_defs.h
9731         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
9732         * sysdeps/unix/sysv/linux/sys/acct.h
9733         * sysdeps/unix/sysv/linux/sys/timerfd.h
9734         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
9735         * time/sys/time.h, time/sys/timeb.h
9736         Use the new bits/types headers.
9738         * include/time.h: Remove __need logic.
9739         * include/bits/time.h
9740         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
9741         * include/bits/types/time_t.h, include/bits/types/timer_t.h
9742         * include/bits/types/struct_itimerspec.h
9743         * include/bits/types/struct_timespec.h
9744         * include/bits/types/struct_timeval.h
9745         * include/bits/types/struct_tm.h:
9746         New wrapper headers.
9748 2016-09-23  Zack Weinberg  <zackw@panix.com>
9750         * sysdeps/mach/hurd/net/if_ppp.h
9751         * sysdeps/unix/sysv/linux/net/if_ppp.h:
9752         Only define struct ifpppstatsreq and struct ifpppcstatsreq
9753         if __USE_MISC is defined, to ensure struct ifreq is declared.
9755         * inet/netinet/ether.h: Condition all function prototypes
9756         on __USE_MISC, to ensure struct ether_addr is declared.
9758         * socket/bits/types/struct_osockaddr.h: New header.
9759         * include/bits/types/struct_osockaddr.h: New wrapper.
9760         * socket/Makefile: Install the new header.
9761         * socket/sys/socket.h, inet/protocols/talkd.h:
9762         Refer to bits/types/struct_osockaddr.h for the definition of
9763         struct osockaddr.
9765 2016-09-23  Zack Weinberg  <zackw@panix.com>
9767         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
9768         * inet/protocols/routed.h, inet/protocols/talkd.h
9769         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
9770         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
9771         * sysdeps/generic/netinet/if_ether.h
9772         * sysdeps/generic/netinet/in_systm.h
9773         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
9774         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
9775         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
9776         * sysdeps/mach/hurd/net/if_arp.h
9777         * sysdeps/mach/hurd/net/if_ppp.h
9778         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
9779         * sysdeps/unix/sysv/linux/bits/in.h
9780         * sysdeps/unix/sysv/linux/net/ethernet.h
9781         * sysdeps/unix/sysv/linux/net/if_arp.h
9782         * sysdeps/unix/sysv/linux/net/if_ppp.h
9783         * sysdeps/unix/sysv/linux/net/if_shaper.h
9784         * sysdeps/unix/sysv/linux/net/route.h
9785         * sysdeps/unix/sysv/linux/netinet/if_ether.h
9786         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
9787         * sysdeps/unix/sysv/linux/netinet/if_tr.h
9788         * sysdeps/unix/sysv/linux/netipx/ipx.h
9789         * sysdeps/unix/sysv/linux/sys/acct.h
9790         * include/arpa/nameser.h, include/resolv.h:
9791         Change all uses of u_char to unsigned char,
9792         u_short and ushort to unsigned short, u_int and uint to unsigned int,
9793         u_long and ulong to unsigned long, u_int8_t to uint8_t,
9794         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
9795         and u_int64_t and u_quad_t to uint64_t.
9797         * mach/sys/reboot.h: Remove two casts of integer literals
9798         to the types they already have.
9800         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
9801         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
9802         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
9803         from referring to 'unsigned char' to 'uint8_t' for consistency with
9804         the macro definition below.
9806         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
9807         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
9808         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
9809         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
9810         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
9811         * sysdeps/unix/sysv/linux/sys/acct.h
9812         * include/arpa/nameser.h, include/resolv.h:
9813         Fix indentation disrupted by mechanical edits.
9815         * inet/protocols/talkd.h, resolv/arpa/nameser.h
9816         * sysdeps/generic/netinet/in_systm.h
9817         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
9818         * sysdeps/gnu/netinet/udp.h
9819         * sysdeps/unix/sysv/linux/net/ethernet.h
9820         * sysdeps/unix/sysv/linux/net/if_arp.h
9821         * sysdeps/unix/sysv/linux/net/if_ppp.h
9822         * sysdeps/unix/sysv/linux/net/if_shaper.h
9823         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
9824         * sysdeps/unix/sysv/linux/netinet/if_tr.h
9825         * sysdeps/unix/sysv/linux/netipx/ipx.h
9826         * sysdeps/unix/sysv/linux/sys/acct.h
9827         Include stdint.h for uintNN_t definitions.
9828         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
9830 2016-09-23  Zack Weinberg  <zackw@panix.com>
9832         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
9833         * sysdeps/unix/sysv/linux/netrose/rose.h:
9834         Include sys/socket.h and netax25/ax25.h.
9836         * inet/netinet/icmp6.h, inet/netinet/ip6.h
9837         * resolv/arpa/nameser_compat.h:
9838         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
9840         * sysdeps/unix/sysv/linux/sys/quota.h:
9841         Use __caddr_t instead of caddr_t.
9842         * sysdeps/unix/sysv/linux/sys/timerfd.h:
9843         Use __clockid_t instead of clockid_t.
9845         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
9847         * argp/argp.h: Check whether _LIBC is defined before expanding it.
9848         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
9849         expanding it.
9851         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
9852         Define __glibc_c99_flexarr_available to 1 when the compiler
9853         supports C99-compatible flexible array members, 0 otherwise.
9854         * sysdeps/unix/sysv/linux/bits/socket.h
9855         * sysdeps/mach/hurd/bits/socket.h
9856         * bits/socket.h: Use __glibc_c99_flexarr_available in
9857         definitions of struct cmsghdr and CMSG_DATA.
9859 2016-09-23  Florian Weimer  <fweimer@redhat.com>
9861         * manual/nss.texi (NSS Modules Interface): Adjust function return
9862         type to enum nss_status.  Document errnop argument.  Clarify
9863         h_errnop semantics.  Fix cross-reference formatting.
9864         (NSS Module Function Internals): Mention that *errnop needs to be
9865         set on failure, but not to zero.
9867 2016-09-23  Florian Weimer  <fweimer@redhat.com>
9869         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
9870         (get_random_name): New functions.
9871         (check_wrapper_flags_mode): Use linkat to give the new file a name
9872         determined by get_random_name.
9873         (do_test): Add calls to test open64 and openat64.
9875 2016-09-23  Florian Weimer  <fweimer@redhat.com>
9877         * test-skeleton.c: Remove #include <stdarg.h>.
9879 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
9881         [BZ #19826]
9882         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
9883         initialization of static TLS entries.
9884         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
9885         * nptl/allocatestack.c (init_one_static_tls): Likewise.
9887 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9889         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
9890         _hurd_malloc_fork_prepare.
9891         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
9892         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
9893         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
9894         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
9895         (_hurd_fork_child_hook): Drop malloc_fork_child.
9896         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
9897         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
9898         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
9899         after locking locks (notably hurd_dtable_lock). Call
9900         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
9901         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
9902         __malloc_fork_unlock_child.
9903         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
9905 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
9907         * soft-fp/extendhftf2.c: New.
9908         * soft-fp/fixhfti.c: Likewise.
9909         * soft-fp/fixunshfti.c: Likewise.
9910         * soft-fp/floattihf.c: Likewise.
9911         * soft-fp/floatuntihf.c: Likewise.
9912         * soft-fp/half.h: Likewise.
9913         * soft-fp/trunctfhf2.c: Likewise.
9915 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
9917         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
9918         macro.
9919         * math/libm-test.inc (issubnormal_test_data): New array.
9920         (issubnormal_test): New function.
9921         * manual/arith.texi (Floating Point Classes): Document
9922         issubnormal.
9923         * manual/libm-err-tab.pl: Update comment on interfaces without
9924         ulps tabulated.
9926         * sysdeps/generic/stdint.h: Define
9927         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9928         <bits/libc-header-start.h> instead of including <features.h>.
9929         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
9930         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
9931         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
9932         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
9933         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
9934         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
9935         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
9936         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
9937         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
9938         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
9939         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
9940         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
9941         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
9942         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
9943         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
9944         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
9945         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
9946         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
9947         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
9948         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
9949         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
9950         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
9951         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
9952         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
9953         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
9954         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
9955         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
9956         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
9957         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
9958         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
9959         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
9960         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
9961         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
9962         * manual/arith.texi (Integers): Document these macros for types
9963         specified by width properties.
9964         * manual/lang.texi (Width of Type): Document these macros for
9965         other standard typedefs.
9966         * stdlib/tst-width-stdint.c: New file.
9967         * stdlib/Makefile (tests): Add tst-width-stdint.
9969 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9971         [BZ #20016]
9972         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
9973         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
9974         Move ...
9975         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
9976         ... here, as compatibility symbols in a new file.
9977         * resolv/Makefile (libresolv-routines): Add compat-hooks.
9978         * resolv/res_init.c (__res_vinit): Adjust member names.
9979         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
9980         * resolv/resolv.h (res_sendhookact, res_send_qhook)
9981         (res_send_rhook): Remove.
9982         (struct __res_state): Rename qhook, rhook members.
9984 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9986         malloc: Use __libc_lock wrappers.
9987         * malloc/arena.c (list_lock, free_list_lock): Define using
9988         __libc_lock_define_initialized.
9989         (arena_lock): Adjust formatting.
9990         * malloc/malloc.c (struct malloc_state): Define mutex using
9991         __libc_lock_define.
9992         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
9993         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
9994         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
9995         (mutex_unlock, mutex_trylock): Remove.
9996         (__pthread_initialize): Remove unused macro.
9997         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
9998         (mutex_unlock, mutex_trylock): Remove.
10000 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10002         [BZ #20592]
10003         Remove RR type classification macros.
10004         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
10005         (ns_t_udp_p, ns_t_xfr_p): Remove.
10007 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10009         Remove misleading version information.
10010         * resolv/arpa/nameser.h (__NAMESER): Remove.
10011         * resolv/arpa/nameser_compat.h (__BIND): Remove.
10013 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10015         Remove the always-defined BIND_4_COMPAT macro.
10016         * resolv/arpa/nameser.h: Unconditionally include
10017         <arpa/nameser_compat.h>.
10018         (BIND_4_COMPAT): Remove.
10019         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
10021 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10023         [BZ #20591]
10024         Remove obsolete DNSSEC support.
10025         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
10026         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
10027         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
10028         (ns_verify_tcp, ns_verify_tcp_init): Remove.
10029         (ns_cert_types): Add comment.
10030         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
10031         separately.
10032         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
10033         (dst_s_dns_key_id): Remove.
10034         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
10035         variables.
10037 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10039         [BZ #20524]
10040         * manual/string.texi (String/Array Comparison): Clarify the
10041         strverscmp behavior.
10043 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10045         * test-skeleton.c (xasprintf): Add function.
10046         * io/tst-open-tmpfile.c: New test.
10047         * io/Makefile (tests): Add it.
10049 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10051         Avoid running $(CXX) during build to obtain header file paths.
10052         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
10053         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
10054         * Makerules (cstdlib, cmath): Remove variables.  Use
10055         $(c++-cstdlib-header), $(c++-cmath-header) instead.
10056         * configure: Regenerate.
10058 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10060         * Makeconfig (all-object-suffixes): Include .op only if
10061         $(build-profile).
10063 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10065         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
10066         conditionals.  Do not define PATH_MAX.
10068 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10070         * posix/Makefile (tests): Add tst-spawn3.
10071         * posix/tst-spawn3.c: New file.
10072         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
10073         if it is already opened for open action.
10075         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
10076         all signals when executing the clone vfork child.
10077         (SIGALL_SET): Remove macro.
10079         * nptl/Makefile (tests): Add tst-exec5.
10080         * nptl/tst-exec5.c: New file.
10081         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
10082         asynchronous cancellation.
10084 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10086         * hurd/exc2signal.c: #include <hurd/signal.h>
10087         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
10088         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
10089         accordingly.
10090         * mach/mach_error.c (mach_error): Fix old-style function definition.
10091         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
10093 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10095         * math/Makefile (libm-calls): Remove s_nanF.
10096         (gen-libm-calls): Add s_nanF.
10098         * math/s_nan.c: Refactor into ...
10099         * math/s_nan_template.c: New file.
10101         * math/s_nanf.c: Removed.
10102         * math/s_nanl.c: Removed.
10103         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
10104         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
10106         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
10107         (LDOUBLE_nanl_libm_version): New macro.
10109         * sysdeps/generic/math-type-macros-double.h:
10110         (M_STRTO_NAN): New macro.
10111         * sysdeps/generic/math-type-macros-float.h: Likewise.
10112         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
10114         * sysdeps/generic/math-type-macros.h: Document
10115         M_STRTO_NAN.
10117 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10119         * math/s_nanf.c: Remove __nanf undef.
10120         * math/s_nan.c: Remove __nan undef.
10121         * math/s_nanl.c: Remove __nanl undef.
10123         * sysdeps/generic/math_private.h (__nan): Remove macro
10124         override.
10125         (__nanf): Likewise.
10126         (__nanl): Likewise.
10128 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10130         * math/Makefile (gen-all-calls): New variable.
10131         (generated): Replace gen-libm-calls with gen-all-calls.
10132         (gen-libm-templates.stmp): Likewise.  Also, ensure
10133         the output directory exists or is created and add
10134         dependency on the Makefile.
10135         (calls): Move s_ldexpF into gen-calls.
10136         (gen-calls): New variable.
10138         * math/s_ldexpf.c: Removed.
10139         * math/s_ldexpl.c: Removed.
10140         * math/s_ldexp.c: Refactored into ...
10141         * math/s_ldexp_template.c: New file.
10143         * sysdeps/generic/math-type-macros-double.h: Remove
10144         redundant fall-through definition of declare_mgen_alias.
10145         (declare_mgen_alias_2): New macro.
10147         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
10148         New macro for function aliased to two exported symbols.
10150         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
10151         new template file.
10152         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
10154 2016-09-20  Florian Weimer  <fweimer@redhat.com>
10156         * Makeconfig (all-object-suffixes): Remove .og.
10157         * Makerules (elide-routines.og): Remove.
10158         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
10159         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
10160         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
10162 2016-09-20  Florian Weimer  <fweimer@redhat.com>
10164         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
10165         .os objects.
10167 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10169         [BZ #20615]
10170         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
10171         fpu directory by non-fpu.
10172         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
10173         on non-fpu directory from a fpu directory.
10175 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
10177         * include/limits.h: Define
10178         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10179         <bits/libc-header-start.h> instead of including <features.h>.
10180         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
10181         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
10182         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
10183         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
10184         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
10185         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
10186         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
10187         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
10188         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
10189         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
10190         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
10191         * manual/lang.texi (Width of Type): Document these macros.
10192         * stdlib/tst-width.c: New file.
10193         * stdlib/Makefile (tests): Add tst-width.
10195 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10197         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
10198         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
10200 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10202         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
10203         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
10204         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
10206 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10208         [BZ #18243]
10209         * rt/Makefile (test): Add tst-shm-cancel.
10210         * rt/tst-shm-cancel.c: New file.
10211         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
10213         [BZ #18243]
10214         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
10215         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
10216         definition.
10217         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
10218         uncontended case.
10219         * nptl/sem_wait.c (__new_sem_wait): Likewise.
10220         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
10221         (tf): Fix check for uncontended case.
10222         (do_test): Likewise.
10223         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
10224         (tf): Fix check for uncontended case.
10225         (do_test): Likewise.
10226         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
10227         (tf): Fix check for uncontended case.
10228         (do_test): Likewise.
10229         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
10230         (tf): Fix check for uncontended case.
10231         (do_test): Likewise.
10233         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
10234         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
10236         [BZ #15765]
10237         * nptl/Makefile (tests): Add tst-sem16.
10238         * nptl/tst-sem16.c: New file.
10239         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
10241         * nptl/sem_open.c (sem_open): Init pad value to 0.
10242         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
10243         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
10245 2016-09-15  Florian Weimer  <fweimer@redhat.com>
10247         [BZ #20611]
10248         * inet/Makefile (routines): Add inet6_scopeid_pton.
10249         (tests): Add tst-inet6_scopeid_pton.
10250         * inet/inet6_scopeid_pton.c: New file.
10251         * inet/net-internal.h: Likewise.
10252         * inet/tst-inet6_scopeid_pton.c: New test.
10253         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
10254         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
10255         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10257 2016-09-14  Florian Weimer  <fweimer@redhat.com>
10259         Remove support for compiling wrappers with PTW.
10260         * sysdeps/nptl/Makeconfig: Drop ptw- support.
10261         * nptl/Makefile (pthread-compat-wrappers): Define.
10262         (libpthread-routines): Use pthread-compat-wrappers.
10263         * sysdeps/unix/sysv/linux/alpha/Makefile
10264         (libpthread-routines, libpthread-shared-only-routines): Remove
10265         ptw- prefix.
10266         * sysdeps/s390/nptl/Makefile
10267         (libpthread-routines, libpthread-shared-only-routines): Likewise.
10268         * sysdeps/ia64/nptl/Makefile
10269         (libpthread-routines, libpthread-shared-only-routines): Likewise.
10270         * sysdeps/nacl/Makefile (libpthread-routines): Use
10271         pthread-compat-wrappers to filter the routines list instead of the
10272         ptw- prefix.
10274 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10276         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
10277         with L() and remove explicit suffix, convert real literals
10278         which can be equivalentally substituted with integers, and
10279         transform -L(x) to L(-x).
10281         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10282         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10283         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10284         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10285         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10286         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10287         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10288         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10289         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10290         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10291         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10292         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10293         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10294         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10295         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10296         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10297         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10298         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10299         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10300         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10301         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10302         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10303         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10304         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10305         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
10306         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10307         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10308         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10309         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10310         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10311         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10312         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10313         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10314         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10315         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10316         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10317         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10318         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10319         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10320         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10321         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10322         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10323         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10324         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
10325         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10326         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10327         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10328         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
10329         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
10330         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10332 2016-09-13  Florian Weimer  <fweimer@redhat.com>
10334         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
10336 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10338         * malloc/Makefile (tests): Remove individual static test names
10339         and just add all of tests-static.
10341         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
10343 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
10345         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
10346         file.
10348         * sysdeps/sparc/fpu/fegetmode.c: New file.
10349         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
10351         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
10352         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
10354         * sysdeps/s390/fpu/fegetmode.c: New file.
10355         * sysdeps/s390/fpu/fesetmode.c: Likewise.
10357         * sysdeps/powerpc/fpu/fegetmode.c: New file.
10358         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
10359         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
10360         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
10361         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
10362         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
10364         * sysdeps/mips/fpu/fegetmode.c: New file.
10365         * sysdeps/mips/fpu/fesetmode.c: Likewise.
10367         * sysdeps/m68k/fpu/fegetmode.c: New file.
10368         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
10370         * sysdeps/ia64/fpu/fegetmode.c: New file.
10371         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
10373         * sysdeps/hppa/fpu/fegetmode.c: New file.
10374         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
10376         * sysdeps/arm/fegetmode.c: New file.
10377         * sysdeps/arm/fesetmode.c: Likewise.
10379         * sysdeps/alpha/fpu/fegetmode.c: New file.
10380         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
10382         * sysdeps/aarch64/fpu/fegetmode.c: New file.
10383         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
10385         * math/fegetmode.c: New file.
10386         * math/fesetmode.c: Likewise.
10387         * sysdeps/i386/fpu/fegetmode.c: Likewise.
10388         * sysdeps/i386/fpu/fesetmode.c: Likewise.
10389         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
10390         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
10391         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
10392         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
10393         declaration.
10394         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
10395         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
10396         typedef.
10397         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10398         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10399         (femode_t): New typedef.
10400         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10401         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10402         (femode_t): New typedef.
10403         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10404         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10405         (femode_t): New typedef.
10406         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10407         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10408         (femode_t): New typedef.
10409         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10410         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10411         (femode_t): New typedef.
10412         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10413         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10414         (femode_t): New typedef.
10415         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10416         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10417         (femode_t): New typedef.
10418         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10419         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10420         (femode_t): New typedef.
10421         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10422         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10423         (femode_t): New typedef.
10424         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10425         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10426         (femode_t): New typedef.
10427         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
10428         declaration.
10429         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10430         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10431         (femode_t): New typedef.
10432         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10433         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10434         (femode_t): New typedef.
10435         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10436         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10437         (femode_t): New typedef.
10438         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10439         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10440         (femode_t): New typedef.
10441         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10442         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10443         (femode_t): New typedef.
10444         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10445         * manual/arith.texi (FE_DFL_MODE): Document macro.
10446         (fegetmode): Document function.
10447         (fesetmode): Likewise.
10448         * math/Versions (fegetmode): New libm symbol at version
10449         GLIBC_2.25.
10450         (fesetmode): Likewise.
10451         * math/Makefile (libm-support): Add fegetmode and fesetmode.
10452         (tests): Add test-femode and test-femode-traps.
10453         * math/test-femode-traps.c: New file.
10454         * math/test-femode.c: Likewise.
10455         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
10456         alias for __fe_dfl_env.
10457         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
10458         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
10459         (__fe_dfl_mode): Likewise.
10460         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
10461         version GLIBC_2.25.
10462         * sysdeps/nacl/libm.abilist: Update.
10463         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10464         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10465         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10466         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10467         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10468         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10469         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10470         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10471         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10472         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10473         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10474         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10476         Likewise.
10477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10478         Likewise.
10479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10480         Likewise.
10481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10482         Likewise.
10483         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10484         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10485         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10486         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10487         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10488         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10489         Likewise.
10490         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10491         Likewise.
10492         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10493         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10494         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10496 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
10498         [BZ #20495]
10499         [BZ #20508]
10500         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
10501         processors, set Use_dl_runtime_resolve_slow and set
10502         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
10503         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
10504         New.
10505         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
10506         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
10507         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
10508         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
10509         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
10510         if Use_dl_runtime_resolve_opt is set.  Use
10511         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
10512         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
10513         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
10514         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
10515         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
10516         New.
10517         (_dl_runtime_resolve_opt): Likewise.
10518         (_dl_runtime_profile): Define only if _dl_runtime_profile is
10519         defined.
10521 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
10523         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
10524         __libc_memalign with "+ RELA R_390_GLOB_DAT".
10526 2016-09-06  Florian Weimer  <fweimer@redhat.com>
10528         Convert malloc to __libc_lock.  Automated part, using this Perl
10529         s/// command:
10530           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
10531             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
10532         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
10533         conversion.
10535 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
10537         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
10538         (linknamespace-symlists-tests): Likewise.
10539         (linknamespace-header-tests): Likewise.
10541 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
10543         [BZ #19810]
10544         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
10545         * elf/tst-noload.c: New test case.
10546         * elf/Makefile (tests): Add tst-noload.
10548 2016-09-02  Roland McGrath  <roland@hack.frob.com>
10550         * sysdeps/nacl/dup.c: Add libc_hidden_def.
10552         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
10553         not any more.
10555         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
10557 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10559         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
10560         (do_cos_slow): Likewise.
10561         (do_sin): Likewise.
10562         (do_sin_slow): Likewise.
10563         (slow): Likewise.
10564         (slow1): Likewise.
10565         (slow2): Likewise.
10566         (sloww): Likewise.
10567         (sloww1): Likewise.
10568         (sloww2): Likewise.
10569         (bsloww): Likewise.
10570         (bsloww1): Likewise.
10571         (bsloww2): Likewise.
10572         (cslow2): Likewise.
10574         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
10576         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
10577         arguments.  Consolidate input partitioning from callers here.
10578         (do_cos_slow): Likewise.
10579         (do_sin): Likewise.
10580         (do_sin_slow): Likewise.
10581         (do_sincos_1): Remove the no longer necessary input partitioning.
10582         (do_sincos_2): Likewise.
10583         (__sin): Likewise.
10584         (__cos): Likewise.
10585         (slow1): Likewise.
10586         (slow2): Likewise.
10587         (sloww1): Likewise.
10588         (sloww2): Likewise.
10589         (bsloww1): Likewise.
10590         (bsloww2): Likewise.
10591         (cslow2): Likewise.
10593 2016-09-02  Florian Weimer  <fweimer@redhat.com>
10595         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
10596         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
10597         outside of allocated array.
10599 2016-09-02  Florian Weimer  <fweimer@redhat.com>
10601         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
10602         instead of MB_CUR_MAX to avoid variable-length array.
10604 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10606         * math/Makefile (libm-calls): Remove k_rem_pio2F.
10607         (type-double-routines): Add k_rem_pio2.
10608         (type-float-routines): Add k_rem_pio2f.
10610         * sysdeps/generic/math_private.h:
10611         (__kernel_rem_pio2l): Removed.
10613         * math/k_rem_pio2l.c: Removed.
10614         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
10615         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
10616         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
10617         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
10619 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10621         * math/Makefile (gen-libm-calls): Add s_fmin
10622         (libm-calls): Remove above.
10624         * math/s_fmin.c: Refactor into ...
10625         * math/s_fmin_template.c: New file.
10627         * math/s_fminf.c: Removed.
10628         * math/s_fminl.c: Removed.
10629         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
10630         (LDOUBLE_fmin_libm_version): New macro.
10632         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
10633         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
10635 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10637         * math/Makefile: (gen-libm-calls): Add s_fmax.
10638         (libm-calls): Remove above.
10640         * math/s_fmax.c: Refactor into ...
10641         * math/s_fmax_template.c: New file.
10642         * math/s_fmaxf.c: Removed.
10643         * math/s_fmaxl.c: Removed.
10645         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
10646         (LDOUBLE_fmaxl_libm_version): New macro.
10648         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
10649         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
10651         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
10652         s_fmin.c to pick the aarch64 version of the file.
10653         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
10654         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
10656 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10658         * math/Makefile: (gen-libm-calls): Add s_nextdown.
10659         (libm-calls): Remove above.
10661         * math/s_nextdown.c: Refactor into ...
10662         * math/s_nextdown_template.c: New file.
10663         * math/s_nextdownf.c: Removed.
10664         * math/s_nextdownl.c: Removed.
10666         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
10668 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10670         * math/Makefile (gen-libm-calls): Add s_fdim.
10671         (libm-calls): Move to above.
10673         * math/s_fdim.c: Renamed and refactored into to ...
10674         * math/s_fdim_template.c: New file.
10675         * math/s_fdiml.c: Removed.
10676         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
10677         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
10679         * sysdeps/generic/math-type-macros-double.h:
10680         (declare_mgen_alias): Don't declare if already declared.
10681         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
10682         Likewise.
10684         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
10685         (declare_mgen_alias): Don't declare if already declared.
10686         (M_LIBM_NEED_COMPAT): Likewise.
10687         (declare_mgen_libm_compat): Likewise.
10688         (LDOUBLE_fdiml_libm_version): New macro.
10690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
10691         Include math/s_fdim.c now that ldbl-opt version is not needed.
10692         (declare_mgen_alias): New macro to disable aliasing.
10694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
10695         (declare_mgen_alias): Likewise.
10696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
10697         (declare_mgen_alias): Likewise.
10698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
10699         (declare_mgen_alias): Likewise.
10700         (M_LIBM_NEED_COMPAT): Likewise.
10702 2016-09-01  Florian Weimer  <fweimer@redhat.com>
10704         [BZ #20525]
10705         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
10706         Include <linux/quota.h>.
10707         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
10708         and btodb.
10709         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
10710         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
10711         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
10712         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
10713         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
10714         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
10715         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
10716         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
10717         types.
10718         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
10719         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
10721 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10723         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
10724         (gammal_positive): Fix spacing.
10725         (__ieee754_gammal_r): Likewise.
10727 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10729         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
10730         (_Float128): Define as long double, always.
10731         (L): Apply long double type suffix, always.
10733         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
10734         _Float128, excepting comments.
10736         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10737         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10738         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10739         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10740         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10741         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10742         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10743         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10744         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10745         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
10746         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10747         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10748         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10749         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10750         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10751         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10752         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10753         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10754         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10755         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10756         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10757         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10758         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10759         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10760         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10761         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10762         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
10763         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
10764         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10765         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10766         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10767         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10768         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10769         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10770         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10771         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10772         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10773         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10774         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10775         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10776         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
10777         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10778         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
10779         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10780         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10781         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10782         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10783         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10784         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10785         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10786         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10787         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10788         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10789         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10790         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
10791         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10792         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10793         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10794         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10795         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10796         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
10797         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10798         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10799         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10800         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10801         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
10802         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10803         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10805         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
10806         _Float128, and include math_private.h.
10807         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
10809         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
10810         long double semantics.
10811         (_Float128): Likewise.
10812         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
10813         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
10814         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
10815         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
10817 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
10819         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
10820         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
10821         * sysdeps/s390/configure: Regenerated.
10822         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
10823         instruction for raising over-/underflow if z196 zarch is supported
10824         by default.
10825         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
10827 2016-08-30  Svante Signell  <svante.signell@gmail.com>
10829         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
10830         it point to a dumb buffer for RPC to fill it.
10832 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10834         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
10835         instead of if/else.
10836         (do_sin_slow): Likewise.
10837         (do_sincos_1): Use fabs instead of if/else.
10838         (do_sincos_2): Likewise.
10839         (__sin): Likewise.
10840         (__cos): Likewise.
10841         (slow2): Likewise.
10842         (sloww): Likewise.
10843         (sloww1): Likewise.  Drop argument M.
10844         (sloww2): Use fabs instead of if/else.
10845         (bsloww): Likewise.
10846         (bsloww1): Likewise.
10847         (bsloww2): Likewise.
10849         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
10850         fall through comment.
10851         (do_sincos_1): Likewise.
10853         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
10854         Consolidate switch cases 0 and 2.
10856 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10858         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
10859         (libm-calls): Remove the above.
10861         * math/s_cexp_template.c: Update using type-generic macros.
10862         * math/s_clog10_template.c: Likewise.
10863         * math/s_cpow_template.c: Likewise.
10864         * math/s_clog_template.c: Likewise.
10865         * math/s_cproj_template.c: Likewise.
10866         * math/s_csqrt_template.c: Likewise.
10868         * math/s_cexp.c: Removed.
10869         * math/s_cexpf.c: Removed.
10870         * math/s_cexpl.c: Removed.
10871         * math/s_clog10.c: Removed.
10872         * math/s_clog10f.c: Removed.
10873         * math/s_clog10l.c: Removed.
10874         * math/s_cpow.c: Removed.
10875         * math/s_cpowf.c: Removed.
10876         * math/s_cpowl.c: Removed.
10877         * math/s_clog.c: Removed.
10878         * math/s_clogf.c: Removed.
10879         * math/s_clogl.c: Removed.
10880         * math/s_cproj.c: Removed.
10881         * math/s_cprojf.c: Removed.
10882         * math/s_cprojl.c: Removed.
10883         * math/s_csqrt.c: Removed.
10884         * math/s_csqrtf.c: Removed.
10885         * math/s_csqrtl.c: Removed.
10887         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
10888         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
10889         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
10890         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
10891         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
10892         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
10894         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
10895         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
10896         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
10897         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
10898         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
10899         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
10900         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
10901         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
10902         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
10903         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
10904         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
10906         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
10907         version.
10909         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
10910         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
10911         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
10912         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
10914 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10916         * s_cexp_template.c: Copy of s_cexp.c.
10917         * s_clog_template.c: Copy of s_clog.c.
10918         * s_clog10_template.c: Copy of s_clog10.c.
10919         * s_cpow_template.c: Copy of s_cpow.c.
10920         * s_cproj_template.c: Copy of s_cproj.c.
10921         * s_csqrt_template.c: Copy of s_csqrt.c.
10923 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10925         [BZ #20517]
10926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
10927         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
10928         exported.
10930 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
10932         * math/fetestexceptflag.c: New file.
10933         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
10934         Stefan Liebler.
10935         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10936         (fetestexceptflag): New function declaration.
10937         * manual/arith.texi (fetestexceptflag): Document function.
10938         * math/Versions (fetestexceptflag): New libm symbol at version
10939         GLIBC_2.25.
10940         * math/Makefile (libm-support): Add fetestexceptflag.
10941         (tests): Add test-fetestexceptflag.
10942         * math/test-fetestexceptflag.c: New file.
10943         * sysdeps/nacl/libm.abilist: Update.
10944         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10945         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10946         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10947         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10948         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10949         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10950         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10951         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10952         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10953         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10954         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10955         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10957         Likewise.
10958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10959         Likewise.
10960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10961         Likewise.
10962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10963         Likewise.
10964         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10965         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10966         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10967         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10968         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10969         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10970         Likewise.
10971         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10972         Likewise.
10973         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10974         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10975         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10977 2016-08-26  Florian Weimer  <fweimer@redhat.com>
10979         [BZ #20432]
10980         Avoid strong references to malloc-internal symbols when linking
10981         statically, to support statically interposed mallocs.
10982         * include/libc-symbols.h (call_function_static_weak): New macro.
10983         * malloc/Makefile (tests): Add tst-interpose-nothread,
10984         tst-interpose-thread, tst-interpose-static-nothread,
10985         tst-interpose-static-thread.
10986         (tests-static): Add tst-interpose-static-nothread,
10987         tst-interpose-static-thread.
10988         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
10989         tst-interpose-aux-thread.o.
10990         (test-extras): Add tst-interpose-aux-nothread,
10991         tst-interpose-aux-thread.
10992         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
10993         tst-interpose-aux-nothread.o.
10994         (tst-interpose-thread, tst-interpose-static-thread): Link with
10995         tst-interpose-aux-thread.o and libthread.
10996         * malloc/tst-interpose-aux-nothread.c: New file.
10997         * malloc/tst-interpose-aux-thread.c: Likewise.
10998         * malloc/tst-interpose-aux.c: Likewise.
10999         * malloc/tst-interpose-aux.h: Likewise.
11000         * malloc/tst-interpose-nothread.c: Likewise.
11001         * malloc/tst-interpose-skeleton.c: Likewise.
11002         * malloc/tst-interpose-static-nothread.c: Likewise.
11003         * malloc/tst-interpose-static-thread.c: Likewise.
11004         * malloc/tst-interpose-thread.c: Likewise.
11005         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
11006         * sysdeps/mach/hurd/fork.c (__fork): Only call
11007         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
11008         __malloc_fork_unlock_child if defined.
11009         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
11011 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11013         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
11014         timespec C99 designated initialization.
11016 2016-08-26  Florian Weimer  <fweimer@redhat.com>
11018         [BZ #19946]
11019         Avoid expected SIGALRM signals.
11020         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
11021         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
11022         (xpthread_create, xpthread_detach, xpthread_join)
11023         (delayed_exit_thread, delayed_exit): New functions.
11024         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
11025         (tf): Use xpthread_cond_wait.
11026         (do_test): Likewise.  Replace alarm with delayed_exit.
11027         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11028         (do_test): Call delayed_exit.  Report failure.
11029         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11030         (do_test): Call delayed_exit.
11031         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11032         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
11033         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11034         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
11035         error.
11036         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11037         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
11038         error.
11039         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
11040         (do_test): Call delayed_exit.
11041         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
11042         (do_test): Call delayed_exit.
11043         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
11044         (do_test): Call delayed_exit instead of alarm.  Use
11045         xpthread_mutex_lock.
11046         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
11047         (do_test): Call delayed_exit instead of alarm.  Use
11048         xpthread_mutex_lock.
11049         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
11050         (do_test): Call delayed_exit instead of alarm.
11051         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
11052         (do_test): Call delayed_exit instead of alarm.  Use
11053         xpthread_spin_lock.
11054         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
11055         (do_test): Call delayed_exit instead of alarm.  Use
11056         xpthread_join.
11058 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
11060         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
11061         adjust CFA when allocating register save area on re-aligned
11062         stack.
11064 2016-08-26  Florian Weimer  <fweimer@redhat.com>
11066         * string/tst-cmp.c: New test.
11067         * string/Makefile (tests): Add it.
11069 2016-08-25  Mark Wielaard  <mark@klomp.org>
11071         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
11072         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
11073         (check_tree_recurse): Use newly defined accessors.
11074         (check_tree): Likewise.
11075         (maybe_split_for_insert): Likewise.
11076         (__tfind): Likewise.
11077         (__tdelete): Likewise.
11078         (trecurse): Likewise.
11079         (tdestroy_recurse): Likewise.
11080         (__tsearch): Likewise. And add asserts for malloc alignment.
11081         (__twalk): Cast root to node in case CHECK_TREE is defined.
11083 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11085         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
11087 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11089         * math/Makefile (libm-gen-calls): Add
11090         catan, catanh, ctan, ctanh.
11091         (libm-calls): Remove the above.
11093         * math/s_catan_template.c: Update using type-generic macros.
11094         * math/s_catanh_template.c: Likewise.
11095         * math/s_ctan_template.c: Likewise.
11096         * math/s_ctanh_template.c: Likewise.
11098         * math/s_catanf.c: Removed.
11099         * math/s_catan.c: Removed.
11100         * math/s_catanl.c: Removed.
11101         * math/s_catanhf.c: Removed.
11102         * math/s_catanh.c: Removed.
11103         * math/s_catanhl.c: Removed.
11104         * math/s_ctanf.c: Removed.
11105         * math/s_ctan.c: Removed.
11106         * math/s_ctanl.c: Removed.
11107         * math/s_ctanhf.c: Removed.
11108         * math/s_ctanh.c: Removed.
11109         * math/s_ctanhl.c: Removed.
11111         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
11112         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
11113         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
11114         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
11115         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
11116         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
11118         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
11119         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
11120         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
11121         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
11123 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11125         * s_catan_template.c: Copy of s_catan.c.
11126         * s_catanh_template.c: Copy of s_catanh.c.
11127         * s_ctan_template.c: Copy of s_ctan.c.
11128         * s_ctanh_template.c: Copy of s_ctanh.c.
11130 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11132         * math/Makefile (gen-libm-calls): Move
11133         casin, casinh, csin, csinh here.
11134         (libm-calls): Remove the above.
11136         * math/s_casin_template.c: Update using type-generic macros.
11137         * math/s_casinh_template.c: Likewise.
11138         * math/s_csin_template.c: Likewise.
11139         * math/s_csinh_template.c: Likewise.
11140         * math/k_casinh_template.c: Likewise.
11142         * math/s_casinf.c: Removed.
11143         * math/s_casin.c: Removed.
11144         * math/s_casinl.c: Removed.
11145         * math/s_casinh.c: Removed.
11146         * math/s_casinhf.c: Removed.
11147         * math/s_casinhl.c: Removed.
11148         * math/s_csin.c: Removed.
11149         * math/s_csinf.c: Removed.
11150         * math/s_csinl.c: Removed.
11151         * math/s_csinh.c: Removed.
11152         * math/s_csinhf.c: Removed.
11153         * math/s_csinhl.c: Removed.
11154         * math/k_casinh.c: Removed.
11155         * math/k_casinhf.c: Removed.
11156         * math/k_casinhl.c: Removed.
11158         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
11159         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
11160         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
11161         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
11163         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
11164         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
11165         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
11166         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
11167         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
11168         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
11169         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
11170         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
11172         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
11173         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
11174         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
11175         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
11177         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
11178         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
11179         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
11180         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
11182 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11184         * s_casin_template.c: Copy of s_casin.c.
11185         * s_casinh_template.c: Copy of s_casinh.c.
11186         * s_csin_template.c: Copy of s_csin.c.
11187         * s_csinh_template.c: Copy of s_csinh.c.
11188         * k_casinh_template.c: Copy of k_casinh.c.
11190 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11192         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
11194 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11196         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
11197         (mul_split) Remove, rename as mul_splitl, remove
11198         redundant float.h include, and include via mul_splitl.h
11200         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
11201         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11202         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
11203         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
11204         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
11206         * math/mul_splitl.h: New file.
11208         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
11209         Move into mul_split.h, and remove redundant float.h include.
11211         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
11212         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
11213         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11214         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
11216         * math/mul_split.h: New file.
11218 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11220         * math/Makefile (libm-gen-calls): Move
11221         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
11222         (libm-calls): Remove above.
11224         * math/s_cacos_template.c: Update using type-generic macros.
11225         * math/s_cacosh_template.c: Likewise.
11226         * math/s_ccos_template.c: Likewise.
11227         * math/s_ccosh_template.c: Likewise.
11229         * math/s_cacosf.c: Removed.
11230         * math/s_cacos.c: Removed.
11231         * math/s_cacosl.c: Removed.
11232         * math/s_cacoshf.c: Removed.
11233         * math/s_cacosh.c: Removed.
11234         * math/s_cacoshl.c: Removed.
11235         * math/s_ccosf.c: Removed.
11236         * math/s_ccos.c: Removed.
11237         * math/s_ccosl.c: Removed.
11238         * math/s_ccoshf.c: Removed.
11239         * math/s_ccosh.c: Removed.
11240         * math/s_ccoshl.c: Removed.
11242         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
11243         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
11244         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
11245         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
11246         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
11247         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
11249         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
11250         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
11251         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
11252         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
11254         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
11255         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
11256         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
11257         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
11259 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11261         * s_cacos_template.c: Copy of s_cacos.c.
11262         * s_cacosh_template.c: Copy of s_cacosh.c.
11263         * s_ccos_template.c: Copy of s_ccos.c.
11264         * s_ccosh_template.c: Copy of s_ccosh.c.
11266 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11268         * stdlib/tst-strtod-round-skeleton.c:
11269         Refactored from tst-strtod-round.c.
11271         (L_): New macro to apply literal modifier.
11272         (FNPFX): New macro to select str or wcs prefix.
11273         (CHAR): New macro to choose wchar_t or char.
11274         (STRM): New macro to choose printf for tested character type.
11276         (STRTO): New macro to choose appropriate string -> real function.
11277         (FNPFXS): Stringitized version of FNPFX.
11278         (STR): Support for above macro.
11279         (STRX): Likewise.
11281         (TEST): Update with above macros.
11282         (test): Likewise.
11283         (GEN_ONE_TEST): Likewise.
11284         (test_in_one_mode): Likewise.
11286         * stdlib/tst-strtod-round.c: New file.
11287         * wcsmbs/tst-wcstod-round.c: New file.
11289         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
11290         (tst-wcstod-round): Add libm depencency for fesetround.
11292 2016-08-19  Zack Weinberg  <zackw@panix.com>
11294         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
11296 2016-08-18  Torvald Riegel  <triegel@redhat.com>
11298         [BZ #20477]
11299         * resolv/res_hconf.c (do_init): Use atomic access.
11300         * resolv/res_hconf.h: Add comments.
11301         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
11302         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
11303         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11305 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
11307         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
11308         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
11309         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
11310         Likewise.
11312 2016-08-18  Florian Weimer  <fweimer@redhat.com>
11314         [BZ #16907]
11315         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
11316         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
11317         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
11318         (__attribute__): Remove definition.
11320 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11322         * sysdeps/ieee754/ldbl-128/e_asinl.c:
11323         Remove unused sqrtl declaration.
11325 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11327         * math/Makefile: (gen-libm-templates.stmp): New rule.
11328         (libm-calls): Move carg conj cimag and cabs into ...
11329         (gen-libm-calls): New variable.
11330         (generated): Inform Make objects from gen-libm-calls
11331         may be generated.
11333         * sysdeps/generic/math-type-macros.h: New file.
11334         * sysdeps/generic/math-type-macros-float.h: Likewise.
11335         * sysdeps/generic/math-type-macros-double.h: Likewise.
11336         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
11337         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
11338         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
11340         * math/cabs.c: Refactor into
11341         * math/cabs_template.c: new file.
11342         * math/cabsf.c: Removed.
11343         * math/cabsl.c: Removed.
11344         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
11345         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
11347         * math/carg.c: Refactor into
11348         * math/carg_template.c: new file.
11349         * math/cargf.c: Removed.
11350         * math/cargl.c: Removed.
11351         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
11352         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
11354         * math/conj.c: Refactor into
11355         * math/conj_template.c: new file.
11356         * math/conjf.c: Removed.
11357         * math/conjl.c: Removed.
11358         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
11359         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
11361         * math/cimag.c: Refactor into
11362         * math/cimag_template.c: new file.
11363         * math/cimagf.c: Removed.
11364         * math/cimagl.c: Removed.
11365         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
11366         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
11368         * math/cimag.c: Refactor into
11369         * math/cimag_template.c: new file.
11370         * math/cimagf.c: Removed.
11371         * math/cimagl.c: Removed.
11372         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
11373         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
11375 2016-08-17  Florian Weimer  <fweimer@redhat.com>
11377         Reduce time to expected nptl/tst-once5 failure.
11378         * nptl/tst-once5.cc (TIMEOUT): Define.
11380 2016-08-17  Florian Weimer  <fweimer@redhat.com>
11382         [BZ #20452]
11383         Avoid additional copies of objects in libc.a in static libraries.
11384         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
11385         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
11386         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
11387         rt-sysdep.
11388         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
11389         Add nptl-sysdep.
11390         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
11391         Add ptw-sysdep.
11392         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
11393         rt-sysdep.
11394         * sysdeps/unix/sysv/linux/alpha/Makefile
11395         (libpthread-shared-only-routines): Add ptw-sysdep,
11396         ptw-sigprocmask, ptw-rt_sigaction.
11397         * sysdeps/unix/sysv/linux/ia64/Makefile
11398         (librt-shared-only-routines): Add rt-sysdep.
11399         * sysdeps/unix/sysv/linux/i386/Makefile
11400         (libpthread-shared-only-routines): Add libc-do-syscall.
11401         * sysdeps/unix/sysv/linux/microblaze/Makefile
11402         (libpthread-shared-only-routines): Add sysdep.
11403         * sysdeps/unix/sysv/linux/powerpc/Makefile
11404         (librt-shared-only-routines): Add rt-sysdep.
11405         (libpthread-shared-only-routines): Add sysdep.
11406         * sysdeps/unix/sysv/linux/s390/Makefile
11407         (librt-shared-only-routines): Add rt-sysdep.
11408         * sysdeps/unix/sysv/linux/sparc/Makefile
11409         (librt-shared-only-routines): Add rt-sysdep.
11410         (libpthread-shared-only-routines): Add sysdep.
11411         * sysdeps/unix/sysv/linux/tile/Makefile
11412         (libpthread-shared-only-routines): Likewise.
11414 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
11416         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
11417         Mask implicit bit out of unpacked value.
11418         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
11419         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
11420         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
11422         * sysdeps/sparc/fpu/fesetexcept.c: New file.
11424         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
11426         * sysdeps/s390/fpu/fesetexcept.c: New file.
11428         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
11429         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
11430         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
11432         * sysdeps/mips/fpu/fesetexcept.c: New file.
11434         * sysdeps/m68k/fpu/fesetexcept.c: New file.
11436         * sysdeps/ia64/fpu/fesetexcept.c: New file.
11438         * sysdeps/hppa/fpu/fesetexcept.c: New file.
11440         * sysdeps/arm/fesetexcept.c: New file.
11442         * sysdeps/alpha/fpu/fesetexcept.c: New file.
11444         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
11446         * math/fesetexcept.c: New file.
11447         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
11448         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
11449         * math/fenv.h: Define
11450         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11451         <bits/libc-header-start.h> instead of including <features.h>.
11452         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
11453         declaration.
11454         * manual/arith.texi (fesetexcept): Document function.
11455         * math/Versions (fesetexcept): New libm symbol at version
11456         GLIBC_2.25.
11457         * math/Makefile (libm-support): Add fesetexcept.
11458         (tests): Add test-fesetexcept and test-fesetexcept-traps.
11459         * math/test-fesetexcept.c: New file.
11460         * math/test-fesetexcept-traps.c: Likewise.
11461         * sysdeps/nacl/libm.abilist: Update.
11462         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11463         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11464         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11465         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11466         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11467         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11468         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11469         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11470         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11471         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11472         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11473         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11475         Likewise.
11476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11477         Likewise.
11478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11479         Likewise.
11480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11481         Likewise.
11482         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11483         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11484         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11485         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11486         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11487         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11488         Likewise.
11489         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11490         Likewise.
11491         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11492         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11493         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11495 2016-08-16  Florian Weimer  <fweimer@redhat.com>
11497         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
11498         New.
11499         (do_test): Apply default_stack_size_in_mb if not set.
11500         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
11502 2016-08-15  Andreas Schwab  <schwab@suse.de>
11504         [BZ #20435]
11505         CVE-2016-6323
11506         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
11507         as .cantunwind.
11509 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
11511         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
11512         comment from fraiseexcpt.c.
11514         * math/test-fexcept.c (feraiseexcept_exact): New function.
11515         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
11516         (test_except): Likewise.
11518 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
11520         [BZ #20455]
11521         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
11522         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
11523         to be restored.
11525         * math/test-fexcept-traps.c: New file.
11526         * math/test-fexcept.c: Likewise.
11527         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
11528         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
11529         macro.
11530         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
11531         (EXCEPTION_SET_FORCES_TRAP): Likewise.
11533 2016-08-09  Torvald Riegel  <triegel@redhat.com>
11535         * include/atomic.h (atomic_fetch_and_relaxed,
11536         atomic_fetch_and_release, atomic_fetch_or_release,
11537         atomic_fetch_xor_release): New.
11539 2016-08-06  Christian Seiler  <christian@iwakd.de>
11541         [BZ #20444]
11542         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
11543         MACH_PORT_NULL.
11545 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
11547         * math/s_fdim.c: Avoid alias renamed.
11548         * math/s_fdimf.c: Likewise.
11549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
11550         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
11551         Add s_fdimf-vis3, s_fdim-vis3.
11552         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
11553         (CFLAGS-s_fdim-vis3.c): Likewise.
11554         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
11555         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
11557 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
11559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
11560         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
11561         Remove s_fdimf-vis3, s_fdim-vis3.
11562         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
11563         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
11564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
11565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
11566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
11567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
11568         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
11569         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
11570         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
11571         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
11573 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
11575         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
11576         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
11577         -Wa,-Av9a -mvis.
11579 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11581         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
11582         LIT() to individual constants in simple expressions
11583         after splitting on spaces.
11584         (_apply_lit): Rename replaced version, and use it to
11585         apply to what appears to be a token.
11587         * math/libm-test.inc: Fix many, many issues with
11588         spacing.
11590 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
11592         * math/math.h: Move comment about <bits/mathdef.h> definitions
11593         above inclusion of <bits/mathdef.h>.  Do not mention
11594         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
11596 2016-08-05  Torvald Riegel  <triegel@redhat.com>
11598         * include/atomic.h (atomic_exchange_relaxed): New.
11600 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
11602         * math/e_scalb.c: Do not include <fenv.h>.
11603         (invalid_fn): Do calculation resulting in NaN instead of raising
11604         FE_INVALID and returning a NaN explicitly.
11605         * math/e_scalbf.c: Do not include <fenv.h>.
11606         (invalid_fn): Do calculation resulting in NaN instead of raising
11607         FE_INVALID and returning a NaN explicitly.
11608         * math/e_scalbl.c: Do not include <fenv.h>.
11609         (invalid_fn): Do calculation resulting in NaN instead of raising
11610         FE_INVALID and returning a NaN explicitly.
11612 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
11614         * po/de.po: Updated from Translation Project.
11615         * po/fi.po: Likewise.
11616         * po/sv.po: Likewise.
11618 2016-08-04  Florian Weimer  <fweimer@redhat.com>
11620         [BZ #20452]
11621         Use sysdep.o from libc.a in static libraries.
11622         * sysdeps/unix/sysv/linux/i386/Makefile
11623         (libpthread-shared-only-routines): Add sysdep.
11624         (librt-shared-only-routines): Likewise.
11626 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
11628         * math/tgmath.h (nextdown): Define if
11629         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
11630         (nextup): Likewise.
11632         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
11633         macro.
11634         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
11635         Document.
11636         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
11637         Document macro.
11638         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
11639         (exp10f): Likewise.
11640         (exp10l): Likewise.
11641         * math/bits/mathcalls.h (exp10): Declare if
11642         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
11644         * manual/arith.texi (nextup): Fix typo in last change.
11646 2016-08-03  Zack Weinberg  <zackw@panix.com>
11648         [BZ #19239]
11649         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
11650         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
11651         define major, minor, and makedev to issue deprecation warnings on use.
11652         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
11653         previously-activated deprecation warnings for these macros and prevent
11654         subsequent inclusions of this header from having any effect.
11655         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
11656         including <sys/sysmacros.h>, and undefine it again afterward.
11658 2016-08-03  Zack Weinberg  <zackw@panix.com>
11660         * sysdeps/generic/sys/sysmacros.h: Delete file.
11661         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
11662         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
11663         * bits/sysmacros.h: ... here; this encoding is now the generic
11664         encoding.  Now defines only the following macros:
11665         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
11666         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
11667         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
11669         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
11670         bits/sysmacros.h and the above new macros to generate the
11671         public implementations of major, minor, and makedev.
11672         * misc/tst-makedev.c: New test.
11673         * include/sys/sysmacros.h: New wrapper.
11675         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
11676         (routines): Add makedev.
11677         (tests): Add tst-makedev.
11678         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
11679         gnu_dev_makedev.
11680         * posix/Makefile (headers): Remove sys/sysmacros.h.
11681         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
11683         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
11684         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
11685         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
11686         * sysdeps/unix/sysv/linux/alpha/libc.abilist
11687         * sysdeps/unix/sysv/linux/arm/libc.abilist
11688         * sysdeps/unix/sysv/linux/hppa/libc.abilist
11689         * sysdeps/unix/sysv/linux/i386/libc.abilist
11690         * sysdeps/unix/sysv/linux/ia64/libc.abilist
11691         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
11692         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
11693         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
11694         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
11695         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
11696         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
11697         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
11698         * sysdeps/unix/sysv/linux/nios2/libc.abilist
11699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
11701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
11702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
11703         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
11704         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
11705         * sysdeps/unix/sysv/linux/sh/libc.abilist
11706         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
11707         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
11708         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
11709         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
11710         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
11711         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
11712         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
11713         Add GLIBC_2.25.
11715         * include/features.h (__glibc_clang_prereq): New macro.
11716         * misc/sys/cdefs.h (__glibc_clang_has_extension)
11717         (__attribute_deprecated_msg__): New macros.
11719 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
11721         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
11722         macro.
11723         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
11724         * manual/arith.texi (issignaling): Document as ISO from TS
11725         18661-1:2014.
11726         (nextup): Likewise.
11727         (nextupf): Likewise.
11728         (nextupl): Likewise.
11729         (nextdown): Likewise.
11730         (nextdownf): Likewise.
11731         (nextdownl): Likewise.
11732         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
11733         macro.
11734         * math/math.h: Define
11735         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11736         <bits/libc-header-start.h> instead of including <features.h>.
11737         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
11738         [__USE_GNU].
11739         * math/bits/mathcalls.h (nextdown): Declare if
11740         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
11741         (nextup): Likewise.
11742         (__issignaling): Likewise.
11744 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11746         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
11747         check, and remove __glibc_likely hint
11748         from FP_INFINITE check.
11749         * s_csinhf.c (__csinhf): Likewise.
11751         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
11752         hint from FP_INFINITE check.
11753         * s_csinhl.c (__csinhl): Likewise.
11755 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11757         * math/Makefile (libm-calls): Insert F placeholder into
11758         object names.  Move w_lgamma_compat* routines into
11759         (libm-compat-calls): New variable.
11760         (libm-compat-calls-ldouble-yes): New variable.
11761         (calls): Insert F placeholder.
11762         (generated): Redefine using new type-foreach macro call.
11763         (routines): Likewise.
11765         (types): New variable to hold a list of symbolic names
11766         for each type supported by the target machine.
11767         (libm-routines): Redefine using new types variable.
11768         (type-foreach): macro to replace fooF with the
11769         appropriately suffixed foo for each types.
11771         (type-ldouble-suffix): New variable.
11772         (type-ldouble-routines): Likewise.
11773         (type-ldouble-yes): Likewise.
11774         (type-double-suffix): Likewise.
11775         (type-double-routines): Likewise.
11776         (type-float-suffix): Likewise.
11777         (type-float-routines): Likewise.
11779         (dbl-only-routines): Remove.
11780         (long-c-yes): Likewise.
11781         (long-m-routines): Likewise.
11782         (long-m-support): Likewise.
11783         (long-m-yes): Likewise.
11784         (test-longdouble-yes): Likewise.
11786         (test-float.o): Simplify by increasing the scope of the
11787         recipe which adds libm-test.stmp to the vector types.
11788         (test-ifloat.o): Likewise.
11789         (test-float-finite.o): Likewise.
11790         (test-double.o): Likewise
11791         (test-idouble.o): Likewise.
11792         (test-double-finite.o): Likewise.
11793         (test-ldouble.o): Likewise
11794         (test-ildoubl.o): Likewise.
11795         (test-ldouble-finite.o): Likewise.
11797         (libm-tests): Redefine type tests using foreach and the
11798         list of types in types.
11800         (CPPFLAGS-test-ildoubl.c): Rename to
11801         (CPPFLAGS-test-ildouble.c): New variable
11803         * math/test-ildoubl.c: Rename to
11804         * math/test-ildouble.c: New file.
11806 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11808         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
11809         Use fabsl instead of fabs.
11810         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
11811         Likewise.
11812         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
11813         Add long double suffix to constant to ensure proper
11814         promotion to long double.
11816 2016-08-03  Tom Tromey  <tom@tromey.com>
11818         [BZ #20311]
11819         * nptl_db/Makefile (headers): Add proc_service.h.
11820         * nptl_db/proc_service.h: Add include guard.  Use
11821         __BEGIN/__END_DECLS.
11822         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
11823         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
11824         arguments.
11827 2016-08-03  Florian Weimer  <fweimer@redhat.com>
11829         [BZ #17730]
11830         Avoid using memalign for TCB allocations.
11831         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
11832         (_dl_allocate_tls_storage): Use malloc and manual alignment.
11833         Avoid alignment gap in the TLS_DTV_AT_TP case.
11834         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
11835         determine the pointer to free.
11836         * nptl/tst-tls3-malloc.c: New test.
11837         * nptl/Makefile (tests): Add it.
11838         (tst-tls3-malloc): Link with libdl, libpthread.
11839         (LDFLAGS-tst-tls3-malloc): Set.
11840         (tst-tls3-malloc.out): Depend on DSO used in test.
11842 2016-08-03  Florian Weimer  <fweimer@redhat.com>
11844         [BZ #17730]
11845         Avoid using memalign for TLS allocations.
11846         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
11847         is_static member with to_free member.
11848         (union dtv): Use struct dtv_pointer.
11849         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
11850         dtv_pointer instead of is_static.
11851         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
11852         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
11853         instead of val.
11854         (allocate_dtv_entry): New function.
11855         (allocate_and_init): Return struct dtv_pointer.  Call
11856         allocate_dtv_entry instead of __libc_memalign.
11857         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
11858         instead of val.
11859         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
11860         instead of is_static.  Adjust call to allocate_and_init.
11861         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
11862         struct dtv_pointer instead of val.
11864 2016-08-03  Florian Weimer  <fweimer@redhat.com>
11866         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
11867         (MALLOC_ALIGN_MASK): Move ...
11868         * malloc/malloc-internal.h: ... to here.
11869         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
11871 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
11873         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
11874         (UDP_ENCAP_GTP1U): Likewise.
11876         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
11877         (PF_MAX): Update value.
11878         (AF_QIPCRTR): New macro.
11880 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
11882         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
11883         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
11884         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
11885         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
11886         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
11887         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
11888         s_truncf-vis3, s_trunc-vis3.
11889         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
11890         (CFLAGS-s_ceil-vis3.c): Likewise.
11891         (CFLAGS-s_floorf-vis3.c): Likewise.
11892         (CFLAGS-s_floor-vis3.c): Likewise.
11893         (CFLAGS-s_truncf-vis3.c): Likewise.
11894         (CFLAGS-s_trunc-vis3.c): Likewise.
11895         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
11896         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
11897         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
11898         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
11899         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
11900         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
11901         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
11902         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
11903         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
11904         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
11905         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
11906         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
11908 2016-08-02  David S. Miller  <davem@davemloft.net>
11910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
11911         (__nearbyint_vis3): Don't check for sNaN before float register is
11912         loaded with the incoming argument.
11913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
11914         (__nearbyintf_vis3): Likewise.
11915         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
11916         Likewise.
11917         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
11918         Likewise.
11920         * string/test-strncmp.c (do_test_limit): Make sure the test data
11921         stream is aligned as required for the type "CHAR".
11922         (do_test): Likewise.
11924 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
11926         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
11927         by beq instructions jumping to the end of the function.
11928         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
11929         clobber list. Use "i" constraint instead of "X".
11930         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
11931         of "X".
11933 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
11935         * bits/libc-header-start.h: New file.
11936         * Makefile (headers): Add bits/libc-header-start.h.
11937         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
11938         (__GLIBC_USE): New macro.
11939         * libio/stdio.h: Define
11940         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11941         <bits/libc-header-start.h> instead of including <features.h>.
11942         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
11943         (open_memstream): Likewise.
11944         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
11945         (__asprintf): Likewise.
11946         (asprintf): Likewise.
11947         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
11948         (getdelim): Likewise.
11949         (getline): Likewise.
11950         * string/string.h: Define
11951         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11952         <bits/libc-header-start.h> instead of including <features.h>.
11953         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
11954         (strndup): Likewise.
11955         * wcsmbs/wchar.h: Define
11956         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11957         <bits/libc-header-start.h> instead of including <features.h>.
11958         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
11959         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
11961 2016-08-02  Florian Weimer  <fweimer@redhat.com>
11963         Support linking against compatibility symbols, for use in tests.
11964         * include/libc-symbols.h (symbol_version_reference): New macro.
11965         (symbol_version): Use it.
11966         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
11967         (compat_symbol): Use compat_symbol_reference.
11968         (compat_symbol_1, compat_symbol_2): Remove.
11969         (compat_symbol_reference, compat_symbol_reference_1)
11970         (compat_symbol_reference_2): New macro.  Use
11971         symbol_version_reference.
11973 2016-08-02  Florian Weimer  <fweimer@redhat.com>
11975         [BZ #19469]
11976         * malloc/Makefile (CPPFLAGS): Compile tests with
11977         -DTEST_NO_MALLOPT.
11978         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
11980 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
11982         [BZ #20033]
11983         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
11984         finite version.
11985         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
11986         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
11987         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
11988         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
11989         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
11990         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
11991         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
11992         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
11993         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
11994         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
11995         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
11996         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
11997         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
11998         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
11999         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
12000         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
12001         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
12002         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
12003         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
12004         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
12005         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
12006         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
12007         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
12008         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
12009         in zero power.
12011 2016-08-02  Florian Weimer  <fweimer@redhat.com>
12013         [BZ #20370]
12014         * malloc/arena.c (get_free_list): Update comment.  Assert that
12015         arenas on the free list have no attached threads.
12016         (remove_from_free_list): New function.
12017         (reused_arena): Call it.
12019 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
12021         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
12022         when it is a NaN.
12023         [_IEEE_FP_INEXACT] Remove.
12024         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
12025         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
12026         when it is a NaN.
12027         [_IEEE_FP_INEXACT] Remove.
12028         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
12029         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
12030         when it is a NaN.
12031         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
12032         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
12033         when its absolute value is greater than 0x1.0p52.
12034         [_IEEE_FP_INEXACT] Remove.
12035         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
12036         when its absolute value is greater than 0x1.0p23.
12037         [_IEEE_FP_INEXACT] Remove.
12039 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
12041         * version.h (RELEASE): Set to "development"
12042         (VERSION): Set to 2.24.90.
12043         * NEWS: Add 2.25 section.
12045         * version.h (RELEASE): Set to "stable"
12046         (VERSION): Set to 2.24.
12047         * include/features.h (__GLIBC_MINOR__): Set to 24.
12049         * NEWS: Add 2.24 fixed bugs.
12050         * po/libc.pot: Regenerate.
12052 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
12054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
12055         [$(subdir) = math] (libm-sysdep_routines): Remove.
12056         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
12057         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
12058         s_truncf-vis3, s_trunc-vis3.
12059         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
12061         file.
12062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
12063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
12064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
12065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
12066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
12067         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
12068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
12069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
12071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
12072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
12073         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
12074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
12075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
12076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
12077         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
12078         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12079         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
12080         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
12081         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
12082         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
12083         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
12084         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
12085         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12086         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
12087         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
12088         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12089         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
12090         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
12091         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12092         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
12093         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
12094         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12095         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
12096         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
12097         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
12098         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
12099         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12100         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12101         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
12102         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
12103         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
12104         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
12106 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
12108         [BZ #20384]
12109         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
12110         test-double-libmvec-sincos-avx-main.o,
12111         test-double-libmvec-sincos-avx2-main.o,
12112         test-double-libmvec-sincos-main.o,
12113         test-float-libmvec-sincosf-avx-main.o,
12114         test-float-libmvec-sincosf-avx2-main.o and
12115         test-float-libmvec-sincosf-main.o.
12116         test-float-libmvec-sincosf-avx512-main.o.
12117         ($(objpfx)test-double-libmvec-sincos): Also link with
12118         $(objpfx)test-double-libmvec-sincos-main.o.
12119         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
12120         $(objpfx)test-double-libmvec-sincos-avx-main.o.
12121         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
12122         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
12123         ($(objpfx)test-float-libmvec-sincosf): Also link with
12124         $(objpfx)test-float-libmvec-sincosf-main.o.
12125         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
12126         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
12127         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
12128         test-double-libmvec-sincos-avx512-main.o and
12129         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
12130         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
12131         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
12132         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
12133         (CFLAGS-test-double-libmvec-sincos.c): Removed.
12134         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
12135         (CFLAGS-test-double-libmvec-sincos-main.c): New.
12136         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
12137         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
12138         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
12139         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
12140         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
12141         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
12142         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
12143         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
12144         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
12145         -DREQUIRE_AVX2.
12146         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
12147         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
12148         -DREQUIRE_AVX512F.
12149         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
12150         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
12151         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
12152         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
12153         file.
12154         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
12155         Likewise.
12156         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
12157         Likewise.
12158         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
12159         Likewise.
12160         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
12161         Likewise.
12162         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
12163         Likewise.
12164         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
12165         Likewise.
12166         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
12167         Likewise.
12169 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
12171         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
12173 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
12175         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
12176         and typo in a comment about AT_HWCAP entry.
12178 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12180         * sysdeps/aarch64/libm-test-ulps: Updated.
12182 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12184         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
12185         of r13 as it is not restored in mvcle case.
12187 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
12189         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
12190         Rename "ret" to "__ret".
12191         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
12192         inline_syscall5, inline_syscall6): Likewise.
12194 2016-07-19   Will Newton  <will.newton@gmail.com>
12196         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
12197         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
12198         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
12199         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
12200         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
12202 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
12204         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
12205         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
12206         -mfpmath=387 with $(rtld-CFLAGS).
12207         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
12208         $(rtld-CFLAGS).
12210 2016-07-18   Ross Burton  <ross.burton@intel.com>
12211              Khem Raj  <raj.khem@gmail.com>
12213         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
12214         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
12215         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
12216         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
12217         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
12218         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
12219         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
12220         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
12221         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
12222         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
12223         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
12224         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
12225         R_METAG_TLS_DTPOFF): New.
12227 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12228             Matt Clay  <mclay@lycos.com>
12230         [BZ #20357]
12231         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
12232         to call __mpsin/__mpcos and to negate values.
12233         * math/auto-libm-test-in: Add test.
12234         * math/auto-libm-test-out: Regenerate.
12236 2016-07-18  Zack Weinberg  <zackw@panix.com>
12238         * grp/Makefile: Don't install the internal header grp-merge.h.
12240 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12242         * sysdeps/aarch64/libm-test-ulps: Regenerated.
12244 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12246         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
12248 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12250         [BZ #15368]
12251         * sysdeps/unix/sysv/linux/nptl-signals.h
12252         (__nptl_clear_internal_signals): New function.
12253         (__libc_signal_block_all): Likewise.
12254         (__libc_signal_block_app): Likewise.
12255         (__libc_signal_restore_set): Likewise.
12256         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
12257         implementation.
12258         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
12259         the cached pid/tid value in pthread structure.
12261 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
12263         [BZ #20347]
12264         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
12266 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
12268         [BZ #20348]
12269         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
12270         preadv64, pwrite64 and pwritev64.
12272 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
12274         [BZ #20350]
12275         * posix/tst-preadwrite.c: Renamed to ...
12276         * posix/tst-preadwrite-common.c: This.
12277         (PREAD): Removed.
12278         (PWRITE): Likewise.
12279         (STRINGIFY): Likewise.
12280         (STRINGIFY2): Likewise.
12281         (do_prepare): Make it static and remove function arguments.
12282         (do_test): Likewise.
12283         (PREPARE): Updated.
12284         (TEST_FUNCTION): New.
12285         (name): Make it static.
12286         (fd): Likewise.
12287         (do_prepare): Use create_temp_file.
12288         (do_test): Renamed to ...
12289         (do_test_with_offset): This.  Make it static and accept offset.
12290         Properly check return value of PWRITE and PREAD.  Return bytes
12291         read.  Don't close fd nor unlink name.
12292         * posix/tst-preadwrite.c: Rewrite.
12293         * posix/tst-preadwrite64.c: Likewise.
12295 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
12297         [BZ #20309]
12298         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
12299         -mtls-dialect=gnu2 works.
12300         * configure: Regenerated.
12301         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
12302         (tests): Add tst-gnu2-tls1.
12303         (modules-names): Add tst-gnu2-tls1mod.
12304         ($(objpfx)tst-gnu2-tls1): New.
12305         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
12306         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
12307         * elf/tst-gnu2-tls1.c: New file.
12308         * elf/tst-gnu2-tls1mod.c: Likewise.
12309         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
12310         bytes for push in the PLT entry to align the stack.
12312 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
12314         [BZ #20349]
12315         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
12317 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12319         [BZ #18707]
12320         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
12321         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
12323 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12325         * sysdeps/unix/sysv/linux/sysdep.h
12326         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
12327         guards.
12328         * misc/tst-preadvwritev-common.c: New file.
12329         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
12330         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
12331         a check for files larger than 2GB.
12333         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12334         (__ASSUME_OFF_DIFF_OFF64): Remove define.
12335         * sysdeps/unix/sysv/linux/pread.c
12336         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
12337         __OFF_T_MATCHES_OFF64_T.
12338         * sysdeps/unix/sysv/linux/pread64.c
12339         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
12340         * sysdeps/unix/sysv/linux/preadv.c
12341         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
12342         * sysdeps/unix/sysv/linux/preadv64.c
12343         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
12344         * sysdeps/unix/sysv/linux/pwrite.c
12345         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
12346         * sysdeps/unix/sysv/linux/pwrite64.c
12347         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
12348         * sysdeps/unix/sysv/linux/pwritev.c
12349         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
12350         * sysdeps/unix/sysv/linux/pwritev64.c
12351         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
12353 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
12355         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12356         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
12358 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
12360         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
12362 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
12364         [BZ #20240]
12365         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
12366         (CFLAGS-s_modf-ppc32.c): New variable.
12367         (CFLAGS-s_modff-ppc32.c): Likewise.
12368         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
12369         (CFLAGS-s_modf-ppc64.c): Likewise.
12370         (CFLAGS-s_modff-ppc64.c): Likewise.
12372 2016-07-07  Andreas Schwab  <schwab@suse.de>
12374         [BZ #20263]
12375         * nptl/tst-robust10.c: New test.
12376         * nptl/Makefile (tests): Add tst-robust10.
12378 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
12380         [BZ #20263]
12381         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
12383 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
12385         * sysdeps/s390/linkmap.h (struct link_map_machine):
12386         Remove member gotplt and add member jmprel.
12387         * sysdeps/s390/s390-32/dl-machine.h
12388         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
12389         instead of gotplt with &got[3].
12390         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
12391         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12393 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
12395         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
12397 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12399         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
12400         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
12401         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
12402         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
12403         * libio/vtables.c (_IO_vtable_check)
12404         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
12405         * libio/libioP.h (IO_set_accept_foreign_vtables)
12406         [!PTR_MANGLE]: Do not call PTR_MANGLE.
12408 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
12410         [BZ #20314]
12411         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
12412         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
12413         $(common-objpfx)cmath.
12414         ($(common-objpfx)cstdlib): New target.
12415         ($(common-objpfx)cmath): Likewise.
12417 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
12419         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
12421 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12423         [BZ #20327]
12424         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
12425         are not part of the string.
12427 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12429         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
12430         * nptl/tst-cancel4-common.h (fifoname): New variable.
12431         (fifofd): Likewise.
12432         (cl_fifo): New function.
12433         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
12434         SIGINT.
12435         (tf_open): Add early cancel test.
12437 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
12439         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
12441 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
12443         * sysdeps/generic/ldsodefs.h
12444         (dl_symbol_visibility_binds_local_p): New inline function.
12445         * elf/dl-addr.c (determine_info): Treat hidden and internal
12446         symbols as local.
12447         * elf/dl-lookup.c (do_lookup_x): Likewise.
12448         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
12450 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
12452         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
12453         invalid exception for a sNaN input.
12454         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
12455         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
12456         (__nearbyint_vis3): Likewise
12457         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
12458         (__nearbyintf_vis3): Likewise
12459         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
12460         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
12461         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
12462         Likewise.
12463         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
12464         Likewise.
12466 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
12468         [BZ #20139]
12469         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
12470         (HAVE_AVX512DQ_ASM_SUPPORT): This.
12471         * sysdeps/x86_64/configure.ac: Require assembler from binutils
12472         2.24 or above.
12473         (HAVE_AVX512_ASM_SUPPORT): Removed.
12474         (HAVE_AVX512DQ_ASM_SUPPORT): New.
12475         * sysdeps/x86_64/configure: Regenerated.
12476         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
12477         check unconditional.
12478         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
12479         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12480         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12481         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
12482         Likewise.
12483         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
12484         Likewise.
12485         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
12486         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
12487         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12488         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12489         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
12490         Likewise.
12491         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
12492         Likewise.
12493         * sysdeps/x86_64/multiarch/memset.S: Likewise.
12494         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12495         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
12496         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
12497         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
12498         Likewise.
12499         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
12500         Likewise.
12501         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
12502         Likewise.
12503         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
12504         Likewise.
12505         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
12506         Likewise.
12507         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
12508         Likewise.
12509         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
12510         Likewise.
12511         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
12512         Likewise.
12513         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
12514         Likewise.
12515         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
12516         Likewise.
12517         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
12518         Likewise.
12520 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
12522         [BZ #20024]
12523         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
12524         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
12525         of this implementation of vector function.
12526         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
12527         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
12528         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
12529         Likewise.
12530         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
12531         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
12532         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
12533         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
12534         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
12535         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
12536         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
12537         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
12538         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
12539         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
12540         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
12541         for testing vector sincos with fixed ABI.
12542         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12543         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12544         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12545         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
12546         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12547         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12548         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12549         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
12550         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
12551         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
12552         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
12553         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
12554         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
12555         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
12556         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
12557         * sysdeps/x86_64/fpu/Makefile: Added new tests.
12559 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
12561         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
12563 2016-06-30  Anton Blanchard  <anton@samba.org>
12565         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
12566         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
12567         s_sinf-ppc64.
12568         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
12569         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
12570         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
12571         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
12573 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12575         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12576         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
12577         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
12578         e_expf-ppc64.
12579         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
12580         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
12581         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
12582         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
12584 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
12586         [BZ #20277]
12587         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
12588         when SHARED is defined.
12590 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
12592         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
12593         (index_arch_Prefer_ERMS): Likewise.
12594         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
12595         __memcpy_erms for Prefer_ERMS.
12596         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12597         (__memmove_erms): Enabled for libc.a.
12598         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
12599         __memmove_erms or Prefer_ERMS.
12600         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
12601         __mempcpy_erms for Prefer_ERMS.
12602         * sysdeps/x86_64/multiarch/memset.S (memset): Return
12603         __memset_erms for Prefer_ERMS.
12605 2016-06-30  Andreas Schwab  <schwab@suse.de>
12607         [BZ #20262]
12608         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
12609         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
12610         of memory.
12612 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
12614         [BZ #18645]
12615         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
12616         (test-extras): Add tst-cleanupx4aux.
12617         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
12618         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
12619         tst-cleanupx4aux.o.
12620         * nptl/tst-cleanupx4aux.c: New file.
12622 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
12624         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
12626 2016-06-29  Andreas Schwab  <schwab@suse.de>
12628         [BZ #20260]
12629         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
12630         address before the beginning of the string as an integer to avoid
12631         array-bounds warning.
12633 2016-06-28  Richard Henderson  <rth@redhat.com>
12635         * elf/elf.h (EM_BPF): New.
12636         (EM_NUM): Update.
12637         (R_BPF_NONE, R_BPF_MAP_FD): New.
12639         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
12640         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
12641         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
12642         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
12643         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
12644         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
12645         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
12646         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
12647         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
12648         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
12649         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
12650         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
12651         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
12652         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
12653         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
12654         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
12655         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
12656         (EM_NUM): Update.
12658 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
12660         [BZ #18960]
12661         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
12662         Set _nl_current_LC_CATEGORY_used to two instead of one.
12664 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
12666         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
12667         (do_test): ... this.
12668         (TEST_FUNCTION): New macro.
12669          Include test-skeleton.c.
12670         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
12671         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
12673 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
12675         [BZ #15479]
12676         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
12677         floating-point environment rather than just control word.
12678         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
12679         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
12680         floating-point environment, with "invalid" exceptions merged in,
12681         rather than just control word.
12682         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
12683         * math/libm-test.inc (trunc_test_data): Do not allow spurious
12684         "inexact" exceptions.
12686         [BZ #15479]
12687         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
12688         floating-point environment rather than just control word.
12689         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
12690         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
12691         floating-point environment, with "invalid" exceptions merged in,
12692         rather than just control word.
12693         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
12694         * math/libm-test.inc (floor_test_data): Do not allow spurious
12695         "inexact" exceptions.
12697         [BZ #15479]
12698         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
12699         floating-point environment rather than just control word.
12700         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
12701         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
12702         floating-point environment, with "invalid" exceptions merged in,
12703         rather than just control word.
12704         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
12705         * math/libm-test.inc (ceil_test_data): Do not allow spurious
12706         "inexact" exceptions.
12708 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
12710         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
12711         __libc_vfork.
12712         (__vfork) [IS_IN (libc)]: Remove alias.
12713         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
12714         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
12715         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
12717 2016-06-24  Torvald Riegel  <triegel@redhat.com>
12719         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
12720         of atomic_compare_and_exchange_bool_rel.
12721         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
12722         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
12723         catomic_compare_and_exchange_bool_rel): Remove.
12724         * sysdeps/aarch64/atomic-machine.h
12725         (atomic_compare_and_exchange_bool_rel): Likewise.
12726         * sysdeps/alpha/atomic-machine.h
12727         (atomic_compare_and_exchange_bool_rel): Likewise.
12728         * sysdeps/arm/atomic-machine.h
12729         (atomic_compare_and_exchange_bool_rel): Likewise.
12730         * sysdeps/mips/atomic-machine.h
12731         (atomic_compare_and_exchange_bool_rel): Likewise.
12732         * sysdeps/microblaze/atomic-machine.h
12733         ( __arch_compare_and_exchange_bool_8_rel,
12734         __arch_compare_and_exchange_bool_16_rel): Likewise.
12735         * sysdeps/powerpc/atomic-machine.h
12736         ( __arch_compare_and_exchange_bool_8_rel,
12737         __arch_compare_and_exchange_bool_16_rel): Likewise.
12738         * sysdeps/powerpc/powerpc32/atomic-machine.h
12739         ( __arch_compare_and_exchange_bool_32_rel,
12740         __arch_compare_and_exchange_bool_64_rel): Likewise.
12741         * sysdeps/powerpc/powerpc64/atomic-machine.h
12742         ( __arch_compare_and_exchange_bool_32_rel,
12743         __arch_compare_and_exchange_bool_64_rel): Likewise.
12744         * sysdeps/tile/atomic-machine.h
12745         (atomic_compare_and_exchange_bool_rel): Likewise.
12747 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
12749         [BZ #20296]
12750         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
12751         when either argument is a NaN.
12752         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
12753         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
12755         * math/libm-test.inc (snan_value_ld): New macro.
12756         (isgreater_test_data): Add sNaN tests.
12757         (isgreaterequal_test_data): Likewise.
12758         (isless_test_data): Likewise.
12759         (islessequal_test_data): Likewise.
12760         (islessgreater_test_data): Likewise.
12761         (isunordered_test_data): Likewise.
12762         (nextafter_test_data): Likewise.
12763         (nexttoward_test_data): Likewise.
12764         (remainder_test_data): Likewise.
12765         (remquo_test_data): Likewise.
12766         (significand_test_data): Likewise.
12767         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
12769 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12771         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
12772         environment macros are defined.
12773         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
12775 2016-06-23  Florian Weimer  <fweimer@redhat.com>
12777         [BZ #20191]
12778         Implement vtable verification in libio.
12779         * Makerules (shlib.lds): Place __libc_IO_vtables section.
12780         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
12781         * debug/vdprintf_chk.c (__vdprintf_chk): Call
12782         _IO_new_file_init_internal instead of _IO_file_init.
12783         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
12784         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
12785         * libio/Makefile (routines): Add vtables.
12786         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
12787         (_IO_init): Remove, not for internal use.
12788         (_IO_init_internal): Declare, internal replacement for _IO_init.
12789         (_IO_file_init): Remove, not for internal use.
12790         (_IO_new_file_init): Remove, not for internal use.
12791         (_IO_new_file_init_internal): Declare, internal replacement for
12792         _IO_new_file_init.
12793         (_IO_old_file_init): Remove, not for internal use.
12794         (_IO_old_file_init_internal): Declare, internal replacement for
12795         _IO_old_file_init.
12796         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
12797         internal use.
12798         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
12799         Declare.
12800         (libio_vtable): New macro.
12801         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
12802         functions.
12803         * libio/fileops.c (_IO_new_file_init_internal): Rename from
12804         _IO_new_file_init.
12805         (_IO_new_file_init): New externally visible wrapper which disables
12806         vtable verification.
12807         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
12808         Define as vtables.
12809         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
12810         (_IO_init): New externally visible wrapper which disables
12811         vtable verification.
12812         * libio/iofdopen.c (_IO_new_fdopen): Call
12813         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
12814         comment.
12815         * libio/iofopen.c (__fopen_internal): Call
12816         _IO_new_file_init_internal instead of _IO_file_init.
12817         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
12818         Define as vtables.
12819         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
12820         _IO_new_file_init_internal instead of _IO_file_init.
12821         * libio/iopopen.c (_IO_new_popen): Likewise.
12822         (_IO_proc_jumps): Define as vtable.
12823         * libio/iovdprintf.c (_IO_vdprintf): Call
12824         _IO_new_file_init_internal instead of _IO_file_init.
12825         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
12826         (__open_memstream): Call _IO_init_internal instead of _IO_init.
12827         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
12828         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
12829         _IO_old_file_init.
12830         (_IO_old_file_init): New externally visible wrapper which disables
12831         vtable verification.
12832         (_IO_old_file_jumps): Define as vtable.
12833         * libio/oldiofdopen.c (_IO_old_fdopen): Call
12834         _IO_old_file_init_internal instead of _IO_old_file_init.
12835         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
12836         * libio/oldiopopen.c (_IO_old_popen): Likewise.
12837         (_IO_old_proc_jumps): Define as vtable.
12838         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
12839         Define as vtables.
12840         * libio/vtables.c: New file.
12841         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
12842         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
12843         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
12844         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
12845         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
12846         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
12847         instead of _IO_init.
12849 2016-06-23  Florian Weimer  <fweimer@redhat.com>
12851         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
12853 2016-06-23  Florian Weimer  <fweimer@redhat.com>
12855         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
12856         potentially unused.
12858 2016-06-22  Florian Weimer  <fweimer@redhat.com>
12860         * test-skeleton.c (write_message): New function.
12861         * malloc/tst-mallocfork2.c (write_message): Remove.
12862         * debug/tst-longjmp_chk2.c (write_indented): New function.
12863         (write_message): Remove.
12864         (stackoverflow_handler): Call write_indented.
12866 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
12868         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
12869         "inexact" exceptions after fnstenv.
12870         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
12871         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
12872         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
12874 2015-06-22  Zack Weinberg  <zackw@panix.com>
12876         * sysdeps/generic/bits/hwcap.h: Moved to ...
12877         * bits/hwcap.h: Here.
12879 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
12881         * sysdeps/aarch64/memcpy.S (memcpy):
12882         Further tuning for performance.
12884 2016-06-21  Florian Weimer  <fweimer@redhat.com>
12886         [BZ #20284]
12887         * malloc/arena.c (reused_arena): Do not return NULL if we start
12888         out with a non-corrupted arena.
12890 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12892         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
12893         * misc/tst-preadvwritev.c: New file.
12894         * misc/tst-preadvwritev64.c: Likewise.
12895         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
12896         usage.
12897         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
12898         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
12899         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
12900         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
12902 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
12904         [BZ #19654]
12905         * sysdeps/x86_64/fpu/Makefile: Added new tests.
12906         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
12907         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
12908         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
12909         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
12910         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
12911         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
12912         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
12913         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
12914         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
12915         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
12916         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
12917         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
12918         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
12919         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
12920         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
12921         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
12922         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
12923         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
12924         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
12925         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
12926         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
12927         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
12928         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
12929         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
12930         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
12932 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
12934         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
12935         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
12937 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
12939         * sysdeps/aarch64/memcpy.S (memcpy):
12940         Rewrite of optimized memcpy and memmove.
12941         * sysdeps/aarch64/memmove.S (memmove): Remove
12942         memmove code (merged into memcpy.S).
12944 2016-06-20  Florian Weimer  <fweimer@redhat.com>
12946         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
12947         * sysdeps/generic/dl-dtv.h: New file.
12948         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12949         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
12950         (dtv_t): Remove.
12951         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12952         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
12953         (dtv_t): Remove.
12954         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12955         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
12956         (dtv_t): Remove.
12957         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12958         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
12959         (dtv_t): Remove.
12960         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12961         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
12962         (dtv_t): Remove.
12963         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12964         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
12965         (dtv_t): Remove.
12966         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12967         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
12968         (dtv_t): Remove.
12969         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
12970         (dtv_t): Remove.
12971         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12972         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
12973         (dtv_t): Remove.
12974         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12975         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
12976         (dtv_t): Remove.
12977         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12978         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
12979         (dtv_t): Remove.
12980         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12981         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
12982         (dtv_t): Remove.
12983         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12984         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
12985         (dtv_t): Remove.
12986         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12987         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
12988         (dtv_t): Remove.
12989         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12990         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
12991         (dtv_t): Remove.
12992         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12993         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
12994         (dtv_t): Remove.
12996 2016-06-20  Florian Weimer  <fweimer@redhat.com>
12998         Revert symbol poisoning of  __malloc_initialize_hook.
12999         * include/stdc-predef.h (__malloc_initialize_hook): Remove
13000         poisoning.
13001         * malloc/Makefile: Remove un-poisoning.
13002         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
13003         instead of old__malloc_initialize_hook.
13004         * malloc/malloc-hooks.h: Likewise.
13005         * malloc/malloc.c: Likewise.
13006         * malloc/mcheck-init.c: Likewise.
13008 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
13010         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
13012 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
13014         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
13015         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
13016         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
13017         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
13019 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13021         * NEWS: Mention addition of nextup and nextdown.
13022         * manual/arith.texi: Document nextup and nextdown.
13023         * manual/libm-err-tab.pl: Add nextup and nextdown.
13024         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
13025         * math/Versions (libm): Add GLIBC_2.24.
13026         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
13027         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
13028         Add new test.
13029         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
13030         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
13031         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
13032         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
13033         (nextup_test_data): Likewise.
13034         (nextdown_test_data): Likewise.
13035         * math/s_nextdown.c: New file.
13036         * math/s_nextdownf.c: Likewise.
13037         * math/s_nextdownl.c: Likewise.
13038         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
13039         F(nextup): New function.
13040         F(nextdown): Likewise.
13041         * math/tgmath.h: Add nextup and nextdown.
13042         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
13043         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
13044         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
13045         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
13046         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
13047         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
13048         Add nextup and nextdown.
13049         (CFLAGS-nldbl-nextup.c): New variable.
13050         (CFLAGS-nldbl-nextdown.c): Likewise.
13051         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
13052         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
13053         * sysdeps/nacl/libm.abilist: Update.
13054         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13055         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13056         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13057         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13058         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13059         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13060         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13061         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13062         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13063         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13064         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13065         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13068         Likewise.
13069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13071         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13072         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13073         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13074         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13075         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13076         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
13077         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
13078         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13079         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13080         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
13081         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13083 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13085         * manual/pattern.texi: Fix typos & grammar errors.
13087 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13089         * manual/search.texi: Fix typos & grammar errors.
13091 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13093         * manual/message.texi: Fix typos & grammar errors.
13095 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
13097         * manual/contrib.texi: Fix spelling typos.
13098         * manual/crypt.texi: Likewise.
13099         * manual/filesys.texi: Likewise.
13100         * manual/locale.texi: Likewise.
13101         * manual/message.texi: Likewise.
13102         * manual/nss.texi: Likewise.
13103         * manual/string.texi: Likewise.
13105 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13107         * manual/locale.texi: Fix typos & grammar errors.
13109 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13111         * manual/charset.texi: Fix typos & grammar errors.
13113 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13115         * manual/string.texi: Fix typos.
13117 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13119         * manual/ctype.texi: Fix typos.
13121 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13123         * manual/memory.texi: Fix various typos & grammar errors.
13125 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
13127         [BZ #20255]
13128         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
13129         * math/libm-test.inc (fdim_test_data): Add another test.
13131         [BZ #6796]
13132         [BZ #20255]
13133         [BZ #20256]
13134         * math/s_fdim.c: Include <math_private.h>.
13135         (__fdim): Use math_narrow_eval on result.
13136         * math/s_fdimf.c: Include <math_private.h>.
13137         (__fdimf): Use math_narrow_eval on result.
13138         * sysdeps/i386/fpu/s_fdim.S: Remove file.
13139         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
13140         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
13141         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
13142         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
13143         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
13144         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
13145         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
13146         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
13147         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
13148         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
13149         * math/libm-test.inc (fdim_test_data): Expect errno setting on
13150         overflow.  Add sNaN tests.
13152         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
13153         fpclassify.
13154         * math/s_fdimf.c (__fdimf): Likewise.
13155         * math/s_fdiml.c (__fdiml): Likewise.
13157 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13159         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
13160         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
13161         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13162         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
13163         ifunc'ed strcasecmp/strncasecmp.
13164         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
13165         [EALIGN]: Removed.
13166         [END]: Likewise.
13167         [__strcasecmp]: Define instead of the above to control symbol name.
13168         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
13169         for __strcasecmp_power8.
13170         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
13171         for __strncasecmp_power8.
13172         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
13173         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
13174         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
13175         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
13176         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
13177         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
13179 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
13181         [BZ #20252]
13182         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
13183         arguments when second argument is a NaN.
13184         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
13185         qNaN tests.
13187         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
13188         (conj_test_data): Likewise.
13189         (copysign_test_data): Likewise.
13190         (creal_test_data): Likewise.
13191         (fma_test_data): Likewise.
13192         (fmod_test_data): Likewise.
13194         [BZ #20250]
13195         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
13196         itself.
13197         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
13198         zero input to itself.
13199         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
13200         Likewise.
13201         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
13202         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
13203         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
13204         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
13205         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
13207 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13209         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
13210         * nptl/tst-cancel4-common.c: New file.
13211         * nptl/tst-cancel4-common.h: Likewise.
13212         * nptl/tst-cancel4.c: Move common definitions to
13213         tst-cancel4-common.{c,h} file.
13214         * nptl/tst-cancel4_1.c: New test.
13215         * nptl/tst-cancel4_2.c: New test.
13217 2016-06-13  Florian Weimer  <fweimer@redhat.com>
13219         [BZ #20248]
13220         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
13221         (write_message): New function.
13222         (stackoverflow_handler): Call it instead of printf, to avoid
13223         excessive stack usage by printf.
13224         (do_test): Restore SIGSEGV, SIGBUS default handlers.
13226 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13228         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
13229         (prio_inherit_missing): Remove define.
13230         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13231         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13232         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
13233         Likewise.
13234         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13235         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13236         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13237         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13238         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13239         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13241 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
13243         [BZ #19670]
13244         [BZ #19672]
13246         * io/test-lfs.c (do_prepare): Use xmalloc.
13247         * io/tst-fcntl.c (do_prepare): Likewise.
13248         * libio/tst-fopenloc.c (do_bz17916): Likewise.
13249         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
13250         * login/tst-utmp.c (do_prepare): Likewise.
13251         * posix/tst-exec.c (do_prepare): Likewise.
13252         * posix/tst-pathconf.c (prepare): Likewise.
13253         * posix/tst-spawn.c (do_prepare): Likewise.
13254         * posix/tst-truncate.c (do_prepare): Likewise.
13255         * rt/tst-aio.c (do_prepare): Likewise.
13256         * rt/tst-aio64.c (do_prepare): Likewise.
13258 2016-06-11  Florian Weimer  <fweimer@redhat.com>
13260         [BZ #20237]
13261         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
13262         (get*ent): Set entidx to NULL during initialization.  If entidx is
13263         NULL, start iteration from the beginning.
13265 2016-06-11  Florian Weimer  <fweimer@redhat.com>
13267         * malloc/malloc.c (musable): Return correct size for dumped fake
13268         mmapped chunk.
13270 2016-06-11  Florian Weimer  <fweimer@redhat.com>
13272         [BZ #20222]
13273         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
13274         (_IO_cookie_write): Likewise.
13275         (_IO_cookie_seek): Likewise.
13276         (_IO_cookie_close): Likewise.
13277         (_IO_old_cookie_seek): Likewise.
13278         (set_callbacks): New function.
13279         (_IO_cookie_init): Call set_callbacks to copy callbacks.
13281 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
13283         * locale/programs/localedef.c (oldstyle_tables): Remove.
13284         * locale/programs/localedef.h (oldstyle_tables): Likewise.
13286 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
13288         [BZ #20240]
13289         * math/Makefile (CFLAGS-s_modf.c): New variable.
13290         (CFLAGS-s_modff.c): Likewise.
13291         (CFLAGS-s_modfl.c): Likewise.
13292         * math/libm-test.inc (modf_test_data): Add sNaN tests.
13294 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
13296         [BZ #20215]
13297         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
13298         [!__GNUC_PREREQ (3,2)]: Likewise.
13300 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
13302         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
13303         (msghdr.msg_controllen): Likewise.
13304         (cmsghdr.cmsg_len): Likewise.
13305         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
13306         ptw-oldsendmsg.
13307         (CFLAGS-oldrecvmsg.c): Remove rule.
13308         (CFLAGS-oldsendmsg.c): Likewise.
13309         (CFLAGS-recvmsg.c): Add rule.
13310         (CFLAGS-sendmsg.c): Likewise.
13311         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
13312         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
13313         (CFLAGS-recvmsg.c): Remove rule.
13314         (CFLAGS-sendmsg.c): Likewise.
13315         (CFLAGS-oldrecvmsg.c): Likewise.
13316         (CFLAGS-oldsendmsg.c): Likewise.
13317         (CFLAGS-recvmmsg.c): Likewise.
13318         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
13319         to kernel defined interfaces.
13320         (msghdr.msg_controllen): Likewise.
13321         (cmsghdr.cmsg_len): Likewise.
13322         (msghdr.__glibc_reserved1): Remove member.
13323         (msghdr.__glibc_reserved2): Likewise.
13324         (cmsghdr.__glibc_reserved1): Likewise.
13325         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
13326         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
13327         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
13328         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
13329         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
13330         version.
13331         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
13332         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
13333         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
13334         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
13335         Remove recvmsg and sendmsg.
13336         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
13337         Likewise.
13338         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
13339         Likewise.
13340         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
13341         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
13342         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
13343         Likewise.
13344         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
13345         Likewise.
13346         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
13347         [libc] (GLIBC_2.24): Likewise.
13348         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
13349         Likewise.
13350         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
13351         Likewise.
13352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
13353         [libc] (GLIBC_2.24): Likewise.
13354         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
13355         Likewise.
13356         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
13357         Likewise.
13358         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
13359         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
13360         Likewise.
13361         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
13362         Likewise.
13363         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
13364         Likewise.
13365         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
13366         Likewise.
13367         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
13368         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
13369         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
13370         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
13371         version for {recv,send,recm,sendm}msg.
13372         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13373         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13374         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13375         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13376         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13377         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13378         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13379         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13380         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13381         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13382         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13383         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13385         Likewise.
13386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13387         Likewise.
13388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13390         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13391         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13392         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13393         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13394         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13395         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13396         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13397         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13398         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13399         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13400         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13402 2016-06-10  Florian Weimer  <fweimer@redhat.com>
13404         [BZ #19564]
13405         Remove __malloc_initialize_hook from the API.
13406         * malloc/malloc.h (__malloc_initialize_hook): Remove.
13407         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
13408         #pragma GCC poison.
13409         * malloc/malloc-hooks.h: New file.
13410         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
13411         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
13412         (old__malloc_initialize_hook): Rename from
13413         __malloc_initialize_hook to evade poisoning.  Turn into compat
13414         symbol.
13415         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
13416         __malloc_initialize_hook.
13417         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
13418         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
13419         * manual/memory.texi (Hooks for Malloc): Remove
13420         __malloc_initialize_hook.  Adjust hook example.
13422 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
13424         [BZ #20235]
13425         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
13426         itself.
13427         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
13428         * math/libm-test.inc (log2_test_data): Add sNaN tests.
13430         [BZ #20234]
13431         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
13432         infinity or NaN input to itself.
13434         [BZ #20233]
13435         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
13436         to itself.
13438         [BZ #20232]
13439         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
13440         itself.
13442 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
13444         * sysdeps/x86_64/start.S (_start): Always indirect branch to
13445         __libc_start_main via GOT.
13447 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
13449         * sysdeps/x86_64/memcopy.h: New file.
13450         * sysdeps/x86_64/wordcopy.c: Likewise.
13452 2016-06-09  Florian Weimer  <fweimer@redhat.com>
13454         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
13455         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
13456         <cstdlib>.
13457         (optimization_barrier): New.
13458         (do_test): Use it.  Call quick_exit in the global namespace.
13459         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
13460         instead of <cstdlib>, <thread>.
13461         (optimization_barrier): New.
13462         (non_main_thread): Adjust declaration.  Call optimization_barrier.
13463         Call quick_exit in the global namespace.
13464         (do_test): Call optimization_barrier.  Use pthread_create,
13465         pthread_join instead of std::thread.
13467 2016-06-09  Andreas Schwab  <schwab@suse.de>
13469         [BZ #19755]
13470         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
13471         new entries in auto-propagate mode.
13472         * nscd/grpcache.c (cache_addgr): Likewise.
13474 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
13476         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
13477         New functions.
13478         (add_temp_file): Use them.
13480 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
13482         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
13484 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
13486         [BZ #20229]
13487         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
13488         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
13489         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
13491         [BZ #20228]
13492         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
13493         itself.
13494         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
13495         * math/libm-test.inc (log10_test_data): Add sNaN tests.
13497         [BZ #20227]
13498         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
13499         itself.
13500         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13501         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
13502         * math/libm-test.inc (log_test_data): Add sNaN tests.
13504         [BZ #20226]
13505         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
13506         itself.
13507         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
13508         * math/libm-test.inc (exp_test_data): Add sNaN tests.
13509         (exp10_test_data): Likewise.
13510         (expm1_test_data): Likewise.
13512         [BZ #20225]
13513         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
13514         itself.
13515         * math/s_ldexpf.c (__ldexpf): Likewise.
13516         * math/s_ldexpl.c (__ldexpl): Likewise.
13517         * math/w_scalbln.c (__w_scalbln): Likewise.
13518         * math/w_scalblnf.c (__w_scalblnf): Likewise.
13519         * math/w_scalblnl.c (__w_scalblnl): Likewise.
13520         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
13521         (scalbln_test_data): Likewise.
13523         [BZ #20224]
13524         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
13525         argument to itself.
13526         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
13528 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
13530         [BZ #19776]
13531         * sysdeps/x86_64/memcpy.S: Make it dummy.
13532         * sysdeps/x86_64/mempcpy.S: Likewise.
13533         * sysdeps/x86_64/memmove.S: New file.
13534         * sysdeps/x86_64/memmove_chk.S: Likewise.
13535         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
13536         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
13537         * sysdeps/x86_64/memmove.c: Removed.
13538         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
13539         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
13540         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
13541         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
13542         Likewise.
13543         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13544         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13545         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
13546         memcpy-sse2-unaligned, memmove-avx-unaligned,
13547         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
13548         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13549         (__libc_ifunc_impl_list): Replace
13550         __memmove_chk_avx512_unaligned_2 with
13551         __memmove_chk_avx512_unaligned.  Remove
13552         __memmove_chk_avx_unaligned_2.  Replace
13553         __memmove_chk_sse2_unaligned_2 with
13554         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
13555         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
13556         with __memmove_avx512_unaligned.  Replace
13557         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
13558         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
13559         with __memcpy_chk_avx512_unaligned.  Remove
13560         __memcpy_chk_avx_unaligned_2.  Replace
13561         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
13562         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
13563         Replace __memcpy_avx512_unaligned_2 with
13564         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
13565         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
13566         with __mempcpy_chk_avx512_unaligned.  Remove
13567         __mempcpy_chk_avx_unaligned_2.  Replace
13568         __mempcpy_chk_sse2_unaligned_2 with
13569         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
13570         Replace __mempcpy_avx512_unaligned_2 with
13571         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
13572         Replace __mempcpy_sse2_unaligned_2 with
13573         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
13574         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
13575         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
13576         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
13577         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
13578         (ENTRY): Removed.
13579         (END): Likewise.
13580         (ENTRY_CHK): Likewise.
13581         (libc_hidden_builtin_def): Likewise.
13582         Don't include ../memcpy.S.
13583         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
13584         __memcpy_chk_avx512_unaligned_erms and
13585         __memcpy_chk_avx512_unaligned.  Use
13586         __memcpy_chk_avx_unaligned_erms and
13587         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
13588         Default to __memcpy_chk_sse2_unaligned.
13589         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13590         Change function suffix from unaligned_2 to unaligned.
13591         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
13592         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
13593         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
13594         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
13595         (ENTRY): Removed.
13596         (END): Likewise.
13597         (ENTRY_CHK): Likewise.
13598         (libc_hidden_builtin_def): Likewise.
13599         Don't include ../mempcpy.S.
13600         (mempcpy): New.  Add a weak alias.
13601         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
13602         __mempcpy_chk_avx512_unaligned_erms and
13603         __mempcpy_chk_avx512_unaligned.  Use
13604         __mempcpy_chk_avx_unaligned_erms and
13605         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
13606         Default to __mempcpy_chk_sse2_unaligned.
13608 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
13610         [BZ #19881]
13611         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
13612         into ...
13613         * sysdeps/x86_64/memset.S: This.
13614         (__bzero): Removed.
13615         (__memset_tail): Likewise.
13616         (__memset_chk): Likewise.
13617         (memset): Likewise.
13618         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
13619         defined.
13620         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
13621         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
13622         (__memset_zero_constant_len_parameter): Check SHARED instead of
13623         PIC.
13624         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
13625         memset-avx2 and memset-sse2-unaligned-erms.
13626         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13627         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
13628         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
13629         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13630         (__bzero): Enabled.
13631         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
13632         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
13633         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
13634         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
13635         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
13636         (memset): Removed.
13637         (__memset_chk): Likewise.
13638         (MEMSET_SYMBOL): New.
13639         (libc_hidden_builtin_def): Replace __memset_sse2 with
13640         __memset_sse2_unaligned.
13641         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
13642         __memset_chk_sse2 and __memset_chk_avx2 with
13643         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
13644         Use __memset_chk_sse2_unaligned_erms or
13645         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
13646         __memset_chk_avx512_unaligned_erms and
13647         __memset_chk_avx512_unaligned.
13649 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13651         * math/gen-auto-libm-test.c (fp_format_desc): remove
13652         suffix member.
13653         (output_generic_value): Remove usage of suffix member,
13654         and the resulting unuse of the fp_format argument.
13655         (output_for_one_input_case): Remove unused fp_format
13656         parameter.
13658         * math/auto-libm-test-out: Regenerate.
13660         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
13661         usage with TEST_COND_ibm128.
13662         (TEST_COND_flt_32): Remove.
13663         (TEST_COND_dbl_64): Remove.
13664         (TEST_COND_ldbl_96_intel): Remove.
13665         (TEST_COND_ldbl_96_m68k): Remove.
13666         (TEST_COND_ldbl_128): Remove.
13668 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13670         * auto-libm-test-in:
13671         Replace flt-32 usage with binary32.
13672         Replace dbl-64 usage with binary64.
13673         Replace ldbl-intel-96 usage with intel96.
13674         Replace ldbl-m68k-96 usage with m68k96.
13675         Replace ldbl-128ibm usage with ibm128.
13676         Replace ldbl-128 usage with binary128.
13678         * auto-libm-test-out: Regenerate.
13680 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13682         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
13683         (parse_ulps): Dynamically generate type name matching
13684         string from all_floats.
13685         (get_ulps): Generate the ulps as an array instead.
13686         (output_ulps): Dynamically compose the type based
13687         on the number of supported formats, and print
13688         the indices as type specific helper macros.
13690         * math/libm-test.inc: Remove comment about CHOOSE.
13691         (ulp_data): Generate the type in libm-test-ulps.h.
13692         (ULP_IDX): New macro.
13693         (find_ulps): Update usage of max_ulp.
13695         * math/test-double-vlen2.h (CHOOSE): Remove.
13696         * math/test-double-vlen4.h (CHOOSE): Likewise.
13697         * math/test-double-vlen8.h (CHOOSE): Likewise.
13698         * math/test-float.c (CHOOSE): Likewise.
13699         * math/test-float-finite.c (CHOOSE): Likewise.
13700         * math/test-double.c (CHOOSE): Likewise.
13701         * math/test-double-finite.c (CHOOSE): Likewise.
13702         * math/test-idouble.c (CHOOSE): Likewise.
13703         * math/test-ifloat.c (CHOOSE): Likewise.
13704         * math/test-ildoubl.c (CHOOSE): Likewise.
13705         * math/test-ldouble-finite.c (CHOOSE): Likewise.
13706         * math/test-ldouble.c (CHOOSE): Likewise.
13708         * math/test-float.h (TEST_FLOAT): Remove.
13709         * math/test-double.h (TEST_DOUBLE): Likewise.
13710         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
13712 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13714         * math/gen-libm-test.pl: (apply_lit): New subroutine.
13715         (parse_args): Strip C suffix from floating point literals
13716         typed with 'f' and wrap them with LIT().
13718         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
13719         (test_ff_f_data_nexttoward): Rename to
13720         (test_fj_f_data): New struct.
13721         (nexttoward_test_data): Relabel tests as
13722         TEST_fj_f instead of TEST_ff_f.
13724 2016-06-08  Florian Weimer  <fweimer@redhat.com>
13726         Emacs bug 23726.
13727         * malloc/malloc.c (dumped_main_arena_start): Update comment.
13728         (__libc_realloc): Correct size computation for dumped fake mmapped
13729         chunks.
13731 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
13733         [BZ #20219]
13734         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
13735         to itself.
13736         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
13738         [BZ #20218]
13739         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
13740         to itself.
13741         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
13743 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
13745         [BZ #20195]
13746         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
13747         check to ...
13748         (init_cpu_features): Here.
13750 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
13752         [BZ #20214]
13753         * sysdeps/unix/sysv/linux/bits/in.h
13754         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
13755          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
13756         Define to 1.
13757         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
13758          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
13759         Define to 0.
13760         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
13761         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
13763 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
13765         [BZ #20198]
13766         * stdlib/Makefile (tests): Add tst-quick_exit, and
13767         tst-thread-quick_exit.
13768         [ifeq ($(have-cxx-thread_local),yes)]
13769         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
13770         (CFLAGS-tst-thread-quick_exit.o): Likewise.
13771         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
13772         (LDLIBS-tst-thread-quick_exit): Likewise.
13773         [ifneq ($(have-cxx-thread_local),yes)]
13774         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
13775         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
13776         If run_dtors is true call __call_tls_dtors.
13777         (exit): Call __run_exit_handlers with run_dtors set to true.
13778         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
13779         definition.
13780         * stdlib/quick_exit.c (quick_exit): Remove function.
13781         (__new_quick_exit): New function.
13782         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
13783         function.
13784         * stdlib/tst-quick_exit.cc: New file.
13785         * stdlib/tst-thread-quick_exit.cc: New file.
13786         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
13787         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
13788         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
13789         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
13790         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
13791         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
13792         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
13793         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
13794         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
13795         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
13796         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
13797         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
13798         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
13799         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
13800         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
13801         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
13802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
13803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
13804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
13805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
13806         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
13807         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
13808         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
13809         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
13810         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
13811         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
13812         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
13813         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
13814         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
13815         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
13817 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
13819         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
13820         a typo in comments.
13822 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
13824         [BZ #20213]
13825         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
13826         argument to itself.
13827         * math/libm-test.inc (asin_test_data): Add sNaN tests.
13829 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13831         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
13832         required flags.
13833         (CFLAGS-pwritev64.c): Likewise.
13834         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
13835         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
13836         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
13837         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
13838         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
13839         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
13840         syscall from auto-generation.
13841         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
13842         [WORDSIZE == 64] (pwritev64): Remove macro.
13843         [!PWRITEV] (PWRITEV): Likewise.
13844         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
13845         [!PWRITEV] (PWRITE): Likewise.
13846         [!PWRITEV] (OFF_T): Likewise.
13847         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
13848         (LO_HI_LONG): Remove macro.
13849         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
13850         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
13851         (PWRITEV): Remove macro.
13852         (PWRITEV_REPLACEMENTE): Likewise.
13853         (PWRITE): Likewise.
13854         (OFF_T): Likewise.
13855         (pwritev64): New function.
13856         * nptl/tst-cancel4.c (tf_writev): Add test.
13858         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
13859         required flags.
13860         (CFLAGS-preadv64.c): Likewise.
13861         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
13862         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
13863         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
13864         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
13865         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
13866         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
13867         syscall from auto-generation.
13868         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
13869         [WORDSIZE == 64] (preadv64): Remove macro.
13870         [!PREADV] (PREADV): Likewise.
13871         [!PREADV] (PREADV_REPLACEMENT): Likewise.
13872         [!PREADV] (PREAD): Likewise.
13873         [!PREADV] (OFF_T): Likewise.
13874         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
13875         (LO_HI_LONG): Remove macro.
13876         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
13877         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
13878         (PREADV): Remove macro.
13879         (PREADV_REPLACEMENTE): Likewise.
13880         (PREAD): Likewise.
13881         (OFF_T): Likewise.
13882         (preadv64): New function.
13883         * nptl/tst-cancel4.c (tf_preadv): Add test.
13885 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
13887         [BZ #20212]
13888         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
13889         argument to itself.
13890         * math/libm-test.inc (acos_test_data): Add sNaN tests.
13892 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13894         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
13895         New symbol defined as libc_hidden_def.
13896         (strcasestr): Became a weak alias to __strcasestr.
13897         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
13898         according to multi-arch support.  Move __stpncpy hidden
13899         definition from here to...
13900         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
13901         symbol stpncpy.
13902         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
13903         libc_hidden_builtin_def.
13904         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
13905         memset symbol to use when multi-arch support is available.
13907 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
13909         * dlfcn/tst-rec-dlopen.c: Include string.h.
13911 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
13913         * manual/install.texi: Remove mention of --without-tls
13914         * INSTALL: Regenerate.
13916 2016-06-05  Florian Weimer  <fweimer@redhat.com>
13918         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
13919         Remove.
13920         (call_function, interposed_malloc_called): New variables.
13921         (malloc): New function.
13922         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
13923         and clear call_function as needed.
13925 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
13927         * include/wchar.h (__wmemset): Use __typeof.
13929 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
13931         * include/wchar.h (__wmemset): Declare function without typeof.
13933 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
13935         [BZ #20205]
13936         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
13937         exponent when incrementing negative subnormal with low mantissa
13938         word zero.
13939         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
13940         Add another test.
13942 2016-06-03  Florian Weimer  <fweimer@redhat.com>
13944         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
13945         __wmemset instead of wmemset.
13947 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
13949         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
13950         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
13951         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
13952         __USE_KERNEL_IPV6_DEFS to 0.
13953         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
13954         Update comment.
13956 2016-06-01  Florian Weimer  <fweimer@redhat.com>
13958         [BZ #19861]
13959         Do not use IFUNC resolver with potentially unrelocated symbol.
13960         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
13961         (DEFINE_FORK): Remove macro and inline definition.
13962         (fork_alias): Renamed from fork_ifunc.
13963         (__fork_alias): Renamed from __fork_ifunc.
13965 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
13967         [BZ 19653]
13968         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
13969         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
13971 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13973         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
13974         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
13975         i386-linux-gnu).
13976         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
13977         Set to no.
13978         * sysdeps/mach/hurd/configure: Refresh.
13980 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13982         [BZ #20178]
13983         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
13984         on failure instead of exit.
13986 2016-05-30  Roland McGrath  <roland@hack.frob.com>
13988         [BZ #3629]
13989         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
13990         of POSIX.1-2008.
13992 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13994         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
13995           Use PLT entry for calling _hurd_self_sigstate.
13997 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
13999         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
14000         available logical processors with SMT level type sharing L2
14001         cache for Intel processors.
14003 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
14005         [BZ #20160]
14006         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
14007         argument to itself before returning the result.
14008         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
14009         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
14010         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
14011         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
14012         Likewise.
14013         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
14014         Likewise.
14015         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
14016         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
14017         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
14018         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
14019         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
14020         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
14022         [BZ #20160]
14023         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
14024         argument to itself before returning the result.
14025         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
14026         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
14027         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
14028         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
14029         Likewise.
14030         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
14031         Likewise.
14032         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
14033         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
14034         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
14035         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
14036         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
14037         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
14039 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14041         * libm-test.inc: Replace usage of M_El with
14042         (lit_e): New macro.
14044 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14046         * libm-test.inc: Replace usage of M_PI_4l with
14047         (lit_pi_4_d): New macro.
14049 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14051         * libm-test.inc: Replace usage of M_PIl with
14052         (lit_pi): New macro.
14054 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14056         * libm-test.inc: Replace usage of M_PI2l with
14057         (lit_pi_2_d): New macro.
14059         * math/test-double.h (LITM): New macro.
14060         * math/test-float.h (LITM): Likewise.
14061         * math/test-ldouble.h (LITM): Likewise.
14063 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14065         * libm-test.inc (M_PI_34l): Rename to
14066         (lit_pi_3_m_4_d): New Macro.
14067         (M_PI_34_LOG10El): Rename to
14068         (lit_pi_3_m_4_ln10_m_d): New Macro.
14069         (M_PI2_LOG10El): Rename to
14070         (lit_pi_2_ln10_m_d):  New Macro.
14071         (M_PI4_LOG10El): Rename to
14072         (lit_pi_4_ln10_m_d):  New Macro.
14073         (M_PI_LOG10El): Rename to
14074         (lit_pi_ln10_d):  New Macro.
14076 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
14078         [BZ #20157]
14079         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
14080         determine whether to negate low half if [_ARCH_PPCGR], and integer
14081         comparison otherwise.
14082         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
14083         determine whether to negate low half.
14085         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
14086         (NO_TEST_INLINE_DOUBLE): Likewise.
14087         (TEST_COND_x86_64): Likewise.
14088         (TEST_COND_x86): Likewise.
14089         (M_PI_6l): Likewise.
14091 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14093         * math/libm-test.inc:
14094         (TEST_FLOAT): Change usage to TEST_COND_binary32.
14095         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
14096         (TEST_LDOUBLE): Update usage to evaluate as true if
14097         the guarded tests match the property being tested.
14098         (LDBL_MAX_EXP): Change to MAX_EXP.
14099         (LDBL_MIN_EXP): Change to MIN_EXP.
14100         (LDBL_MANT_DIG): Change to MANT_DIG, except for
14101         nexttoward tests.
14103 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14105         * math/libm-test.inc:
14106         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
14107         (TYPE_MIN): Likewise.
14108         (TYPE_TRUE_MIN): Likewise.
14109         (TYPE_MAX): Likewise.
14110         (MIN_EXP): Likewise.
14111         (MAX_EXP): Likewise.
14112         (MANT_DIG): Likewise.
14114         (FSTR_MAX): New macro.
14115         (__CONCATX): Likewise.
14116         (QTYPE_STR): Likewise.
14117         (TEST_COND_binary32): Likewise.
14118         (TEST_COND_binary64): Likewise.
14119         (TEST_COND_binary128): Likewise.
14120         (TEST_COND_ibm128): Likewise.
14121         (TEST_COND_intel96): Likewise.
14122         (TEST_COND_m68k96): Likewise.
14124         (TEST_COND_flt_32): Redefine as equivalent format test macro.
14125         (TEST_COND_dbl_64): Likewise.
14126         (TEST_COND_ldbl_96_intel): Likewise.
14127         (TEST_COND_ldbl_96_m68k): Likewise.
14128         (TEST_COND_ldbl_128): Likewise.
14129         (TEST_COND_ldbl_128ibm): Likewise.
14131         (plus_zero): Redefine using LIT macro.
14132         (minus_zero): Likewise.
14133         (plus_infty): Redefine as (INF).
14134         (minux_infty): Redefine as (-INF).
14135         (max_value): Redefine as TYPE_MAX.
14136         (min_value): Redefine as TYPE_MIN.
14137         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
14139         (print_float): Refactor to use snprintf to convert FLOAT values
14140         to string. This brings it closer to dropin replacement of strtof
14141         for the TS 18661 defined types.
14142         (update_stats): Likewise.
14143         (print_complex_function_ulps): Likewise.
14144         (print_max_error): Likewise.
14145         (print_complex_max_error): Likewise.
14146         (check_float_internal): Likewise.
14148         * math/test-float.h (PREFIX): New macro.
14149         (LIT): Likewise.
14150         (TYPE_STR): Likewise.
14151         (FTOSTR): Likewise.
14153         * math/test-double.h (PREFIX): New macro.
14154         (LIT): Likewise.
14155         (TYPE_STR): Likewise.
14156         (FTOSTR): Likewise.
14158         * math/test-ldouble.h (PREFIX): New macro.
14159         (LIT): Likewise.
14160         (TYPE_STR): Likewise.
14161         (FTOSTR): Likewise.
14163 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
14165         [BZ #20156]
14166         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
14167         to itself when zero or not finite.
14168         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
14169         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14170         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
14171         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
14173 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
14175         [BZ #20153]
14176         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
14177         x * x + x for infinities and NaNs.
14179         [BZ #20151]
14180         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
14181         argument to itself before returning result.
14182         (__ieee754_y0l): Likewise.
14183         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
14184         (__ieee754_y1l).
14186         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
14187         (atan_test_data): Likewise.
14188         (ceil_test_data): Likewise.
14189         (cos_test_data): Likewise.
14190         (cosh_test_data): Likewise.
14191         (erf_test_data): Likewise.
14192         (exp2_test_data): Likewise.
14193         (fabs_test_data): Likewise.
14194         (floor_test_data): Likewise.
14195         (ilogb_test_data): Likewise.
14196         (j0_test_data): Likewise.
14197         (j1_test_data): Likewise.
14198         (jn_test_data): Likewise.
14199         (lgamma_test_data): Likewise.
14200         (lrint_test_data): Likewise.
14201         (llrint_test_data): Likewise.
14202         (logb_test_data): Likewise.
14203         (lround_test_data): Likewise.
14204         (llround_test_data): Likewise.
14205         (nearbyint_test_data): Likewise.
14206         (rint_test_data): Likewise.
14207         (round_test_data): Likewise.
14208         (sin_test_data): Likewise.
14209         (sincos_test_data): Likewise.
14210         (sinh_test_data): Likewise.
14211         (sqrt_test_data): Likewise.
14212         (tan_test_data): Likewise.
14213         (tanh_test_data): Likewise.
14214         (tgamma_test_data): Likewise.
14215         (trunc_test_data): Likewise.
14216         (y0_test_data): Likewise.
14217         (y1_test_data): Likewise.
14218         (yn_test_data): Likewise.
14220         * math/libm-test.inc: Update comment about NaN testing.
14221         (TEST_SNAN): New macro.
14222         (snan_value): Likewise.
14223         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
14224         (fpclassify_test_data): Add sNaN tests.
14225         (isfinite_test_data): Likewise.
14226         (isinf_test_data): Likewise.
14227         (isnan_test_data): Likewise.
14228         (isnormal_test_data): Likewise.
14229         (issignaling_test_data): Likewise.
14230         (signbit_test_data): Likewise.
14231         * math/gen-libm-test.pl (%beautify): Add snan_value.
14232         (show_exceptions): Add argument $test_snan.
14233         (parse_args): Handle snan_value as non-finite.  Update call to
14234         show_exceptions.
14235         * math/Makefile (libm-test-no-inline-cflags): Add
14236         -fsignaling-nans.
14238 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14240         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
14241         (CFLAGS-oldsendmsg.c): Add rule.
14242         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
14243         Correct recvmsg symbol name.
14244         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
14245         Likewise.
14247 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14249         * sysdeps/unix/sysv/linux/Makefile
14250         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
14251         oldsendmmsg.
14252         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
14253         sendmmsg.
14254         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14255         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14256         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14257         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14259         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14260         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14261         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
14262         Likewise.
14263         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14264         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
14265         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
14266         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
14267         iovlen and controllen fields to adjust to POSIX specification.
14268         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
14270         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
14271         and change to correct expected type.
14272         (msghdr.msg_controllen): Likewise.
14273         (cmsghdr.cmsg_len): Likewise.
14274         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
14275         expected POSIX assumption about the size.
14276         (msghdr.msg_controllen): Likewise.
14277         (msghdr.__glibc_reserved1): Likewise.
14278         (msghdr.__glibc_reserved2): Likewise.
14279         (cmsghdr.cmsg_len): Likewise.
14280         (cmsghdr.__glibc_reserved1): Likewise.
14281         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
14282         Add ptw-oldrecvmsg and ptw-oldsendmsg.
14283         (CFLAGS-sendmsg.c): Remove rule.
14284         (CFLAGS-recvmsg.c): Likewise.
14285         (CFLAGS-oldsendmsg.c): Add rule.
14286         (CFLAGS-oldrecvmsg.c): Likewise.
14287         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
14288         recvmsg and sendmsg.
14289         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
14290         Likewise.
14291         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
14292         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
14293         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
14294         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
14295         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
14296         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
14297         Likewise.
14298         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
14299         Likewise.
14300         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
14301         Likewise.
14302         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
14303         Likewise.
14304         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
14305         Likewise.
14306         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
14307         Likewise.
14308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
14309         (GLIBC_2.24): Likewise.
14310         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
14311         Likewise.
14312         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
14313         Likewise.
14314         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
14315         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
14316         Likewise.
14317         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
14318         Likewise.
14319         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
14320         Likewise.
14321         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
14322         (GLIBC_2.24): Likewise.
14323         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
14324         Likewise.
14325         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
14326         Likewise.
14327         * sysdeps/unix/sysv/linux/Makefile
14328         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
14329         (CFLAGS-sendmsg.c): Add rule.
14330         (CFLAGS-recvmsg.c): Likewise.
14331         (CFLAGS-oldsendmsg.c): Likewise.
14332         (CFLAGS-oldrecvmsg.c): Likewise.
14333         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
14334         initialization.
14335         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
14336         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
14337         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
14338         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
14339         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
14340         iovlen and controllen fields to adjust to POSIX specification.
14341         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
14342         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
14343         added recvmsg and sendmsg.
14344         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14345         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14346         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14347         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14348         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14349         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14350         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14351         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14352         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14353         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14354         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14355         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
14356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
14357         Likewise.
14358         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
14359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14360         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14361         Likewise.
14362         Likewise.
14363         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14364         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14365         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14366         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14367         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14368         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14369         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
14370         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
14371         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
14372         Likewise.
14373         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14374         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14376         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
14377         from auto-generation.
14378         (sendmsg): Likewise.
14379         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
14380         (sendmsg): Likewise.
14381         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
14382         (sendmsg): Likewise.
14383         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
14384         (sendmsg): Likewise.
14385         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
14386         (sendmsg): Likewise.
14387         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
14388         (sendmsg): Likewise.
14389         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
14390         Likewise.
14391         (sendmsg): Likewise.
14392         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
14393         (sendmsg): Likewise.
14394         * sysdeps/unix/sysv/linux/i386/kernel-features.h
14395         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14396         Remove.
14397         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14398         Likewise.
14399         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14400         Undefine.
14401         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14402         Likewise.
14403         * sysdeps/unix/sysv/linux/kernel-features.h
14404         (__ASSUME_SENDMSG_SYSCALL): Define.
14405         (__ASSUME_RECVMSG_SYSCALL): Likewise.
14406         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14407         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14408         Remove.
14409         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14410         Likewise.
14411         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14412         Undefine.
14413         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14414         Likewise.
14415         * sysdeps/unix/sysv/linux/s390/kernel-features.h
14416         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14417         Remove.
14418         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14419         Likewise.
14420         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14421         Undefine.
14422         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14423         Likewise.
14424         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14425         (__ASSUME_SENDMSG_SYSCALL): Undefine.
14426         (__ASSUME_RECVMSG_SYSCALL): Likewise.
14427         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14428         (__ASSUME_SENDMSG_SYSCALL): Likewise.
14429         (__ASSUME_RECVMSG_SYSCALL): Likewise.
14430         * sysdeps/unix/sysv/linux/sh/kernel-features.h
14431         (__ASSUME_SENDMSG_SYSCALL): Likewise.
14432         (__ASSUME_RECVMSG_SYSCALL): Likewise.
14434 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14436         * stdlib/gen-tst-strtod-round.c: Add backslash to
14437         compile command in comment.
14438         (printfp): Remove the literal suffix, and define an infinite
14439         value as INF to avoid expansion clash with INFINITY.
14440         (round_str): Remove the literal suffix.
14441         (round_for_all): Likewise, remove the now duplicate ldbl-64
14442         entry, and remove some magic constants.
14444         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
14445         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
14446         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
14447         (_CONCAT): New macro.
14448         (CONCAT): Likewise.
14449         (CHOOSE_ld): Likewise.
14450         (CHOOSE_f): Likewise.
14451         (CHOOSE_d): Likewise.
14452         (FTYPE_MEMBER): Likewise.
14453         (BOOL_MEMBER): Likewise.
14454         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
14455         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
14456         (_XNTRY): Likewise.
14457         (XNTRY): Likewise.
14458         (_ENTRY): Likewise.
14459         (ENTRY): Likewise.
14460         (test_exactness): Generate members via macro.
14461         (test_results): Likewise.
14462         (test): Update members.
14463         (TEST): Redefine using new macros.
14464         (INF): New macro.
14465         (fetestmodes): New structure.
14466         (do_test): Refactor to be type generic.
14467         (test_in_one_mode): Refactor duplicate code into
14468         (GEN_ONE_TEST): New macro.
14470         * stdlib/tst-strtod-round-data.h: Regenerate.
14472         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
14473         Extend to pass additional arbitrary parameters to
14474         generators.
14476 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
14478         [BZ #15479]
14479         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
14480         floating-point state after first floating-point operation on
14481         input.  Restore full floating-point state instead of just rounding
14482         mode.
14483         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
14484         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
14485         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
14486         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
14487         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
14489         [BZ #15479]
14490         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
14491         floating-point state after first floating-point operation on
14492         input.  Restore full floating-point state instead of just rounding
14493         mode.
14494         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
14495         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
14496         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
14497         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
14498         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
14500 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14502         [BZ #19727]
14503         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
14504         valid high surrogate.
14505         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
14506         of an utf16 surrogate.
14507         * iconv/gconv_simple.c (BODY): Likewise.
14508         * iconvdata/bug-iconv12.c: New file.
14509         * iconvdata/Makefile (tests): Add bug-iconv12.
14511 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14513         [BZ #19726]
14514         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
14515         outptrp in case of an illegal input.
14516         * iconv/tst-iconv6.c: New file.
14517         * iconv/Makefile (tests): Add tst-iconv6.
14519 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14521         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
14522         an error in case of a value in range of an utf16 low surrogate.
14524 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14526         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
14527         an error in case of a value in range of an utf16 low surrogate.
14529 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14531         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
14532         Move to ...
14533         * sysdeps/s390/Makefile: ... here.
14534         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
14535         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
14536         (BRANCH_ON_COUNT): New define.
14537         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
14538         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
14539         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
14540         run on s390-32, too.
14541         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
14542         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
14543         run on s390-32, too.
14544         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
14545         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
14546         run on s390-32, too.
14548 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14550         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
14551         etf3eh or new vector loop-variant.
14553 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14555         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
14556         etf3eh or new vector loop-variant.
14558 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14560         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
14561         or new vector loop-variant.
14563 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14565         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
14566         Rename to TR_LOOP and usage of tr instead of troo instruction.
14568 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14570         * sysdeps/s390/multiarch/gconv_simple.c: New File.
14571         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
14573 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14575         * sysdeps/s390/multiarch/8bit-generic.c: New File.
14576         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
14577         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
14578         New override define.
14579         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
14581 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14583         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
14584         * sysdeps/s390/configure.ac: Add test for S390 vector register
14585         support in gcc.
14586         * sysdeps/s390/configure: Regenerated.
14588 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14590         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
14591         Install file from $(objpfx)gconv-modules.
14592         ($(objpfx)gconv-modules): Concatenate architecture specific file
14593         in variable sysdeps-gconv-modules and gconv-modules in src dir.
14594         * sysdeps/s390/gconv-modules: New file.
14595         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
14596         Deleted.
14597         ($(objpfx)gconv-modules-s390): Deleted.
14598         (sysdeps-gconv-modules): New variable.
14600 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
14602         [BZ #15479]
14603         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
14604         of immediate operand to rounding instruction.
14605         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
14606         Likewise.
14607         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
14608         Likewise.
14609         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
14610         Likewise.
14612 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14614         * math/libm-test.inc (MIN_EXP): Directly define as
14615         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
14617 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14619         * math/libm-test.inc (MANT_DIG): Directly define as
14620         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
14622 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14624         * stdlib/gen-tst-strtod-round.c (main):
14625           Change usage to more closely match the generated
14626           output.  Add usage and compilation instructions.
14627           (string_to_fp): Add and use FILE* parameter as
14628           output target.
14629           (print_fp): Likewise.
14630           (round_str): Likewise.
14631           (round_for_all): Likewise.
14632         * stdlib/tst-strtod-round.c (tests): Move into
14633         * stdlib/tst-strtod-round-data.h: New file.
14635 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
14637         [BZ #15479]
14638         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
14639         (__round): Do not force "inexact" exception.
14640         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
14641         variable.
14642         (__round): Do not force "inexact" exception.
14643         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
14644         (__roundf): Do not force "inexact" exception.
14645         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
14646         (__roundl): Do not force "inexact" exception.
14647         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
14648         (__roundl): Do not force "inexact" exception.
14649         * math/libm-test.inc (round_test_data): Do not allow spurious
14650         "inexact" exceptions.
14652         [BZ #15479]
14653         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
14654         exception in comment.
14655         (huge): Remove variable.
14656         (__floor): Do not force "inexact" exception.
14657         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
14658         "inexact" exception in comment.
14659         (huge): Remove variable.
14660         (__floor): Do not force "inexact" exception.
14661         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
14662         exception in comment.
14663         (huge): Remove variable.
14664         (__floorf): Do not force "inexact" exception.
14665         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
14666         exception in comment.
14667         (huge): Remove variable.
14668         (__floorl): Do not force "inexact" exception.
14670         [BZ #15479]
14671         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
14672         exception in comment.
14673         (huge): Remove variable.
14674         (__ceil): Do not force "inexact" exception.
14675         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
14676         "inexact" exception in comment.
14677         (huge): Remove variable.
14678         (__ceil): Do not force "inexact" exception.
14679         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
14680         (__ceilf): Do not force "inexact" exception.
14681         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
14682         exception in comment.
14683         (huge): Remove variable.
14684         (__ceill): Do not force "inexact" exception.
14686 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
14688         * config.h.in (BIND_NOW): New.
14689         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
14690         * configure: Regenerated.
14691         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
14692         indirect branch via the GOT slot.
14694 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14696         [BZ #19765]
14697         * sysdeps/s390/mempcpy.S: New File.
14698         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
14699         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
14700         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14701         Add mempcpy variants.
14702         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
14703         (memcpy): Adjust to be usable from mempcpy entry point.
14704         (__memcpy_mvcle): Likewise.
14705         * sysdeps/s390/s390-64/memcpy.S: Likewise.
14706         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
14707         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
14708         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
14709         (__memcpy_z10): Likewise.
14710         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
14712 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14714         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
14715         Remove __GI_ symbol.
14716         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
14717         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
14718         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
14719         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
14720         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
14721         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
14723 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14725         * sysdeps/s390/s390-64/memcpy.S (memcpy):
14726         Use cghi instead of chi to compare 64bit value.
14728 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14730         * sysdeps/s390/s390-32/memcpy.S (memcpy):
14731         Jump to 1MB check before executing mvc-loop.
14733 2016-05-24  Florian Weimer  <fweimer@redhat.com>
14735         [BZ #6527]
14736         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
14737         unconditionally.
14738         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
14740 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14742         * stdlib/tst-strtod6.c (do_test): Use new type generic
14743         invocation of the test function.
14744         (test): Refactor into ...
14745         (TEST_STRTOD): New macro base function.
14747 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14749         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
14750         (TEST_STRTOD): New macro.
14751         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
14753 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14755         * stdlib/tst-strtod6.c (do_test): Use new type generic
14756         invocation of the test function.
14757         (test): Refactor into ...
14758         (TEST_STRTOD): New macro base function.
14760 2016-05-23  Florian Weimer  <fweimer@redhat.com>
14762         CVE-2016-4429
14763         [BZ #20112]
14764         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
14765         payload.
14767 2016-05-23  Florian Weimer  <fweimer@redhat.com>
14769         [BZ #20111]
14770         * bits/sockaddr.h (_SS_SIZE): Define.
14771         * bits/socket.h (_SS_SIZE): Remove.
14772         (_SS_PADSIZE): Adjust to account for all padding.
14773         (struct sockaddr_storage): Update comment.  Avoid implicit
14774         padding.
14775         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
14776         (_SS_PADSIZE): Adjust to account for all padding.
14777         (struct sockaddr_storage): Update comment.  Avoid implicit
14778         padding.
14779         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
14780         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
14781         (_SS_PADSIZE): Adjust to account for all padding.
14782         (struct sockaddr_storage): Update comment.  Avoid implicit
14783         padding.
14784         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
14785         __SS_SIZE is 126 in this version.
14786         * inet/tst-sockaddr.c: New file.
14787         * inet/Makefile (tests): Add tst-sockaddr.c
14788         (tst-sockaddr.c): Compile with non-strict aliasing.
14790 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
14792         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
14793         [XPG3 || XPG4].
14794         (NL_ARGMAX): Also expect for [XPG3].
14795         (NL_LANGMAX): Likewise.
14796         (NL_MSGMAX): Likewise.
14797         (NL_NMAX): Likewise.
14798         (NL_SETMAX): Likewise.
14799         (NL_TEXTMAX): Likewise.
14800         (NZERO): Likewise.
14801         (TMP_MAX): Likewise.
14802         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
14803         variable.
14805         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
14806         (PF_MAX): Update value.
14807         (AF_KCM): New macro.
14808         (SOL_NETBEUI): Likewise.
14809         (SOL_LLC): Likewise.
14810         (SOL_DCCP): Likewise.
14811         (SOL_NETLINK): Likewise.
14812         (SOL_TIPC): Likewise.
14813         (SOL_RXRPC): Likewise.
14814         (SOL_PPPOL2TP): Likewise.
14815         (SOL_BLUETOOTH): Likewise.
14816         (SOL_PNPIPE): Likewise.
14817         (SOL_RDS): Likewise.
14818         (SOL_IUCV): Likewise.
14819         (SOL_CAIF): Likewise.
14820         (SOL_ALG): Likewise.
14821         (SOL_NFC): Likewise.
14822         (SOL_KCM): Likewise.
14823         (MSG_BATCH): New enum value and macro.
14825 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
14827         [BZ #18185]
14828         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
14829         sharing L2 cache to 2 for Knights Landing.
14831 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
14833         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
14834         (FTW_DP): Do not expect for [XPG3 || XPG4].
14835         (FTW_SL): Do not expect for [XPG3].
14836         (FTW_SLN): Likewise.
14837         (FTW_PHYS): Likewise.
14838         (FTW_MOUNT): Likewise.
14839         (FTW_DEPTH): Likewise.
14840         (FTW_CHDIR): Likewise.
14841         (nftw): Likewise.
14842         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
14843         variable.
14845 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
14847         * manual/errno.texi: Fix various typos & grammar errors.
14849 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
14851         * manual/intro.texi: Fix duplicated typo.
14853 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
14855         [BZ #13304]
14856         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
14857         <float.h>, <math_private.h> and <stdlib.h>.
14858         (add_split): New function.
14859         (mul_split): Likewise.
14860         (ext_val): New typedef.
14861         (store_ext_val): New function.
14862         (mul_ext_val): New function.
14863         (compare): New function.
14864         (add_split_ext): New function.
14865         (__fmal): After checking for Inf, NaN and zero, compute result as
14866         an exact sum of scaled double values in round-to-nearest before
14867         adding those up and adjusting for other rounding modes.
14868         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
14869         tests of fma.
14870         * math/auto-libm-test-out: Regenerated.
14872 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
14874         [BZ #20119]
14875         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
14876         processor level type mask for CPUID with EAX == 11.
14878 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
14880         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
14881         logical threads if the HTT bit is 0.
14882         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
14883         (index_cpu_HTT): Likewise.
14884         (reg_HTT): Likewise.
14886 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
14888         [BZ #20115]
14889         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
14890         Remove alignments on jump targets.
14892 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
14894         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
14895         (getpwent): Likewise.
14896         (setpwent): Likewise.
14897         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
14898         variable.
14900         * conform/data/search.h-data (insque): Do not expect for [XPG3].
14901         (remque): Likewise.
14902         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
14903         variable.
14905 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
14907         * math/libm-test.inc: Update comment not to refer to signs of NaNs
14908         not being tested.
14910 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
14912         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
14913         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
14914         call.
14915         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
14916         (__condvar_cleanup1): Likewise.
14918 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
14920         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
14921         New
14922         (__pthread_unwind): Renamed to ...
14923         (PTHREAD_UNWIND): This.
14924         (__pthread_enable_asynccancel): Replace
14925         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
14927 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
14929         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
14930         (CLONE_NEWCGROUP): New macro.
14932         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
14933         (Q_GETNEXTQUOTA): New macro.
14935 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
14937         [BZ #19907]
14938         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
14939         buffer updated by the previous run.
14940         * string/test-memcpy.c (do_one_test): Likewise.
14941         * benchtests/bench-memmove.c (do_one_test): Add a comment.
14942         * string/test-memmove.c (do_one_test): Likewise.
14944 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
14946         [BZ #20094]
14947         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
14948         not [__USE_XOPEN].
14949         (unlockpt): Likewise.
14950         (ptsname): Likewise.
14951         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
14952         variable.
14954         [BZ #20076]
14955         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
14956         instead of [__USE_UNIX98].
14957         (S_ISSOCK): Likewise.
14958         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
14959         variable.
14961         [BZ #20074]
14962         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
14963         [__USE_POSIX].
14964         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
14965         variable.
14967         [BZ #20051]
14968         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
14969         (ttyslot): Do not declare.
14970         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
14971         (ttyslot): New prototype.
14972         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
14973         variable.
14974         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
14976 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
14978         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
14980 2016-05-13  Florian Weimer  <fweimer@redhat.com>
14982         Fix race condition in tst-mallocfork2, use fewer resources.
14983         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
14984         to current process group.
14985         (signal_sender): Yield in the non-sleeping case.
14987 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
14989         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
14990         (ecvt): Likewise.
14991         (fcvt): Likewise.
14992         (gcvt): Likewise.
14993         (getsubopt): Likewise.
14994         (grantpt): Likewise.
14995         (initstate): Likewise.
14996         (l64a): Likewise.
14997         (mktemp): Likewise.
14998         (mkstemp): Likewise.
14999         (ptsname): Likewise.
15000         (random): Likewise.
15001         (realpath): Likewise.
15002         (setstate): Likewise.
15003         (srandom): Likewise.
15004         (ttyslot): Likewise.
15005         (unlockpt): Likewise.
15006         (valloc): Likewise.
15008         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
15009         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
15010         variable.
15012 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
15014         [BZ #20072]
15015         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
15016         init_cpu_features only if SHARED is defined.
15017         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
15019 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
15021         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
15022         non-inclusive caches on Intel processors.
15024 2016-05-13  Florian Weimer  <fweimer@redhat.com>
15026         * malloc/malloc.c (dumped_main_arena_start)
15027         (dumped_main_arena_end): New variables.
15028         (DUMPED_MAIN_ARENA_CHUNK): New macro.
15029         (do_check_chunk): Skip dumped fake mmapped chunks.
15030         (munmap_chunk): Likewise.
15031         (__libc_free): Do not adjust statistics for fake mmapped chunks.
15032         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
15033         mmapped chunks.
15034         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
15035         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
15036         and dumped_main_arena_end to cover the dumped heap.
15038 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
15040         * conform/data/time.h-data (getdate_err): Do not expect for
15041         [XPG3].
15042         (getdate): Likewise.
15043         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
15044         variable.
15046         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
15047         (F_ULOCK): Likewise.
15048         (F_TEST): Likewise.
15049         (F_TLOCK): Likewise.
15050         (useconds_t): Likewise.
15051         (intptr_t): Do not expect for [XPG3] or [XPG4].
15052         (brk): Do not expect for [XPG3]
15053         (fchown): Likewise.
15054         (fchdir): Likewise.
15055         (ftruncate): Likewise.
15056         (getdtablesize): Likewise.
15057         (gethostid): Likewise.
15058         (getpagesize): Likewise.
15059         (getpgid): Likewise.
15060         (getsid): Likewise.
15061         (getwd): Likewise.
15062         (lchown): Likewise.
15063         (lockf): Likewise.
15064         (readlink): Likewise.
15065         (sbrk): Likewise.
15066         (setpgrp): Likewise.
15067         (setregid): Likewise.
15068         (setreuid): Likewise.
15069         (symlink): Likewise.
15070         (sync): Likewise.
15071         (truncate): Likewise.
15072         (ualarm): Likewise.
15073         (usleep): Likewise.
15074         (vfork): Likewise.
15075         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
15076         variable.
15078         [BZ #20054]
15079         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
15080         not [__USE_UNIX98].
15081         * conform/data/unistd.h-data (gethostname): Do not expect for
15082         [XPG3].
15084         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
15085         [!POSIX] (S_IFBLK): Likewise.
15086         [!POSIX] (S_IFCHR): Likewise.
15087         [!POSIX] (S_IFIFO): Likewise.
15088         [!POSIX] (S_IFREG): Likewise.
15089         [!POSIX] (S_IFDIR): Likewise.
15090         [!POSIX] (S_IFLNK): Likewise.
15091         [!POSIX] (S_IFSOCK): Likewise.
15092         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
15093         variable.
15094         (test-xfail-XPG4/fcntl.h/conform): Likewise.
15096 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
15098         * sysdeps/aarch64/memset.S (__memset):
15099         Rewrite of optimized memset.
15101 2016-05-12  Florian Weimer  <fweimer@redhat.com>
15103         [BZ #19703]
15104         Partially async-signal-safe fork for single-threaded processes.
15105         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
15106         variable.  Do not acquire and reset/release malloc and libio locks
15107         in single-threaded processes.
15108         * malloc/tst-mallocfork2.c: New file.
15109         * malloc/Makefile (tests): Add it.
15111 2016-05-12  Florian Weimer  <fweimer@redhat.com>
15113         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
15114         argument.  Use scratch buffer instead of extend_alloca.
15115         (gethosts): Use scratch buffer instead of extend_alloca.
15116         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
15117         extend_alloca.
15118         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
15120 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
15122         [BZ #20055]
15123         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
15124         instead of [__USE_UNIX98].
15125         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
15126         [__USE_UNIX98].
15127         * conform/data/termios.h-data (tcgetsid): Do not expect for
15128         [XPG3].
15129         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
15130         variable.
15131         (test-xfail-XPG4/termios.h/conform): Likewise.
15133 2016-05-11  Florian Weimer  <fweimer@redhat.com>
15135         Do not use mcheck in localedef.
15136         * locale/programs/localedef.c (turn_on_mcheck)
15137         (__malloc_initialize_hook): Remove.
15139 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15141         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
15142         * sysdeps/s390/s390-64/Makefile: Likewise.
15144 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
15146         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
15147         Remove ifunc-defines.sym.
15148         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
15149         Likewise.
15150         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
15151         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
15152         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
15153         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
15154         rtld-global-offsets.sym.
15155         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
15156         * sysdeps/x86/cpu-features-offsets.sym: This.
15157         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
15158         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
15160 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
15162         [BZ #20073]
15163         * io/sys/stat.h (fchmod): Declare for
15164         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
15165         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
15166         variable.
15168         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
15169         [XPG3] (S_IFSOCK): Likewise.
15170         [XPG3] (S_ISVTX): Likewise.
15171         [XPG3] (S_ISLNK): Likewise.
15172         [XPG3] (S_ISSOCK): Likewise.
15173         [XPG3] (fchmod): Likewise.
15174         [XPG3] (lstat): Likewise.
15175         [XPG3] (mknod): Likewise.
15177         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
15178         [XPG3].  Expect type long and XFAIL for [XPG4].
15179         (st_blocks): Likewise.
15181         [BZ #20044]
15182         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
15183         (pthread_atfork): New prototype.
15184         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
15185         variable.
15187         [BZ #20043]
15188         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
15189         prototype.
15191 2016-05-10  Florian Weimer  <fweimer@redhat.com>
15193         [BZ #20017]
15194         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
15195         gmtime.
15197 2016-05-10  Florian Weimer  <fweimer@redhat.com>
15199         [BZ #19994]
15200         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
15201         flag in _res.options.
15203 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
15205         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
15206         [XPG3 || XPG4].
15207         (blksize_t): Likewise.
15208         (clockid_t): Likewise.
15209         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
15210         variable.
15211         (test-xfail-XPG4/sys/types.h/conform): Likewise.
15213 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
15215         * sysdeps/unix/sysv/linux/s390/init-first.c:
15216         Add VDSO_SYMBOL(getcpu).
15217         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
15218         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
15219         Add VDSO_SYMBOL(getcpu).
15220         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
15221         New define HAVE_GETCPU_VSYSCALL.
15222         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15224 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
15226         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
15227         instead of <sysdeps/x86_64/cacheinfo.c>.
15228         * sysdeps/x86_64/cacheinfo.c: Moved to ...
15229         * sysdeps/x86/cacheinfo.c: Here.
15231 2016-05-04  Florian Weimer  <fweimer@redhat.com>
15233         * malloc/malloc-internal.h: Adjust header file guard.
15235 2016-05-04  Florian Weimer  <fweimer@redhat.com>
15237         [BZ #19787]
15238         * inet/getnameinfo.c (check_sprintf_result): New function.
15239         (CHECKED_SNPRINTF): New macro.
15240         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
15241         to the host buffer.
15242         (gni_host_local): Use checked_copy to copy the host name.
15243         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
15244         (gni_serv_local): Use checked_copy to copy the service name.
15245         (getnameinfo): Remove unnecessary truncation of result buffers.
15247 2016-05-04  Florian Weimer  <fweimer@redhat.com>
15249         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
15250         in case of inet_ntop failure.
15252 2016-05-04  Florian Weimer  <fweimer@redhat.com>
15254         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
15255         avoid long lines.
15256         (gni_host_inet_numeric): Likewise.  Reduce scope of local
15257         variables.
15258         (gni_host_inet, gni_host_local): Add comment.
15259         (gni_host): Add comment.  Use temporary to avoid long lines.
15261 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15263         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
15264         registers specifiers where general purpose registers specifiers should
15265         have been used.
15267 2016-05-04  Florian Weimer  <fweimer@redhat.com>
15269         [BZ #19779]
15270         CVE-2016-1234
15271         Avoid copying names of directory entries.
15272         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
15273         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
15274         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
15275         (struct readdir_result): New type.
15276         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
15277         (GL_READDIR): New macros.
15278         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
15279         (convert_dirent, convert_dirent64): New functions.
15280         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
15281         convert_dirent64.  Adjust references to the readdir result.
15282         * sysdeps/unix/sysv/linux/i386/glob64.c:
15283         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
15284         * posix/bug-glob2.c (LONG_NAME): Define.
15285         (filesystem): Add LONG_NAME.
15286         (my_DIR): Increase the size of room_for_dirent.
15288 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
15290         [BZ #20041]
15291         * misc/sys/select.h (__need_timespec): Only define if
15292         [__USE_XOPEN2K].
15293         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
15294         variable.
15295         (test-xfail-XPG4/utmpx.h/conform): Likewise.
15296         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
15297         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
15299 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15300             Segher Boessenkool  <segher@gcc.gnu.org>
15302         [BZ #20004]
15303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
15304         (__novec_swapcontext): Add missing load.
15306 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
15308         [BZ #20023]
15309         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
15310         <time.h>.
15311         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
15312         variable.
15313         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
15315 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
15318         flags CLONE_VM compare.
15320 2016-05-02  Florian Weimer  <fweimer@redhat.com>
15322         [BZ #20031]
15323         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
15324         completely empty.
15326 2016-05-02  Florian Weimer  <fweimer@redhat.com>
15328         [BZ #19573]
15329         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
15330         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
15331         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
15332         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
15333         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
15334         (hesiod_free_list): Mark as hidden.
15335         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
15336         res_set, res_get.
15337         * hesiod/hesiod.c: Remove unnecessary forward declarations.
15338         (init, __hesiod_res_get, __hesiod_res_set): Remove.
15339         (hesiod_init): Remove obsolete res_ninit call.
15340         (hesiod_end): Do not free resolver state.  Do not invoke callback.
15341         (hesiod_bind): Do not call init.
15342         (get_txt_records): Use res_mkquery, res_send instead of
15343         res_nmkquery, res_nsend.
15344         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
15345         instead of _nss_hesiod_init.
15346         (_nss_hesiod_initgroups_dyn): Likewise.
15347         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
15348         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
15349         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
15351 2016-05-02  Florian Weimer  <fweimer@redhat.com>
15353         * hesiod/hesiod_p.h (DEF_RHS): Remove.
15354         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
15356 2016-05-02  Florian Weimer  <fweimer@redhat.com>
15358         * hesiod/hesiod.h: Remove RCS keyword.
15359         * hesiod/hesiod_p.h: Likewise.
15361         * hesiod/hesiod.c: Likewise.
15363 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
15365         [BZ #12450]
15366         * locale/iso-639.def: Add Samogitian/sgs.
15368 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
15370         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
15372         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
15374 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
15375             Carlos O'Donell  <carlos@redhat.com>
15377         [BZ #19072]
15378         * grp/Makefile (headers): Add grp-merge.h
15379         (routines): Add grp-merge.
15380         * grp/getgrgid_r.c: Include grp-merge.h.
15381         (DEEPCOPY_FN): Define.
15382         (MERGE_FN): Define.
15383         * grp/getgrname_r.c: Include grp-merge.h.
15384         (DEEPCOPY_FN): Define.
15385         (MERGE_FN): Define.
15386         * grp/grp-merge.c: New file.
15387         * grp/grp-merge.h: New file.
15388         * include/grp-merge.h: New file.
15389         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
15390         __copy_grp@GLIBC_PRIVATE.
15391         * manual/nss.texi (Actions in the NSS configuration): Describe
15392         return, continue, and merge.
15393         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
15394         (DEEPCOPY_FN): Define.
15395         (MERGE_FN): Define.
15396         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
15397         (DEEPCOPY_FN): Define.
15398         (MERGE_FN): Define.
15399         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
15400         [!MERGE_FN]: Define __merge_einval.
15401         (CHECK_MERGE): Define.
15402         (REENTRANT_NAME): Process merge if do_merge is true.
15403         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
15404         (__nss_getent_r): Likewise.
15405         * nss/nsswitch.c (nss_parse_service_list): Likewise.
15406         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
15408 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15410         [BZ #20012]
15411         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
15412         length to calculate the buffer to read.
15413         (fmemopen_write): Set the buffer position based on bytes written.
15414         (fmemopen_seek): Return EINVAL for invalid whence modes.
15416         [BZ #19957]
15417         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
15418         tst-getpid2.
15419         (test): Add tst-clone2.
15420         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
15421         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
15422         pid/tid fields for CLONE_VM.
15423         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
15424         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
15425         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
15426         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
15427         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
15428         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
15429         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
15430         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
15431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
15432         Likewise.
15433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15434         Likewise.
15435         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
15436         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
15437         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
15438         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
15439         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
15440         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
15441         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
15442         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
15444 2016-04-29  Florian Weimer  <fweimer@redhat.com>
15446         [BZ #19642]
15447         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
15448         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
15449         (gni_serv_local, gni_serv): New functions extracted from
15450         getnameinfo.
15451         (getnameinfo): Call gni_host and gni_serv to perform the
15452         processing.  Always free scratch buffer.
15454 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15456         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
15457         remaining bytes in the dest string, with zeros.
15459 2016-04-29  Florian Weimer  <fweimer@redhat.com>
15461         [BZ #20010]
15462         CVE-2016-3706
15463         * sysdeps/posix/getaddrinfo.c
15464         (convert_hostent_to_gaih_addrtuple): New function.
15465         (gethosts): Call convert_hostent_to_gaih_addrtuple.
15466         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
15467         AF_INET data.
15469 2016-04-29  Florian Weimer  <fweimer@redhat.com>
15471         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
15472         callback function gl_readdir.
15473         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
15474         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
15475         (glob_in_dir): Remove len.  Use strdup instead of malloc and
15476         memcpy to copy the name.
15477         * manual/pattern.texi (Calling Glob): Document requirements for
15478         implementations of the gl_readdir callback function.
15479         * manual/examples/mkdirent.c: New example.
15480         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
15481         per the manual guidance.
15482         * posix/tst-gnuglob.c (my_readdir): Likewise.
15484 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
15486         [BZ #20014]
15487         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
15488         not [__USE_POSIX].
15489         (getchar_unlocked): Likewise.
15490         (putc_unlocked): Likewise.
15491         (putchar_unlocked): Likewise.
15492         (flockfile): Likewise.
15493         (ftrylockfile): Likewise.
15494         (funlockfile): Likewise.
15495         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
15496         variable.
15497         (test-xfail-XPG4/stdio.h/conform): Likewise.
15499         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
15500         Expect constant.
15501         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
15502         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
15503         variable.
15504         (test-xfail-XPG4/langinfo.h/conform): Likewise.
15505         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
15507         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
15508         [__USE_LARGEFILE64] (off64_t): Likewise.
15509         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
15510         variable.
15512 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15514         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
15516 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15518         * resolv/inet_addr.c: Reindent preprocessor conditionals.
15519         * resolv/res_init.c: Likewise.
15520         * resolv/res_mkquery.c: Likewise.
15522 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15524         * resolv/res_init.c (isascii): Do not define.  Use definition in
15525         <ctype.h>.
15526         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
15527         (LOG_AUTH): Remove.
15528         (SPRINTF): Remove, adjust caller.
15529         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
15531 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15533         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
15534         SUNSECURITY conditional.
15535         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
15537 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15539         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
15540         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
15541         Remove BSD-related preprocessor conditionals.
15542         * conf/portability.h: Remove.
15544 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15546         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
15547         * resolv/res_data.c: Likewise.
15549 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15551         * resolv/res_comp.c: Remove code conditional on __ultrix__.
15552         * resolv/res_data.c: Remove code conditional on ultrix.
15554 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15556         * resolv/res_init.c (RFC1535): Do not define.  Remove
15557         RFC1535 preprocessor conditionals.
15558         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
15559         because there configuration options which make the resolver
15560         behavior different.
15562 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15564         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
15565         RESOLVSORT preprocessor conditionals.
15566         * resolv/nss_dns/dns-host.c: Likewise.
15567         * resolv/res_init.c: Likewise.
15569 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15571         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
15572         is never defined.
15574 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15576         * inet/inet_lnaof.c: Remove SCSS keyword.
15577         * inet/inet_mkadr.c: Likewise.
15578         * inet/inet_net.c: Likewise.
15579         * inet/inet_netof.c: Likewise.
15580         * inet/rcmd.c: Likewise.
15581         * inet/rexec.c: Likewise.
15582         * inet/ruserpass.c: Likewise.
15584 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15586         * resolv/inet_addr.c: Remove _LIBC conditionals.
15587         * resolv/res_data.c: Likewise.
15588         * resolv/res_init.c: Likewise.
15589         * resolv/res_mkquery.c: Likewise.
15590         * resolv/res_libc.c: Update comment.
15591         * resolv/README: Update.
15593 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15595         * resolv/gethnamaddr.c: Remove SCSS keyword.
15596         * resolv/herror.c: Likewise.
15597         * resolv/inet_addr.c: Likewise.
15598         * resolv/inet_net_ntop.c: Likewise.
15599         * resolv/inet_net_pton.c: Likewise.
15600         * resolv/inet_neta.c: Likewise.
15601         * resolv/inet_ntop.c: Likewise.
15602         * resolv/inet_pton.c: Likewise.
15603         * resolv/ns_date.c: Remove RCS keyword.
15604         * resolv/ns_name.c: Likewise.
15605         * resolv/ns_netint.c: Likewise.
15606         * resolv/ns_parse.c: Likewise.
15607         * resolv/ns_print.c: Likewise.
15608         * resolv/ns_samedomain.c: Likewise.
15609         * resolv/ns_ttl.c: Likewise.
15610         * resolv/nsap_addr.c: Likewise.
15611         * resolv/res_comp.c: Remove SCSS and RCS keyword.
15612         * resolv/res_data.c: Remove RCS keyword.
15613         * resolv/res_debug.c: Remove SCSS and RCS keyword.
15614         * resolv/res_init.c: Likewise.
15615         * resolv/res_mkquery.c: Likewise.
15616         * resolv/res_query.c: Likewise.
15617         * resolv/res_send.c: Likewise.
15619 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
15621         * conform/data/stdio.h-data (fdopen): Expect also for
15622         [XPG3 || XPG4].
15624         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
15625         (fseeko): Likewise.
15626         (ftello): Likewise.
15627         (ftrylockfile): Likewise.
15628         (funlockfile): Likewise.
15629         (getc_unlocked): Likewise.
15630         (getchar_unlocked): Likewise.
15631         (putc_unlocked): Likewise.
15632         (putchar_unlocked): Likewise.
15634 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15636         [BZ #19868]
15637         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
15638         DNS packet syntax checks (which were not needed before).  Skip
15639         over non-PTR records.
15641 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15643         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
15644         definition.  Include <stddef.h> instead.
15646 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15648         [BZ #19831]
15649         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
15650         function.
15651         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
15652         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
15654 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15656         [BZ #19862]
15657         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
15658         (getanswer_r): Do not call syslog.
15659         (gaih_getanswer_slice): Likewise.
15660         * resolv/gethnamaddr.c (AskedForGot): Remove.
15661         (getanswer): Do not call syslog.
15662         (gethostbyaddr): Likewise.
15664 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
15666         * conform/data/signal.h-data (union sigval): Expect also if
15667         [XOPEN2K].
15668         (struct sigevent): Likewise.
15669         (SIGEV_NONE): Likewise.
15670         (SIGEV_SIGNAL): Likewise.
15671         (SIGEV_THREAD): Likewise.
15672         (SIGRTMIN): Likewise.
15673         (SIGRTMAX): Likewise.
15674         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
15675         variable.
15676         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
15678 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15680         [BZ #19830]
15681         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
15682         (gaih_getanswer_slice): Likewise.
15683         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
15684         Also check for availability of RR metadata.
15686 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15688         [BZ #19825]
15689         * resolv/res_send.c (send_vc): Remove early *resplen2
15690         initialization.  Set *resplen2 on socket error.  Call
15691         close_and_return_error for other errors.
15693 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
15695         * sysdeps/unix/sysv/linux/netiucv/iucv.h
15696         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
15697         (SCM_IUCV_TRGCLS): New define.
15699 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15701         [BZ #20005]
15702         * libio/fmemopen.c (fmemopen_write): Update internal position after
15703         write.
15704         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
15705         * stdio-common/tst-fmemopen4.c: New file..
15707 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
15709         [BZ #19996]
15710         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
15711         not [__USE_XOPEN2K].
15712         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
15713         variable.
15715         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
15716         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
15717         variable.
15719         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
15720         [__USE_XOPEN2K8].
15721         [__USE_LARGEFILE64] (off64_t): Likewise.
15722         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
15723         variable.
15725 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
15727         [BZ #19989]
15728         * libio/stdio.h (cuserid): Do not declare if
15729         [__USE_XOPEN2K && !__USE_GNU].
15730         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
15731         variable.
15733 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15735         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
15736         (sysdep_routines): Add P8 and PPC64 strcspn targets.
15737         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15738         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
15739         ifunc'ed strcspn.
15740         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
15741         [EALIGN]: Removed.
15742         [END]: Likewise
15743         [STRSPN]: Define instead of the above to control symbol name.
15744         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
15745         New file.
15746         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
15747         Likewise.
15748         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
15749         Likewise.
15750         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
15751         Likewise.
15752         * sysdeps/powerpc/powerpc64/power8/strspn.S:
15753         [INITIAL_MASK]: New macro.
15754         [STRCSPN]: Likewise.
15755         [UPDATE_MASK]: Likewise.
15756         [USE_AS_STRCSPN]: Likewise.
15758 2016-04-25  Florian Weimer  <fweimer@redhat.com>
15760         [BZ #19931]
15761         * stdio-common/tst-vfprintf-width-prec.c: New file.
15762         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
15763         (tests-special): Add tst-vfprintf-width-prec-mem.out.
15764         (generated): Add mtrace-related files.
15765         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
15766         (tst-%-mem.out): New pattern rule, replaces
15767         tst-printf-bz18872-mem.out.
15768         * stdio-common/vfprintf.c (vfprintf): When handling a precision
15769         specifier, deallocate any previously allocated work buffer.
15771 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
15773         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
15774         Add nop before __startcontext, add explaining comments.
15776 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
15778         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
15779         any more. Notably since IPV6_PKTINFO has been reintroduced with a
15780         completely different API.
15782         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
15783         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
15784         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
15785         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
15786         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
15787         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
15788         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
15789         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
15790         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
15791         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
15793 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
15795         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
15797 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
15799         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
15800         when it is the default of 0.
15802 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15804         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
15805         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
15806         (sysdep_routines): Add new strcasestr targets.
15807         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15808         (__libc_ifunc_impl_list): Likewise.
15809         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
15810         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
15811         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
15812         * sysdeps/powerpc/powerpc64/power8/Makefile:
15813         New file to add strcasestr-ppc64 to sysdep_routines.
15814         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
15815         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
15817 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
15819         * benchtests/Makefile (wcsmbs-benchset): Include only for
15820         native builds and runs.
15821         (LOCALES): Likewise.
15822         (bench-build): Build timing-type here instead of the bench
15823         target.  Generate locale only for native builds.
15824         * benchtests/README: Add note for cross-building.
15826         * benchtests/Makefile (bench-clean): Clean up extra-objs.
15828         * benchtests/README: Update README to include instructions on
15829         using bench-build.
15831         * Makefile.in (bench-build): New target.
15832         * Rules (PHONY): Add bench-build target.
15833         * benchtests/Makefile (bench): Depend on bench-build.
15834         (bench-build): New target.
15836 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15838         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
15839         profil_reply_port.
15840         (profile_waiter): Do not initialize profil_reply_port.
15841         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
15842         frequency instead of tick length in us.
15844 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
15846         [BZ #18712]
15847         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
15848         (__old_mempcpy_small): Likewise.
15849         (__old_strcpy_small): Likewise.
15850         (__old_stpcpy_small): Likewise.
15851         (__old_strpbrk_c2): Fix compat symbol name.
15852         (__old_strpbrk_c3): Likewise.
15853         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
15854         (__mempcpy_small): Remove.
15855         (__strcpy_small): Remove.
15856         (__stpcpy_small): Remove.
15858 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
15860         [BZ #19400]
15861         * locale/iso-639.def: Add the Talossan/tzl language.
15863 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
15865         [BZ #16983]
15866         * locale/programs/ld-address.c (address_finish): Update postal_fmt
15867         comment.  Add "ln" to strchr check on postal_fmt.
15869 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
15871         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
15872         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
15873         tel_dom_fmt.
15875 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15877         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
15878         (sysdep_routines): Added __strlen_power8.
15879         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
15880         __strlen_power8 entry.
15881         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
15882         Implementation for POWER8.
15883         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
15884         for __strlen_power8.
15885         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
15886         Implementation for POWER8.
15888 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
15890         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
15892 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
15894         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
15895         Goldmont and Airmont processors.
15897 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
15899         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
15900         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
15901         (__STRING2_SMALL_GET32): Remove.
15902         (memset): Remove.
15903         (__memset_1): Remove.
15904         (__memset_gc): Remove.
15905         (__mempcpy): Remove.
15906         (mempcpy): Remove.
15907         (__mempcpy_args): Remove.
15908         (strchr): Remove.
15909         (strcpy): Remove.
15910         (strcpy_args): Remove.
15911         (__stpcpy_args): Remove.
15912         (__strcmp_cc): Remove.
15913         (__strcmp_gc): Remove.
15914         (strstr): Remove.
15916 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
15918         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
15919         * nis/nis_call.c (nis_server_cache_add): Likewise.
15921 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15923         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
15925 2016-04-14  Florian Weimer  <fweimer@redhat.com>
15927         * malloc/arena.c (__malloc_fork_lock_parent)
15928         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
15929         internal_function attribute.
15931 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
15933         * stdio-common/printf_fp.c (__printf_fp_l):
15934         Rename ___printf_fp_l to __printf_fp_l and
15935         remove strong alias. Use libc_hidden_def instead
15936         of ldbl_hidden_def macro.
15938 2016-04-14  Florian Weimer  <fweimer@redhat.com>
15940         Remove malloc hooks from fork handler.  They are no longer needed
15941         because malloc runs right before fork, and no malloc calls from
15942         other fork handlers are not possible anymore.
15943         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
15944         declarations.
15945         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
15946         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
15947         (atfork_recursive_cntr): Remove.
15948         (__malloc_fork_lock_parent): Do not override malloc hooks and
15949         thread_arena.
15950         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
15951         thread_arena.
15952         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
15953         thread_arena instead of save_arena.
15955 2016-04-14  Florian Weimer  <fweimer@redhat.com>
15957         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
15958         (thread_atfork, thread_atfork_static): Remove.
15959         * sysdeps/mach/hurd/malloc-machine.h:
15960         (thread_atfork, thread_atfork_static): Remove.
15962 2016-04-14  Florian Weimer  <fweimer@redhat.com>
15964         [BZ #19431]
15965         Run the malloc fork handler as late as possible to avoid deadlocks.
15966         * malloc/malloc-internal.h: New file.
15967         * malloc/malloc.c: Include it.
15968         * malloc/arena.c (ATFORK_MEM): Remove.
15969         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
15970         Update comment.
15971         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
15972         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
15973         Remove outdated comment.
15974         (ptmalloc_init): Do not call thread_atfork.  Remove
15975         thread_atfork_static.
15976         * malloc/tst-malloc-fork-deadlock.c: New file.
15977         * Makefile (tests): Add tst-malloc-fork-deadlock.
15978         (tst-malloc-fork-deadlock): Link against libpthread.
15979         * manual/memory.texi (Aligned Memory Blocks): Update safety
15980         annotation comments.
15981         * sysdeps/nptl/fork.c (__libc_fork): Call
15982         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
15983         __malloc_fork_unlock_child.
15984         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
15986 2016-04-14  Florian Weimer  <fweimer@redhat.com>
15988         [BZ #19613]
15989         Remove union wait.
15990         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
15991         (w_stopsig, w_stopval): Remove.
15992         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
15993         stat_loc argument.
15994         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
15995         (__WAIT_STATUS_DEFN): Remove.
15996         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
15997         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
15998         (wait, wait3, wait4): Use int * for the stat_loc argument.
15999         * posix/wait.c (__wait): Likewise.
16000         * posix/wait3.c (__wait3): Likewise.
16001         * posix/wait4.c (__wait4): Likewise.
16002         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
16003         (__WAIT_STATUS_DEFN): Remove.
16004         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
16005         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
16006         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
16007         argument.
16008         * sysdeps/posix/wait.c (__libc_wait): Likewise.
16009         * sysdeps/posix/wait3.c (__wait3): Likewise.
16010         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
16011         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
16012         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
16013         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
16014         stat_loc argument.
16015         * manual/process.texi (BSD Wait Functions): Remove union wait.
16017 2016-04-13  Andreas Schwab  <schwab@suse.de>
16019         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
16020         (test-extras): Add tst-tlsalign-vars.
16021         * math/Makefile: Wrap long lines.
16022         (libm-vec-test-wrappers): Define.
16023         (test-extras): Add $(libm-vec-test-wrappers).
16024         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
16025         * nss/Makefile (extra-test-objs): Add nss_test1.os.
16026         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
16027         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
16028         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
16029         (extra-test-objs): Add corresponding objects.
16031 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
16033         [BZ #19928]
16034         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
16035         New.
16036         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
16037         times of shared cache size.
16038         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
16039         (VMOVNT): New.
16040         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
16041         (VMOVNT): Likewise.
16042         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
16043         (VMOVNT): Likewise.
16044         (VMOVU): Changed to movups for smaller code sizes.
16045         (VMOVA): Changed to movaps for smaller code sizes.
16046         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
16047         comments.
16048         (PREFETCH): New.
16049         (PREFETCH_SIZE): Likewise.
16050         (PREFETCHED_LOAD_SIZE): Likewise.
16051         (PREFETCH_ONE_SET): Likewise.
16052         Rewrite to use forward and backward loops, which move 4 vector
16053         registers at a time, to support overlapping addresses and use
16054         non temporal store if size is above the threshold and there is
16055         no overlap between destination and source.
16057 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
16059         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
16060         Include dl-vdso.
16061         * sysdeps/unix/sysv/linux/mips/Versions: Add
16062         __vdso_clock_gettime.
16063         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
16064         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
16065         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
16066         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
16067         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
16068         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
16069         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
16070         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
16071         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
16073 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16075         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
16076         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
16077         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
16078         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
16079         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
16080         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
16081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
16082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
16083         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
16084         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
16085         syscalls generation.
16086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16087         [__NR_pwrite64] (__NR_write): Remove define.
16088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16089         [__NR_pwrite64] (__NR_write): Remove define.
16090         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
16091         Remove define.
16092         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
16093         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
16094         Remove define.
16095         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
16096         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
16097         Linux implementation as base.
16098         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
16100         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
16101         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
16102         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
16103         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
16104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
16105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
16106         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
16107         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
16108         syscall generation.
16109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16110         [__NR_pread64] (__NR_pread): Remove define.
16111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16112         [__NR_pread64] (__NR_pread): Likewise.
16113         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
16114         define.
16115         (__libc_pread): Use SYSCALL_LL macro on offset argument.
16116         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
16117         Remove define.
16118         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
16119         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
16120         Linux implementation as base.
16121         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
16122         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
16123         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
16125         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
16126         definition.
16127         (__ALIGNMENT_COUNT): Likewise.
16128         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
16129         (__ALIGNMENT_COUNT): Likewise.
16130         (SYSCALL_LL): New define.
16131         (SYSCALL_LL64): Likewise.
16132         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
16133         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
16134         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
16135         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
16137         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16138         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
16139         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16140         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
16141         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16142         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
16144 2016-04-11  Florian Weimer  <fweimer@redhat.com>
16146         [BZ #19865]
16147         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
16148         original buffer before retry.
16150 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16152         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
16153         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
16154         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
16155         GLRO(dl_auxv) list.
16156         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
16157         including <ldsodefs.h>.
16158         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
16160 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
16162         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
16163         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
16164         $(CPPFLAGS).
16166 2016-04-09  Khem Raj  <raj.khem@gmail.com>
16168         [BZ #17950]
16169         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
16170         Add -mfpmath=387.
16172 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
16174         * sysdeps/i386/configure.ac: Change == to = when calling test.
16175         * sysdeps/x86_64/configure.ac: Likewise.
16176         * sysdeps/i386/configure: Regenerated.
16177         * sysdeps/x86_64/configure: Likewise.
16179 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
16181         [BZ #16137]
16182         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
16183         * benchtests/bench-strcoll.c (input_files): Likewise.
16184         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
16185         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
16186         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
16188 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
16190         [BZ #19929]
16191         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
16192         [__USE_XOPEN2K8 && !__USE_GNU].
16193         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
16194         variable.
16196         [BZ #19925]
16197         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
16198         define if [!__USE_MISC && __USE_XOPEN2K].
16199         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
16200         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
16201         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
16202         Likewise.
16203         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
16204         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
16205         variable.
16206         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
16208 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16210         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
16211         (sysdep_routines): Add new strspn targets.
16212         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16213         (__libc_ifunc_impl_list): Add strspn.
16214         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
16215         New file.
16216         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
16217         Likewise.
16218         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
16219         Likewise.
16220         * sysdeps/powerpc/powerpc64/power8/strspn.S:
16221         Likewise.
16223 2016-04-07  Florian Weimer  <fweimer@redhat.com>
16225         * misc/hsearch_r.c: Include <limits.h>.
16227 2016-04-07  Florian Weimer  <fweimer@redhat.com>
16229         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
16231 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
16233         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
16234         (MEMCPY_SYMBOL): New.
16235         (MEMPCPY_SYMBOL): Likewise.
16236         (MEMMOVE_CHK_SYMBOL): Likewise.
16237         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
16238         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
16239         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
16240         Provide alias for memcpy in libc.a and ld.so.
16242 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
16244         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
16245         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
16246         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
16247         Disabled fro now.
16248         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
16249         symbols.  Properly check USE_MULTIARCH on __memset symbols.
16251 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
16253         * benchtests/Makefile (string-benchset): Add memcpy-large,
16254         memmove-large and memset-large.
16255         * benchtests/bench-memcpy-large.c: New file.
16256         * benchtests/bench-memmove-large.c: Likewise.
16257         * benchtests/bench-memmove-large.c: Likewise.
16258         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
16260 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
16262         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
16263         32-bit displacement to avoid long nop between instructions.
16265 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
16267         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
16268         a comment on VMOVU and VMOVA.
16270 2016-04-04  Florian Weimer  <fweimer@redhat.com>
16272         [BZ #19633]
16273         Use specified locale for number formatting in strfmon_l.
16274         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
16275         (__nl_lookup_word): New inline functions.
16276         * include/printf.h (__print_fp_l): Declare.
16277         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
16278         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
16279         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
16280         (___printf_fp): New function.
16281         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
16282         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
16283         * stdlib/tst-strfmon_l.c (do_test): New test.
16284         * stdlib/Makefile (tests): Add kt.
16285         (LOCALES): Build additional locales.
16286         (tst-strfmon_l.out): Require locales.
16288 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
16290         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
16291         if not in libc.
16292         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
16293         Likewise.
16294         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
16295         Likewise.
16296         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
16297         Likewise.
16299 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
16301         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
16302         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
16303         with unaligned_erms.
16304         (__memmove_erms): Skip if source == destination.
16305         (__memmove_unaligned_erms): Don't check source == destination
16306         first.
16308 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
16310         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
16311         bit_arch_Fast_Copy_Backward for Intel Core proessors.
16313 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16315         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
16316         * string/strspn.c (strspn): Likewise.
16318 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
16320         * benchtests/bench-memset.c (do_test): Support 64-byte
16321         alignment.
16322         (test_main): Test 64-byte alignment.
16324 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
16326         * benchtests/bench-memmove.c (test_main): Test 64-byte
16327         alignment.
16329 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
16331         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
16333 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16335         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
16336         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
16337         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
16339         * string/strpbrk.c (strpbrk): Rewrite function.
16340         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
16341         (__strpbrk_c2): Likewise.
16342         (__strpbrk_c3): Likewise.
16343         * string/string-inlines.c
16344         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
16345         Likewise.
16346         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
16347         Likewise.
16349         * string/strspn.c (strcspn): Rewrite function.
16350         * string/bits/string2.h (strspn): Use __builtin_strcspn.
16351         (__strspn_c1): Remove inline function.
16352         (__strspn_c2): Likewise.
16353         (__strspn_c3): Likewise.
16354         * string/string-inlines.c
16355         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
16356         compatibility symbol.
16357         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
16358         Likewise.
16359         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
16360         Likewise.
16361         * string/string-inlines.c: Include generic version.
16363 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
16364             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16366         * string/Version (libc): Add GLIBC_2.24.
16367         * string/strcspn.c (strcspn): Rewrite function.
16368         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
16369         (__strcspn_c1): Remove inline function.
16370         (__strcspn_c2): Likewise.
16371         (__strcspn_c3): Likewise.
16372         * string/string-inline.c
16373         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
16374         compatibility symbol.
16375         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
16376         Likewise.
16377         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
16378         Likewise.
16379         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
16381 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
16383         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
16384         Use ahi instead of aghi to adjust stack pointer.
16386 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16388         [BZ #19853]
16389         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
16390         TEST to take significant digits as second parameter.
16391         [TEST]: Redefine in terms of TEST_N taking 30
16392         significant digits.
16393         (do_test): Add test case to demonstrate precision
16394         failure in the ldbl-128ibm printf.
16395         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
16396         (__mpn_extract_long_double): Carry 7 extra intermediate
16397         bits of precision to aide computing difference when
16398         signs differ.
16400 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
16402         [BZ #19881]
16403         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16404         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
16405         memset-avx512-unaligned-erms.
16406         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16407         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
16408         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
16409         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
16410         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
16411         __memset_sse2_unaligned_erms, __memset_erms,
16412         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
16413         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
16414         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
16415         file.
16416         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
16417         Likewise.
16418         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
16419         Likewise.
16420         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
16421         Likewise.
16423 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
16425         [BZ #19776]
16426         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16427         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
16428         memmove-avx512-unaligned-erms.
16429         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16430         (__libc_ifunc_impl_list): Test
16431         __memmove_chk_avx512_unaligned_2,
16432         __memmove_chk_avx512_unaligned_erms,
16433         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
16434         __memmove_chk_sse2_unaligned_2,
16435         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
16436         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
16437         __memmove_avx512_unaligned_erms, __memmove_erms,
16438         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
16439         __memcpy_chk_avx512_unaligned_2,
16440         __memcpy_chk_avx512_unaligned_erms,
16441         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
16442         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
16443         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
16444         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
16445         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
16446         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
16447         __mempcpy_chk_avx512_unaligned_erms,
16448         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
16449         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
16450         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
16451         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
16452         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
16453         __mempcpy_erms.
16454         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
16455         file.
16456         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
16457         Likewise.
16458         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
16459         Likewise.
16460         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
16461         Likewise.
16463 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
16465         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
16466         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
16467         (La_s390_64_regs): Likewise.
16468         (La_s390_32_retval): Append vector register lrv_v24.
16469         (La_s390_64_retval): Likeweise.
16470         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
16471         Handle extended structs La_s390_32_regs and La_s390_32_retval.
16472         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
16473         Handle extended structs La_s390_64_regs and La_s390_64_retval.
16475 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
16477         [BZ #19916]
16478         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
16479         to create a non-vector/vector version for _dl_runtime_resolve and
16480         _dl_runtime_profile. Move implementation to ...
16481         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
16482         (_dl_runtime_resolve) Save and restore fpr/vrs.
16483         (_dl_runtime_profile) Save and restore vrs and fix some issues
16484         if _dl_call_pltexit is called.
16485         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
16486         Choose the correct resolver function if running on a machine with vx.
16487         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
16488         to create a non-vector/vector version for _dl_runtime_resolve and
16489         _dl_runtime_profile. Move implementation to ...
16490         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
16491         (_dl_runtime_resolve) Save and restore fpr/vrs.
16492         (_dl_runtime_profile) Save and restore vrs and fix some issues
16493         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
16494         Choose the correct resolver function if running on a machine with vx.
16496 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16498         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
16500 2016-03-31  Florian Weimer  <fweimer@redhat.com>
16502         [BZ #19509]
16503         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
16504         skip_map != NULL.
16505         * elf/tst-dlsym-error.c: New file.
16506         * elf/Makefile (tests): Add tst-dlsym-error.
16507         (tst-dlsym-error): Link against libdl.
16509 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
16511         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16512         (__ASSUME_FUTIMESAT): Remove macro.
16513         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
16515 2016-03-29  Florian Weimer  <fweimer@redhat.com>
16517         [BZ #19879]
16518         CVE-2016-3075
16519         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
16520         copy name.
16522 2016-03-29  Florian Weimer  <fweimer@redhat.com>
16524         [BZ #19837]
16525         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
16526         error if parse_line fails.
16528 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
16530         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
16531         (index_cpu_ERMS): Likewise.
16532         (reg_ERMS): Likewise.
16534 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
16536         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
16537         PER_LINUX_FDPIC): Add.
16539 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
16541         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16542         memcpy-avx512-no-vzeroupper.
16543         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
16544         to ...
16545         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
16546         (MEMCPY): Don't define.
16547         (MEMCPY_CHK): Likewise.
16548         (MEMPCPY): Likewise.
16549         (MEMPCPY_CHK): Likewise.
16550         (MEMPCPY_CHK): Renamed to ...
16551         (__mempcpy_chk_avx512_no_vzeroupper): This.
16552         (MEMPCPY_CHK): Renamed to ...
16553         (__mempcpy_chk_avx512_no_vzeroupper): This.
16554         (MEMCPY_CHK): Renamed to ...
16555         (__memmove_chk_avx512_no_vzeroupper): This.
16556         (MEMCPY): Renamed to ...
16557         (__memmove_avx512_no_vzeroupper): This.
16558         (__memcpy_avx512_no_vzeroupper): New alias.
16559         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
16561 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
16563         [BZ #18858]
16564         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16565         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
16566         and mempcpy-avx512-no-vzeroupper.
16567         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
16568         New.
16569         (MEMPCPY): Likewise.
16570         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
16571         (MEMPCPY_CHK): New.
16572         (MEMPCPY): Likewise.
16573         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
16574         (MEMPCPY): Likewise.
16575         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
16576         (MEMPCPY): Likewise.
16577         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
16578         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
16579         Likewise.
16580         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
16581         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
16583 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
16584              Amit Pawar  <Amit.Pawar@amd.com>
16586         [BZ #19583]
16587         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
16588         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
16589         processors.  Set Fast_Copy_Backward for AMD Excavator
16590         processors.
16591         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
16592         New.
16593         (index_arch_Fast_Unaligned_Copy): Likewise.
16594         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
16595         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
16597 2016-03-25  Florian Weimer  <fweimer@redhat.com>
16599         [BZ #19791]
16600         * resolv/res_send.c (close_and_return_error): New function.
16601         (send_dg): Initialize *resplen2 after reopen failure.  Call
16602         close_and_return_error for error returns.  On error paths without
16603         __res_iclose, initialze *resplen2 explicitly.  Update comment for
16604         successful return.
16606 2016-03-25  Florian Weimer  <fweimer@redhat.com>
16608         [BZ #19860]
16609         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
16610         zero if the compiler does not provide the AVX512F bit.
16612 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
16614         [BZ #19848]
16615         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
16616         from 8 to 4.
16617         (__ieee754_powl): Compare integer exponent against 4 not 8.
16618         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
16619         from 8 to 4.
16620         (__ieee754_powl): Compare integer exponent against 4 not 8.
16621         * math/auto-libm-test-in: Add more tests of pow.
16622         * math/auto-libm-test-out: Regenerated.
16623         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
16624         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16626 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
16628         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
16629         Make code unconditional.
16630         [!__NR_utimensat]: Remove conditional code.
16631         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
16632         Make code unconditional.
16633         [!__NR_utimensat]: Remove conditional code.
16634         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
16635         Make code unconditional.
16636         [!__NR_utimensat]: Remove conditional code.
16638 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
16640         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
16641         Make code unconditional.
16643 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
16645         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
16646         call-clobbered %eax on retry path.
16647         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
16649 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16651         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
16652         Don't set %rcx twice before "rep movsb".
16654 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16656         [BZ #19583]
16657         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
16658         inline.  Check family before setting family, model and
16659         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
16660         bits here.
16661         (init_cpu_features): Replace HAS_CPU_FEATURE and
16662         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
16663         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
16664         for Intel processors with usable AVX2.  Call get_common_indeces
16665         for other processors with family == NULL.
16666         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
16667         (CPU_FEATURES_ARCH_P): Likewise.
16668         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
16669         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
16671 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16673         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
16674         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
16675         $(shared-thread-library) instead of hardcoding the path to libpthread.
16677 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
16679         * sysdeps/unix/sysv/linux/kernel-features.h
16680         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
16681         * sysdeps/unix/sysv/linux/getdents.c
16682         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
16683         [!have_no_getdents64_defined]: Likewise.
16684         (__GETDENTS): Remove __have_no_getdents64 conditional.
16686 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
16688         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
16689         Remove macro.
16690         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
16691         <kernel-features.h>.
16692         (signalfd) [__NR_signalfd4]: Make code unconditional.
16693         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
16695 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16697         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
16698         style.
16700 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
16702         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
16703         (__pthread_enable_asynccancel): Use JUMPTARGET to call
16704         __pthread_unwind.
16705         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
16706         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
16707         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
16708         (__condvar_cleanup1): Likewise.
16710 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
16712         [BZ #19822]
16713         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
16714         move it to the final $@ location.
16716 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16718         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
16719         access where posix_spawn success and pid argument is null.
16720         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
16721         success case.
16723 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
16725         * sysdeps/mach/hurd/i386/c++-types.data: New file.
16727         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
16729         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
16730         and __fcntl.
16731         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
16732         __fcntl only.
16733         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
16734         adding attribute_hidden to __open and __fcntl.
16736         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
16737         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
16738         depend on libc-modules.h,
16739         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
16741 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
16743         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
16744         Remove macro.
16745         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
16746         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
16747         entry.
16749         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
16750         Remove macro.
16751         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
16752         include <kernel-features.h>.
16753         [!__ASSUME_FALLOCATE]: Remove conditional code.
16754         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
16756 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
16758         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
16759         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
16760         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
16761         (_ZGVdN4v_cos_avx2): Likewise.
16762         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
16763         (_ZGVdN4v_cos): Likewise.
16764         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
16765         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
16766         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
16767         (_ZGVdN4v_exp_avx2): Likewise.
16768         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
16769         (_ZGVdN4v_exp): Likewise.
16770         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
16771         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
16772         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
16773         (_ZGVdN4v_log_avx2): Likewise.
16774         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
16775         (_ZGVdN4v_log): Likewise.
16776         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
16777         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
16778         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
16779         (_ZGVdN4vv_pow_avx2): Likewise.
16780         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
16781         (_ZGVdN4vv_pow): Likewise.
16782         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
16783         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
16784         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
16785         (_ZGVdN4v_sin_avx2): Likewise.
16786         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
16787         (_ZGVdN4v_sin): Likewise.
16788         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
16789         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
16790         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
16791         (_ZGVdN4vvv_sincos_avx2): Likewise.
16792         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
16793         (_ZGVdN4vvv_sincos): Likewise.
16794         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
16795         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
16796         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
16797         (_ZGVbN4v_cosf_sse4): Likewise.
16798         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
16799         (_ZGVdN8v_cosf_avx2): Likewise.
16800         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
16801         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
16802         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
16803         (_ZGVbN4v_expf_sse4): Likewise.
16804         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
16805         (_ZGVdN8v_expf_avx2): Likewise.
16806         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
16807         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
16808         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
16809         (_ZGVbN4v_logf_sse4): Likewise.
16810         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
16811         (_ZGVdN8v_logf_avx2): Likewise.
16812         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
16813         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
16814         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
16815         (_ZGVbN4vv_powf_sse4): Likewise.
16816         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
16817         (_ZGVdN8vv_powf_avx2): Likewise.
16818         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
16819         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
16820         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
16821         (_ZGVbN4vvv_sincosf_sse4): Likewise.
16822         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
16823         (_ZGVdN8vvv_sincosf_avx2): Likewise.
16824         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
16825         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
16826         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
16827         (_ZGVbN4v_sinf_sse4): Likewise.
16828         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
16829         (_ZGVdN8v_sinf_avx2): Likewise.
16830         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
16831         Use JUMPTARGET to call callee.
16832         (WRAPPER_IMPL_SSE2_ff): Likewise.
16833         (WRAPPER_IMPL_SSE2_fFF): Likewise.
16834         (WRAPPER_IMPL_AVX): Likewise.
16835         (WRAPPER_IMPL_AVX_ff): Likewise.
16836         (WRAPPER_IMPL_AVX_fFF): Likewise.
16837         (WRAPPER_IMPL_AVX512): Likewise.
16838         (WRAPPER_IMPL_AVX512_ff): Likewise.
16839         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
16840         Likewise.
16841         (WRAPPER_IMPL_SSE2_ff): Likewise.
16842         (WRAPPER_IMPL_SSE2_fFF): Likewise.
16843         (WRAPPER_IMPL_AVX): Likewise.
16844         (WRAPPER_IMPL_AVX_ff): Likewise.
16845         (WRAPPER_IMPL_AVX_fFF): Likewise.
16846         (WRAPPER_IMPL_AVX512): Likewise.
16847         (WRAPPER_IMPL_AVX512_ff): Likewise.
16848         (WRAPPER_IMPL_AVX512_fFF): Likewise.
16850 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16852         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
16853         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
16854         qualifier.
16855         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
16856         internal_function qualifiers.
16858 2016-03-15  Carlos O'Donell <carlos@redhat.com>
16860         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
16861         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
16862         * math/atest-exp.c (exp_mpn): Mark chk unused.
16863         * math/atest-exp2.c (exp_mpn): Likewise.
16864         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
16865         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
16867 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
16869         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
16870         Remove macro.
16871         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
16872         <kernel-features.h>.
16873         [__NR_ppoll]: Make code unconditional.
16874         [!__ASSUME_PPOLL]: Remove conditional code.
16876         * sysdeps/unix/sysv/linux/kernel-features.h
16877         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
16878         (__ASSUME_ACCEPT4): Likewise.
16879         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16880         Define.
16881         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
16882         Likewise.
16883         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16884         Likewise.
16885         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
16886         Likewise.
16887         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
16888         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
16889         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16890         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
16891         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16892         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16893         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16894         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16895         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16896         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16897         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16898         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16899         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16900         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16901         * sysdeps/unix/sysv/linux/i386/kernel-features.h
16902         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16903         Likewise.
16904         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16905         Likewise.
16906         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
16907         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
16908         0x040300].
16909         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16910         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
16911         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16912         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
16913         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
16914         0x030300].
16915         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
16916         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16917         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
16918         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
16919         0x040300].
16920         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16921         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16922         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16923         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16924         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16925         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
16926         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
16927         0x030300].
16928         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16929         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16930         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16931         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16932         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16933         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16934         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16935         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16936         * sysdeps/unix/sysv/linux/s390/kernel-features.h
16937         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
16938         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
16939         0x040300].
16940         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16941         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16942         * sysdeps/unix/sysv/linux/sh/kernel-features.h
16943         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16944         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16945         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16946         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
16947         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16948         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16949         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16950         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16951         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16952         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16953         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16954         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
16955         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16956         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16957         Likewise.
16958         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16959         Likewise.
16961 2016-03-15  Andreas Schwab  <schwab@suse.de>
16963         [BZ #19257]
16964         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
16965         statp->_u._ext.nscount as loop count.
16967 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
16969         * math/test-signgam-finite-c99.c: Also #undef
16970         __LIBC_INTERNAL_MATH_INLINES.
16971         * math/test-signgam-main.c: Likewise.
16973 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
16975         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
16976         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16977         (MADV_FREE): Likewise.
16978         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
16979         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
16980         EPOLLEXCLUSIVE.
16982 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
16984         * timezone/README: Remove mention of checktab.awk. Mention wiki
16985         SharedSourceFiles.
16987 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
16989         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
16990         WUNTRACED.
16992 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16994         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
16995         order to match the type of p when calling atomic_exchange_acq().
16997 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16999         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
17000         cfi_offset calls.
17001         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
17002         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
17003         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
17004         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
17005         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
17007 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
17009         * timezone/checktab.awk: Removed.
17011 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
17013         * manual/math.texi (Errors in Math Functions): Document relaxed
17014         accuracy goals for IBM long double.
17015         * math/libm-test.inc (test_exceptions): Always allow spurious
17016         "underflow" and "inexact" exceptions for IBM long double.
17018 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
17020         [BZ #19762]
17021         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
17022         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
17023         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
17024         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
17025         (bit_arch_*): This for feature array.
17026         (bit_*): Renamed to ...
17027         (bit_cpu_*): This for cpu array.
17028         (index_*): Renamed to ...
17029         (index_arch_*): This for feature array.
17030         (index_*): Renamed to ...
17031         (index_cpu_*): This for cpu array.
17032         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
17033         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
17034         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
17035         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
17036         bit_##name with index_cpu_##name and bit_cpu_##name.
17037         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
17038         bit_##name with index_arch_##name and bit_arch_##name.
17040 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
17042         [BZ #19792]
17043         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
17044         Terminate FDE before return label.
17046 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
17048         [BZ #19790]
17049         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
17050         (rintl): Define as macro.
17051         [USE_AS_NEARBYINTL] (__rintl): Likewise.
17052         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
17053         of fesetround.  Ensure results are evaluated before end of scope.
17054         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
17055         USE_AS_NEARBYINTL and include s_rintl.c.
17056         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
17057         Disable exception traps in new environment.
17058         (libc_feholdsetround_ppc_ctx): Likewise.
17060 2016-03-08  Roland McGrath  <roland@hack.frob.com>
17062         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
17063         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
17064         (tst_audit10_aux) [__AVX512F__]: ... here.
17066 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
17068         * include/sys/auxv.h: New file.
17070 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
17072         [BZ #19759]
17073         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
17075 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17077         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
17078         operand modifier.
17079         (feclearexcept): Likewise.
17081 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17083         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
17084         to reflect the entire 32-bit HWCAP.
17085         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
17086         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
17088 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
17090         [BZ #19783]
17091         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
17092         $(test-via-rtld-prefix).
17093         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
17095 2016-03-08  Florian Weimer  <fweimer@redhat.com>
17097         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
17098         union wait.  Report any non-zero exit status as error.
17100 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17102         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
17103         configured with --enable-hardcoded-path-in-tests.
17105 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
17107         [BZ #19677]
17108         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
17109         (__ieee754_remainderl): Put zero low parts in canonical form.
17110         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
17111         file.  Based on
17112         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
17113         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
17114         with wrapper round test-fmodrem-ldbl-128ibm.c.
17115         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
17116         file.
17117         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
17118         Likewise.
17119         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
17120         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
17122 2016-03-07  Florian Weimer  <fweimer@redhat.com>
17124         [BZ #19610]
17125         * elf/ldconfig.c (opt_link): Update comment.
17126         (options): Update help string for option -X.
17127         (search_dir): Unlink stale symbolic link only if updating symbolic
17128         links.
17129         * elf/tst-ldconfig-X.sh: New file.
17130         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
17131         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
17133 2016-03-07  Andreas Schwab  <schwab@suse.de>
17135         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
17136         needed arguments.
17138 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
17140         [BZ #15333]
17141         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
17142         to lstat64.
17144 2016-03-07  Florian Weimer  <fweimer@redhat.com>
17146         * libio/filedoalloc.c (isatty): Remove.
17147         (local_isatty): Add comment.  Call __isatty directly.
17148         (_IO_file_doallocate): Update comment.  Assume _LIBC.
17149         * libio/wfiledoalloc.c (isatty): Remove.
17150         (_IO_wfile_doallocate): Update comment.
17152 2016-03-07  Florian Weimer  <fweimer@redhat.com>
17154         [BZ #19269]
17155         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
17156         tst-audit4-aux.o.
17157         (tst-audit10): Depend on tst-audit10-aux.o.
17158         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
17159         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
17160         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
17161         instead of inline AVX code.
17162         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
17163         instead of inline AVX512 code.
17164         * sysdeps/x86_64/tst-audit4-aux.c: New file
17165         * sysdeps/x86_64/tst-audit10-aux.c: New file
17167         [BZ #19648]
17168         * test-skeleton.c (main): Do not set RLIMIT_DATA.
17170 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17172         [BZ #14750]
17173         [BZ #10354]
17174         [BZ #18433]
17175         * include/sched.h (__clone): Add hidden prototype.
17176         (__clone2): Likewise.
17177         * include/unistd.h (__dup): Likewise.
17178         * posix/Makefile (tests): Add tst-spawn2.
17179         * posix/tst-spawn2.c: New file.
17180         * sysdeps/posix/dup.c (__dup): Add hidden definition.
17181         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
17182         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
17183         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
17184         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
17185         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
17186         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
17187         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
17188         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
17189         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
17190         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
17191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
17192         Likewise.
17193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17194         Likewise.
17195         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
17196         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
17197         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
17198         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
17199         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
17200         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
17201         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
17202         * sysdeps/unix/sysv/linux/nptl-signals.h
17203         (____nptl_is_internal_signal): New function.
17204         * sysdeps/unix/sysv/linux/spawni.c: New file.
17206         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
17207         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
17208         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
17209         * posix/tst-execvp2.c (do_test): Likewise.
17210         * posix/tst-execvp3.c (do_test): Likewise.
17211         * posix/tst-execvp4.c (do_test): Likewise.
17212         * posix/tst-execvpe1.c: New file.
17213         * posix/tst-execvpe2.c: Likewise.
17214         * posix/tst-execvpe3.c: Likewise.
17215         * posix/tst-execvpe4.c: Likewise.
17216         * posix/tst-execvpe5.c: Likewise.
17217         * posix/tst-execvpe6.c: Likewise.
17219         [BZ #19534]
17220         * posix/execl.c (execl): Remove dynamic memory allocation.
17221         * posix/execle.c (execle): Likewise.
17222         * posix/execlp.c (execlp): Likewise.
17224 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
17226         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
17227         Replace .text with .text.avx512.
17228         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
17229         Likewise.
17231 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
17233         * sysdeps/generic/libnsl.abilist: New file.
17234         * sysdeps/generic/libutil.abilist: New file.
17236 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
17238         [BZ #19762]
17239         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
17240         HAS_ARCH_FEATURE with Fast_Rep_String.
17241         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
17242         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
17243         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
17244         Likewise.
17245         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
17246         Likewise.
17247         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
17248         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
17249         Likewise.
17250         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
17251         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
17252         Likewise.
17254 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
17256         [BZ #19745]
17257         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
17258         with *%rax in call.
17260 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
17262         [BZ #19745]
17263         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
17264         with *__libc_start_main@GOTPCREL(%rip) in call.
17266 2016-03-04  Roland McGrath  <roland@hack.frob.com>
17268         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
17269         inside conditional for nonempty $(CXX).
17271         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
17272         nonempty.
17274         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
17275         to test for empty $(CXX) rather than $(CXX) of "no".
17277 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
17279         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
17281 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
17282             H.J. Lu  <hongjiu.lu@intel.com>
17284         [BZ #18880]
17285         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
17286         instead of Slow_BSF, and also check for Fast_Copy_Backward to
17287         enable __memcpy_ssse3_back.
17289 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
17291         [BZ #19758]
17292         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
17293         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
17295 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
17297         [BZ #19490]
17298         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
17299         (__fentry__): Likewise.
17301 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
17303         * gmon/Makefile (noprof): Add $(sysdep_noprof).
17304         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
17306 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
17308         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
17309         __mcount_internal directly.
17310         (C_LABEL(__fentry__)): Likewise.
17311         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
17312         directly.
17314 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
17316         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17317         (__start_context): Call __setcontext directly.
17319 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
17321         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17322         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
17323         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
17324         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
17325         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17326         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
17327         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
17328         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
17329         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17330         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
17331         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
17332         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
17333         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17334         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
17335         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
17336         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17337         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
17338         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17339         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
17340         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
17341         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
17342         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17343         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
17344         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
17345         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
17346         Remove conditional code.
17347         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17348         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
17349         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
17350         * sysdeps/unix/sysv/linux/sh/kernel-features.h
17351         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
17352         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
17353         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
17354         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
17355         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
17356         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
17357         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17358         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
17360 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
17362         * NEWS (2.23): Fix typo in bug 19048 text.
17364 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
17366         [BZ #14259]
17367         * Makeconfig: Rename msgcatdir to localedir.
17368         Rename inst_msgcatdir to inst_localedir.
17369         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
17370         * config.make.in: Add localedir.
17371         * elf/Makefile ($(objpfx)sotruss): Use localedir.
17372         (ldd-rewrite): Likewise.
17373         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
17374         (install-others): Use inst_localedir.
17375         (CPPFLAGS): Use localedir.
17376         * locale/Makefile (locale-CPPFLAGS): Likewise.
17377         * po/Makefile (mo-installed): Use inst_localedir.
17379         [BZ #19575]
17380         * localedata/charmaps/GB18030: Update comments regarding PAU to
17381         non-PUA mappings.
17383 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
17385         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
17386         test for header.
17387         * sysdeps/unix/sysv/linux/configure: Regenerated.
17388         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
17389         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
17390         Remove conditional code.
17391         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
17393         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
17394         Define to 3.2.0.
17395         (arch_minimum_kernel): Likewise.
17396         * sysdeps/unix/sysv/linux/configure: Regenerated.
17397         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
17398         Define to 2.6.32.
17399         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
17400         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
17401         (arch_minimum_kernel): Define to 2.6.32.
17402         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
17403         * README: Document Linux 3.2 requirement.
17404         * manual/install.texi (Linux): Document Linux 3.2 headers
17405         requirement.
17406         * INSTALL: Regenerated.
17408 2016-02-24  Andreas Schwab  <schwab@suse.de>
17410         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
17411         if !NO_LONG_DOUBLE.
17413 2016-02-22  Roland McGrath  <roland@hack.frob.com>
17415         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
17416         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
17418 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
17420         [BZ #19512]
17421         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
17423 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
17425         * posix/tst-dir.c: Include libc-internal.h.
17427 2016-02-20  Florian Weimer  <fweimer@redhat.com>
17429         [BZ #19056]
17430         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
17431         * manual/filesys.texi (Reading/Closing Directory): Mention
17432         deprecaion.
17433         * posix/tst-dir.c (main): Disable deprecation warning in test.
17435 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
17437         [BZ #19679]
17438         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
17439         Renamed to ...
17440         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
17441         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
17442         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
17443         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
17444         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
17445         * sysdeps/x86_64/dl-trampoline.h
17446         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
17447         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
17449 2016-02-19  Mark Wielaard  <mjw@redhat.com>
17451         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
17453 2016-02-19  Mark Wielaard  <mjw@redhat.com>
17455         * elf/elf.h (R_386_GOT32X): New.
17456         (R_386_NUM): Update.
17457         (R_X86_64_GOTPCRELX: New.
17458         (R_X86_64_REX_GOTPCRELX): New.
17459         (R_X86_64_NUM): Update.
17461 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
17463         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
17465 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
17467         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
17468         assign attr->stackaddr to it, and adjust it down when
17469         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
17470         [_STACK_GROWS_UP]: Delete assert.
17471         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
17472         Implement stack grows up logic.
17473         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
17474         stack grows up logic.
17476 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17478         * NEWS: Update with 2.24 template.
17480 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
17482         [BZ #19678]
17483         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
17484         Ensure +0.0 is returned when taking the next value below the least
17485         positive value.
17487 2016-02-19  Florian Weimer  <fweimer@redhat.com>
17489         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
17490         available.  Do not define NO_THREADS.
17491         * malloc/malloc.c: Do not check NO_THREADS.
17492         * malloc/arena.c: Likewise.
17494 2016-02-19  Florian Weimer  <fweimer@redhat.com>
17496         * malloc/malloc.c (__libc_mallinfo): Update comment.
17497         (struct malloc_par): Remove max_total_mem member, it was always 0.
17498         (int_mallinfo): Store 0 into usmblks (no functional change).
17499         * malloc/hooks.c (struct malloc_state): Document that
17500         max_total_mem is always 0.
17501         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
17502         always 0.
17503         * manual/memory.texi (Statistics of Malloc): Likewise.
17505 2016-02-19  Florian Weimer  <fweimer@redhat.com>
17507         * malloc/malloc.c (sysmalloc): Do not update arena_max.
17508         * malloc/arena.c (arena_max): Remove.
17509         (heap_trim, _int_new_arena): Do not update arena_max.
17511 2016-02-19  Florian Weimer  <fweimer@redhat.com>
17513         * resolv/res_init.c (res_ninit): Update comment.
17515 2016-02-19  Florian Weimer  <fweimer@redhat.com>
17517         [BZ #19505]
17518         * posix/spawn_int.h: Add headers and include guard.
17519         (__spawn_valid_fd): New function.
17520         * posix/spawn_faction_addopen.c
17521         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
17522         * posix/spawn_faction_addclose.c
17523         (posix_spawn_file_actions_addclose): Likewise.
17524         * posix/spawn_faction_adddup2.c
17525         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
17526         second file descriptor.
17527         * posix/spawn_valid_fd.c: New file.
17528         * posix/tst-posix_spawn-fd.c: New file.
17529         * posix/Makefile (routines): Add spawn_valid_fd.
17530         (tests): Add tst-posix_spawn-fd.
17532 2016-02-19  Florian Weimer  <fweimer@redhat.com>
17534         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
17535         (do_test): Limit the number of arenas, so that we can use fewer
17536         outer threads.  Limit timeout to 3 seconds, in preparation for a
17537         larger TIMEOUT value.
17539 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
17541         [BZ #19674]
17542         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
17543         sign in overflowing and underflowing results when overflow or
17544         underflow is detected early.  Include sign in result before rather
17545         than after scaling.
17547         [BZ #19603]
17548         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
17549         (__ieee754_remainderl): Adjust sign of integer version of low part
17550         when taking absolute value of high part.
17551         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
17552         * math/libm-test.inc (remainder_test_data): Add another test.
17553         (remquo_test_data): Likewise.
17555 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
17557         [BZ #19602]
17558         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
17559         equal high parts and both low parts zero specially.
17560         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
17561         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
17562         Add test-fmodl-ldbl-128ibm.
17564         [BZ #19595]
17565         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
17566         common logic for all cases of shifting subnormal results.  Do not
17567         insert sign bit in shifted mantissa.  Always pass -1023 as biased
17568         exponent to ldbl_insert_mantissa in subnormal case.
17570         [BZ #19594]
17571         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
17572         on high and low parts then adjust result and use
17573         ldbl_canonicalize_int if needed.
17575         [BZ #19593]
17576         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
17577         on high part and __floor or __ceil on low part then use
17578         ldbl_canonicalize_int if needed.
17580         [BZ #19592]
17581         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
17582         high and low parts then use ldbl_canonicalize_int if needed.
17584         [BZ #17899]
17585         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
17586         New function.
17587         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
17588         on high and low parts then use ldbl_canonicalize_int if needed.
17590 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17592         * configure: Regenerated.
17594         * po/libc.pot: Regenerated.
17596         * po/be.po: Updated translation.
17597         * po/bg.po: Likewise.
17598         * po/ca.po: Likewise.
17599         * po/cs.po: Likewise.
17600         * po/da.po: Likewise.
17601         * po/el.po: Likewise.
17602         * po/eo.po: Likewise.
17603         * po/es.po: Likewise.
17604         * po/fi.po: Likewise.
17605         * po/fr.po: Likewise.
17606         * po/gl.po: Likewise.
17607         * po/hr.po: Likewise.
17608         * po/hu.po: Likewise.
17609         * po/ia.po: Likewise.
17610         * po/id.po: Likewise.
17611         * po/it.po: Likewise.
17612         * po/ja.po: Likewise.
17613         * po/lt.po: Likewise.
17614         * po/nb.po: Likewise.
17615         * po/nl.po: Likewise.
17616         * po/pt_BR.po: Likewise.
17617         * po/rw.po: Likewise.
17618         * po/sk.po: Likewise.
17619         * po/sl.po: Likewise.
17620         * po/sv.po: Likewise.
17621         * po/tr.po: Likewise.
17622         * po/zh_CN.po: Likewise.
17623         * po/zh_TW.po: Likewise.
17625         * version.h (RELEAES): Set to "development".
17626         (VERSION): Set to 2.23.90.
17628         * version.h (RELEASE): Set to "stable".
17629         (VERSION): Set to 2.23.
17630         * include/feature.h (__GLIBC_MINOR__): Set to 23.
17632         * NEWS: Updated fixed bugs.
17634 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
17635             Wilco Dijkstra  <wdijkstr@arm.com>
17637         [BZ #19462]
17638         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
17639         (_STRING_INLINE_unaligned): This.
17640         * include/string.h: Include <string_private.h>.
17641         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
17642         _STRING_INLINE_unaligned.
17643         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
17644         (_STRING_INLINE_unaligned): New.
17645         * sysdeps/aarch64/string_private.h: New file.
17646         * sysdeps/generic/string_private.h: Likewise.
17647         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
17648         * sysdeps/s390/string_private.h: Likewise.
17649         * sysdeps/x86/string_private.h: Likewise.
17650         * sysdeps/m68k/m680x0/m68020/bits/string.h
17651         (_STRING_ARCH_unaligned): Renamed to ...
17652         (_STRING_INLINE_unaligned): This.
17653         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
17654         to ...
17655         (_STRING_INLINE_unaligned): This.
17656         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
17657         to ...
17658         (_STRING_INLINE_unaligned): This.
17659         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
17660         to ...
17661         (_STRING_INLINE_unaligned): This.
17663 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
17664             H.J. Lu  <hongjiu.lu@intel.com>
17666         [BZ #19590]
17667         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
17668         relocation.
17670 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
17672         [BZ #18665]
17673         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
17674         *herrno_p.
17675         (gaih_getanswer): Document functional behviour. Return tryagain
17676         if any result is tryagain.
17677         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
17678         when freed.
17679         * resolv/res_send.c: Add copyright text.
17680         (__libc_res_nsend): Document that MAXPACKET is expected.
17681         (send_vc): Document. Remove buffer reuse.
17682         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
17683         size of the buffer. Add Dprint for truncated UDP buffer.
17685 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
17687         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
17688         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
17689         * INSTALL: Regenerate.
17691 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
17692             Jonathan Wakely  <jwakely@redhat.com>
17693             Carlos O'Donell  <carlos@redhat.com>
17695         [BZ 19439]
17696         * math/Makefile (tests): Add test-math-isinff.
17697         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
17698         * math/bits/mathcalls.h [__USE_MISC]: Use
17699         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
17700         functions not in C++11 and which don't conflict e.g. isinff,
17701         isinfl etc.
17702         * math/test-math-isinff.cc: New file.
17704 2016-02-12  Florian Weimer  <fweimer@redhat.com>
17706         * misc/bug18240.c (do_test): Set RLIMIT_AS.
17708 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17710         [BZ #19529]
17711         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
17713 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17715         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
17717 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
17719         [BZ #19550]
17720         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
17721         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
17722         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
17723         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
17724         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
17725         New syscall entry.
17726         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
17727         New syscall entry.
17728         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
17729         syscall entry.
17731 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
17733         [BZ #18240]
17734         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
17735         unsigned int wraparound.
17737 2016-01-27  Florian Weimer  <fweimer@redhat.com>
17739         [BZ #18240]
17740         * misc/bug18240.c: New test.
17741         * misc/Makefile (tests): Add it.
17743 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
17744             Joseph Myers  <joseph@codesourcery.com>
17746         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
17747         load in branch delay slot when less than a word of input left.
17749 2016-01-27  Andreas Schwab  <schwab@suse.de>
17751         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
17752         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
17753         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
17754         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
17756 2016-01-26  David S. Miller  <davem@davemloft.net>
17758         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
17760 2016-01-25  David S. Miller  <davem@davemloft.net>
17762         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
17763         __sqrtl_finite.
17764         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
17765         instead using versioned_symbol.
17766         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
17767         of entries.
17769         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
17770         __sqrtl_finite to GLIBC_2.23
17772 2016-01-25  Ricchard Henderson  <rth@redhat.com>
17774         * sysdeps/alpha/fpu/libm-test-ulps: Update.
17776 2016-01-25  Andreas Schwab  <schwab@suse.de>
17778         [BZ #17514]
17779         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
17780         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
17781         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
17782         * nptl/tst-mutex-errorcheck.c: New file.
17784 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17786         [BZ #18560]
17787         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
17788         (IPCOP_semop): Likewise.
17789         (IPCOP_semget): Likewise.
17790         (IPCOP_semctl): Likewise.
17791         (IPCOP_msgsnd): Likewise.
17792         (IPCOP_msgrcv): Likewise.
17793         (IPCOP_msgget): Likewise.
17794         (IPCOP_msgctl): Likewise.
17795         (IPCOP_shmat): Likewise.
17796         (IPCOP_shmdt): Likewise.
17797         (IPCOP_shmget): Likewise.
17798         (IPCOP_shmctl): Likewise.
17800 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
17802         * string/tst-endian.c: Include <libc-internal.h>.
17803         (do_test): Ignore tautological-compare warnings around
17804         "htobeXX (beXXtoh (i)) != i" and
17805         "htoleXX (leXXtoh (i)) != i" if-statements.
17807 2016-01-24  David S. Miller  <davem@davemloft.net>
17809         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
17810         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
17811         alias.
17812         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
17813         __sqrtl_finite.
17815         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17817 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
17819         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
17820         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
17821         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17823 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17825         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
17826         (thread_func): Use new function to simplify barrier check.
17827         (do_test): Use new function to simplify checking barrier exit
17828         code, and actually join the child thread.
17830 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17832         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
17833         semicolon.
17834         (__libc_tend): Likewise.
17835         (__libc_tabort): Likewise.
17837 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
17839         * sysdeps/nios2/libm-test-ulps: Update.
17840         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
17841         (__gtsf2): Likewise.
17842         (__unorddf2): Likewise.
17843         (__unordsf2): Likewise.
17844         (__ledf2): Likewise.
17846 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
17848         * nis/nis_table.c (__follow_path): Disable diagnostic for
17849         uninitialized variable that is a false positive for gcc 4.7.
17850         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
17852 2016-01-20  Roland McGrath  <roland@hack.frob.com>
17854         * sysdeps/nacl/lowlevellock-futex.h
17855         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
17856         Always evaluate PRIVATE argument.
17858 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
17860         [BZ #19490]
17861         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
17862         (pthread_cond_broadcast): Use ENTRY/END
17863         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
17864         (pthread_cond_signal): Likewise.
17865         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
17866         Likewise.
17867         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
17868         Likewise.
17869         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
17870         Likewise.
17872 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
17874         * sysdeps/ieee754/dbl-64/s_finite.c
17875         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
17876         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
17877         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
17878         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
17879         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
17881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
17882         (__gtsf2): Add as optional for libc.so.
17883         (__unordsf2): Likewise.
17884         (__signbit): Remove for libc.so.
17885         (__signbitl): Likewise.
17887 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
17889         * iconvdata/bug-iconv11.c (test_ibm93x):
17890         Use %zu printf format specifier for size_t argument.
17892 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
17894         * math/gen-libm-test.pl (parse_ulps): Do not reduce
17895         already-recorded ulps.
17896         * sysdeps/arm/libm-test-ulps: Regenerated.
17897         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
17898         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17899         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
17901 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
17902             Paul Pluzhnikov  <ppluzhnikov@google.com>
17904         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
17905         assembler not supporting AVX-512.
17907 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
17909         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17911 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
17913         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
17914         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17916         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17918         * sysdeps/arm/libm-test-ulps: Regenerated.
17920 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
17922         [BZ #19451]
17923         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
17925 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
17927         [BZ #19486]
17928         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
17929         * sysdeps/generic/fix-fp-int-convert-overflow.h
17930         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
17931         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
17932         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
17933         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
17934         Likewise.
17935         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
17936         Avoid conversions to long int where inexact exceptions
17937         could be raised.
17938         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
17939         Likewise.
17940         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
17941         Avoid conversions to long long int where inexact exceptions
17942         could be raised.
17943         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
17944         Likewise.
17946 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
17948         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
17949         * configure: Regenerated.
17951 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
17953         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
17955 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
17957         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
17958         outside of comment.
17960 2016-01-15  Torvald Riegel  <triegel@redhat.com>
17962         * nptl/tst-barrier1.c: Add description on first line.
17963         * nptl/tst-barrier2.c: Likewise.
17964         * nptl/tst-barrier3.c: Likewise.
17965         * nptl/tst-barrier4.c: Likewise.
17966         * nptl/tst-barrier5.c: Likewise.
17968 2016-01-15  Torvald Riegel  <triegel@redhat.com>
17970         [BZ #18868]
17971         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
17973 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
17975         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
17976         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
17977         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
17978         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
17979         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
17980         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
17981         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17982         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17983         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17984         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17985         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17987 2016-01-15  Torvald Riegel  <triegel@redhat.com>
17989         [BZ #13065]
17990         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
17991         new implementation.
17992         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
17993         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
17994         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
17995         (BARRIER_IN_THRESHOLD): New macro.
17996         * nptl/pthread_barrierattr_setpshared.c
17997         (pthread_barrierattr_setpshared): Clean up.
17998         * nptl/tst-barrier4.c: Correct comment.
17999         * nptl/tst-barrier5.c: New file.
18000         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
18001         (gen-as-const-headers): Remove lowlevelbarrier.sym.
18002         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
18003         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
18004         * nptl/lowlevelbarrier.sym: Remove.
18005         * nptl/DESIGN-barrier.txt: Remove.
18006         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
18007         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
18008         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
18009         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
18010         error.
18011         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
18012         implementation.
18014 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18016         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
18017         (do_child): Mask SIGRTMIN while thr is running.
18019 2016-01-15  Martin Sebor  <msebor@redhat.com>
18021         [BZ #19432]
18022         * iconvdata/Makefile: Add bug-iconv11.
18023         * iconvdata/bug-iconv11.c: New test.
18024         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
18025         * iconvdata/ibm933.c: Same.
18026         * iconvdata/ibm935.c: Same.
18027         * iconvdata/ibm937.c: Same.
18028         * iconvdata/ibm939.c: Same.
18030 2016-01-15  Martin Sebor  <msebor@redhat.com>
18032         [BZ #19443]
18033         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
18034         [DEBUG] (_ufc_set_bits): Declare used.
18035         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
18036         [DEBUG] (print_all): Declare used.
18037         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
18038         operands of the ternary ?: expression to target type.
18039         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
18040         calling the undeclared abort.
18041         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
18043 2016-01-15  Martin Sebor  <msebor@redhat.com>
18045         [BZ #18755]
18046         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
18047         warnings.
18048         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
18049         (__gai_create_helper_thread): Same.
18050         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
18051         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
18052         to suppress -Wmaybe-uninitialized warnings.
18054 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
18056         [BZ #19465]
18057         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
18058         inside if.
18059         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18060         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18061         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18063 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
18065         [BZ #19466]
18066         * time/tst-mktime2.c (time_t_max): Removed.
18067         (time_t_min): Likewise.
18068         (TYPE_SIGNED): New.
18069         (TYPE_MINIMUM): Likewise.
18070         (TYPE_MAXIMUM): Likewise.
18071         (TIME_T_MIN): Likewise.
18072         (TIME_T_MAX): Likewise.
18073         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
18074         and TIME_T_MIN.
18075         (do_test): Likewise.
18077 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
18079         [BZ #19467]
18080         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
18081         index_Fast_Unaligned_Load flag for Excavator family CPUs.
18083 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
18085         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
18087 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
18089         * benchtests/Makefile (PYTHON): Define.
18090         (bench-func): Use $(PYTHON) to run python scripts.
18091         ($(objpfx)bench-%.c): Likewise.
18093 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
18095         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
18096         leading slash when `file_name' is "/".
18098 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
18100         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
18101         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
18102         Likewise.
18103         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
18104         Likewise.
18105         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
18106         Likewise.
18107         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
18108         enum constant and macro.
18109         (PTRACE_SETSIGMASK): Likewise.
18110         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18111         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
18112         (PTRACE_GETSIGMASK): Likewise.
18113         (PTRACE_SETSIGMASK): Likewise.
18114         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18115         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
18116         Likewise.
18117         (PTRACE_SETSIGMASK): Likewise.
18118         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18119         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
18120         (PTRACE_GETSIGMASK): Likewise.
18121         (PTRACE_SETSIGMASK): Likewise.
18122         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18123         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
18124         Likewise.
18125         (PTRACE_SETSIGMASK): Likewise.
18126         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18127         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
18128         Likewise.
18129         (PTRACE_SETSIGMASK): Likewise.
18130         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18131         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
18132         Likewise.
18133         (PTRACE_SETSIGMASK): Likewise.
18134         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18136 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
18137             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18139         [BZ #19439]
18140         * math/bits/mathcalls.h
18141         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
18142         prototype.
18143         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
18145 2016-01-11  Andreas Schwab  <schwab@suse.de>
18147         [BZ #19253]
18148         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
18149         cache when TZDEFRULES was used.
18150         * time/tst-tzname.c: New file.
18151         * time/Makefile (test): Add tst-tzname.
18152         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
18153         * timezone/Makefile (test-zones): Add $(posixrules-file).
18154         ($(testdata)/$(posixrules-file)): New rule.
18156 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
18158         Fix doc quoting problems with Texinfo 5
18159         Without this change, in the info file output, Texinfo 5 quotes code
18160         in text with undirected single quotes 'like this' and generates
18161         code examples that with many PDF readers cannot be cut out of PDFs
18162         and pasted into code.
18163         * manual/libc.texinfo: Configure the libc manual like the GNU
18164         Emacs manual, by using @documentencoding and setting
18165         txicodequoteundirected and txicodequotebacktick.  This way,
18166         Texinfo 5 quotes code in text with directed single quotes ‘like
18167         this’ and produces examples that can be cut out of PDFs.  This
18168         change causes Texinfo 5 to generate info files that contain UTF-8
18169         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
18170         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
18172 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18174         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
18175         __libc_tabort, __libc_tend): New wrappers that enforce compiler
18176         barriers to their respective compiler built-ins.
18177         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
18178         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
18179         * sysdeps/powerpc/sysdep.h: Likewise.
18180         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
18181         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
18182         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
18184 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
18186         * scripts/config.guess: Revert previous shebang change.
18187         * scripts/config.sub: Likewise.
18188         * scripts/mkinstalldirs: Likewise.
18190 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18192         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
18193         PPC_FEATURE2_HAS_IEEE128.
18194         * sysdeps/powerpc/dl-procinfo.c:
18195         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
18197 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
18199         [BZ #19415]
18200         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
18201         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
18202         (_dl_lookup_address): Rewrite using function resolver trampoline.
18203         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
18204         two bits in address.
18206 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
18208         * longlong.h: Change !__SHMEDIA__ to
18209         (!defined (__SHMEDIA__) || !__SHMEDIA__).
18210         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
18212 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
18213             Joseph Myers  <joseph@codesourcery.com>
18214             Mark Shinwell  <shinwell@codesourcery.com>
18215             Andrew Stubbs  <ams@codesourcery.com>
18216             Rich Felker <dalias@libc.org>
18218         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
18220 2016-01-07  Richard Henderson  <rth@redhat.com>
18222         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
18224 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
18226         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
18227         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
18228         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18229         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18230         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
18232 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
18233             Joseph Myers  <joseph@codesourcery.com>
18235         * timezone/private.h: Update from tzcode 2015g.
18236         * timezone/tzfile.h: Likewise.
18237         * timezone/tzselect.ksh: Likewise.
18238         * timezone/zdump.c: Likewise.
18239         * timezone/zic.c: Likewise.
18240         * timezone/ialloc.c: Remove file.
18241         * timezone/scheck.c: Likewise.
18242         * timezone/Makefile (extra-objs): Remove variable.
18243         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
18244         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
18245         -Wno-maybe-uninitialized.
18246         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
18247         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
18248         (CFLAGS-ialloc.c): Remove variable.
18249         (CFLAGS-scheck.c): Likewise.
18250         * timezone/README: Update list of files from tzcode.
18252 2016-01-07  Khem Raj  <raj.khem@gmail.com>
18254         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
18255         instead of __fxprintf when _LIBC is undefined.
18257 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
18259         * catgets/test-gencat.sh: Remove space after shebang.
18260         * conform/GlibcConform.pm: Likewise.
18261         * conform/check-header-lists.sh: Likewise.
18262         * conform/conformtest.pl: Likewise.
18263         * conform/linknamespace.pl: Likewise.
18264         * conform/list-header-symbols.pl: Likewise.
18265         * debug/catchsegv.sh: Likewise.
18266         * elf/genrtldtbl.awk: Likewise.
18267         * elf/tst-pathopt.sh: Likewise.
18268         * elf/tst-rtld-load-self.sh: Likewise.
18269         * grp/tst_fgetgrent.sh: Likewise.
18270         * iconvdata/gen-8bit-gap-1.sh: Likewise.
18271         * iconvdata/gen-8bit-gap.sh: Likewise.
18272         * iconvdata/gen-8bit.sh: Likewise.
18273         * iconvdata/run-iconv-test.sh: Likewise.
18274         * intl/tst-gettext.sh: Likewise.
18275         * intl/tst-gettext2.sh: Likewise.
18276         * intl/tst-gettext4.sh: Likewise.
18277         * intl/tst-gettext6.sh: Likewise.
18278         * intl/tst-translit.sh: Likewise.
18279         * io/ftwtest-sh: Likewise.
18280         * libio/test-freopen.sh: Likewise.
18281         * locale/gen-translit.pl: Likewise.
18282         * malloc/tst-mtrace.sh: Likewise.
18283         * manual/check-safety.sh: Likewise.
18284         * manual/libc-texinfo.sh: Likewise.
18285         * manual/tsort.awk: Likewise.
18286         * manual/xtract-typefun.awk: Likewise.
18287         * nptl/tst-cancel-wrappers.sh: Likewise.
18288         * nptl/tst-tls6.sh: Likewise.
18289         * posix/globtest.sh: Likewise.
18290         * posix/tst-getconf.sh: Likewise.
18291         * posix/wordexp-tst.sh: Likewise.
18292         * scripts/check-c++-types.sh: Likewise.
18293         * scripts/check-local-headers.sh: Likewise.
18294         * scripts/config.guess: Likewise.
18295         * scripts/config.sub: Likewise.
18296         * scripts/cpp: Likewise.
18297         * scripts/cross-test-ssh.sh: Likewise.
18298         * scripts/documented.sh: Likewise.
18299         * scripts/evaluate-test.sh: Likewise.
18300         * scripts/gen-libc-abis: Likewise.
18301         * scripts/gen-sorted.awk: Likewise.
18302         * scripts/list-fixed-bugs.py: Likewise.
18303         * scripts/merge-test-results.sh: Likewise.
18304         * scripts/mkinstalldirs: Likewise.
18305         * scripts/rellns-sh: Likewise.
18306         * scripts/test-installation.pl: Likewise.
18307         * scripts/update-copyrights: Likewise.
18308         * stdio-common/tst-printf.sh: Likewise.
18309         * stdio-common/tst-unbputc.sh: Likewise.
18310         * stdlib/tst-fmtmsg.sh: Likewise.
18311         * stdlib/tst-setcontext3.sh: Likewise.
18312         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
18313         * sysdeps/unix/make-syscalls.sh: Likewise.
18315 2016-01-06  John David Anglin  <dave.anglin@bell.net>
18317         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
18318         asm stw with atomic_exchange_rel.  Add explanatory comment.
18319         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
18320         Likewise.
18322 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
18324         [BZ #19122]
18325         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
18326         * sysdeps/generic/dl-unistd.h: New file.
18327         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
18329 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
18331          [BZ #19122]
18332          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
18333          * sysdeps/generic/dl-mman.h: New file.
18334          * sysdeps/mach/hurd/dl-mman.h: Likewise.
18336 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
18338         * manual/texinfo.tex: Update to version 2016-01-04.21 with
18339         trailing whitespace removed.
18340         * scripts/config.guess: Update to version 2016-01-01.
18341         * scripts/config.sub: Update to version 2016-01-01.
18342         * scripts/move-if-change: Update from gnulib.
18344 2016-01-04  Anton Blanchard  <anton@samba.org>
18346         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
18347         for array indices.
18348         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
18350 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
18352         * NEWS: Update copyright dates.
18353         * catgets/gencat.c (print_version): Likewise.
18354         * csu/version.c (banner): Likewise.
18355         * debug/catchsegv.sh: Likewise.
18356         * debug/pcprofiledump.c (print_version): Likewise.
18357         * debug/xtrace.sh (do_version): Likewise.
18358         * elf/ldconfig.c (print_version): Likewise.
18359         * elf/ldd.bash.in: Likewise.
18360         * elf/pldd.c (print_version): Likewise.
18361         * elf/sotruss.sh: Likewise.
18362         * elf/sprof.c (print_version): Likewise.
18363         * iconv/iconv_prog.c (print_version): Likewise.
18364         * iconv/iconvconfig.c (print_version): Likewise.
18365         * locale/programs/locale.c (print_version): Likewise.
18366         * locale/programs/localedef.c (print_version): Likewise.
18367         * login/programs/pt_chown.c (print_version): Likewise.
18368         * malloc/memusage.sh (do_version): Likewise.
18369         * malloc/memusagestat.c (print_version): Likewise.
18370         * malloc/mtrace.pl: Likewise.
18371         * manual/libc.texinfo: Likewise.
18372         * nptl/version.c (banner): Likewise.
18373         * nscd/nscd.c (print_version): Likewise.
18374         * nss/getent.c (print_version): Likewise.
18375         * nss/makedb.c (print_version): Likewise.
18376         * posix/getconf.c (main): Likewise.
18377         * scripts/test-installation.pl: Likewise.
18378         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
18380         * All files with FSF copyright notices: Update copyright dates
18381         using scripts/update-copyrights.
18382         * intl/plural.c: Regenerated.
18383         * locale/programs/charmap-kw.h: Likewise.
18384         * locale/programs/locfile-kw.h: Likewise.
18386 2016-01-02  Helge Deller  <deller@gmx.de>
18388         [BZ #19285]
18389         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
18390         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
18391         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
18392         (MADV_xxK_PAGES): Remove.
18394 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
18396         [BZ #15421]
18397         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
18398         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
18399         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
18400         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
18402 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
18404         [BZ #19408]
18405         * sysdeps/unix/sysv/linux/personality.c: New file.
18406         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
18407         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
18408         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
18409         (sysdep_routines): Add personality.
18410         (tests): Add tst-personality.
18411         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
18412         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
18413         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
18414         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
18415         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
18416         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
18417         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
18418         Likewise.
18419         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
18420         Likewise.
18421         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
18422         Likewise.
18423         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
18424         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
18425         Likewise.
18427 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
18429         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
18430         (PATH_ARM_SYSTYPE): Remove.
18431         (PATH_CPUINFO): Likewise.
18432         (IO_BASE_FOOTBRIDGE): Likewise.
18433         (IO_SHIFT_FOOTBRIDGE): Likewise.
18434         (struct platform): Likewise.
18435         (init_iosys): Remove compatibility code for 2.4 kernels.
18436         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
18438 2015-12-29  Florian Weimer  <fweimer@redhat.com>
18440         * malloc/tst-malloc-thread-fail.c: New file.
18441         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
18442         (tst-malloc-thread-fail): Link against libpthread.
18444 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
18446         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
18447         (get_parser): New function.
18448         (main): New function.
18450 2015-12-29  Rob Wu  <rob@robwu.nl>
18452         [BZ #19369]
18453         * resolv/res_init.c (__res_vinit): Reset defdname before use.
18455 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
18457         [BZ #19270]
18458         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
18460 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
18462         [BZ #15421]
18463         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
18465 2015-12-23  Torvald Riegel  <triegel@redhat.com>
18467         [BZ #13690]
18468         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
18469         after releasing it.
18470         (__lll_robust_unlock): Likewise.
18471         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
18472         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
18473         (lll_robust_unlock): Likewise.
18474         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
18475         Prevent warnings in callers.
18477 2015-12-23  Florian Weimer  <fweimer@redhat.com>
18479         * malloc/arena.c (list_lock): Update comment.
18481 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18483         * sysdeps/powerpc/hwcapinfo.c: Export symbol
18484         __parse_hwcap_and_convert_at_platform to libc.a.
18486 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18488         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
18489         platform and feature support for POWER9.
18490         * sysdeps/powerpc/dl-procinfo.h: Likewise.
18491         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
18492         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
18493         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
18494         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
18495         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
18496         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
18497         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
18499 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18501         Harmonize generic stdio-lock support with nptl
18503         This fixes build when _IO_funlockfile is a macro, fixes build where
18504         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
18505         stack unwind.
18507         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
18508         _IO_release_lock ): Use cleanup attribute on new
18509         _IO_acquire_lock_file variable instead of assuming that
18510         _IO_release_lock will be called.
18511         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
18512         _IO_acquire_lock_needs_exceptions_enabled.
18513         (_IO_acquire_lock_clear_flags2): New macro.
18515 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18517         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
18519 2015-12-21  Florian Weimer  <fweimer@redhat.com>
18521         [BZ #19182]
18522         * malloc/arena.c (list_lock): Document lock ordering requirements.
18523         (free_list_lock): New lock.
18524         (ptmalloc_lock_all): Comment on free_list_lock.
18525         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
18526         (detach_arena): Update comment.  free_list_lock is now needed.
18527         (_int_new_arena): Use free_list_lock around detach_arena call.
18528         Acquire arena lock after list_lock.  Add comment, including FIXME
18529         about incorrect synchronization.
18530         (get_free_list): Switch to free_list_lock.
18531         (reused_arena): Acquire free_list_lock around detach_arena call
18532         and attached threads counter update.  Add two FIXMEs about
18533         incorrect synchronization.
18534         (arena_thread_freeres): Switch to free_list_lock.
18535         * malloc/malloc.c (struct malloc_state): Update comments to
18536         mention free_list_lock.
18538 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
18540         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
18541         Remove functions.
18542         (sloww, sloww1): Accept argument to offset quadrant.
18543         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
18544         quadrant.
18545         (__sin, __cos): Consolidate common code into new functions.
18546         (reduce_sincos_1, do_sincos_1): New functions.
18547         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
18549         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
18550         code to new functions.
18551         (reduce_sincos_2, do_sincos_2): New functions.
18552         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
18554         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
18555         common code for sincos.
18556         (__cos) [!IN_SINCOS]: Likewise.
18557         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
18558         New function.
18559         (__sincos): Use it.
18561 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
18563         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
18564         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
18565         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
18567 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
18569         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
18570         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
18571         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
18572         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
18573         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18574         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
18575         index_Prefer_No_VZEROUPPER): New feature.
18576         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
18577         Prefer_No_VZEROUPPER for Knights Landing.
18579 015-12-18  Torvald Riegel  <triegel@redhat.com>
18581         * math/atest-exp2.c (mp_exp_m1): Remove.
18583 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18585         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
18586         syscalls.
18587         (__SYSCALL0): New macro.
18588         (__SYSCALL1): Likewise.
18589         (__SYSCALL2): Likewise.
18590         (__SYSCALL3): Likewise.
18591         (__SYSCALL4): Likewise.
18592         (__SYSCALL5): Likewise.
18593         (__SYSCALL6): Likewise.
18594         (__SYSCALL_CONCAT_X): Likewise.
18595         (__SYSCALL_CONCAT): Likewise.
18596         (__SYSCALL_DIST): Likewise.
18597         (__SYSCALL_CALL): Likewise.
18599 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
18601         [BZ #19363]
18602         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
18604 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18606         [BZ #19375]
18607         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
18608         negative subnormals.
18610 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
18612         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
18613         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
18614         (INTERNAL_SYSCALL_NCS): Use it.
18615         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
18617 2015-12-16  Florian Weimer  <fweimer@redhat.com>
18619         [BZ #19243]
18620         * malloc/arena.c (get_free_list): Remove assert and adjust
18621         reference count handling.  Add comment about reused_arena
18622         interaction.
18623         (reused_arena): Add comments abount get_free_list interaction.
18624         * malloc/tst-malloc-thread-exit.c: New file.
18625         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
18626         (tst-malloc-thread-exit): Link against libpthread.
18628 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
18630         [BZ #19367]
18631         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
18632         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
18633         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
18634         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
18635         (index_Prefer_MAP_32BIT_EXEC): Likewise.
18637 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
18639         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
18640         Silvermont optimizations for Knights Landing.
18642 2015-12-15  Andreas Schwab  <schwab@suse.de>
18644         [BZ #17197]
18645         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
18646         immediately after emitting SI.
18647         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
18648         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
18649         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
18650         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
18651         * iconvdata/bug-iconv10.c: New file.
18652         * iconvdata/Makefile (tests): Add bug-iconv10.
18653         ($(objpfx)bug-iconv10.out): New rule.
18655 2015-12-15  Florian Weimer  <fweimer@redhat.com>
18657         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
18658         aliasing violation.
18660 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
18662         [BZ #18472]
18663         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
18664         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
18665         conditionals for them.
18666         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
18667         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
18668         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
18669         sys/kdaemon.h.
18670         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
18671         compat-only syscall, obsoleted in glibc 2.23.
18672         (create_module): Likewise.
18673         (get_kernel_syms): Likewise.
18674         (query_module): Likewise.
18675         (uselib): Likewise.
18676         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
18678 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
18680         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
18681         <linux/version.h>.
18682         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
18683         conditional code.
18684         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
18685         and ioshift_name initialization.
18687 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
18689         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
18690         Fix indentation.
18692 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
18694         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
18696 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
18698         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
18700 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
18701             Jakub Wilk  <jwilk@debian.org>
18703         [BZ #19347]
18704         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
18705         to change the group of the device to the tty group.
18707 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
18709         Split large string section; add truncation advice
18710         * manual/examples/strncat.c: Remove.
18711         This example was misleading, as the code would have undefined
18712         behavior if "hello" was longer than SIZE.  Anyway, the manual
18713         shouldn't encourage strncpy+strncat for this sort of thing.
18714         * manual/string.texi (Copying Strings and Arrays): Split into
18715         three sections Copying Strings and Arrays, Concatenating Strings,
18716         and Truncating Strings, as this section was way too long.  All
18717         cross-referenced changed.  Add advice about string-truncation
18718         functions.  Remove misleading strncat example.
18720 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
18722         * manual/nss.texi (NSS Modules Interface): Document
18723         NSS_STATUS_NOTFOUND and SUCCESS.
18725 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
18727         [BZ 18568]
18728         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
18729         201505L, for Unicode 8.
18731 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
18733         * locale/C-translit.h: Regenerate.
18735 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
18737         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
18738         and U+0153.
18740 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
18742         [BZ #19351]
18743         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
18744         expanding log(1+z), compare z rather than its square with epsilon
18745         to determine when to avoid evaluating the expansion.
18747         [BZ #19350]
18748         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
18749         Increase overflow threshold.
18751         [BZ #19349]
18752         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
18753         when small.
18755         * sysdeps/unix/sysv/linux/i386/kernel-features.h
18756         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
18757         New macro.
18758         [__LINUX_KERNEL_VERSION >= 0x040300]
18759         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
18760         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
18761         Likewise.
18762         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
18763         Likewise.
18764         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
18765         Likewise.
18766         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
18767         Likewise.
18768         [__LINUX_KERNEL_VERSION >= 0x040300]
18769         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
18770         [__LINUX_KERNEL_VERSION >= 0x040300]
18771         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
18772         [__LINUX_KERNEL_VERSION >= 0x040300]
18773         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
18774         [__LINUX_KERNEL_VERSION >= 0x040300]
18775         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
18776         [__LINUX_KERNEL_VERSION >= 0x040300]
18777         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
18778         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
18779         Likewise.
18780         [__LINUX_KERNEL_VERSION >= 0x040300]
18781         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
18782         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
18783         Likewise.
18784         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
18785         Likewise.
18786         [__LINUX_KERNEL_VERSION >= 0x040300]
18787         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
18788         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
18789         Likewise.
18790         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
18791         Likewise.
18792         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18793         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
18794         Likewise.
18795         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
18796         Likewise.
18797         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
18798         Likewise.
18799         [__LINUX_KERNEL_VERSION >= 0x040300]
18800         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
18801         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
18802         Likewise.
18803         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
18804         Likewise.
18805         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
18806         Likewise.
18807         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
18808         Likewise.
18809         [__LINUX_KERNEL_VERSION >= 0x040300]
18810         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
18811         [__LINUX_KERNEL_VERSION >= 0x040300]
18812         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
18813         [__LINUX_KERNEL_VERSION >= 0x040300]
18814         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
18815         [__LINUX_KERNEL_VERSION >= 0x040300]
18816         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
18817         [__LINUX_KERNEL_VERSION >= 0x040300]
18818         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
18819         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
18820         Likewise.
18821         [__LINUX_KERNEL_VERSION >= 0x040300]
18822         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
18823         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
18824         Likewise.
18825         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
18826         Likewise.
18827         [__LINUX_KERNEL_VERSION >= 0x040300]
18828         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
18829         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
18830         Likewise.
18831         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
18832         Likewise.
18833         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18834         (__ASSUME_SOCKET_SYSCALL): Likewise.
18835         (__ASSUME_BIND_SYSCALL): Likewise.
18836         (__ASSUME_CONNECT_SYSCALL): Likewise.
18837         (__ASSUME_LISTEN_SYSCALL): Likewise.
18838         (__ASSUME_ACCEPT_SYSCALL): Likewise.
18839         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
18840         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
18841         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
18842         (__ASSUME_SEND_SYSCALL): Likewise.
18843         (__ASSUME_SENDTO_SYSCALL): Likewise.
18844         (__ASSUME_RECV_SYSCALL): Likewise.
18845         (__ASSUME_RECVFROM_SYSCALL): Likewise.
18846         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
18847         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
18848         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
18849         (__ASSUME_SENDMSG_SYSCALL): Likewise.
18850         (__ASSUME_RECVMSG_SYSCALL): Likewise.
18851         * sysdeps/unix/sysv/linux/sh/kernel-features.h
18852         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
18853         Likewise.
18854         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
18855         Likewise.
18856         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
18857         Likewise.
18858         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
18859         Likewise.
18860         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
18861         Likewise.
18862         [__LINUX_KERNEL_VERSION >= 0x020625]
18863         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
18864         [__LINUX_KERNEL_VERSION >= 0x020625]
18865         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
18866         [__LINUX_KERNEL_VERSION >= 0x020625]
18867         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
18868         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
18869         Likewise.
18870         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
18871         Likewise.
18872         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
18873         Likewise.
18874         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
18875         Likewise.
18876         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
18877         Likewise.
18878         [__LINUX_KERNEL_VERSION >= 0x020625]
18879         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
18880         [__LINUX_KERNEL_VERSION >= 0x020625]
18881         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
18882         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
18883         Likewise.
18884         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
18885         Likewise.
18887 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
18889         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
18890         record the current if the current ABI and CPU support the FP64
18891         extension.
18892         (has-modd-spreg): Define to record the current if the current ABI and
18893         CPU support 32-bit floating point values in odd FPU registers.
18894         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18895         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
18896         $(has-modd-spreg) equals yes.
18897         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
18898         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
18899         $(has-modd-spreg) equal yes.
18901 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
18903         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
18904         basename.
18906 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
18908         * benchtests/Makefile (bench-math): Move ffs and ffsll...
18909         (bench-string): ... here.
18910         (bench): Add bench-string.
18911         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
18912         to *-benchset to reflect what they are.
18913         (benchset): Adjust.
18915         * benchtests/sincos-inputs: Add inputs from sin-inputs and
18916         cos-inputs.
18918 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
18920         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
18921         __attribute__ ((__simd__)) for vector math function declarations.
18923 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
18925         Fix typo in strncat, wcsncat manual entries
18926         * manual/string.texi (Copying and Concatenation): Fix typos in
18927         sample implementations of strncat and wcsncat, by having them use
18928         the old value of the destination length, not the new one.
18930 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
18932         [BZ #16961]
18933         [BZ #16962]
18934         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
18935         string on the stack for strtod.
18936         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
18937         a string on the stack for strtof.
18938         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
18939         constructing a string on the stack for strtold.
18940         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
18941         __strtold_nan to GLIBC_PRIVATE.
18942         * math/test-nan-overflow.c: New file.
18943         * math/test-nan-payload.c: Likewise.
18944         * math/Makefile (tests): Add test-nan-overflow and
18945         test-nan-payload.
18947 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
18949         Consistency about byte vs character in string.texi
18950         * manual/string.texi (String and Array Utilities):
18951         Distinguish more carefully among bytes, multibyte characters,
18952         and wide characters.  Use "byte" when talking about C 'char',
18953         to distinguish it more clearly from multibyte characters.
18954         Say "wide character" or "multibyte character" instead of
18955         "character", when a wide or multibyte character is intended.
18956         Similarly for "multibyte string" versus "string".
18957         Define these terms more carefully.
18959 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
18961         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
18962         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
18963         Likewise.
18964         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
18965         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
18966         * sysdeps/sh/math_private.h: New file.
18967         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
18968         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
18969         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
18970         long double function name.
18971         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18972         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18973         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18974         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18975         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18976         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
18977         Remove __finitel, __isinfl, and __isnanl.
18978         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18979         Likewise.
18980         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18981         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18982         Remove __finitel.
18983         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18984         Likewise.
18985         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18987 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
18989         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
18990         installed libmvec_nonshared.a.
18992 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18994         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
18995         (sysdep_routines): Likewise.
18996         (sysdep-rtld-routines): Likewise.
18997         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
18998         [$(subdir) = nptl](tests-static): test-get_hwcap-static
18999         * sysdeps/powerpc/Versions: Added new
19000         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
19001         * sysdeps/powerpc/hwcapinfo.c: New file.
19002         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
19003         and parse hwcap, hwcap2 and platform number information.
19004         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
19005         to store HWCAP+HWCAP2 and platform number.
19006         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
19007         for HWCAP+HWCAP2 and platform number in the TCB.
19008         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
19009         the HWCAP, HWCAP2 and platform number in the TCB.
19010         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
19011         (TLS_INIT_TP): Included calls to add the hwcap and
19012         at_platform values in the TCB in TP initialization.
19013         (TLS_DEFINE_INIT_TP): Likewise.
19014         (THREAD_GET_HWCAP): New macro.
19015         (THREAD_SET_HWCAP): Likewise.
19016         (THREAD_GET_AT_PLATFORM): Likewise.
19017         (THREAD_SET_AT_PLATFORM): Likewise.
19018         * sysdeps/powerpc/powerpc32/dl-machine.h:
19019         (dl_platform_init): New function that calls
19020         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
19021         powerpc32.
19022         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
19023         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
19024         this functionality, static linking case.
19025         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
19026         linking case.
19027         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
19028         __parse_hwcap_and_convert_at_platform for the static linking case.
19029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
19030         Included the new __parse_hwcap_and_convert_at_platform symbol in the
19031         ABI list for GLIBC 2.23.
19032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
19033         Likewise.
19034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
19035         Likewise.
19037 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
19039         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
19040         * configure: Regenerate.
19041         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
19042         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
19044 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
19046         * iconvdata/ibm930.c: Add comment explaining encoding uses.
19047         * iconvdata/ibm933.c: Likewise.
19048         * iconvdata/ibm935.c: Likewise.
19049         * iconvdata/ibm937.c: Likewise.
19050         * iconvdata/ibm939.c: Likewise.
19052 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19054         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
19055         pthread_join.
19056         * nptl/tst-cancel21.c (tf): Likewise.
19058 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
19060         [BZ #19313]
19061         * bits/typesizes.h (__CPU_MASK_TYPE): New.
19062         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
19063         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
19064         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
19065         Likewise.
19066         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
19067         Likewise.
19068         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
19069         Likewise.
19070         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
19071         Likewise.
19072         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
19073         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
19074         unsigned long int with __CPU_MASK_TYPE.
19076 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19078         * sysdeps/aarch64/libm-test-ulps: Regenerated.
19080 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
19082         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
19083         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
19084         t512.x.
19085         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
19087 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
19089         [BZ #19214]
19090         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
19091         argument to return extended model.  Update family and model
19092         with extended family and model when family == 0x0f.
19093         (init_cpu_features): Updated.
19095 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19097         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
19098         signed off_t, so 32bit bigger than 2GiB values are fine actually.
19100         * sysdeps/mach/hurd/mmap64.c: New file.
19102 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
19104         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
19105         rights for its main user thread in NEWTASK.
19107 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
19109         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
19110         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
19112 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
19114         [BZ #14259]
19115         * Makeconfig: Rename localedir to complocaledir.
19116         Rename inst_localedir to inst_complocaledir.
19117         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
19118         * config.make.in: Use complocaledir and libc_cv_complocaledir.
19119         * configure.ac: Use libc_cv_complocaledir.
19120         * configure: Regenerate.
19121         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
19122         -DCOMPLOCALEDIR.
19123         * locale/findlocale.c: Use COMPLOCALEDIR.
19124         * locale/loadarchive.c: Likewise.
19125         * locale/programs/locale.c: Likewise.
19126         * locale/programs/localedef.c: Likewise.
19127         * locale/programs/locarchive.c: Likewise.
19128         * localedata/Makefile: Use inst_complocaledir.
19129         * sysdeps/gnu/configure: Regenerate.
19130         * sysdeps/hppa/configure: Regenerate.
19131         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
19132         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19134         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
19135         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
19136         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
19137         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
19139 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
19141         [BZ #19058]
19142         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
19143         AS_NEEDED.
19144         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
19145         workaround.
19146         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
19147         libmvec-static-only-routines): Added new file.
19148         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
19150 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19152         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
19153         of interrupted RPC instead of restoring it.
19155         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
19156         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
19157         libc_hidden_def.
19158         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
19159         into initialized data instead of common. Define rtld_hidden_data_def.
19160         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
19161         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
19162         libc_hidden_def.
19163         (if_freenameindex): Add libc_hidden_weak.
19164         (if_nameindex): Add libc_hidden_weak.
19165         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
19166         __open64.
19167         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
19168         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
19169         * sysdeps/mach/nanosleep.c: Include <time.h>
19170         (__nanosleep): Rename to __libc_nanosleep.
19171         (__nanosleep): Add weak_alias.
19172         (nanosleep): Update alias.
19174 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
19176         * stdlib/strtod_nan.c: New file.
19177         * stdlib/strtod_nan_double.h: Likewise.
19178         * stdlib/strtod_nan_float.h: Likewise.
19179         * stdlib/strtod_nan_main.c: Likewise.
19180         * stdlib/strtod_nan_narrow.h: Likewise.
19181         * stdlib/strtod_nan_wide.h: Likewise.
19182         * stdlib/strtof_nan.c: Likewise.
19183         * stdlib/strtold_nan.c: Likewise.
19184         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
19185         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
19186         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
19187         * wcsmbs/wcstod_nan.c: Likewise.
19188         * wcsmbs/wcstof_nan.c: Likewise.
19189         * wcsmbs/wcstold_nan.c: Likewise.
19190         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
19191         strtold_nan.
19192         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
19193         wcstof_nan.
19194         * include/stdlib.h (__strtof_nan): Declare and use
19195         libc_hidden_proto.
19196         (__strtod_nan): Likewise.
19197         (__strtold_nan): Likewise.
19198         (__wcstof_nan): Likewise.
19199         (__wcstod_nan): Likewise.
19200         (__wcstold_nan): Likewise.
19201         * include/wchar.h (____wcstoull_l_internal): Declare.
19202         * stdlib/strtod_l.c: Do not include <ieee754.h>.
19203         (____strtoull_l_internal): Remove declaration.
19204         (STRTOF_NAN): Define macro.
19205         (SET_MANTISSA): Remove macro.
19206         (STRTOULL): Likewise.
19207         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
19208         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
19209         (STRTOF_NAN): Define macro.
19210         (SET_MANTISSA): Remove macro.
19211         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
19212         (SET_MANTISSA): Remove macro.
19213         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
19214         macro.
19215         (SET_MANTISSA): Remove macro.
19216         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
19217         macro.
19218         (SET_MANTISSA): Remove macro.
19219         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
19220         (SET_MANTISSA): Remove macro.
19221         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
19222         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
19223         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
19225         [BZ #19266]
19226         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
19227         upper case and lower case letters inside NAN(), not using TOLOWER.
19228         * stdlib/tst-strtod-nan-locale-main.c: New file.
19229         * stdlib/tst-strtod-nan-locale.c: Likewise.
19230         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
19231         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
19232         Depend on $(gen-locales).
19233         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
19234         * wcsmbs/tst-wcstod-nan-locale.c: New file.
19235         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
19236         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
19237         Depend on $(gen-locales).
19238         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
19240 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
19242         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
19244         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
19245         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
19246         __finitel, __isinfl, and __isnanl.
19247         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19248         Likewise.
19249         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19250         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
19251         __finitel.
19252         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19253         Likewise.
19254         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19256 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
19258         * malloc/memusage.c (me): Remove redundant getenv call.
19260 2015-10-24  Florian Weimer  <fweimer@redhat.com>
19262         [BZ #19143]
19263         [BZ #19164]
19264         * nptl/check-cpuset.h: Remove.
19265         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
19266         Remove CPU set size check.
19267         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
19268         Likewise.
19269         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
19270         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
19271         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
19272         (__pthread_setaffinity_new): Remove CPU set size check.
19273         * sysdeps/unix/sysv/linux/sched_setaffinity.c
19274         (__kernel_cpumask_size): Remove.
19275         (__sched_setaffinity_new): Remove CPU set size check.
19276         * manual/threads.texi (Default Thread Attributes): Remove stale
19277         reference to check_cpuset_attr, determine_cpumask_size in comment.
19278         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
19279         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
19280         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
19281         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
19282         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
19283         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
19284         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
19285         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
19286         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
19287         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
19288         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
19289         skeleton test file.
19290         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
19291         tst-affinity-pid.
19293 2015-11-24  Florian Weimer  <fweimer@redhat.com>
19295         * scripts/update-abilist.sh: New file.
19296         * Makefile (+subdir_targets): Add subdir_update-all-abi.
19297         * Makerules (update-all-abi-%, update-all-abi)
19298         (subdir_update-all-abi): New targets.
19299         * elf/Makefile (update-all-abi): New target.
19301 2015-11-24  Florian Weimer  <fweimer@redhat.com>
19303         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
19304         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
19305         (__libc_lock_define_initialized): Use it.
19306         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
19307         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
19308         * malloc/malloc.c (main_arena): Likewise.
19309         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
19310         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
19312 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
19314         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
19315         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
19316         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
19317         (PTRACE_O_MASK): Update value.
19318         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
19319         New value in enum __ptrace_setoptions.
19320         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
19321         (PTRACE_O_MASK): Update value.
19322         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
19323         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
19324         (PTRACE_O_MASK): Update value.
19325         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
19326         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
19327         (PTRACE_O_MASK): Update value.
19328         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
19329         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
19330         (PTRACE_O_MASK): Update value.
19331         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
19332         New value in enum __ptrace_setoptions.
19333         (PTRACE_O_MASK): Update value.
19334         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
19335         New value in enum __ptrace_setoptions.
19336         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
19337         (PTRACE_O_MASK): Update value.
19339         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
19340         New macro.
19341         (PACKET_AUXDATA): Likewise.
19342         (PACKET_ORIGDEV): Likewise.
19343         (PACKET_VERSION): Likewise.
19344         (PACKET_HDRLEN): Likewise.
19345         (PACKET_RESERVE): Likewise.
19346         (PACKET_TX_RING): Likewise.
19347         (PACKET_LOSS): Likewise.
19348         (PACKET_VNET_HDR): Likewise.
19349         (PACKET_TX_TIMESTAMP): Likewise.
19350         (PACKET_TIMESTAMP): Likewise.
19351         (PACKET_FANOUT): Likewise.
19352         (PACKET_TX_HAS_OFF): Likewise.
19353         (PACKET_QDISC_BYPASS): Likewise.
19354         (PACKET_ROLLOVER_STATS): Likewise.
19355         (PACKET_FANOUT_DATA): Likewise.
19356         (PACKET_MR_UNICAST): Likewise.
19358         [BZ #19242]
19359         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
19360         (TOUPPER): Likewise.
19361         * stdlib/tst-strtol-locale-main.c: New file.
19362         * stdlib/tst-strtol-locale.c: Likewise.
19363         * stdlib/Makefile (tests): Add tst-strtol-locale.
19364         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
19365         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
19366         Depend on $(gen-locales).
19367         * wcsmbs/tst-wcstol-locale.c: New file.
19368         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
19369         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
19370         tr_TR.ISO-8859-9.
19371         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
19372         Depend on $(gen-locales).
19374 2015-11-20  Roland McGrath  <roland@hack.frob.com>
19376         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
19377         __glibc_likely instead of __builtin_expect.  After falling back to
19378         dyncode_create in a non-ET_DYN case, use the allocate_code_data
19379         system interface to register the code pages as occupied.
19381 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
19383         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
19384         [!ARM_MATH_PRIVATE_H].
19385         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
19386         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
19387         [!HPPA_MATH_PRIVATE_H].
19388         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
19389         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
19390         to [!I386_MATH_PRIVATE_H].
19391         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
19392         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
19393         Change guard to [!M68K_MATH_PRIVATE_H].
19394         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
19395         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
19396         guard to [!MICROBLAZE_MATH_PRIVATE_H].
19397         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
19398         macro.
19399         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
19400         [!MIPS_MATH_PRIVATE_H].
19401         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
19402         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
19403         [!NIO2_MATH_PRIVATE_H].
19404         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
19405         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
19406         [!TILE_MATH_PRIVATE_H].
19407         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
19409         [BZ #15421]
19410         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
19411         initialize with 0 and define as weak alias of __signgam.
19412         * include/math.h [!_ISOMAC] (__signgam): Declare.
19413         * math/Makefile (libm-calls): Add w_lgamma_compat.
19414         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
19415         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
19416         test-signgam-ullong-init.
19417         (tests-static): Add test-signgam-uchar-static,
19418         test-signgam-uchar-init-static, test-signgam-uint-static,
19419         test-signgam-uint-init-static, test-signgam-ullong-static and
19420         test-signgam-ullong-init-static.
19421         (CFLAGS-test-signgam-uchar.c): New variable.
19422         (CFLAGS-test-signgam-uchar-init.c): Likewise.
19423         (CFLAGS-test-signgam-uchar-static.c): Likewise.
19424         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
19425         (CFLAGS-test-signgam-uint.c): Likewise.
19426         (CFLAGS-test-signgam-uint-init.c): Likewise.
19427         (CFLAGS-test-signgam-uint-static.c): Likewise.
19428         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
19429         (CFLAGS-test-signgam-ullong.c): Likewise.
19430         (CFLAGS-test-signgam-ullong-init.c): Likewise.
19431         (CFLAGS-test-signgam-ullong-static.c): Likewise.
19432         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
19433         * math/Versions (libm): Add GLIBC_2.23.
19434         * math/lgamma-compat.h: New file.
19435         * math/test-signgam-main.c: Likewise.
19436         * math/test-signgam-uchar-init-static.c: Likewise.
19437         * math/test-signgam-uchar-init.c: Likewise.
19438         * math/test-signgam-uchar-static.c: Likewise.
19439         * math/test-signgam-uchar.c: Likewise.
19440         * math/test-signgam-uint-init-static.c: Likewise.
19441         * math/test-signgam-uint-init.c: Likewise.
19442         * math/test-signgam-uint-static.c: Likewise.
19443         * math/test-signgam-uint.c: Likewise.
19444         * math/test-signgam-ullong-init-static.c: Likewise.
19445         * math/test-signgam-ullong-init.c: Likewise.
19446         * math/test-signgam-ullong-static.c: Likewise.
19447         * math/test-signgam-ullong.c: Likewise.
19448         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
19449         wrapper of w_lgamma_main.c.
19450         * math/w_lgamma_compat.c: New file.
19451         * math/w_lgamma_compatf.c: Likewise.
19452         * math/w_lgamma_compatl.c: Likewise.
19453         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
19454         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
19455         defining compatibility symbols.
19456         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
19457         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
19458         wrapper of w_lgammaf_main.c.
19459         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
19460         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
19461         defining compatibility symbols.
19462         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
19463         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
19464         wrapper of w_lgammal_main.c.
19465         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
19466         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
19467         defining compatibility symbols.
19468         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
19469         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
19470         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
19471         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
19472         <lgamma-compat.h>.
19473         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
19474         (__ieee754_gamma): Define as alias.
19475         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
19476         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
19477         <lgamma-compat.h>.
19478         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
19479         (__ieee754_gammaf): Define as alias.
19480         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
19481         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
19482         <lgamma-compat.h>.
19483         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
19484         (__ieee754_gammal): Define as alias.
19485         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
19486         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
19487         <math/w_lgamma_compat.c>.
19488         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
19489         Define as alias of __lgamma_compat and use in defining lgammal.
19490         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
19491         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
19492         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
19493         (USE_AS_COMPAT): New macro.
19494         (LGAMMA_OLD_VER): Undefine and redefine.
19495         (lgammal): Do not define here.
19496         (gammal): Only define here if [GAMMA_ALIAS].
19497         * conform/linknamespace.pl (@whitelist): Remove signgam.
19498         * sysdeps/nacl/libm.abilist: Update.
19499         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19500         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19501         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19502         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19503         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19504         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19505         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19506         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19507         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19508         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19509         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19510         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
19512         Likewise.
19513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19514         Likewise.
19515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
19516         Likewise.
19517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
19518         Likewise.
19519         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19520         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19521         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19522         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19523         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19524         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19525         Likewise.
19526         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19527         Likewise.
19528         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19529         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19530         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19532 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19534         [BZ #16364]
19535         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
19536         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
19538 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
19540         * sysdeps/s390/fpu/bits/mathinline.h:
19541         Use __asm__ [__volatile__] instead of asm [volatile].
19542         * sysdeps/s390/abort-instr.h: Likewise.
19543         * sysdeps/s390/atomic-machine.h: Likewise.
19544         * sysdeps/s390/bits/string.h: Likewise.
19545         * sysdeps/s390/dl-tls.h: Likewise.
19546         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
19547         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
19548         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
19549         * sysdeps/s390/fpu/fesetround.c: Likewise.
19550         * sysdeps/s390/fpu/fpu_control.h: Likewise.
19551         * sysdeps/s390/fpu/s_fma.c: Likewise.
19552         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
19553         * sysdeps/s390/memusage.h: Likewise.
19554         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
19555         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
19556         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
19557         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
19558         * sysdeps/s390/nptl/tls.h: Likewise.
19559         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
19560         * sysdeps/s390/s390-32/backtrace.c: Likewise.
19561         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
19562         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
19563         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19564         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
19565         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
19566         * sysdeps/s390/s390-64/backtrace.c: Likewise.
19567         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19568         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
19569         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
19570         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19571         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
19572         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
19573         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
19574         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
19575         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
19576         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
19577         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
19578         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19579         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
19580         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19581         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
19583 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19584             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19586         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
19587         Add lwarx hint, and use macro for acquire instruction.
19588         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
19589         Likewise.
19590         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
19591         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
19592         update to use new atomic macros.
19594 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19596         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
19597         (__lll_trylock_elision): Fix setting of adapt_count.
19598         * sysdeps/unix/sysv/linux/powerpc/htm.h
19599         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
19600         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
19601         (_ABORT_SYSCALL): Renumber, and clarify definition.
19602         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
19604 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19606         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
19607         after system headers to prevent MIN/MAX redefinition.  Define
19608         HAVE_ALLOCA to preserve builtin alloca usage.
19610 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
19612         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
19613         static and don't set or restore rounding.
19614         (__cos)[IN_SINCOS]: Likewise.
19615         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
19616         (__sincos): Set and restore rounding mode.  Remove check for infinite
19617         or NaN input.
19619         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
19621         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
19622         as used.
19624 2015-11-16  Florian Weimer  <fweimer@redhat.com>
19626         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
19628 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
19630         * config.make.in (have-glob-dat-reloc): New.
19631         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
19632         target supports GLOB_DAT relocaton. AC_SUBST.
19633         * configure: Regenerated.
19634         * elf/Makefile (tests): Add tst-prelink.
19635         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
19636         (tst-prelink-ENV): New.
19637         ($(objpfx)tst-prelink-conflict.out): Likewise.
19638         ($(objpfx)tst-prelink-cmp.out): Likewise.
19639         * sysdeps/x86/tst-prelink.c: Moved to ...
19640         * elf/tst-prelink.c: Here.
19641         * sysdeps/x86/tst-prelink.exp: Moved to ...
19642         * elf/tst-prelink.exp: Here.
19643         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
19644         (tst-prelink-ENV): Removed.
19645         ($(objpfx)tst-prelink-conflict.out): Likewise.
19646         ($(objpfx)tst-prelink-cmp.out): Likewise.
19647         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
19649 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
19651         [BZ #14551]
19652         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
19653         (__mpn_construct_long_double): If high part overflows to infinity,
19654         set errno and recompute overflowed result of the correct sign.
19655         * sysdeps/ieee754/ldbl-128ibm/Makefile
19656         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
19657         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
19658         $(libm).
19659         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
19661 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
19663         [BZ #15479]
19664         [BZ #19238]
19665         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
19666         floating-point state after first operation on input.  Restore full
19667         state rather than just rounding mode.
19668         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
19669         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
19670         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
19672         [BZ #19235]
19673         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
19674         add 0.5 to integer arguments.
19675         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
19676         Likewise.
19677         (.LC2): New object.
19679 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
19681         * scripts/pylintrc (reports): Set to no.
19683 2015-11-10  Roland McGrath  <roland@hack.frob.com>
19685         * elf/dl-load.c (open_verify): Take new argument FD.
19686         Skip __open call if passed FD is not -1.
19687         (_dl_map_object, open_path): Update callers.
19688         * elf/dl-sysdep-open.h: New file.
19689         * elf/dl-load.c: Include it.
19690         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
19691         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
19692         * sysdeps/nacl/dl-sysdep-open.h: New file.
19693         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
19694         from libc to rtld.
19696 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
19698         [BZ #19228]
19699         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
19700         and restore full floating-point state.
19701         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
19702         Likewise.
19703         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
19704         Likewise.
19705         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
19706         Likewise.
19707         * math/test-nearbyint-except-2.c: New file.
19708         * math/Makefile (tests): Add test-nearbyint-except-2.
19710 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
19712         [BZ #19178]
19713         * sysdeps/x86/Makefile (tests): Add tst-prelink.
19714         (tst-prelink-ENV): New.
19715         ($(objpfx)tst-prelink-conflict.out): Likewise.
19716         ($(objpfx)tst-prelink-cmp.out): Likewise.
19717         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
19718         * sysdeps/x86/tst-prelink.c: New file.
19719         * sysdeps/x86/tst-prelink.exp: Likewise.
19721 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
19723         * math/auto-libm-test-in: Add another test of pow.
19724         * math/auto-libm-test-out: Regenerated.
19725         * math/libm-test.inc (pow_test_data): Add another test.
19727 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19729         [BZ #19219]
19730         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
19731         weak_alias to nearbyintl.
19733 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
19735         * sysdeps/aarch64/bits/string.h: New file.
19736         (_STRING_ARCH_unaligned): Define.
19738 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
19740         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
19741         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
19742         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
19743         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
19744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
19746 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
19748         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
19749         for original name of the DSO.  Add it to the name list of the DSO
19750         if it is actually given.
19751         (_dl_map_object): Keep track of whether an audit module rewrote
19752         the file name.  If yes, pass the original name to
19753         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
19754         debugging is enabled, log the change of the file name.
19755         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
19756         _dl_map_object_from_fd.
19757         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
19758         * elf/tst-audit11.c: New file
19759         * elf/tst-auditmod11.c: New file.
19760         * elf/tst-audit11mod1.c: New file.
19761         * elf/tst-audit11mod2.c: New file.
19762         * elf/tst-audit11mod2.map: New file.
19763         * elf/tst-audit12.c: New file
19764         * elf/tst-auditmod12.c: New file.
19765         * elf/tst-audit12mod1.c: New file.
19766         * elf/tst-audit12mod2.c: New file.
19767         * elf/tst-audit12mod2.map: New file.
19768         * elf/tst-audit12mod3.c: New file.
19770 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
19772         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
19773         Don't create weak aliases,
19774         because versioned symbols are created later.
19775         * sysdeps/s390/s390-32/setjmp.S
19776         (setjmp, _setjmp): Remove weak and rename to an unique name
19777         in SHARED case due to existing versioned symbols.
19778         * sysdeps/s390/s390-64/setjmp.S: Likewise.
19779         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
19780         (getcontext): Create weak alias only in non SHARED case.
19781         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
19783 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
19785         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
19786         (__ASSUME_*_SYSCALL) Define new macros.
19787         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
19788         Remove socketcall syscalls.
19789         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
19790         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
19791         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
19792         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
19793         * sysdeps/unix/sysv/linux/send.c (__libc_send):
19794         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
19796 2015-11-09  Florian Weimer  <fweimer@redhat.com>
19798         [BZ #12926]
19799         Terminate process on invalid netlink response.
19800         * sysdeps/unix/sysv/linux/netlinkaccess.h
19801         (__netlink_assert_response): Declare.
19802         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
19803         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
19804         (sysdep_routines): Add netlink_assert_response.
19805         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
19806         __netlink_assert_response.
19807         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
19808         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
19809         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
19810         __netlink_assert_response.
19812 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
19814         [BZ #19178]
19815         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
19816         (RTYPE_CLASS_PLT): Likewise.
19817         (RTYPE_CLASS_COPY): Likewise.
19818         (RTYPE_CLASS_TLS): Likewise.
19819         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
19820         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
19821         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
19822         DL_DEBUG_PRELINK.
19824 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
19826         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
19827         calls with argument -0.5.
19828         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
19830         * configure.ac (libc_cv_z_nodelete): Remove configure test.
19831         (libc_cv_z_nodlopen): Likewise.
19832         (libc_cv_z_initfirst): Likewise.
19833         * configure: Regenerated.
19835 2015-11-06  Florian Weimer  <fweimer@redhat.com>
19837         Simplify abilist format to be line-based.
19838         * scripts/abilist.awk: Collect descriptors in the descs variable.
19839         (emit): Write descs variable and sort it
19840         externally, with sort.
19841         * sysdeps/**/*.abilist: Convert to new format.
19843 2015-11-06  Mark Wielaard  <mjw@redhat.com>
19845         [BZ #11460]
19846         * io/Makefile (routines): Add fts64.
19847         (tests): Add tst-fts and tst-fts-lfs.
19848         (CFLAGS-fts64.c): New.
19849         * io/Versions (GLIBC_2.23): New.
19850         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
19851         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
19852         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
19853         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
19854         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
19855         (FTSENT64): Likewise.
19856         (fts64_children): Likewise.
19857         (fts64_close): Likewise.
19858         (fts64_open): Likewise.
19859         (fts64_read): Likewise.
19860         (fts64_set): Likewise.
19861         * io/fts64.c: New file.
19862         * io/tst-fts.c: New test.
19863         * io/tst-fts-lfs.c: Likewise.
19864         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
19865         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
19866         fts64_set.
19867         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19868         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19869         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19870         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19871         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19872         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19873         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19874         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19875         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19876         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
19877         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19878         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19879         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19881         Likewise.
19882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19883         Likewise.
19884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
19885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
19886         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19887         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19888         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19889         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19890         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19891         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
19892         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
19893         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19894         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19895         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19896         * sysdeps/wordsize-64/fts.c: New file.
19897         * sysdeps/wordsize-64/fts64.c: Likewise.
19898         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
19899         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
19900         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
19901         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
19903 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
19905         * math/libm-test.inc (NON_FINITE): New macro.
19906         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
19907         * math/gen-libm-test.pl (show_exceptions): Add argument
19908         $non_finite.
19909         (parse_args): Update call to show_exceptions.
19910         * math/test-math-finite.h: New file.
19911         * math/test-math-no-finite.h: Likewise.
19912         * math/test-double-finite.c: Likewise.
19913         * math/test-float-finite.c: Likewise.
19914         * math/test-ldouble-finite.c: Likewise.
19915         * math/test-double.c: Include "test-math-no-finite.h".
19916         * math/test-float.c: Include "test-math-no-finite.h".
19917         * math/test-ldouble.c: Include "test-math-no-finite.h".
19918         * math/test-math-inline.h (TEST_FINITE): New macro.
19919         * math/test-math-vector.h (TEST_FINITE): Likewise.
19920         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
19921         (libm-tests): Add test-float-finite and test-double-finite.
19922         ($(objpfx)test-float-finite.o): New dependency on
19923         $(objpfx)libm-test.stmp.
19924         ($(objpfx)test-double-finite.o): Likewise.
19925         ($(objpfx)test-ldouble-finite.o): Likewise.
19926         (libm-test-no-inline-cflags): New variable.
19927         (libm-test-finite-cflags): Likewise.
19928         (CFLAGS-test-float-finite.c): Likewise.
19929         (CFLAGS-test-double-finite.c): Likewise.
19930         (CFLAGS-test-ldouble-finite.c): Likewise.
19931         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
19932         (CFLAGS-test-double.c): Likewise.
19933         (CFLAGS-test-ldouble.c): Likewise.
19935 2015-11-05  Roland McGrath  <roland@hack.frob.com>
19937         * io/fcntl.c (__fcntl): Add ... to prototype.
19938         * misc/ioctl.c (__ioctl): Likewise.
19939         * misc/syscall.c (syscall): Likewise.
19941 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
19943         * scripts/list-fixed-bugs.py: New file.
19945         [BZ #19213]
19946         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
19947         returned for argument 1.
19948         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
19949         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
19950         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
19951         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
19952         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
19953         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
19955         [BZ #19211]
19956         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
19957         __USE_XOPEN], not if [!__USE_ISOC99].
19958         (lgammaf): Likewise.
19959         (lgammal): Likewise.
19960         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
19961         (gammaf): Likewise.
19962         (gammal): Likewise.
19963         * math/test-signgam-finite-c11.c: New file.
19964         * math/test-signgam-finite-c99.c: Likewise.
19965         * math/test-signgam-finite.c: Likewise.
19966         * math/Makefile (tests): Add test-signgam-finite,
19967         test-signgam-finite-c99 and test-signgam-finite-c11.
19968         (CFLAGS-test-signgam-finite.c): New variable.
19969         (CFLAGS-test-signgam-finite-c99.c): Likewise.
19970         (CFLAGS-test-signgam-finite-c11.c): Likewise.
19972         [BZ #19212]
19973         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
19974         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
19975         500].
19976         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
19977         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
19978         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
19979         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
19980         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
19981         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
19982         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
19983         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
19984         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
19985         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
19987         [BZ #19209]
19988         * math/bits/math-finite.h (ldexp): Remove declaration.
19989         (ldexpf): Likewise.
19990         (ldexpl): Likewise.
19992         [BZ #19205]
19993         * math/bits/math-finite.h (acosf): Condition declaration on
19994         [__USE_ISOC99].
19995         (acosl): Likewise.
19996         (acoshf): Likewise.
19997         (acoshl): Likewise.
19998         (asinf): Likewise.
19999         (asinl): Likewise.
20000         (atan2f): Likewise.
20001         (atan2l): Likewise.
20002         (atanhf): Likewise.
20003         (atanhl): Likewise.
20004         (coshf): Likewise.
20005         (coshl): Likewise.
20006         (expf): Likewise.
20007         (expl): Likewise.
20008         (fmodf): Likewise.
20009         (fmodl): Likewise.
20010         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
20011         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
20012         (j0l): Likewise.
20013         (y0f): Likewise.
20014         (y0l): Likewise.
20015         (j1f): Likewise.
20016         (j1l): Likewise.
20017         (y1f): Likewise.
20018         (y1l): Likewise.
20019         (jnf): Likewise.
20020         (jnl): Likewise.
20021         (ynf): Likewise.
20022         (ynl): Likewise.
20023         (lgammaf_r): Condition declaration on [__USE_ISOC99].
20024         (lgammal_r): Likewise.
20025         (__lgamma_r_finite): New declaration.
20026         (__lgammaf_r_finite): Likewise.
20027         (__lgammal_r_finite): Likewise.
20028         (lgamma): Use __lgamma_r_finite.
20029         (lgammaf): Condition definition on [__USE_ISOC99].  Use
20030         __lgammaf_r_finite.
20031         (lgammal): Condition definition on [__USE_ISOC99].  Use
20032         __lgammal_r_finite.
20033         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
20034         __lgamma_r_finite.
20035         (gammaf): Condition definition on [__USE_ISOC99].  Use
20036         __lgammaf_r_finite.
20037         (gammal): Condition definition on [__USE_ISOC99].  Use
20038         __lgammal_r_finite.
20039         (logf): Condition declaration on [__USE_ISOC99].
20040         (logl): Likewise.
20041         (log10f): Likewise.
20042         (log10l): Likewise.
20043         (ldexpf): Likewise.
20044         (ldexpl): Likewise.
20045         (powf): Likewise.
20046         (powl): Likewise.
20047         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
20048         __USE_ISOC99].
20049         (remainderf): Condition declaration on [__USE_ISOC99].
20050         (remainderl): Likewise.
20051         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
20052         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
20053         (scalbl): Likewise.
20054         (sinhf): Condition declaration on [__USE_ISOC99].
20055         (sinhl): Likewise.
20056         (sqrtf): Likewise.
20057         (sqrtl): Likewise.
20059 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
20061         * sysdeps/arm/atomic-machine.h
20062         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
20063         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
20064         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
20065         Remove conditional code.
20066         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
20067         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
20068         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
20069         Change conditional to [__ASSEMBLER__].
20070         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
20071         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
20072         [!__ASSEMBLER__].
20073         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
20074         code.
20075         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
20076         conditional macro definitions.
20077         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
20078         (__arch_compare_and_exchange_val_16_acq): Likewise.
20079         (__arch_compare_and_exchange_val_32_acq): Likewise.
20080         (atomic_exchange_and_add): Likewise.
20081         (atomic_add): Likewise.
20082         (atomic_add_negative): Likewise.
20083         (atomic_add_zero): Likewise.
20084         (atomic_bit_set): Likewise.
20085         (atomic_bit_test_set): Likewise.
20086         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
20087         code unconditional.
20088         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20090         * math/test-math-errno.h: New file.
20091         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
20092         empty.
20093         (TEST_ERRNO): New macro.
20094         (TEST_EXCEPTIONS): Likewise.
20095         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
20096         (TEST_EXCEPTIONS): Likewise.
20097         * math/test-math-vector.h (TEST_ERRNO): Likewise.
20098         * math/test-double.c: Include "test-math-errno.h".
20099         * math/test-float.c: Likewise.
20100         * math/test-ldouble.c: Likewise.
20101         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
20102         code unconditional.
20103         (test_exceptions): Only run code if TEST_EXCEPTIONS.
20104         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
20105         unconditional.
20106         (test_errno): Only run code if TEST_ERRNO.
20107         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
20109 2015-11-04  Florian Weimer  <fweimer@redhat.com>
20111         * nptl/tst-once5.cc: Remove attribution.
20113 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
20115         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
20116         sqrt, tan, tanh, y0, y1 and yn.
20117         * math/auto-libm-test-out: Regenerated.
20118         * math/libm-test.inc (scalb_test_data): Add more tests.
20119         (scalbn_test_data): Likewise.
20120         (scalbln_test_data): Likewise.
20121         (signbit_test_data): Likewise.
20122         (sin_test_data): Likewise.
20123         (sincos_test_data): Likewise.
20124         (sinh_test_data): Likewise.
20125         (sqrt_test_data): Likewise.
20126         (tan_test_data): Likewise.
20127         (tanh_test_data): Likewise.
20128         (tgamma_test_data): Likewise.
20129         (y0_test_data): Likewise.
20130         (y1_test_data): Likewise.
20131         (yn_test_data): Likewise.
20132         (significand_test_data): Likewise.
20133         * sysdeps/i386/fpu/libm-test-ulps: Update.
20135 2015-11-03  David Kastrup  <dak@gnu.org>
20137         [BZ #18604]
20138         * assert/assert.h (assert): Don't macro-expand failed assertion
20139         expression in error message.
20140         * malloc/malloc.c (assert): Likewise.
20142 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
20144         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
20145         test.
20146         * configure: Regenerated.
20148 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
20150         * math/libm-test.inc (modf_test_data): Add more tests.
20151         (nearbyint_test_data): Likewise.
20152         (nextafter_test_data): Likewise.
20153         (nexttoward_test_data): Likewise.
20154         (pow_test_data): Likewise.
20155         (remainder_test_data): Likewise.
20156         (remquo_test_data): Likewise.
20157         (rint_test_data): Likewise.
20159         [BZ #19201]
20160         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20161         Check for zero remainder in case of large exponents and ensure
20162         correct sign of result in that case.
20163         * math/libm-test.inc (remainder_test_data): Add more tests.
20165         [BZ #6799]
20166         * math/s_nextafter.c: Include <errno.h>.
20167         (__nextafter): Set errno on overflow and underflow.
20168         * math/s_nexttowardf.c: Include <errno.h>.
20169         (__nexttowardf): Set errno on overflow and underflow.
20170         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
20171         (__nextafterl): Set errno on overflow and underflow.
20172         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
20173         (__nexttoward): Set errno on overflow and underflow.
20174         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
20175         (__nexttowardf): Set errno on overflow and underflow.
20176         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
20177         (__nextafterf): Set errno on overflow and underflow.
20178         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
20179         (__nextafterl): Set errno on overflow and underflow.
20180         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
20181         (__nexttoward): Set errno on overflow and underflow.
20182         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
20183         (__nexttowardf): Set errno on overflow and underflow.
20184         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
20185         (__nextafterl): Set errno on overflow and underflow.
20186         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
20187         (__nexttoward): Set errno on overflow and underflow.
20188         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
20189         (__nexttowardf): Set errno on overflow and underflow.
20190         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
20191         (__nexttoward): Set errno on overflow and underflow.
20192         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
20193         (__nexttowardf): Set errno on overflow and underflow.
20194         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
20195         (__nldbl_nexttowardf): Set errno on overflow and underflow.
20196         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
20197         (__nextafterl): Set errno on overflow and underflow.
20198         * math/libm-test.inc (nextafter_test_data): Do not allow errno
20199         setting to be missing on overflow.  Add more tests.
20200         (nexttoward_test_data): Likewise.
20202         * configure.ac (libc_cv_initfini_array): Remove configure test.
20203         * configure: Regenerated.
20205 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
20207         [BZ #19189]
20208         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
20209         non-finite argument handle arguments with negative sign.
20211         * math/libm-test.inc (j0_test_data): Do not test sign of zero
20212         result from infinite argument.
20213         (j1_test_data): Likewise.
20214         (jn_test_data): Likewise.
20215         (y0_test_data): Likewise.
20216         (y1_test_data): Likewise.
20217         (yn_test_data): Likewise.
20219         [BZ #16171]
20220         * math/w_remainder.c (drem): Define as weak alias of __remainder.
20221         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
20222         * math/w_remainderf.c (dremf): Define as weak alias of
20223         __remainderf.
20224         * math/w_remainderl.c (dreml): Define as weak alias of
20225         __remainderl.
20226         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
20227         __remainder.
20228         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
20229         __remainderf.
20230         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
20231         __remainderl.
20232         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
20233         weak alias of remainderl.
20234         * sysdeps/ieee754/ldbl-opt/w_remainder.c
20235         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
20236         alias of __remainder.
20237         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
20238         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
20239         strong alias of __remainderl.
20240         (dreml): Use long_double_symbol.
20241         * math/Makefile (libm-calls): Remove w_drem.
20242         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
20243         (CFLAGS-nldbl-drem.c): Remove variable.
20244         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
20245         * math/w_drem.c: Remove file.
20246         * math/w_dremf.c: Likewise.
20247         * math/w_dreml.c: Likewise.
20248         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
20249         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
20250         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
20252         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
20253         * sysdeps/i386/configure: Regenerated.
20254         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
20255         * sysdeps/x86_64/configure: Regenerated.
20257         * configure.ac (libc_cv_asm_protected_directive): Remove configure
20258         test.
20259         (libc_cv_visibility_attribute): Likewise.
20260         (libc_cv_protected_data): Test unconditionally.
20261         (libc_cv_broken_visibility_attribute): Remove configure test.
20262         (libc_cv_have_sdata_section): Test unconditionally.
20263         * configure: Regenerated.
20265         * include/libc-internal.h (libc_max_align_t): Remove typedef.
20266         * include/scratch_buffer.h: Include <stddef.h> instead of
20267         <libc-internal.h>.
20268         (struct scratch_buffer): Use max_align_t instead of
20269         libc_max_align_t.
20271 2015-10-29  Florian Weimer  <fweimer@redhat.com>
20273         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
20274         instead of extend_alloca.  Change control flow to avoid a goto.
20275         Remove assert which is trivially always true.
20277 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
20279         [BZ #16068]
20280         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
20281         (FE_ALL_EXCEPT_X86): New macro.
20282         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
20283         FE_ALL_EXCEPT.  Ensure precision control is included in
20284         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
20285         handle "denormal operand exception" and clear FZ and DAZ bits.
20286         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
20287         (FE_ALL_EXCEPT_X86): New macro.
20288         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
20289         FE_ALL_EXCEPT.  Ensure precision control is included in
20290         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
20291         handle "denormal operand exception" and clear FZ and DAZ bits.
20292         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
20293         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
20294         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
20295         test-fenv-x87 and test-fenv-sse-2.
20296         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
20298         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
20299         * math/test-double.h (BUILD_COMPLEX): New macro.
20300         * math/test-float.h (BUILD_COMPLEX): Likewise.
20301         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
20303         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
20304         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
20305         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
20306         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
20307         instead of DBL_DENORM_MIN in comment.
20308         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
20309         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
20310         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
20311         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
20312         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
20313         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
20315 2015-10-28  Florian Weimer  <fweimer@redhat.com>
20317         [BZ #19048]
20318         * malloc/malloc.c (struct malloc_state): Update comment.  Add
20319         attached_threads member.
20320         (main_arena): Initialize attached_threads.
20321         * malloc/arena.c (list_lock): Update comment.
20322         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
20323         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
20324         (deattach_arena): New function.
20325         (_int_new_arena): Initialize arena reference count and deattach
20326         replaced arena.
20327         (get_free_list, reused_arena): Update reference count and deattach
20328         replaced arena.
20329         (arena_thread_freeres): Update arena reference count and only put
20330         unreferenced arenas on the free list.
20332 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
20334         [BZ #19181]
20335         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
20336         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
20337         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
20338         * math/test-fenv-clear-main.c: New file.
20339         * math/test-fenv-clear.c: Likewise.
20340         * math/Makefile (tests): Add test-fenv-clear.
20341         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
20342         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
20343         test-fenv-clear-sse.
20344         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
20346         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
20347         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
20348         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
20350 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20352         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
20353         static libc.
20355 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
20357         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
20358         test.
20359         * sysdeps/i386/configure: Regenerated.
20360         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
20361         test.
20362         * sysdeps/x86_64/configure: Regenerated.
20363         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
20364         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20365         memset-avx2 unconditionally instead of conditionally on
20366         [$(config-cflags-avx2) = yes].
20367         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20368         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
20369         unconditional.
20370         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
20371         * sysdeps/x86_64/multiarch/memset_chk.S
20372         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
20373         to [IS_IN (libc) && SHARED].
20375 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
20377         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
20378         configure test.
20379         * sysdeps/arm/configure: Regenerated.
20380         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
20381         Define variable if not already defined.
20383         [BZ #17404]
20384         * sysdeps/mips/atomic-machine.h
20385         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
20386         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
20387         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
20389         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
20390         unconditional.
20391         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
20392         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20393         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
20394         unconditional.
20395         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20396         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
20397         unconditional.
20398         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20399         * stdlib/setenv.c
20400         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
20401         code unconditional.
20402         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
20403         Remove conditional code.
20404         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
20405         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
20406         unconditional.
20407         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
20408         code.
20409         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
20410         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
20411         unconditional.
20412         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
20413         code.
20414         * sysdeps/ieee754/ldbl-128/k_tanl.c
20415         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
20416         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20417         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
20418         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
20419         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20420         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
20421         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
20422         unconditional.
20423         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
20424         code.
20425         * sysdeps/ieee754/ldbl-96/k_tanl.c
20426         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
20427         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20429         * nptl/tst-initializers1-c11.c: New file.
20430         * nptl/tst-initializers1-gnu11.c: Likewise.
20431         * nptl/Makefile (tests): Add these new tests.
20432         (CFLAGS-tst-initializers1-c11.c): New variable.
20433         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
20435         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
20436         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
20437         instead of -std=gnu99.
20438         * configure.ac (systemtap): Test with -std=gnu11 instead of
20439         -std=gnu99.
20440         * configure: Regenerated.
20441         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
20442         in compilation command in comment.
20444         * sysdeps/nptl/configure.ac: Remove file.
20445         * sysdeps/nptl/configure: Remove generated file.
20446         * configure.ac (libc_cv_forced_unwind): Do not substitute.
20447         * configure: Regenerated.
20448         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
20449         * config.make.in (have-forced-unwind): Remove variable.
20450         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
20451         unconditional.
20452         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
20453         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
20454         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
20455         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
20456         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
20457         unconditional.
20459 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20461         [BZ #19174]
20462         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
20463         .skip_lock_out_of_tbegin_retries.
20464         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
20465         (__lll_lock_elision): Likewise, and respect a value of
20466         try_tbegin <= 0.
20468 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20470         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
20471         statement.
20473 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
20475         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
20476         variable.
20477         (test-xfail-ISO11/stdalign.h/conform): Likewise.
20478         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
20480         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
20481         of -std=c1x -D_ISOC11_SOURCE.
20483         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
20484         * configure: Regenerated.
20485         * manual/install.texi (Tools for Compilation): Document
20486         requirement for GCC 4.7 or later.
20487         * INSTALL: Regenerated.
20489 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
20491         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
20492         on CNT to a conditional jump to 'puntdata'.
20494 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
20496         * configure.ac (libc_cv_gcc___thread): Remove configure test.
20497         (libc_cv_gcc_tls_model_attr): Likewise.
20498         * configure: Regenerated.
20500         * configure.ac (libc_cv_need_minus_P): Remove configure test.
20501         * configure: Regenerated.
20502         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
20504 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
20506         * configure.ac (old_glibc_headers): Remove configure test.
20507         * configure: Regenerated.
20508         * config.make.in (old-glibc-headers): Remove variable.
20509         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
20510         (install): Remove dependency on remove-old-headers.
20511         (headers2_0): Remove variable.
20512         (remove-old-headers): Remove rule.
20514         * configure.ac (libc_cv_dot_text): Remove configure test.
20515         (libc_cv_asm_set_directive): Use .text instead of
20516         ${libc_cv_dot_text} in configure test.
20517         * configure: Regenerated.
20519 2015-10-26  Florian Weimer  <fweimer@redhat.com>
20521         [BZ #19168]
20522         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20524 2015-10-26  Florian Weimer  <fweimer@redhat.com>
20526         * configure.ac (CXX): Clear the variable if the C++ toolchain does
20527         not support static linking.
20528         * configure: Regenerate.
20530 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
20532         * math/libm-test.inc (check_float_internal): Do not special-case
20533         errors up to 0.5 ulp.
20535         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
20536         log2.
20537         * math/auto-libm-test-out: Regenerated.
20538         * math/libm-test.inc (MAX_EXP): New macro.
20539         (ilogb_test_data): Add more tests.
20540         (isfinite_test_data): Likewise.
20541         (isgreater_test_data): Likewise.
20542         (isgreaterequal_test_data): Likewise.
20543         (isinf_test_data): Likewise.
20544         (isless_test_data): Likewise.
20545         (islessequal_test_data): Likewise.
20546         (islessgreater_test_data): Likewise.
20547         (isnan_test_data): Likewise.
20548         (isnormal_test_data): Likewise.
20549         (issignaling_test_data): Likewise.
20550         (isunordered_test_data): Likewise.
20551         (j0_test_data): Likewise.
20552         (j1_test_data): Likewise.
20553         (jn_test_data): Likewise.
20554         (lgamma_test_data): Likewise.
20555         (log_test_data): Likewise.
20556         (log10_test_data): Likewise.
20557         (log1p_test_data): Likewise.
20558         (log2_test_data): Likewise.
20559         (logb_test_data): Likewise.
20560         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20562         [BZ #18611]
20563         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
20564         avoid excess range and precision on underflow.
20565         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
20566         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
20567         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
20568         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
20569         underflow.
20570         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20571         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20572         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20573         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20574         * math/auto-libm-test-in: Do not allow missing errno setting for
20575         tests of j1 and jn.
20576         * math/auto-libm-test-out: Regenerated.
20578 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
20580         [BZ #15491]
20581         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
20582         floating-point environment instead of clearing all exceptions.
20583         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
20584         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
20585         merging in "invalid" exceptions from frndint.
20586         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
20587         * math/test-nearbyint-except.c: New file.
20588         * math/Makefile (tests): Add test-nearbyint-except.
20590 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
20592         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
20594         * sysdeps/tile/libm-test-ulps: Regenerated.
20596 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
20599         (__NR_sync_file_range2): Assume it is always defined.
20600         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
20601         (__NR_sync_file_range): Assume it is always defined.
20603 2015-10-22  Andreas Schwab  <schwab@suse.de>
20605         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
20606         INTERNAL_SYSCALL_ERRNO.
20607         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
20608         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
20609         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20610         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
20611         Likewise.
20612         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20614 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
20616         * io/tst-fcntl.c (fd): New static variable.
20617         (do_prepare): Open temporary file here....
20618         (do_test): ...not here.
20620         * io/ftwtest-sh: Also trap on exit to remove temporary files.
20622 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
20624         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
20625         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
20626         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
20627         Moved before "#ifdef __ASSEMBLER__".
20629 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
20631         [BZ #19156]
20632         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
20633         arguments very close to 0.
20635 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
20637         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
20638         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
20640 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
20642         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
20643         New.  Defined for GCC 5 and above when not compiling for
20644         profiling.
20645         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
20647         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
20648         Renamed to ...
20649         (CFLAGS-epoll_pwait.o): This.
20650         (CFLAGS-mmap.c): Renamed to ...
20651         (CFLAGS-mmap.o): This.
20652         (CFLAGS-mmap64.c): Renamed to ...
20653         (CFLAGS-mmap64.o): This.
20654         (CFLAGS-epoll_pwait.os): New.
20655         (CFLAGS-mmap.os): Likewise.
20656         (CFLAGS-mmap64.os): Likewise.
20657         (CFLAGS-semtimedop.os): Likewise.
20658         (CFLAGS-semtimedop.c): Renamed to ...
20659         (CFLAGS-semtimedop.o): This.
20661 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20663         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
20664         warning message.
20666 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
20668         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
20669         * Makefile ($(objpfx)c++-types-check.out): Filter out
20670         $(+gccwarn-c) instead of -Wstrict-prototypes.
20672         * io/fts.c (fts_open): Convert to prototype-style function
20673         definition.
20674         * malloc/mcheck.c (mcheck): Likewise.
20675         (mcheck_pedantic): Likewise.
20676         * posix/regexec.c (re_search_2_stub): Likewise.  Use
20677         internal_function.
20678         (re_search_internal): Likewise.
20679         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
20680         prototype-style function definition.
20681         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
20682         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
20683         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
20684         (xdr_utmpptr): Likewise.
20685         (xdr_utmparr): Likewise.
20686         (xdr_utmpidle): Likewise.
20687         (xdr_utmpidleptr): Likewise.
20688         (xdr_utmpidlearr): Likewise.
20690         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
20691         log, log10 and log2.
20692         * math/auto-libm-test-out: Regenerated.
20693         * math/libm-test.inc (fmod_test_data): Add more tests.
20694         (fpclassify_test_data): Likewise.
20695         (frexp_test_data): Likewise.
20696         (hypot_test_data): Likewise.
20697         (ilogb_test_data): Likewise.
20699 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
20701         * debug/fortify_fail.c (__fortify_fail): Convert to
20702         prototype-style function definition.  Use internal_function.
20703         * libio/genops.c (save_for_backup): Convert to prototype-style
20704         function definition.
20705         * libio/wgenops.c (save_for_wbackup): Likewise.
20706         * login/grantpt.c (grantpt): Likewise.
20707         * login/ptsname.c (ptsname): Likewise.
20708         (__ptsname_r): Likewise.
20709         * login/unlockpt.c (unlockpt): Likewise.
20710         * mach/msgserver.c (__mach_msg_server): Likewise.
20711         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
20712         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
20713         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
20714         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
20715         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
20716         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
20717         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
20718         Likewise.
20719         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
20720         internal_function.
20721         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
20722         prototype-style function definition.
20723         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
20724         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
20725         (__pthread_create_2_0): Likewise.
20726         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
20727         * nptl/register-atfork.c (__register_atfork): Likewise.
20728         * posix/glob.c (glob): Likewise.
20729         * posix/regcomp.c (re_comp): Likewise.
20730         * posix/regexec.c (re_exec): Likewise.
20731         * stdlib/add_n.c [__STDC__]: Make code unconditional.
20732         [!__STDC__]: Remove conditional code.
20733         * stdlib/cmp.c [__STDC__]: Make code unconditional.
20734         [!__STDC__]: Remove conditional code.
20735         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
20736         [!__STDC__]: Remove conditional code.
20737         * stdlib/divrem.c [__STDC__]: Make code unconditional.
20738         [!__STDC__]: Remove conditional code.
20739         * stdlib/lshift.c [__STDC__]: Make code unconditional.
20740         [!__STDC__]: Remove conditional code.
20741         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
20742         [!__STDC__]: Remove conditional code.
20743         * stdlib/mul.c [__STDC__]: Make code unconditional.
20744         [!__STDC__]: Remove conditional code.
20745         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
20746         [!__STDC__]: Remove conditional code.
20747         * stdlib/rshift.c [__STDC__]: Make code unconditional.
20748         [!__STDC__]: Remove conditional code.
20749         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
20750         function definition.
20751         (STRTOF): Likewise.
20752         * stdlib/strtod_l.c (__STRTOF): Likewise.
20753         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
20754         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
20755         (__strtol_l): Likewise.
20756         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
20757         [!__STDC__]: Remove conditional code.
20758         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
20759         definition.
20760         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
20761         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
20762         type.
20763         (__strcasecmp): Convert to prototype-style function definition.
20764         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
20765         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
20766         type.
20767         (__strncasecmp): Convert to prototype-style function definition.
20768         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
20769         * sunrpc/xdr.c (xdr_union): Likewise.
20770         * sunrpc/xdr_array.c (xdr_array): Likewise.
20771         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
20772         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
20773         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
20774         Likewise.
20775         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
20776         Likewise.
20777         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
20778         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
20779         Likewise.
20780         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
20781         (LOCALE_PARAM_PROTO): Likewise.
20782         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
20783         argument type.
20784         (ut_argument_spec): Remove macro.
20785         (ut_argument_spec_iso): Rename to ut_argument_spec.
20786         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
20787         prototype-style function definition.
20788         (memcpy_uppcase): Likewise.
20789         (__strftime_internal): Likewise.
20790         (my_strftime): Likewise.
20791         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
20792         (LOCALE_PARAM_DECL): Likewise.
20793         [_LIBC] (LOCALE_PARAM): Include argument type.
20794         (__strptime_internal): Convert to prototype-style function
20795         definition.
20796         (strptime): Likewise.
20797         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
20798         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
20799         type.
20800         (__wcscasecmp): Convert to prototype-style function definition.
20801         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
20802         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
20803         type.
20804         (__wcsncasecmp): Convert to prototype-style function definition.
20806         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
20807         function definition.
20808         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20809         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20810         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
20811         * elf/dl-minimal.c (_itoa): Likewise.
20812         * hurd/hurdmalloc.c (malloc): Likewise.
20813         (free): Likewise.
20814         (realloc): Likewise.
20815         * inet/inet6_option.c (inet6_option_space): Likewise.
20816         (inet6_option_init): Likewise.
20817         (inet6_option_append): Likewise.
20818         (inet6_option_alloc): Likewise.
20819         (inet6_option_next): Likewise.
20820         (inet6_option_find): Likewise.
20821         * io/ftw.c (FTW_NAME): Likewise.
20822         (NFTW_NAME): Likewise.
20823         (NFTW_NEW_NAME): Likewise.
20824         (NFTW_OLD_NAME): Likewise.
20825         * libio/iofwide.c (_IO_fwide): Likewise.
20826         * libio/strops.c (_IO_str_init_static_internal): Likewise.
20827         (_IO_str_init_static): Likewise.
20828         (_IO_str_init_readonly): Likewise.
20829         (_IO_str_overflow): Likewise.
20830         (_IO_str_underflow): Likewise.
20831         (_IO_str_count): Likewise.
20832         (_IO_str_seekoff): Likewise.
20833         (_IO_str_pbackfail): Likewise.
20834         (_IO_str_finish): Likewise.
20835         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
20836         (_IO_wstr_overflow): Likewise.
20837         (_IO_wstr_underflow): Likewise.
20838         (_IO_wstr_count): Likewise.
20839         (_IO_wstr_seekoff): Likewise.
20840         (_IO_wstr_pbackfail): Likewise.
20841         (_IO_wstr_finish): Likewise.
20842         * locale/programs/localedef.c (normalize_codeset): Likewise.
20843         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20844         (add_locales_to_archive): Likewise.
20845         (delete_locales_from_archive): Likewise.
20846         * malloc/malloc.c (__libc_mallinfo): Likewise.
20847         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
20848         * misc/tsearch.c (__tfind): Likewise.
20849         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
20850         * nptl/pthread_attr_getdetachstate.c
20851         (__pthread_attr_getdetachstate): Likewise.
20852         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
20853         Likewise.
20854         * nptl/pthread_attr_getinheritsched.c
20855         (__pthread_attr_getinheritsched): Likewise.
20856         * nptl/pthread_attr_getschedparam.c
20857         (__pthread_attr_getschedparam): Likewise.
20858         * nptl/pthread_attr_getschedpolicy.c
20859         (__pthread_attr_getschedpolicy): Likewise.
20860         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
20861         Likewise.
20862         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
20863         Likewise.
20864         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
20865         Likewise.
20866         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
20867         Likewise.
20868         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
20869         (__pthread_attr_init_2_0): Likewise.
20870         * nptl/pthread_attr_setdetachstate.c
20871         (__pthread_attr_setdetachstate): Likewise.
20872         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
20873         Likewise.
20874         * nptl/pthread_attr_setinheritsched.c
20875         (__pthread_attr_setinheritsched): Likewise.
20876         * nptl/pthread_attr_setschedparam.c
20877         (__pthread_attr_setschedparam): Likewise.
20878         * nptl/pthread_attr_setschedpolicy.c
20879         (__pthread_attr_setschedpolicy): Likewise.
20880         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
20881         Likewise.
20882         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
20883         Likewise.
20884         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
20885         Likewise.
20886         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
20887         Likewise.
20888         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
20889         Likewise.
20890         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
20891         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
20892         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
20893         use internal_function.
20894         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
20895         prototype-style function definition.
20896         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
20897         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
20898         internal_function.
20899         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
20900         Convert to prototype-style function definition.
20901         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
20902         Likewise.
20903         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
20904         Likewise.
20905         (__pthread_mutex_unlock): Likewise.
20906         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
20907         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
20908         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
20909         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
20910         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
20911         * nss/makedb.c (process_input): Likewise.
20912         * posix/fnmatch.c (__strchrnul): Likewise.
20913         (__wcschrnul): Likewise.
20914         (fnmatch): Likewise.
20915         * posix/fnmatch_loop.c (FCT): Likewise.
20916         * posix/glob.c (globfree): Likewise.
20917         (__glob_pattern_type): Likewise.
20918         (__glob_pattern_p): Likewise.
20919         * posix/regcomp.c (re_compile_pattern): Likewise.
20920         (re_set_syntax): Likewise.
20921         (re_compile_fastmap): Likewise.
20922         (regcomp): Likewise.
20923         (regerror): Likewise.
20924         (regfree): Likewise.
20925         * posix/regexec.c (regexec): Likewise.
20926         (re_match): Likewise.
20927         (re_search): Likewise.
20928         (re_match_2): Likewise.
20929         (re_search_2): Likewise.
20930         (re_search_stub): Likewise.  Use internal_function
20931         (re_copy_regs): Likewise.
20932         (re_set_registers): Convert to prototype-style function
20933         definition.
20934         (prune_impossible_nodes): Likewise.  Use internal_function.
20935         * resolv/inet_net_pton.c (inet_net_pton): Convert to
20936         prototype-style function definition.
20937         (inet_net_pton_ipv4): Likewise.
20938         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
20939         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
20940         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
20941         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
20942         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
20943         Make variadic.
20944         * time/strptime_l.c (localtime_r): Convert to prototype-style
20945         function definition.
20946         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
20947         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
20948         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
20949         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
20951         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
20952         definition.
20953         (_ufc_doit_r): Likewise.
20954         * crypt/crypt_util.c (_ufc_copymem): Likewise.
20955         (_ufc_output_conversion_r): Likewise.
20956         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
20957         * inet/rcmd.c (rcmd_af): Likewise.
20958         (rcmd): Likewise.
20959         (ruserok_af): Likewise.
20960         (ruserok): Likewise.
20961         (ruserok2_sa): Likewise.
20962         (ruserok_sa): Likewise.
20963         (iruserok_af): Likewise.
20964         (iruserok): Likewise.
20965         (__ivaliduser): Likewise.
20966         (__validuser2_sa): Likewise.
20967         * inet/rexec.c (rexec_af): Likewise.
20968         (rexec): Likewise.
20969         * inet/ruserpass.c (ruserpass): Likewise.
20970         * locale/programs/xmalloc.c (xcalloc): Likewise.
20971         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
20972         * math/w_drem.c (__drem): Likewise.
20973         * math/w_dremf.c (__dremf): Likewise.
20974         * math/w_dreml.c (__dreml): Likewise.
20975         * misc/daemon.c (daemon): Likewise.
20976         * resolv/res_debug.c (p_fqnname): Likewise.
20977         * stdlib/div.c (div): Likewise.
20978         * string/memcmp.c (memcmp_bytes): Likewise.
20979         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
20980         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
20982         * crypt/cert.c (main): Convert to prototype-style function
20983         definition.
20984         * io/pipe.c (__pipe): Likewise.
20985         * io/pipe2.c (__pipe2): Likewise.
20986         * misc/futimesat.c (futimesat): Likewise.
20987         * misc/utimes.c (__utimes): Likewise.
20988         * posix/execve.c (__execve): Likewise.
20989         * posix/execvp.c (execvp): Likewise.
20990         * posix/execvpe.c (__execvpe): Likewise.
20991         * posix/fexecve.c (fexecve): Likewise.
20992         * socket/socketpair.c (socketpair): Likewise.
20993         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
20994         * stdlib/erand48.c (erand48): Likewise.
20995         * stdlib/erand48_r.c (__erand48_r): Likewise.
20996         * stdlib/jrand48.c (jrand48): Likewise.
20997         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
20998         * stdlib/lcong48.c (lcong48): Likewise.
20999         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
21000         * stdlib/nrand48.c (nrand48): Likewise.
21001         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
21002         * stdlib/seed48.c (seed48): Likewise.
21003         * stdlib/seed48_r.c (__seed48_r): Likewise.
21004         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
21005         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
21006         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
21008 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
21010         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
21011         * configure: Regenerated.
21012         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
21013         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
21014         unconditional.
21015         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
21016         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
21017         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
21018         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
21019         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
21020         unconditional.
21021         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
21023         * posix/Makefile (CFLAGS-regex.c): Remove variable.
21024         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
21026         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
21027         function definition.
21028         * crypt/crypt_util.c (__encrypt_r): Likewise.
21029         * libio/genops.c (_IO_no_init): Likewise.
21030         * libio/iofopncook.c (_IO_fopencookie): Likewise.
21031         (_IO_old_fopencookie): Likewise.
21032         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
21033         * libio/iogetline.c (_IO_getline): Likewise.
21034         (_IO_getline_info): Likewise.
21035         * libio/iogetwline.c (_IO_getwline): Likewise.
21036         (_IO_getwline_info): Likewise.
21037         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
21038         * libio/vswprintf.c (_IO_vswprintf): Likewise.
21039         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
21040         (find_entry): Likewise.
21041         (iterate_table): Likewise.
21042         (lookup): Likewise.
21043         * login/forkpty.c (forkpty): Likewise.
21044         * misc/hsearch_r.c (__hsearch_r): Likewise.
21045         * misc/select.c (__select): Likewise.
21046         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
21047         Likewise.
21048         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
21049         Likewise.
21050         * nptl/old_pthread_cond_timedwait.c
21051         (__pthread_cond_timedwait_2_0): Likewise.
21052         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
21053         * nptl/pthread_barrierattr_getpshared.c
21054         (pthread_barrierattr_getpshared): Likewise.
21055         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
21056         Likewise.
21057         * nptl/pthread_mutex_setprioceiling.c
21058         (pthread_mutex_setprioceiling): Likewise.
21059         * nptl/pthread_mutexattr_getprioceiling.c
21060         (pthread_mutexattr_getprioceiling): Likewise.
21061         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
21062         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
21063         Likewise.
21064         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
21065         Likewise.
21066         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
21067         Likewise.
21068         * socket/recvfrom.c (__recvfrom): Likewise.
21069         * socket/sendto.c (__sendto): Likewise.
21070         * socket/setsockopt.c (__setsockopt): Likewise.
21071         * stdio-common/_itoa.c (_itoa): Likewise.
21072         * stdio-common/_itowa.c (_itowa): Likewise.
21073         * stdio-common/reg-printf.c (__register_printf_specifier):
21074         Likewise.
21075         (__register_printf_function): Likewise.
21076         * stdio-common/tempname.c (__path_search): Likewise.
21077         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
21078         * stdlib/mul_1.c (mpn_mul_1): Likewise.
21079         * stdlib/random_r.c (__initstate_r): Likewise.
21080         * stdlib/setenv.c (__add_to_environ): Likewise.
21081         * stdlib/submul_1.c (mpn_submul_1): Likewise.
21082         * streams/getpmsg.c (getpmsg): Likewise.
21083         * streams/putmsg.c (putmsg): Likewise.
21084         * streams/putpmsg.c (putpmsg): Likewise.
21085         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
21086         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
21087         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
21088         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
21089         * sunrpc/pm_getport.c (pmap_getport): Likewise.
21090         * sunrpc/svc_udp.c (cache_get): Likewise.
21091         * sunrpc/xdr_array.c (xdr_vector): Likewise.
21092         * sysdeps/mach/hurd/getcwd.c
21093         (__canonicalize_directory_name_internal): Likewise.
21094         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
21095         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
21096         * sysdeps/mach/hurd/select.c (__select): Likewise.
21097         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
21098         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
21099         * sysdeps/sparc/nptl/pthread_barrier_init.c
21100         (__pthread_barrier_init): Likewise.
21101         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
21102         (__pthread_cond_timedwait): Likewise.
21103         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
21104         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
21105         Likewise.
21106         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
21107         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
21108         Likewise.
21109         * sysvipc/semtimedop.c (semtimedop): Likewise.
21110         * time/setitimer.c (__setitimer): Likewise.
21111         * time/strftime_l.c (emacs_strftime): Likewise.
21113 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
21115         * config.make.in (have-ssp): Delete.
21116         (stack-protector): New variable.
21117         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
21118         cache test for -fstack-protector-strong.  Export stack_protector to
21119         the best ssp flag.
21120         * configure: Regenerated.
21121         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
21122         * nscd/Makefile (CFLAGS-nscd): Likewise.
21123         * resolv/Makefile (CFLAGS-libresolv): Likewise.
21125 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
21127         [BZ #19122]
21128         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
21129         attribute_hidden.
21131 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21133         [BZ #18743]
21134         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
21135         code to...
21136         (ELIDE_LOCK): ...here.
21137         (__get_new_count): New function with part of the code from
21138         __elide_lock that updates the value of adapt_count after a
21139         transaction abort.
21140         (__elided_trylock): Moved this code to...
21141         (ELIDE_TRYLOCK): ...here.
21143 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
21145         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
21146         * configure: Regenerate.
21147         * INSTALL: Regenerate.
21148         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
21149         and tweak grammar.
21151 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
21153         * login/programs/pt_chown.c: Include signal.h
21154         (main): Clear any signal mask from the parent process.
21156 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
21158         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
21159         * configure: Regenerated.
21160         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
21161         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
21162         $(gnu89-inline-CFLAGS).
21164         * configure.ac (libc_cv_asm_weak_directive): Remove configure
21165         test.
21166         (libc_cv_asm_weakext_directive): Likewise.
21167         * configure: Regenerated.
21168         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
21169         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
21170         * include/libc-symbols.h
21171         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
21172         #error.
21173         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
21174         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
21176         * sysdeps/arm/backtrace.c (__backtrace): Convert to
21177         prototype-style function definition.
21178         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
21179         * sysdeps/i386/ffs.c (__ffs): Likewise.
21180         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
21181         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
21182         Likewise.
21183         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
21184         Likewise.
21185         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
21186         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
21187         Likewise.
21188         * sysdeps/m68k/ffs.c (__ffs): Likewise.
21189         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
21190         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
21191         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
21192         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
21193         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
21194         * sysdeps/mach/hurd/access.c (__access): Likewise.
21195         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
21196         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
21197         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
21198         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
21199         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
21200         (cthread_getspecific): Likewise.
21201         (cthread_setspecific): Likewise.
21202         (__libc_getspecific): Likewise.
21203         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
21204         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
21205         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
21206         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
21207         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
21208         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
21209         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
21210         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
21211         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
21212         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
21213         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
21214         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
21215         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
21216         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
21217         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
21218         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
21219         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
21220         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
21221         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
21222         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
21223         * sysdeps/mach/hurd/link.c (__link): Likewise.
21224         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
21225         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
21226         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
21227         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
21228         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
21229         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
21230         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
21231         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
21232         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
21233         * sysdeps/mach/hurd/rename.c (rename): Likewise.
21234         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
21235         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
21236         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
21237         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
21238         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
21239         * sysdeps/mach/hurd/send.c (__send): Likewise.
21240         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
21241         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
21242         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
21243         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
21244         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
21245         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
21246         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
21247         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
21248         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
21249         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
21250         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
21251         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
21252         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
21253         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
21254         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
21255         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
21256         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
21257         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
21258         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
21259         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
21260         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
21261         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
21262         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
21263         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
21264         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
21265         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
21266         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
21267         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
21268         * sysdeps/posix/alarm.c (alarm): Likewise.
21269         * sysdeps/posix/cuserid.c (cuserid): Likewise.
21270         * sysdeps/posix/dirfd.c (dirfd): Likewise.
21271         * sysdeps/posix/dup.c (__dup): Likewise.
21272         * sysdeps/posix/dup2.c (__dup2): Likewise.
21273         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
21274         (main): Likewise.
21275         * sysdeps/posix/flock.c (__flock): Likewise.
21276         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
21277         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
21278         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
21279         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
21280         * sysdeps/posix/isatty.c (__isatty): Likewise.
21281         * sysdeps/posix/killpg.c (killpg): Likewise.
21282         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
21283         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
21284         * sysdeps/posix/raise.c (raise): Likewise.
21285         * sysdeps/posix/remove.c (remove): Likewise.
21286         * sysdeps/posix/rename.c (rename): Likewise.
21287         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
21288         * sysdeps/posix/seekdir.c (seekdir): Likewise.
21289         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
21290         * sysdeps/posix/sigignore.c (sigignore): Likewise.
21291         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
21292         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
21293         * sysdeps/posix/sigset.c (sigset): Likewise.
21294         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
21295         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
21296         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
21297         * sysdeps/posix/time.c (time): Likewise.
21298         * sysdeps/posix/ttyname.c (getttyname): Likewise.
21299         (ttyname): Likewise.
21300         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
21301         * sysdeps/posix/utime.c (utime): Likewise.
21302         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
21303         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
21304         Likewise.
21305         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
21306         (pthread_spin_trylock): Likewise.
21307         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
21308         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
21309         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
21310         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
21311         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
21312         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
21313         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
21314         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
21315         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
21316         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
21317         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
21318         * sysdeps/s390/ffs.c (__ffs): Likewise.
21319         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
21320         Likewise.
21321         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
21322         Likewise.
21323         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
21324         Likewise.
21325         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
21326         (pthread_barrier_destroy): Likewise.
21327         * sysdeps/sparc/nptl/pthread_barrier_wait.c
21328         (__pthread_barrier_wait): Likewise.
21329         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
21330         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
21331         (__pthread_barrier_wait): Likewise.
21332         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
21333         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
21334         (memcmp_not_common_alignment): Likewise.
21335         (MEMCMP): Likewise.
21336         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
21337         (_wordcopy_fwd_dest_aligned): Likewise.
21338         (_wordcopy_bwd_aligned): Likewise.
21339         (_wordcopy_bwd_dest_aligned): Likewise.
21340         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
21341         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
21342         * sysdeps/unix/bsd/stty.c (stty): Likewise.
21343         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
21344         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
21345         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
21346         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
21347         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
21348         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
21349         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
21350         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
21351         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
21352         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
21353         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
21354         * sysdeps/unix/stime.c (stime): Likewise.
21355         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
21356         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
21357         Likewise.  Use internal_function.
21358         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
21359         Convert to prototype-style function definition.
21360         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
21361         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
21362         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
21363         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
21364         Likewise.  Use internal_function.
21365         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
21366         prototype-style function definition
21367         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
21368         Likewise.
21369         (__getlogin_r): Likewise.
21370         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
21371         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
21372         (__pthread_cond_broadcast): Likewise.
21373         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
21374         (__pthread_cond_destroy): Likewise.
21375         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
21376         (__pthread_cond_init): Likewise.
21377         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
21378         (__pthread_cond_signal): Likewise.
21379         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
21380         (__pthread_cond_wait): Likewise.
21381         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
21382         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
21383         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
21384         Likewise.
21385         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
21386         Likewise.
21387         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
21388         Likewise.
21389         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
21390         Likewise.
21391         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
21392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
21393         (__ftruncate64): Likewise.
21394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
21395         (truncate64): Likewise.
21396         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
21397         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
21398         (pthread_getcpuclockid): Likewise.
21399         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
21400         Likewise.
21401         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
21402         Likewise.
21403         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
21404         Likewise.
21405         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
21406         Likewise.
21407         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
21408         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
21409         (__libc_sigaction): Likewise.
21410         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
21411         Likewise.
21412         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
21413         (__sigprocmask): Likewise.
21414         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
21415         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
21416         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
21417         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
21418         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
21419         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
21420         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
21421         Likewise.
21422         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
21423         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
21424         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
21425         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
21426         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
21427         Likewise.
21428         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
21429         (__sigprocmask): Likewise.
21430         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
21431         (cfgetispeed): Likewise.
21432         (cfsetospeed): Likewise.
21433         (cfsetispeed): Likewise.
21434         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
21435         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
21436         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
21437         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
21438         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
21439         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
21440         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
21441         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
21442         Likewise.
21443         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
21444         Likewise.
21445         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
21446         Likewise.
21447         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
21448         Likewise.
21449         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
21451 2015-10-17  Florian Weimer  <fweimer@redhat.com>
21453         sunrpc: Rewrite with explicit TLS access using __thread.
21454         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
21455         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
21456         directly.
21457         (__rpc_thread_variables): Access thread_rpc_vars directly.
21458         Eliminate redundant assignment of the tvp variable.
21460 2015-10-17  Florian Weimer  <fweimer@redhat.com>
21462         malloc: Rewrite with explicit TLS access using __thread.
21463         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
21464         (tsd_setspecific, tsd_getspecific): Remove.
21465         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
21466         (tsd_setspecific, tsd_getspecific): Likewise.
21467         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
21468         (tsd_setspecific, tsd_getspecific): Likewise.
21469         * malloc/arena.c (thread_arena): New TLS variable.
21470         (arena_key): Remove variable.
21471         (arena_get): Use thread_arena.
21472         (arena_lookup): Remove macro.
21473         (malloc_atfork, free_atfork, ptmalloc_lock_all)
21474         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
21475         (_int_new_arena, get_free_list, reused_arena)
21476         (arena_thread_freeres): Use thread_arena.
21477         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
21478         tsd_getspecific, tsd_setspecific from safety annotations.
21479         (Allocating Cleared Space): Remove arena_lookup from safety
21480         annotations.
21482 2015-10-17  Florian Weimer  <fweimer@redhat.com>
21484         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
21485         struct scratch_buffer instead of extend_alloca.
21487 2015-10-17  Florian Weimer  <fweimer@redhat.com>
21489         * sysdeps/unix/sysv/linux/kernel-features.h
21490         (__ASSUME_SOCK_CLOEXEC): Remove.
21491         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
21492         (__have_paccept): Remove unused macro.
21493         * include/unistd.h (__have_sock_cloexec): Remove declaration.
21494         * misc/syslog.c (openlog_internal): Remove fallback code for
21495         !__ASSUME_SOCK_CLOEXEC.
21496         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
21497         missing SOCK_CLOEXEC.
21498         * nscd/connections.c (have_sock_cloexec): Remove definition.
21499         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
21500         * nscd/nscd_helper.c (open_socket): Remove fallback code for
21501         !__ASSUME_SOCK_CLOEXEC.
21502         * resolv/res_send.c (__have_o_nonblock): Remove definition.
21503         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
21504         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
21505         definition.
21506         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
21507         code for !__ASSUME_SOCK_CLOEXEC.
21509 2015-10-17  Florian Weimer  <fweimer@redhat.com>
21511         [BZ #18982]
21512         * manual/stdio.texi (Variable Arguments Output): Add portability
21513         note, explaining that vfprintf clobbers the va_list pointer.
21515 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
21517         * math/libm-test.inc (fabs_test_data): Add more tests.
21518         (fdim_test_data): Likewise.
21519         (fma_test_data): Likewise.
21520         (fmax_test_data): Likewise.
21521         (fmin_test_data): Likewise.
21522         (fmod_test_data): Likewise.
21524 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
21526         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
21527         data.
21529 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
21531         * math/libm-test.inc (ceil_test_data): Add more tests and more
21532         expectations for "inexact".
21533         (floor_test_data): Add more tests.
21534         (round_test_data): Likewise.
21535         (trunc_test_data): Likewise.
21537         * crypt/cert.c (good_bye): Convert to prototype-style function
21538         definition.
21539         (get8): Likewise.
21540         (put8): Likewise.
21541         * crypt/crypt-entry.c (crypt): Likewise.
21542         (__fcrypt): Likewise.
21543         * crypt/crypt_util.c (_ufc_prbits): Likewise.
21544         (_ufc_set_bits): Likewise.
21545         (_ufc_clearmem): Likewise.
21546         (__init_des_r): Likewise.
21547         (shuffle_sb): Likewise.
21548         (shuffle_sb): Likewise.
21549         (_ufc_setup_salt_r): Likewise.
21550         (_ufc_mk_keytab_r): Likewise.
21551         (_ufc_dofinalperm_r): Likewise.
21552         (encrypt): Likewise.
21553         (__setkey_r): Likewise.
21554         (setkey): Likewise.
21555         * crypt/md5.c (md5_init_ctx): Likewise.
21556         (md5_read_ctx): Likewise.
21557         (md5_finish_ctx): Likewise.
21558         (md5_stream): Likewise.
21559         (md5_buffer): Likewise.
21560         (md5_process_bytes): Likewise.
21561         * crypt/sha256.c (__sha256_init_ctx): Likewise.
21562         (__sha256_finish_ctx): Likewise.
21563         (__sha256_process_bytes): Likewise.
21564         * crypt/sha512.c (__sha512_init_ctx): Likewise.
21565         (__sha512_finish_ctx): Likewise.
21566         (__sha512_process_bytes): Likewise.
21567         * ctype/isctype.c (__isctype): Likewise.
21568         * debug/backtrace.c (__backtrace): Likewise.
21569         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
21570         * debug/fgets_chk.c (__fgets_chk): Likewise.
21571         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
21572         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
21573         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
21574         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
21575         * debug/memset_chk.c (__memset_chk): Likewise.
21576         * debug/strcat_chk.c (__strcat_chk): Likewise.
21577         * debug/strncat_chk.c (__strncat_chk): Likewise.
21578         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
21579         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
21580         * dirent/dirfd.c (dirfd): Likewise.
21581         * dirent/getdents.c (__getdirentries): Likewise.
21582         * dirent/getdents64.c (getdirentries64): Likewise.
21583         * dirent/rewinddir.c (__rewinddir): Likewise.
21584         * dirent/seekdir.c (seekdir): Likewise.
21585         * dirent/telldir.c (telldir): Likewise.
21586         * elf/sln.c (makesymlinks): Likewise.
21587         (makesymlink): Likewise.
21588         * gmon/gmon.c (__moncontrol): Likewise.
21589         (__monstartup): Likewise.
21590         (write_hist): Likewise.
21591         (write_call_graph): Likewise.
21592         (write_bb_counts): Likewise.
21593         * grp/setgroups.c (setgroups): Likewise.
21594         * inet/inet_lnaof.c (inet_lnaof): Likewise.
21595         * inet/inet_net.c (inet_network): Likewise.
21596         * inet/inet_netof.c (inet_netof): Likewise.
21597         * inet/rcmd.c (rresvport_af): Likewise.
21598         (rresvport): Likewise.
21599         * io/access.c (__access): Likewise.
21600         * io/chdir.c (__chdir): Likewise.
21601         * io/chmod.c (__chmod): Likewise.
21602         * io/chown.c (__chown): Likewise.
21603         * io/close.c (__close): Likewise.
21604         * io/creat.c (creat): Likewise.
21605         * io/creat64.c (creat64): Likewise.
21606         * io/dup.c (__dup): Likewise.
21607         * io/dup2.c (__dup2): Likewise.
21608         * io/dup3.c (__dup3): Likewise.
21609         * io/euidaccess.c (__euidaccess): Likewise.
21610         * io/faccessat.c (faccessat): Likewise.
21611         * io/fchmod.c (__fchmod): Likewise.
21612         * io/fchmodat.c (fchmodat): Likewise.
21613         * io/fchown.c (__fchown): Likewise.
21614         * io/fchownat.c (fchownat): Likewise.
21615         * io/fcntl.c (__fcntl): Likewise.
21616         * io/flock.c (__flock): Likewise.
21617         * io/fts.c (fts_load): Likewise.
21618         (fts_close): Likewise.
21619         (fts_read): Likewise.
21620         (fts_set): Likewise.
21621         (fts_children): Likewise.
21622         (fts_build): Likewise.
21623         (fts_stat): Likewise.
21624         (fts_sort): Likewise.
21625         (fts_alloc): Likewise.
21626         (fts_lfree): Likewise.
21627         (fts_palloc): Likewise.
21628         (fts_padjust): Likewise.
21629         (fts_maxarglen): Likewise.
21630         (fts_safe_changedir): Likewise.
21631         * io/getwd.c (getwd): Likewise.
21632         * io/isatty.c (__isatty): Likewise.
21633         * io/lchown.c (__lchown): Likewise.
21634         * io/link.c (__link): Likewise.
21635         * io/linkat.c (linkat): Likewise.
21636         * io/lseek.c (__libc_lseek): Likewise.
21637         * io/mkdir.c (__mkdir): Likewise.
21638         * io/mkdirat.c (mkdirat): Likewise.
21639         * io/mkfifo.c (mkfifo): Likewise.
21640         * io/mkfifoat.c (mkfifoat): Likewise.
21641         * io/open.c (__libc_open): Likewise.
21642         * io/open64.c (__libc_open64): Likewise.
21643         * io/readlink.c (__readlink): Likewise.
21644         * io/readlinkat.c (readlinkat): Likewise.
21645         * io/rmdir.c (__rmdir): Likewise.
21646         * io/symlink.c (__symlink): Likewise.
21647         * io/symlinkat.c (symlinkat): Likewise.
21648         * io/ttyname.c (ttyname): Likewise.
21649         * io/ttyname_r.c (__ttyname_r): Likewise.
21650         * io/umask.c (__umask): Likewise.
21651         * io/unlink.c (__unlink): Likewise.
21652         * io/unlinkat.c (unlinkat): Likewise.
21653         * io/utime.c (utime): Likewise.
21654         * libio/clearerr.c (clearerr): Likewise.
21655         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
21656         * libio/feof.c (_IO_feof): Likewise.
21657         * libio/feof_u.c (feof_unlocked): Likewise.
21658         * libio/ferror.c (_IO_ferror): Likewise.
21659         * libio/ferror_u.c (ferror_unlocked): Likewise.
21660         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
21661         * libio/fileno.c (__fileno): Likewise.
21662         * libio/fputc.c (fputc): Likewise.
21663         * libio/fputc_u.c (fputc_unlocked): Likewise.
21664         * libio/fputwc.c (fputwc): Likewise.
21665         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
21666         * libio/freopen.c (freopen): Likewise.
21667         * libio/freopen64.c (freopen64): Likewise.
21668         * libio/fseek.c (fseek): Likewise.
21669         * libio/fseeko.c (fseeko): Likewise.
21670         * libio/fseeko64.c (fseeko64): Likewise.
21671         * libio/ftello.c (__ftello): Likewise.
21672         * libio/ftello64.c (ftello64): Likewise.
21673         * libio/fwide.c (fwide): Likewise.
21674         * libio/genops.c (_IO_un_link): Likewise.
21675         (_IO_link_in): Likewise.
21676         (_IO_least_marker): Likewise.
21677         (_IO_switch_to_main_get_area): Likewise.
21678         (_IO_switch_to_backup_area): Likewise.
21679         (_IO_switch_to_get_mode): Likewise.
21680         (_IO_free_backup_area): Likewise.
21681         (_IO_switch_to_put_mode): Likewise.
21682         (__overflow): Likewise.
21683         (__underflow): Likewise.
21684         (__uflow): Likewise.
21685         (_IO_setb): Likewise.
21686         (_IO_doallocbuf): Likewise.
21687         (_IO_default_underflow): Likewise.
21688         (_IO_default_uflow): Likewise.
21689         (_IO_default_xsputn): Likewise.
21690         (_IO_sgetn): Likewise.
21691         (_IO_default_xsgetn): Likewise.
21692         (_IO_sync): Likewise.
21693         (_IO_default_setbuf): Likewise.
21694         (_IO_default_seekpos): Likewise.
21695         (_IO_default_doallocate): Likewise.
21696         (_IO_init): Likewise.
21697         (_IO_old_init): Likewise.
21698         (_IO_default_sync): Likewise.
21699         (_IO_default_finish): Likewise.
21700         (_IO_default_seekoff): Likewise.
21701         (_IO_sputbackc): Likewise.
21702         (_IO_sungetc): Likewise.
21703         (_IO_set_column): Likewise.
21704         (_IO_set_column): Likewise.
21705         (_IO_adjust_column): Likewise.
21706         (_IO_get_column): Likewise.
21707         (_IO_init_marker): Likewise.
21708         (_IO_remove_marker): Likewise.
21709         (_IO_marker_difference): Likewise.
21710         (_IO_marker_delta): Likewise.
21711         (_IO_seekmark): Likewise.
21712         (_IO_unsave_markers): Likewise.
21713         (_IO_nobackup_pbackfail): Likewise.
21714         (_IO_default_pbackfail): Likewise.
21715         (_IO_default_seek): Likewise.
21716         (_IO_default_stat): Likewise.
21717         (_IO_default_read): Likewise.
21718         (_IO_default_write): Likewise.
21719         (_IO_default_showmanyc): Likewise.
21720         (_IO_default_imbue): Likewise.
21721         (_IO_iter_next): Likewise.
21722         (_IO_iter_file): Likewise.
21723         * libio/getc.c (_IO_getc): Likewise.
21724         * libio/getwc.c (_IO_getwc): Likewise.
21725         * libio/iofclose.c (_IO_new_fclose): Likewise.
21726         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
21727         * libio/iofflush.c (_IO_fflush): Likewise.
21728         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
21729         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
21730         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
21731         * libio/iofgets.c (_IO_fgets): Likewise.
21732         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
21733         * libio/iofgetws.c (fgetws): Likewise.
21734         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
21735         * libio/iofopen64.c (_IO_fopen64): Likewise.
21736         * libio/iofopncook.c (_IO_cookie_read): Likewise.
21737         (_IO_cookie_write): Likewise.
21738         (_IO_cookie_seek): Likewise.
21739         (_IO_cookie_close): Likewise.
21740         (_IO_cookie_seekoff): Likewise.
21741         (_IO_old_cookie_seek): Likewise.
21742         * libio/iofputs.c (_IO_fputs): Likewise.
21743         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
21744         * libio/iofputws.c (fputws): Likewise.
21745         * libio/iofputws_u.c (fputws_unlocked): Likewise.
21746         * libio/iofread.c (_IO_fread): Likewise.
21747         * libio/iofread_u.c (__fread_unlocked): Likewise.
21748         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
21749         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
21750         * libio/ioftell.c (_IO_ftell): Likewise.
21751         * libio/iofwrite.c (_IO_fwrite): Likewise.
21752         * libio/iogetdelim.c (_IO_getdelim): Likewise.
21753         * libio/iogets.c (_IO_gets): Likewise.
21754         * libio/iopadn.c (_IO_padn): Likewise.
21755         * libio/iopopen.c (_IO_new_proc_open): Likewise.
21756         (_IO_new_popen): Likewise.
21757         (_IO_new_proc_close): Likewise.
21758         * libio/ioputs.c (_IO_puts): Likewise.
21759         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
21760         (_IO_seekoff): Likewise.
21761         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
21762         (_IO_seekpos): Likewise.
21763         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
21764         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
21765         * libio/ioungetc.c (_IO_ungetc): Likewise.
21766         * libio/ioungetwc.c (ungetwc): Likewise.
21767         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
21768         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
21769         * libio/iowpadn.c (_IO_wpadn): Likewise.
21770         * libio/libc_fatal.c (__libc_fatal): Likewise.
21771         * libio/memstream.c (__open_memstream): Likewise.
21772         (_IO_mem_sync): Likewise.
21773         (_IO_mem_finish): Likewise.
21774         * libio/oldfileops.c (_IO_old_file_init): Likewise.
21775         (_IO_old_file_close_it): Likewise.
21776         (_IO_old_file_finish): Likewise.
21777         (_IO_old_file_fopen): Likewise.
21778         (_IO_old_file_attach): Likewise.
21779         (_IO_old_file_setbuf): Likewise.
21780         (_IO_old_do_write): Likewise.
21781         (old_do_write): Likewise.
21782         (_IO_old_file_underflow): Likewise.
21783         (_IO_old_file_overflow): Likewise.
21784         (_IO_old_file_sync): Likewise.
21785         (_IO_old_file_seekoff): Likewise.
21786         (_IO_old_file_write): Likewise.
21787         (_IO_old_file_xsputn): Likewise.
21788         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
21789         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
21790         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
21791         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
21792         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
21793         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
21794         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
21795         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
21796         (_IO_old_popen): Likewise.
21797         (_IO_old_proc_close): Likewise.
21798         * libio/oldpclose.c (__old_pclose): Likewise.
21799         * libio/pclose.c (__new_pclose): Likewise.
21800         * libio/peekc.c (_IO_peekc_locked): Likewise.
21801         * libio/putc.c (_IO_putc): Likewise.
21802         * libio/putc_u.c (putc_unlocked): Likewise.
21803         * libio/putchar.c (putchar): Likewise.
21804         * libio/putchar_u.c (putchar_unlocked): Likewise.
21805         * libio/putwc.c (putwc): Likewise.
21806         * libio/putwc_u.c (putwc_unlocked): Likewise.
21807         * libio/putwchar.c (putwchar): Likewise.
21808         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
21809         * libio/rewind.c (rewind): Likewise.
21810         * libio/setbuf.c (setbuf): Likewise.
21811         * libio/setlinebuf.c (setlinebuf): Likewise.
21812         * libio/vasprintf.c (_IO_vasprintf): Likewise.
21813         * libio/vscanf.c (_IO_vscanf): Likewise.
21814         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
21815         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
21816         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
21817         * libio/wgenops.c (_IO_least_wmarker): Likewise.
21818         (_IO_switch_to_main_wget_area): Likewise.
21819         (_IO_switch_to_wbackup_area): Likewise.
21820         (_IO_wsetb): Likewise.
21821         (_IO_wdefault_pbackfail): Likewise.
21822         (_IO_wdefault_finish): Likewise.
21823         (_IO_wdefault_uflow): Likewise.
21824         (__woverflow): Likewise.
21825         (__wuflow): Likewise.
21826         (__wunderflow): Likewise.
21827         (_IO_wdefault_xsputn): Likewise.
21828         (_IO_wdefault_xsgetn): Likewise.
21829         (_IO_wdoallocbuf): Likewise.
21830         (_IO_wdefault_doallocate): Likewise.
21831         (_IO_switch_to_wget_mode): Likewise.
21832         (_IO_free_wbackup_area): Likewise.
21833         (_IO_switch_to_wput_mode): Likewise.
21834         (_IO_sputbackwc): Likewise.
21835         (_IO_sungetwc): Likewise.
21836         (_IO_adjust_wcolumn): Likewise.
21837         (_IO_init_wmarker): Likewise.
21838         (_IO_wmarker_delta): Likewise.
21839         (_IO_seekwmark): Likewise.
21840         (_IO_unsave_wmarkers): Likewise.
21841         * libio/wmemstream.c (open_wmemstream): Likewise.
21842         (_IO_wmem_sync): Likewise.
21843         (_IO_wmem_finish): Likewise.
21844         * locale/nl_langinfo.c (nl_langinfo): Likewise.
21845         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
21846         * locale/programs/simple-hash.c (init_hash): Likewise.
21847         (delete_hash): Likewise.
21848         (insert_entry): Likewise.
21849         (set_entry): Likewise.
21850         (next_prime): Likewise.
21851         (is_prime): Likewise.
21852         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
21853         (xmalloc): Likewise.
21854         (xrealloc): Likewise.
21855         * locale/programs/xstrdup.c (xstrdup): Likewise.
21856         * localedata/collate-test.c (xstrcoll): Likewise.
21857         * localedata/xfrm-test.c (xstrcmp): Likewise.
21858         * login/getlogin_r.c (__getlogin_r): Likewise.
21859         * login/getpt.c (__posix_openpt): Likewise.
21860         * login/login_tty.c (login_tty): Likewise.
21861         * login/setlogin.c (setlogin): Likewise.
21862         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
21863         (mach_msg_destroy_port): Likewise.
21864         (mach_msg_destroy_memory): Likewise.
21865         * malloc/mcheck.c (flood): Likewise.
21866         * misc/acct.c (acct): Likewise.
21867         * misc/brk.c (__brk): Likewise.
21868         * misc/chflags.c (chflags): Likewise.
21869         * misc/chroot.c (chroot): Likewise.
21870         * misc/fchflags.c (fchflags): Likewise.
21871         * misc/fstab.c (getfsspec): Likewise.
21872         (getfsfile): Likewise.
21873         * misc/fsync.c (fsync): Likewise.
21874         * misc/ftruncate.c (__ftruncate): Likewise.
21875         * misc/ftruncate64.c (__ftruncate64): Likewise.
21876         * misc/getdomain.c (getdomainname): Likewise.
21877         (getdomainname): Likewise.
21878         * misc/gethostname.c (__gethostname): Likewise.
21879         * misc/getpass.c (getpass): Likewise.
21880         * misc/getttyent.c (skip): Likewise.
21881         (value): Likewise.
21882         * misc/gtty.c (gtty): Likewise.
21883         * misc/hsearch.c (hsearch): Likewise.
21884         (hcreate): Likewise.
21885         * misc/hsearch_r.c (__hcreate_r): Likewise.
21886         (__hdestroy_r): Likewise.
21887         * misc/ioctl.c (__ioctl): Likewise.
21888         * misc/mkdtemp.c (mkdtemp): Likewise.
21889         * misc/mkostemp.c (mkostemp): Likewise.
21890         * misc/mkostemp64.c (mkostemp64): Likewise.
21891         * misc/mkostemps.c (mkostemps): Likewise.
21892         * misc/mkostemps64.c (mkostemps64): Likewise.
21893         * misc/mkstemp.c (mkstemp): Likewise.
21894         * misc/mkstemp64.c (mkstemp64): Likewise.
21895         * misc/mkstemps.c (mkstemps): Likewise.
21896         * misc/mkstemps64.c (mkstemps64): Likewise.
21897         * misc/mktemp.c (__mktemp): Likewise.
21898         * misc/preadv.c (preadv): Likewise.
21899         * misc/preadv64.c (preadv64): Likewise.
21900         * misc/pwritev.c (pwritev): Likewise.
21901         * misc/pwritev64.c (pwritev64): Likewise.
21902         * misc/readv.c (__readv): Likewise.
21903         * misc/revoke.c (revoke): Likewise.
21904         * misc/setdomain.c (setdomainname): Likewise.
21905         * misc/setegid.c (setegid): Likewise.
21906         * misc/seteuid.c (seteuid): Likewise.
21907         * misc/sethostid.c (sethostid): Likewise.
21908         * misc/sethostname.c (sethostname): Likewise.
21909         * misc/setregid.c (__setregid): Likewise.
21910         * misc/setreuid.c (__setreuid): Likewise.
21911         * misc/sstk.c (sstk): Likewise.
21912         * misc/stty.c (stty): Likewise.
21913         * misc/syscall.c (syscall): Likewise.
21914         * misc/syslog.c (setlogmask): Likewise.
21915         * misc/truncate.c (__truncate): Likewise.
21916         * misc/truncate64.c (truncate64): Likewise.
21917         * misc/ualarm.c (ualarm): Likewise.
21918         * misc/usleep.c (usleep): Likewise.
21919         * misc/ustat.c (ustat): Likewise.
21920         * misc/writev.c (__writev): Likewise.
21921         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
21922         * nptl/old_pthread_cond_broadcast.c
21923         (__pthread_cond_broadcast_2_0): Likewise.
21924         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
21925         Likewise.
21926         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
21927         Likewise.
21928         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
21929         Likewise.
21930         * nptl/pt-raise.c (raise): Likewise.
21931         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
21932         Likewise.
21933         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
21934         * nptl/pthread_barrierattr_destroy.c
21935         (pthread_barrierattr_destroy): Likewise.
21936         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
21937         Likewise.
21938         * nptl/pthread_barrierattr_setpshared.c
21939         (pthread_barrierattr_setpshared): Likewise.
21940         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
21941         Likewise.
21942         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
21943         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
21944         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
21945         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
21946         Likewise.
21947         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
21948         Likewise.
21949         * nptl/pthread_condattr_getpshared.c
21950         (pthread_condattr_getpshared): Likewise.
21951         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
21952         Likewise.
21953         * nptl/pthread_condattr_setpshared.c
21954         (pthread_condattr_setpshared): Likewise.
21955         * nptl/pthread_detach.c (pthread_detach): Likewise.
21956         * nptl/pthread_equal.c (__pthread_equal): Likewise.
21957         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
21958         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
21959         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
21960         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
21961         Likewise.
21962         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
21963         Likewise.
21964         * nptl/pthread_mutex_getprioceiling.c
21965         (pthread_mutex_getprioceiling): Likewise.
21966         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
21967         Likewise.
21968         * nptl/pthread_mutexattr_getprotocol.c
21969         (pthread_mutexattr_getprotocol): Likewise.
21970         * nptl/pthread_mutexattr_getpshared.c
21971         (pthread_mutexattr_getpshared): Likewise.
21972         * nptl/pthread_mutexattr_getrobust.c
21973         (pthread_mutexattr_getrobust): Likewise.
21974         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
21975         Likewise.
21976         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
21977         Likewise.
21978         * nptl/pthread_mutexattr_setprioceiling.c
21979         (pthread_mutexattr_setprioceiling): Likewise.
21980         * nptl/pthread_mutexattr_setprotocol.c
21981         (pthread_mutexattr_setprotocol): Likewise.
21982         * nptl/pthread_mutexattr_setpshared.c
21983         (pthread_mutexattr_setpshared): Likewise.
21984         * nptl/pthread_mutexattr_setrobust.c
21985         (pthread_mutexattr_setrobust): Likewise.
21986         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
21987         Likewise.
21988         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
21989         Likewise.
21990         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
21991         Likewise.
21992         * nptl/pthread_rwlockattr_getkind_np.c
21993         (pthread_rwlockattr_getkind_np): Likewise.
21994         * nptl/pthread_rwlockattr_getpshared.c
21995         (pthread_rwlockattr_getpshared): Likewise.
21996         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
21997         Likewise.
21998         * nptl/pthread_rwlockattr_setkind_np.c
21999         (pthread_rwlockattr_setkind_np): Likewise.
22000         * nptl/pthread_rwlockattr_setpshared.c
22001         (pthread_rwlockattr_setpshared): Likewise.
22002         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
22003         Likewise.
22004         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
22005         Likewise.
22006         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
22007         Likewise.
22008         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
22009         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
22010         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
22011         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
22012         * nptl/sem_close.c (sem_close): Likewise.
22013         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
22014         * nptl/sem_init.c (__old_sem_init): Likewise.
22015         * nptl/sigaction.c (__sigaction): Likewise.
22016         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
22017         * posix/_exit.c (_exit): Likewise.
22018         * posix/alarm.c (alarm): Likewise.
22019         * posix/confstr.c (confstr): Likewise.
22020         * posix/fpathconf.c (__fpathconf): Likewise.
22021         * posix/getgroups.c (__getgroups): Likewise.
22022         * posix/getpgid.c (__getpgid): Likewise.
22023         * posix/group_member.c (__group_member): Likewise.
22024         * posix/pathconf.c (__pathconf): Likewise.
22025         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
22026         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
22027         * posix/setgid.c (__setgid): Likewise.
22028         * posix/setpgid.c (__setpgid): Likewise.
22029         * posix/setuid.c (__setuid): Likewise.
22030         * posix/sleep.c (__sleep): Likewise.
22031         * posix/sysconf.c (__sysconf): Likewise.
22032         * posix/times.c (__times): Likewise.
22033         * posix/uname.c (__uname): Likewise.
22034         * posix/waitid.c (__waitid): Likewise.
22035         * pwd/getpw.c (__getpw): Likewise.
22036         * resolv/base64.c (b64_pton): Likewise.
22037         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
22038         * resolv/gethnamaddr.c (Dprintf): Likewise.
22039         (gethostbyname): Likewise.
22040         (gethostbyname2): Likewise.
22041         (gethostbyaddr): Likewise.
22042         (_sethtent): Likewise.
22043         (_gethtbyname): Likewise.
22044         (_gethtbyname2): Likewise.
22045         (_gethtbyaddr): Likewise.
22046         (map_v4v6_address): Likewise.
22047         (map_v4v6_hostent): Likewise.
22048         (addrsort): Likewise.
22049         (ht_sethostent): Likewise.
22050         (ht_gethostbyname): Likewise.
22051         (ht_gethostbyaddr): Likewise.
22052         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
22053         (inet_net_ntop_ipv4): Likewise.
22054         * resolv/inet_neta.c (inet_neta): Likewise.
22055         * resolv/inet_ntop.c (inet_ntop): Likewise.
22056         (inet_ntop4): Likewise.
22057         (inet_ntop6): Likewise.
22058         * resolv/inet_pton.c (__inet_pton): Likewise.
22059         (inet_pton4): Likewise.
22060         (inet_pton6): Likewise.
22061         * resolv/res_debug.c (loc_aton): Likewise.
22062         (loc_ntoa): Likewise.
22063         * resource/getpriority.c (__getpriority): Likewise.
22064         * resource/getrusage.c (__getrusage): Likewise.
22065         * resource/nice.c (nice): Likewise.
22066         * resource/setpriority.c (__setpriority): Likewise.
22067         * resource/setrlimit64.c (setrlimit64): Likewise.
22068         * resource/vlimit.c (vlimit): Likewise.
22069         * resource/vtimes.c (vtimes): Likewise.
22070         * rt/aio_error.c (aio_error): Likewise.
22071         * rt/aio_return.c (aio_return): Likewise.
22072         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
22073         * signal/kill.c (__kill): Likewise.
22074         * signal/killpg.c (killpg): Likewise.
22075         * signal/raise.c (raise): Likewise.
22076         * signal/sigaction.c (__sigaction): Likewise.
22077         * signal/sigaddset.c (sigaddset): Likewise.
22078         * signal/sigaltstack.c (sigaltstack): Likewise.
22079         * signal/sigandset.c (sigandset): Likewise.
22080         * signal/sigblock.c (__sigblock): Likewise.
22081         * signal/sigdelset.c (sigdelset): Likewise.
22082         * signal/sigempty.c (sigemptyset): Likewise.
22083         * signal/sigfillset.c (sigfillset): Likewise.
22084         * signal/sighold.c (sighold): Likewise.
22085         * signal/sigignore.c (sigignore): Likewise.
22086         * signal/sigintr.c (siginterrupt): Likewise.
22087         * signal/sigisempty.c (sigisemptyset): Likewise.
22088         * signal/sigismem.c (sigismember): Likewise.
22089         * signal/signal.c (signal): Likewise.
22090         * signal/sigorset.c (sigorset): Likewise.
22091         * signal/sigpause.c (__sigpause): Likewise.
22092         * signal/sigpending.c (sigpending): Likewise.
22093         * signal/sigprocmask.c (__sigprocmask): Likewise.
22094         * signal/sigrelse.c (sigrelse): Likewise.
22095         * signal/sigreturn.c (__sigreturn): Likewise.
22096         * signal/sigset.c (sigset): Likewise.
22097         * signal/sigsetmask.c (__sigsetmask): Likewise.
22098         * signal/sigstack.c (sigstack): Likewise.
22099         * signal/sigsuspend.c (__sigsuspend): Likewise.
22100         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
22101         * signal/sysv_signal.c (__sysv_signal): Likewise.
22102         * socket/accept.c (accept): Likewise.
22103         * socket/accept4.c (__libc_accept4): Likewise.
22104         * socket/bind.c (__bind): Likewise.
22105         * socket/connect.c (__connect): Likewise.
22106         * socket/getpeername.c (getpeername): Likewise.
22107         * socket/getsockname.c (__getsockname): Likewise.
22108         * socket/getsockopt.c (getsockopt): Likewise.
22109         * socket/listen.c (__listen): Likewise.
22110         * socket/recv.c (__recv): Likewise.
22111         * socket/recvmsg.c (__recvmsg): Likewise.
22112         * socket/send.c (__send): Likewise.
22113         * socket/sendmsg.c (__sendmsg): Likewise.
22114         * socket/shutdown.c (shutdown): Likewise.
22115         * socket/sockatmark.c (sockatmark): Likewise.
22116         * socket/socket.c (__socket): Likewise.
22117         * stdio-common/ctermid.c (ctermid): Likewise.
22118         * stdio-common/cuserid.c (cuserid): Likewise.
22119         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
22120         * stdio-common/remove.c (remove): Likewise.
22121         * stdio-common/rename.c (rename): Likewise.
22122         * stdio-common/renameat.c (renameat): Likewise.
22123         * stdio-common/tempname.c (__gen_tempname): Likewise.
22124         * stdio-common/xbug.c (InitBuffer): Likewise.
22125         (AppendToBuffer): Likewise.
22126         (ReadFile): Likewise.
22127         * stdlib/a64l.c (a64l): Likewise.
22128         * stdlib/drand48_r.c (drand48_r): Likewise.
22129         * stdlib/getcontext.c (getcontext): Likewise.
22130         * stdlib/getenv.c (getenv): Likewise.
22131         * stdlib/l64a.c (l64a): Likewise.
22132         * stdlib/llabs.c (llabs): Likewise.
22133         * stdlib/lldiv.c (lldiv): Likewise.
22134         * stdlib/lrand48_r.c (lrand48_r): Likewise.
22135         * stdlib/mrand48_r.c (mrand48_r): Likewise.
22136         * stdlib/putenv.c (putenv): Likewise.
22137         * stdlib/random.c (__srandom): Likewise.
22138         (__initstate): Likewise.
22139         (__setstate): Likewise.
22140         * stdlib/random_r.c (__srandom_r): Likewise.
22141         (__setstate_r): Likewise.
22142         (__random_r): Likewise.
22143         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
22144         * stdlib/setcontext.c (setcontext): Likewise.
22145         * stdlib/setenv.c (setenv): Likewise.
22146         (unsetenv): Likewise.
22147         * stdlib/srand48.c (srand48): Likewise.
22148         * stdlib/srand48_r.c (__srand48_r): Likewise.
22149         * stdlib/swapcontext.c (swapcontext): Likewise.
22150         * stdlib/system.c (__libc_system): Likewise.
22151         * stdlib/tst-strtod.c (expand): Likewise.
22152         * stdlib/tst-strtol.c (expand): Likewise.
22153         * stdlib/tst-strtoll.c (expand): Likewise.
22154         * streams/fattach.c (fattach): Likewise.
22155         * streams/fdetach.c (fdetach): Likewise.
22156         * streams/getmsg.c (getmsg): Likewise.
22157         * streams/isastream.c (isastream): Likewise.
22158         * string/ffs.c (__ffs): Likewise.
22159         * string/ffsll.c (ffsll): Likewise.
22160         * string/memcmp.c (memcmp_common_alignment): Likewise.
22161         (memcmp_not_common_alignment): Likewise.
22162         (MEMCMP): Likewise.
22163         * string/memcpy.c (memcpy): Likewise.
22164         * string/memmove.c (MEMMOVE): Likewise.
22165         * string/memset.c (memset): Likewise.
22166         * string/rawmemchr.c (RAWMEMCHR): Likewise.
22167         * string/strchrnul.c (STRCHRNUL): Likewise.
22168         * string/strerror.c (strerror): Likewise.
22169         * string/strndup.c (__strndup): Likewise.
22170         * string/strverscmp.c (__strverscmp): Likewise.
22171         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
22172         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
22173         (clnttcp_freeres): Likewise.
22174         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
22175         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
22176         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
22177         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
22178         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
22179         (xdr_callhdr): Likewise.
22180         * sunrpc/rpcinfo.c (udpping): Likewise.
22181         (tcpping): Likewise.
22182         (pstatus): Likewise.
22183         (pmapdump): Likewise.
22184         (brdcst): Likewise.
22185         (deletereg): Likewise.
22186         (getprognum): Likewise.
22187         (getvers): Likewise.
22188         (get_inet_address): Likewise.
22189         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
22190         * sunrpc/svc_udp.c (svcudp_create): Likewise.
22191         (svcudp_stat): Likewise.
22192         (svcudp_recv): Likewise.
22193         (svcudp_reply): Likewise.
22194         (svcudp_getargs): Likewise.
22195         (svcudp_freeargs): Likewise.
22196         (svcudp_destroy): Likewise.
22197         * sunrpc/xdr.c (xdr_bytes): Likewise.
22198         (xdr_netobj): Likewise.
22199         (xdr_string): Likewise.
22200         (xdr_wrapstring): Likewise.
22201         * sunrpc/xdr_float.c (xdr_float): Likewise.
22202         (xdr_double): Likewise.
22203         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
22204         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
22205         * sysvipc/ftok.c (ftok): Likewise.
22206         * sysvipc/msgctl.c (msgctl): Likewise.
22207         * sysvipc/msgget.c (msgget): Likewise.
22208         * sysvipc/msgrcv.c (msgrcv): Likewise.
22209         * sysvipc/msgsnd.c (msgsnd): Likewise.
22210         * sysvipc/semget.c (semget): Likewise.
22211         * sysvipc/semop.c (semop): Likewise.
22212         * sysvipc/shmat.c (shmat): Likewise.
22213         * sysvipc/shmctl.c (shmctl): Likewise.
22214         * sysvipc/shmdt.c (shmdt): Likewise.
22215         * sysvipc/shmget.c (shmget): Likewise.
22216         * termios/cfmakeraw.c (cfmakeraw): Likewise.
22217         * termios/speed.c (cfgetospeed): Likewise.
22218         (cfgetispeed): Likewise.
22219         (cfsetospeed): Likewise.
22220         (cfsetispeed): Likewise.
22221         * termios/tcflow.c (tcflow): Likewise.
22222         * termios/tcflush.c (tcflush): Likewise.
22223         * termios/tcgetattr.c (__tcgetattr): Likewise.
22224         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
22225         * termios/tcgetsid.c (tcgetsid): Likewise.
22226         * termios/tcsendbrk.c (tcsendbreak): Likewise.
22227         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
22228         * time/adjtime.c (__adjtime): Likewise.
22229         * time/dysize.c (dysize): Likewise.
22230         * time/ftime.c (ftime): Likewise.
22231         * time/getitimer.c (__getitimer): Likewise.
22232         * time/gettimeofday.c (__gettimeofday): Likewise.
22233         * time/gmtime.c (__gmtime_r): Likewise.
22234         (gmtime): Likewise.
22235         * time/localtime.c (__localtime_r): Likewise.
22236         (localtime): Likewise.
22237         * time/offtime.c (__offtime): Likewise.
22238         * time/settimeofday.c (__settimeofday): Likewise.
22239         * time/stime.c (stime): Likewise.
22240         * time/strftime_l.c (tm_diff): Likewise.
22241         (iso_week_days): Likewise.
22242         * time/strptime.c (strptime): Likewise.
22243         * time/time.c (time): Likewise.
22244         * time/timespec_get.c (timespec_get): Likewise.
22245         * time/tzset.c (tzset_internal): Likewise.
22246         (compute_change): Likewise.
22247         (__tz_compute): Likewise.
22248         * wcsmbs/btowc.c (__btowc): Likewise.
22249         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
22250         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
22251         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
22252         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
22253         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
22254         * wcsmbs/wcscat.c (__wcscat): Likewise.
22255         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
22256         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
22257         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
22258         * wcsmbs/wcscspn.c (wcscspn): Likewise.
22259         * wcsmbs/wcsdup.c (wcsdup): Likewise.
22260         * wcsmbs/wcslen.c (__wcslen): Likewise.
22261         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
22262         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
22263         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
22264         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
22265         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
22266         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
22267         * wcsmbs/wcsspn.c (wcsspn): Likewise.
22268         * wcsmbs/wcsstr.c (wcsstr): Likewise.
22269         * wcsmbs/wcstok.c (wcstok): Likewise.
22270         * wcsmbs/wctob.c (wctob): Likewise.
22271         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
22272         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22273         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
22274         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
22275         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
22276         * wcsmbs/wmemset.c (__wmemset): Likewise.
22277         * wctype/wcfuncs.c (__towlower): Likewise.
22278         (__towupper): Likewise.
22280         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
22281         (lll_unlock_elision): Add adapt_count parameter.
22283 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
22285         * sysdeps/nptl/configure.ac: Do not give errors based on the
22286         results of top-level configure tests.
22287         * sysdeps/nptl/configure: Regenerated.
22289         * configure.ac (libc_cv_Bgroup): Remove configure test.
22290         * configure: Regenerated.
22291         * config.make.in (have-Bgroup): Remove variable.
22293         * configure.ac (sizeof_long_double): Remove configure test.
22294         * configure: Regenerated.
22295         * config.make.in (sizeof-long-double): Remove variable.
22297         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
22298         * configure: Regenerated.
22299         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
22300         variable.
22301         (exceptions): Likewise.
22302         * sysdeps/arm/configure: Regenerated.
22303         * config.make.in (exceptions): Remove variable.
22304         * Makeconfig (uses-callbacks): Use -fexceptions instead of
22305         $(exceptions).
22306         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
22307         (CFLAGS-vdprintf_chk.c): Likewise.
22308         (CFLAGS-printf_chk.c): Likewise.
22309         (CFLAGS-fprintf_chk.c): Likewise.
22310         (CFLAGS-vprintf_chk.c): Likewise.
22311         (CFLAGS-vfprintf_chk.c): Likewise.
22312         (CFLAGS-gets_chk.c): Likewise.
22313         (CFLAGS-fgets_chk.c): Likewise.
22314         (CFLAGS-fgets_u_chk.c): Likewise.
22315         (CFLAGS-fread_chk.c): Likewise.
22316         (CFLAGS-fread_u_chk.c): Likewise.
22317         (CFLAGS-wprintf_chk.c): Likewise.
22318         (CFLAGS-fwprintf_chk.c): Likewise.
22319         (CFLAGS-vwprintf_chk.c): Likewise.
22320         (CFLAGS-vfwprintf_chk.c): Likewise.
22321         (CFLAGS-fgetws_chk.c): Likewise.
22322         (CFLAGS-fgetws_u_chk.c): Likewise.
22323         * libio/Makefile (CFLAGS-fileops.c): Likewise.
22324         (CFLAGS-fputc.c): Likewise.
22325         (CFLAGS-fputwc.c): Likewise.
22326         (CFLAGS-freopen64.c): Likewise.
22327         (CFLAGS-freopen.c): Likewise.
22328         (CFLAGS-fseek.c): Likewise.
22329         (CFLAGS-fseeko64.c): Likewise.
22330         (CFLAGS-fseeko.c): Likewise.
22331         (CFLAGS-ftello64.c): Likewise.
22332         (CFLAGS-ftello.c): Likewise.
22333         (CFLAGS-fwide.c): Likewise.
22334         (CFLAGS-genops.c): Likewise.
22335         (CFLAGS-getc.c): Likewise.
22336         (CFLAGS-getchar.c): Likewise.
22337         (CFLAGS-getwc.c): Likewise.
22338         (CFLAGS-getwchar.c): Likewise.
22339         (CFLAGS-iofclose.c): Likewise.
22340         (CFLAGS-iofflush.c): Likewise.
22341         (CFLAGS-iofgetpos64.c): Likewise.
22342         (CFLAGS-iofgetpos.c): Likewise.
22343         (CFLAGS-iofgets.c): Likewise.
22344         (CFLAGS-iofgetws.c): Likewise.
22345         (CFLAGS-iofputs.c): Likewise.
22346         (CFLAGS-iofputws.c): Likewise.
22347         (CFLAGS-iofread.c): Likewise.
22348         (CFLAGS-iofsetpos64.c): Likewise.
22349         (CFLAGS-iofsetpos.c): Likewise.
22350         (CFLAGS-ioftell.c): Likewise.
22351         (CFLAGS-iofwrite.c): Likewise.
22352         (CFLAGS-iogetdelim.c): Likewise.
22353         (CFLAGS-iogetline.c): Likewise.
22354         (CFLAGS-iogets.c): Likewise.
22355         (CFLAGS-iogetwline.c): Likewise.
22356         (CFLAGS-ioputs.c): Likewise.
22357         (CFLAGS-ioseekoff.c): Likewise.
22358         (CFLAGS-ioseekpos.c): Likewise.
22359         (CFLAGS-iosetbuffer.c): Likewise.
22360         (CFLAGS-iosetvbuf.c): Likewise.
22361         (CFLAGS-ioungetc.c): Likewise.
22362         (CFLAGS-ioungetwc.c): Likewise.
22363         (CFLAGS-oldfileops.c): Likewise.
22364         (CFLAGS-oldiofclose.c): Likewise.
22365         (CFLAGS-oldiofgetpos64.c): Likewise.
22366         (CFLAGS-oldiofgetpos.c): Likewise.
22367         (CFLAGS-oldiofsetpos64.c): Likewise.
22368         (CFLAGS-oldiofsetpos.c): Likewise.
22369         (CFLAGS-peekc.c): Likewise.
22370         (CFLAGS-putc.c): Likewise.
22371         (CFLAGS-putchar.c): Likewise.
22372         (CFLAGS-putwc.c): Likewise.
22373         (CFLAGS-putwchar.c): Likewise.
22374         (CFLAGS-rewind.c): Likewise.
22375         (CFLAGS-wfileops.c): Likewise.
22376         (CFLAGS-wgenops.c): Likewise.
22377         (CFLAGS-oldiofopen.c): Likewise.
22378         (CFLAGS-iofopen.c): Likewise.
22379         (CFLAGS-iofopen64.c): Likewise.
22380         (CFLAGS-oldtmpfile.c): Likewise.
22381         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
22382         (CFLAGS-fprintf.c): Likewise.
22383         (CFLAGS-printf.c): Likewise.
22384         (CFLAGS-vfwprintf.c): Likewise.
22385         (CFLAGS-vfscanf.c): Likewise.
22386         (CFLAGS-vfwscanf.c): Likewise.
22387         (CFLAGS-fscanf.c): Likewise.
22388         (CFLAGS-scanf.c): Likewise.
22389         (CFLAGS-isoc99_vfscanf.c): Likewise.
22390         (CFLAGS-isoc99_vscanf.c): Likewise.
22391         (CFLAGS-isoc99_fscanf.c): Likewise.
22392         (CFLAGS-isoc99_scanf.c): Likewise.
22393         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
22394         (CFLAGS-isoc99_fwscanf.c): Likewise.
22395         (CFLAGS-isoc99_vwscanf.c): Likewise.
22396         (CFLAGS-isoc99_vfwscanf.c): Likewise.
22398         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
22399         after mkstemp64.
22400         * login/tst-utmp.c (do_prepare): Likewise.
22401         * rt/tst-aio.c (do_prepare): Likewise.
22402         * rt/tst-aio64.c (do_prepare): Likewise.
22404 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22406         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
22407         (__lll_lock_elision): Remove adapt_count decrement...
22408         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
22409         (__lll_trylock_elision): Likewise.
22410         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
22411         (__lll_unlock_elision): ... to here. And utilize
22412         new adapt_count parameter.
22413         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
22414         (__lll_unlock_elision): Update to include adapt_count
22415         parameter.
22416         (lll_unlock_elision): Pass pointer to adapt_count
22417         variable.
22419 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22421         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
22422         Add elision adapt_count parameter to list of arguments.
22423         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
22424         (lll_unlock_elision): Update with new parameter list
22425         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
22426         (lll_unlock_elision): Likewise.
22427         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
22428         (lll_unlock_elision): Likewise.
22430 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
22432         [BZ #19122]
22433         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
22434         attribute_hidden.
22436         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
22437         attribute_hidden.
22438         [IS_IN (rtld)] (__strdup): Likewise.
22439         [IS_IN (rtld)] (__strerror_r): Likewise.
22440         [IS_IN (rtld)] (__strsep_g): Likewise.
22441         [IS_IN (rtld)] (memchr): Likewise.
22442         [IS_IN (rtld)] (memcmp): Likewise.
22443         [IS_IN (rtld)] (memcpy): Likewise.
22444         [IS_IN (rtld)] (memmove): Likewise.
22445         [IS_IN (rtld)] (memset): Likewise.
22446         [IS_IN (rtld)] (rawmemchr): Likewise.
22447         [IS_IN (rtld)] (stpcpy): Likewise.
22448         [IS_IN (rtld)] (strchr): Likewise.
22449         [IS_IN (rtld)] (strcmp): Likewise.
22450         [IS_IN (rtld)] (strlen): Likewise.
22451         [IS_IN (rtld)] (strnlen): Likewise.
22452         [IS_IN (rtld)] (strsep): Likewise.
22454         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
22455         attribute_hidden.
22456         [IS_IN (rtld)] (__strtoul_internal): Likewise.
22458         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
22459         attribute_hidden.
22460         [IS_IN (rtld)] (__libc_sigaction): Likewise.
22462         * include/setjmp.h (__longjmp): Add attribute_hidden.
22463         [IS_IN (rtld)] (__sigsetjmp): Likewise.
22465         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
22466         Add attribute_hidden.
22468         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
22469         [IS_IN (rtld)] (__open): Likewise.
22470         [IS_IN (rtld)] (__fcntl): Likewise.
22472         * include/dirent.h (__opendirat): Add attribute_hidden.
22473         (__getdents): Likewise.
22474         (__getdents64): Likewise.
22475         (__alloc_dir): Likewise.
22476         [IS_IN (rtld)] (__closedir): Likewise.
22477         [IS_IN (rtld)] (__fdopendir): Likewise.
22478         [IS_IN (rtld)] (__readdir): Likewise.
22479         [IS_IN (rtld)] (__readdir64): Likewise.
22480         [IS_IN (rtld)] (__rewinddir): Likewise.
22482         * include/dlfcn.h (_dl_catch_error): Moved to ...
22483         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
22484         attribute_hidden.
22486         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
22487         (_itoa_word): Likewise.
22489         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
22490         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
22491         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
22492         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
22493         (_dl_higher_prime_number): Likewise.
22494         (_dl_debug_printf_c): Likewise.
22495         (_dl_signal_cerror): Likewise.
22496         (_dl_receive_error): Likewise.
22497         (_dl_reloc_bad_type): Likewise.
22498         (_dl_resolve_conflicts): Likewise.
22499         (_dl_check_all_versions): Likewise.
22500         (_dl_check_map_versions): Likewise.
22501         (_dl_sort_fini): Likewise.
22502         (_dl_debug_initialize): Likewise.
22503         (_dl_init_paths): Likewise.
22504         (_dl_show_auxv): Likewise.
22505         (_dl_next_ld_env_entry): Likewise.
22506         (_dl_important_hwcaps): Likewise.
22507         (_dl_load_cache_lookup): Likewise.
22508         (_dl_update_slotinfo): Likewise.
22509         (_dl_show_scope): Likewise.
22511         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
22512         attribute_hidden.
22513         (_wordcopy_fwd_dest_aligned): Likewise.
22514         (_wordcopy_bwd_aligned): Likewise.
22515         (_wordcopy_bwd_dest_aligned): Likewise.
22517         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
22518         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
22519         Likewise.
22520         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
22521         Likewise.
22522         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
22524 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
22526         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
22527         GCC 5 requirement.
22529 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
22531         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
22532         test.
22533         * sysdeps/i386/configure: Regenerated.
22534         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
22535         code unconditional.
22537         * configure.ac (libc_cv_asm_previous_directive): Remove configure
22538         test.
22539         (libc_cv_asm_popsection_directive): Likewise.
22540         * configure: Regenerated.
22541         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
22542         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
22543         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
22544         (__make_section_unallocated): Make definition unconditional.
22545         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
22546         Remove conditional definition.
22547         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
22548         (__make_section_unallocated): Likewise.
22550         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
22551         * configure: Regenerated.
22552         * config.make.in (static-libgcc): Remove variable.
22553         * Makerules (build-shlib-helper): Use -static-libgcc instead of
22554         $(static-libgcc).
22555         (build-module-helper): Likewise.
22557         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
22558         * configure: Regenerated.
22560 2015-10-15  Florian Weimer  <fweimer@redhat.com>
22562         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
22563         (struct char_buffer): New type.
22564         (char_buffer_start, char_buffer_size, char_buffer_error)
22565         (char_buffer_rewind, char_buffer_add): New functions.
22566         (ADDW): Remove macro, replaced by the char_buffer_add function.
22567         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
22568         of extend_alloca.  Make control flow more explicit.
22570 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
22572         [BZ #19137]
22573         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
22574         Add -fomit-frame-pointer.
22575         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
22577 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
22579         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
22580         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
22581         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
22582         only if !__GNUC_PREREQ (5,0).
22583         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
22584         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
22585         (INTERNAL_SYSCALL_NCS): Likewise.
22586         (LOADREGS_0): New macro for GCC 5.
22587         (ASMARGS_0): Likewise.
22588         (LOADREGS_1): Likewise.
22589         (ASMARGS_1): Likewise.
22590         (LOADREGS_2): Likewise.
22591         (ASMARGS_2): Likewise.
22592         (LOADREGS_3): Likewise.
22593         (ASMARGS_3): Likewise.
22594         (LOADREGS_4): Likewise.
22595         (ASMARGS_4): Likewise.
22596         (LOADREGS_5): Likewise.
22597         (ASMARGS_5): Likewise.
22598         (LOADREGS_6): Likewise.
22599         (ASMARGS_6): Likewise.
22601 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
22603         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
22604         -fomit-frame-pointer.
22605         (CFLAGS-mmap64.c): Likewise.
22606         (CFLAGS-semtimedop.c): Likewise.
22607         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
22608         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
22609         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
22610         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
22612 2015-10-15  Florian Weimer  <fweimer@redhat.com>
22614         [BZ #18928]
22615         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
22616         _dl_pointer_guard member.
22617         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
22618         initializer.
22619         (security_init): Always set up pointer guard.
22620         (process_envvars): Do not process LD_POINTER_GUARD.
22622 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
22624         [BZ #19134]
22625         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
22626         (.LC2): Likewise.
22627         (.LC3): Likewise.
22628         (__lround): Do not add 0.5 to integer or out-of-range arguments.
22630 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22632         [BZ #19129]
22633         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
22634         r0 and r1.
22636 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
22638         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
22640 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
22642         * include/stap-probe.h: Fix macro definition formatting.
22644 2015-10-14  Florian Weimer  <fweimer@redhat.com>
22646         [BZ #19074]
22647         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
22648         load and store num_ifs.
22650 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
22652         [BZ #18822]
22653         * sysdeps/unix/sysv/linux/sched_getaffinity.c
22654         (__sched_getaffinity_new): Add libc_hidden_proto and
22655         libc_hidden_def.
22657 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
22659         [BZ #19007]
22660         * scripts/localplt.awk: Also allow GOT references.
22661         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
22662         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
22663         with "+ REL R_386_GLOB_DAT".
22664         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
22665         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
22667 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
22669         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
22670         INLINE_SYSCALL_ERROR_RETURN_VALUE.
22671         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
22672         Likewise.
22673         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
22674         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
22675         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
22676         INTERNAL_SYSCALLINTERNAL_SYSCALL and
22677         INLINE_SYSCALL_ERROR_RETURN_VALUE.
22678         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
22679         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22680         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
22681         Likewise.
22682         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22684 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
22686         [BZ #19125]
22687         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
22688         <math_private.h> and <stdint.h>.
22689         (__llround): Avoid conversions to and from long long int, and
22690         subtractions, where those might raise spurious exceptions.
22691         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
22692         <math_private.h> and <stdint.h>.
22693         (__llroundf): Avoid conversions to and from long long int, and
22694         subtractions, where those might raise spurious exceptions.
22696 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
22698         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
22699         INLINE_SYSCALL_ERROR_RETURN_VALUE.
22700         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
22701         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
22702         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
22703         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
22704         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
22705         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
22706         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
22707         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
22708         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22709         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22710         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
22711         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22712         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22713         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
22714         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
22715         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
22716         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
22717         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
22718         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
22719         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
22720         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
22721         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
22722         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
22723         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
22724         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
22725         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
22726         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22727         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
22728         (__xstat64_conv): Likewise.
22729         (__xstat32_conv): Likewise.
22731 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
22733         * sysdeps/unix/sysv/linux/sysdep.h: New file.
22734         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
22735         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
22736         <sysdeps/unix/sysv/linux/sysdep.h>.
22737         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
22738         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
22739         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
22740         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22741         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
22742         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
22743         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
22744         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
22745         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
22746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
22747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22748         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22749         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22750         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22751         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22752         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22753         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
22754         (sysdep-dl-routines): Add sysdep.
22755         [$(subdir) == nptl] (libpthread-routines): Likewise.
22756         [$(subdir) == rt] (librt-routines): Likewise.
22757         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
22758         PIC when branching to SYSCALL_ERROR_LABEL.
22759         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
22760         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
22761         <sysdeps/unix/sysv/linux/sysdep.h>.
22762         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
22763         (SYSCALL_ERROR_ERRNO): Removed.
22764         (SYSCALL_ERROR_HANDLER): Changed to empty.
22765         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
22766         (__syscall_error): New prototype.
22767         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
22768         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
22770 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
22772         [BZ #19124]
22773         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
22774         (_dl_runtime_resolve_avx512): Make it a hidden alias of
22775         _dl_runtime_resolve_avx.
22776         (_dl_runtime_profile_avx512): Make it a hidden alias of
22777         _dl_runtime_profile_avx.
22779 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
22781         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
22782         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
22783         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
22784         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
22786         [BZ #16422]
22787         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
22788         New configure test.
22789         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
22790         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
22791         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
22792         <math_private.h> and <stdint.h>.
22793         (__llrint): Avoid conversions to long long int where those might
22794         raise spurious exceptions.
22795         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
22796         <math_private.h> and <stdint.h>.
22797         (__llrintf): Avoid conversions to long long int where those might
22798         raise spurious exceptions.
22800 2015-10-12  Andreas Schwab  <schwab@suse.de>
22802         [BZ #18969]
22803         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
22804         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
22805         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
22806         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
22807         $(gen-locales).
22808         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
22809         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
22810         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
22811         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
22812         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
22813         $(gen-locales).
22814         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
22815         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
22816         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
22817         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
22818         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
22819         ($(objpfx)tst-ftell-active-handler.out)
22820         ($(objpfx)tst-ftell-append.out)
22821         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
22822         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
22823         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
22824         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
22825         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
22826         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
22827         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
22828         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
22829         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
22830         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
22831         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
22832         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
22833         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
22834         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
22835         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
22836         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
22837         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
22838         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
22839         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
22840         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
22841         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
22842         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
22843         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
22844         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
22845         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
22846         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
22847         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
22848         $(gen-locales).
22849         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
22850         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
22851         $(gen-locales).
22852         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
22853         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
22854         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
22855         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
22856         $(gen-locales).
22857         * libio/tst_wprintf2.c (main): Use explicit locale.
22858         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
22860 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22862         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
22863         __msg_sig_post.
22864         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
22866 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
22868         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
22869         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22871         * sysdeps/arm/libm-test-ulps: Regenerated.
22873         [BZ #15470]
22874         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
22876         [BZ #16399]
22877         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
22878         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
22879         and <fix-fp-int-convert-overflow.h>.
22880         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
22881         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22882         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
22883         and <fix-fp-int-convert-overflow.h>.
22884         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
22885         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22886         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
22887         <fix-fp-int-convert-overflow.h>.
22888         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
22889         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22890         * sysdeps/ieee754/dbl-64/s_lround.c: Include
22891         <fix-fp-int-convert-overflow.h>.
22892         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
22893         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22894         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
22895         and <fix-fp-int-convert-overflow.h>.
22896         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
22897         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22898         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
22899         <limits.h> and <fix-fp-int-convert-overflow.h>.
22900         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
22901         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22902         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
22903         and <fix-fp-int-convert-overflow.h>.
22904         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
22905         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22906         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
22907         and <fix-fp-int-convert-overflow.h>.
22908         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
22909         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22910         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
22912 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
22914         [BZ #18589]
22915         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
22916         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
22917         $(gen-locales).
22919 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22920             Phil Blundell <pb@pbcl.net>
22922         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
22923         * nptl/tst-cancel26.c: New file.
22924         * nptl/tst-cancel27.c: Likewise.
22926 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
22928         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
22929         __ILP32__ isn't defined.
22930         (lrint): Likewise.
22931         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
22932         (lrintf): Likewise.
22933         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
22934         (lrintl): Likewise.
22935         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
22936         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
22937         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
22939 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22941         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
22942         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
22944         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
22945         file.
22946         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
22947         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
22949 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
22951         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
22952         configure test.
22953         * sysdeps/i386/configure: Regenerated.
22954         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
22955         configure test.
22956         * sysdeps/x86_64/configure: Regenerated.
22957         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
22958         Make code unconditional.
22960         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
22961         test.
22962         * sysdeps/i386/configure: Regenerated.
22963         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
22964         test.
22965         * sysdeps/x86_64/configure: Regenerated.
22966         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
22967         Make code unconditional.
22968         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
22969         Likewise.
22970         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
22971         Likewise.
22972         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22973         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
22974         code unconditional.
22975         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22976         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
22977         code unconditional.
22978         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22979         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
22980         code unconditional.
22981         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
22982         code unconditional.
22983         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22984         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
22985         code unconditional.
22986         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22987         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
22988         code unconditional.
22989         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22990         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
22991         code unconditional.
22992         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22993         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
22994         code unconditional.
22995         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22996         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
22998         [BZ #19095]
22999         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
23000         mantissa to long int before shifting left.
23002 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
23004         [BZ #19094]
23005         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
23006         <limits.h>.
23007         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23008         when result overflows but exception would not result from cast.
23009         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
23010         <limits.h>.
23011         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23012         when result overflows but exception would not result from cast.
23013         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
23014         <limits.h>.
23015         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23016         when result overflows but exception would not result from cast.
23017         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
23018         <limits.h>.
23019         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23020         when result overflows but exception would not result from cast.
23021         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
23022         <limits.h>.
23023         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23024         when result overflows but exception would not result from cast.
23025         * math/libm-test.inc (lrint_test_data): Add more tests.
23026         (llrint_test_data): Likewise.
23028 2015-10-08  Roland McGrath  <roland@hack.frob.com>
23030         [BZ #18872]
23031         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
23032         Move out from under [$(run-built-tests) = yes] conditional.
23033         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
23034         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
23036 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
23038         [BZ #18589]
23039         * string/Makefile (tests): Add bug-strcoll2.
23040         (LOCALES): Add cs_CZ.UTF-8.
23041         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
23043         [BZ #18589]
23044         * string/bug-strcoll2.c: New file.
23045         * locale/categories.def: Revert commit
23046         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
23047         * locale/langinfo.h: Likewise.
23048         * locale/localeinfo.h: Likewise.
23049         * locale/C-collate.c: Likewise.
23050         * locale/programs/ld-collate.c (collate_output): Likewise.
23051         * string/strcoll_l.c (STRDIFF): Likewise.
23052         (STRCOLL): Likewise.
23053         * wcsmbs/wcscoll_l.c: Likewise.
23055 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
23057         * math/libm-test.inc (lround_test_data): Do not expect the absence
23058         of "inexact" for some tests with non-integer arguments.
23059         (llround_test_data): Likewise.
23061         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
23062         test.
23063         (libc_cv_cc_sse2avx): Likewise.
23064         * sysdeps/i386/configure: Regenerated.
23065         * sysdeps/i386/i686/multiarch/Makefile
23066         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
23067         [$(subdir) = math].
23068         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
23069         code unconditional.
23070         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
23071         Likewise.
23072         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
23073         Likewise.
23074         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
23075         Likewise.
23076         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
23077         test.
23078         (libc_cv_cc_sse2avx): Likewise.
23079         * sysdeps/x86_64/configure: Regenerated.
23080         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
23081         unconditional.
23082         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
23083         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
23084         unconditional.
23085         (_dl_runtime_profile)
23086         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
23087         conditional code.
23088         * sysdeps/x86_64/fpu/multiarch/Makefile
23089         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
23090         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
23091         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23092         * sysdeps/x86_64/fpu/multiarch/e_exp.c
23093         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23094         * sysdeps/x86_64/fpu/multiarch/e_log.c
23095         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23096         * sysdeps/x86_64/fpu/multiarch/s_atan.c
23097         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23098         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
23099         Likewise.
23100         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
23101         Likewise.
23102         * sysdeps/x86_64/fpu/multiarch/s_sin.c
23103         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23104         * sysdeps/x86_64/fpu/multiarch/s_tan.c
23105         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23106         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
23107         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
23108         (HAVE_SSE2AVX_SUPPORT): Likewise.
23110 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
23112         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
23113         instead of #pragma optimize.
23115 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
23117         [BZ #17195]
23118         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
23119         as is similarly done in systrim and _int_free already.
23121 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23123         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
23125 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
23127         [BZ #19088]
23128         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
23129         <limits.h>.
23130         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
23131         overflows but exception would not result from cast.
23132         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
23133         and <limits.h>.
23134         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
23135         overflows but exception would not result from cast.
23136         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
23137         <limits.h>.
23138         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
23139         overflows but exception would not result from cast.
23140         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
23141         <limits.h>.
23142         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
23143         overflows but exception would not result from cast.
23144         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
23145         <limits.h>.
23146         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
23147         overflows but exception would not result from cast.
23148         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
23149         <limits.h>.
23150         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
23151         overflows but exception would not result from cast.
23152         * math/libm-test.inc (lround_test_data): Add more tests.
23153         (llround_test_data): Likewise.
23155 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
23157         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
23158         (CFLAGS-ialloc.c): Ditto.
23159         (CFLAGS-scheck.c): Ditto.
23161 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
23163         [BZ #19086]
23164         * manual/filesys.texi (Storage Allocation): Fix argument order for
23165         posix_fallocate64.
23167 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
23169         [BZ #19085]
23170         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
23171         exponent below 48 inside case for non-overflowing exponent.
23172         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
23174 2015-10-07  Florian Weimer  <fweimer@redhat.com>
23176         * iconvdata/cp737.h (from_idx): Add const.
23177         * iconvdata/cp775.h (from_idx): Likewise.
23179 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
23181         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
23182         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
23183         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
23185         [BZ #19079]
23186         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
23187         file, conditioned on [!_LP64].
23188         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
23189         [!_LP64] (__lround): Do not define as function or alias.
23190         [!_LP64] (lround): Likewise.
23191         [!_LP64] (__lroundl): Likewise.
23192         [!_LP64] (lroundl): Likewise.
23193         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
23194         macro.
23195         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
23196         Likewise.
23198 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
23200         * math/libm-test.inc (lrint_test_data): Add more tests.
23201         (llrint_test_data): Likewise.
23202         (lround_test_data): Likewise.
23203         (llround_test_data): Likewise.
23205         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
23206         (llrint_test_data): Add tests used for lrint.
23208         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
23209         test.
23210         * sysdeps/i386/configure: Regenerated.
23211         * sysdeps/i386/i686/multiarch/Makefile
23212         [$(config-cflags-sse4) = yes]: Make code unconditional.
23213         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
23214         Likewise.
23215         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
23216         Likewise.
23217         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
23218         test.
23219         * sysdeps/x86_64/configure: Regenerated.
23220         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
23221         Make code unconditional.
23222         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
23223         Likewise.
23224         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
23225         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
23227         * scripts/rpm2dynsym.sh: Remove file.
23229 2015-10-06  Florian Weimer  <fweimer@redhat.com>
23231         * configure.ac (libc_cv_cxx_thread_local): Define.
23232         * configure: Regenerate.
23233         * config.make.in (have-cxx-thread_local): Define.
23234         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
23235         (LDLIBS-tst-thread_local1): Define.
23236         (tests): Add tst-thread_local1.
23237         [have-cxx-thread_local != yes] (tests-unsupported): Add
23238         tst-thread_local1.
23239         * nptl/tst-thread_local1.cc: New file.
23241 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
23243         [BZ #19078]
23244         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
23245         (u_thres): Likewise.
23246         (__expl): Determine whether to call __kernel_standard_l based on
23247         value of result, not argument.
23249         * math/libm-test.inc (scalb_test_data): Add more expectations for
23250         the "inexact" exception.
23252         [BZ #19077]
23253         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
23254         0.0L for argument 1.0L.
23256         [BZ #19076]
23257         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
23258         constant 0.0L when computing infinite result.
23260 2015-10-06  Florian Weimer  <fweimer@redhat.com>
23262         [BZ #10432]
23263         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
23264         malloc_usable_size.
23266 2015-10-06  Florian Weimer  <fweimer@redhat.com>
23268         [BZ #19018]
23269         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
23270         Mangle function pointer before storing it.
23271         (__call_tls_dtors): Demangle function pointer before calling it.
23273 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23275         [BZ #19012]
23276         * iconv/gconv_db.c (gen_steps): Check for additional errors.
23277         Clean up on failure.
23279 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
23281         [BZ #19071]
23282         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
23283         long int variable to store possibly incremented high part of
23284         mantissa.
23285         * math/libm-test.inc (lround_test_data): Add tests used for
23286         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
23287         for tests requiring 64-bit long.  Do not condition tests on
23288         [TEST_FLOAT] unnecessarily.
23289         (llround_test_data): Add tests used for lround.  Add another
23290         expectation for the "inexact" exception.  Do not condition tests
23291         on [TEST_FLOAT] unnecessarily.
23293         [BZ #887]
23294         [BZ #19049]
23295         [BZ #19050]
23296         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
23297         * sysdeps/ieee754/dbl-64/e_log10.c: Include
23298         <fix-int-fp-convert-zero.h>.
23299         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23300         * sysdeps/ieee754/dbl-64/e_log2.c: Include
23301         <fix-int-fp-convert-zero.h>.
23302         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23303         * sysdeps/ieee754/dbl-64/s_erf.c: Include
23304         <fix-int-fp-convert-zero.h>.
23305         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23306         * sysdeps/ieee754/dbl-64/s_logb.c: Include
23307         <fix-int-fp-convert-zero.h>.
23308         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23309         * sysdeps/ieee754/flt-32/e_log10f.c: Include
23310         <fix-int-fp-convert-zero.h>.
23311         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23312         * sysdeps/ieee754/flt-32/e_log2f.c: Include
23313         <fix-int-fp-convert-zero.h>.
23314         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23315         * sysdeps/ieee754/flt-32/s_erff.c: Include
23316         <fix-int-fp-convert-zero.h>.
23317         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23318         * sysdeps/ieee754/flt-32/s_logbf.c: Include
23319         <fix-int-fp-convert-zero.h>.
23320         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23321         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
23322         <fix-int-fp-convert-zero.h>.
23323         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23324         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
23325         <fix-int-fp-convert-zero.h>.
23326         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23327         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
23328         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
23329         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
23330         file.
23331         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
23333 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
23335         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23337 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
23339         [BZ #19059]
23340         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
23341         overflowing computation.
23342         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
23343         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
23344         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
23345         Likewise.
23346         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
23347         Likewise.
23348         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
23349         Likewise.
23350         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23351         Likewise.
23352         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
23353         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
23354         Likewise.
23355         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
23356         Likewise.
23357         * math/libm-test.inc (nexttoward_test_data): Add more tests.
23359         * nss/rewrite_field.c (__nss_rewrite_field): Use
23360         internal_function.
23361         * nss/valid_field.c (__nss_valid_field): Likewise.
23362         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
23364 2015-10-02  Florian Weimer  <fweimer@redhat.com>
23366         [BZ #18724]
23367         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
23368         (__nss_invalid_field_characters, __nss_valid_field)
23369         (__nss_valid_list_field, __nss_rewrite_field): Declare.
23370         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
23371         tst-field.c: New file.
23372         * nss/Makefile (routines): Add valid_field, rewrite_field.
23373         (tests-static): Define unconditionally.
23374         (tests): Include tests-static.
23375         [build-static-nss] (tests-static): Use append.
23376         [build-static-nss] (tests): Remove modification.
23377         * nss/getent.c (print_group): Call putgrent.  Report error.
23378         (print_gshadow): Call putsgent.  Report error.
23379         (print_passwd): Call putpwent.  Report error.
23380         (print_shadow): Call putspent.  Report error.
23381         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
23382         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
23383         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
23384         name, password, directory, shell fields for valid syntax.  Rewrite
23385         GECOS field to match syntax.
23386         * pwd/Makefile (tests): Add tst-putpwent.
23387         * pwd/tst-putpwent.c: New file.
23388         * grp/putgrent.c (putgrent): Convert to ISO function definition.
23389         Check grName, grpasswd, gr_mem fields for valid syntax.
23390         Change loop variable i to size_t.
23391         * grp/Makefile (tests): Add tst-putgrent.
23392         * grp/tst-putgrent.c: New file.
23393         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
23394         valid syntax.
23395         * shadow/Makefile (tests): Add tst-putspent.
23396         * shadow/tst-putspent.c: New file.
23397         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
23398         sg_mem fields for valid syntax.
23399         * gshadow/Makefile (tests): Add tst-putsgent.
23400         * gshadow/tst-putsgent.c: New file.
23402 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
23404         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
23405         assembly instructions.
23407 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
23409         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
23410         prefix from operands.
23412 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
23414         [BZ #16347]
23415         [BZ #19046]
23416         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
23417         <libc-internal.h>.
23418         (MAXLGM): Do not use diagnostic control macros.
23419         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
23420         threshold for ldbl-128ibm.
23421         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
23422         instead of multiplying by log then subtracting.
23423         * math/auto-libm-test-in: Add more tests of lgamma.
23424         * math/auto-libm-test-out: Regenerated.
23426         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
23427         (TYPE_HEX_DIG): Likewise.
23428         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
23429         precisions when printing floating-point numbers.
23430         (check_float_internal): Likewise.
23432 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
23434         [BZ #16620]
23435         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
23436         of log (10) rounded downward to 48 bits.
23437         (log10_low): Use corresponding low part of log (10).
23439         [BZ #19032]
23440         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
23441         compute result as (x - x) / (x - x) not as 0 / 0.
23442         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
23443         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
23445         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
23446         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
23447         and expm1.
23448         * math/auto-libm-test-out: Regenerated.
23449         * math/libm-test.inc (acos_test_data): Add more tests.
23450         (asin_test_data): Likewise.
23451         (asinh_test_data): Likewise.
23452         (atan_test_data): Likewise.
23453         (atanh_test_data): Likewise.
23454         (atan2_test_data): Likewise.
23455         (cbrt_test_data): Likewise.
23456         (ceil_test_data): Likewise.
23457         (copysign_test_data): Likewise.
23458         (cos_test_data): Likewise.
23459         (cosh_test_data): Likewise.
23460         (erf_test_data): Likewise.
23461         (erfc_test_data): Likewise.
23462         (exp_test_data): Likewise.
23463         (exp10_test_data): Likewise.
23464         (exp2_test_data): Likewise.
23465         (expm1_test_data): Likewise.
23466         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23468 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
23470         [BZ #19006]
23471         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
23472         to ...
23473         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
23474         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
23475         to ...
23476         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
23477         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
23478         to ...
23479         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
23480         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
23481         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
23482         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
23483         to ...
23484         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
23485         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
23486         Moved to ...
23487         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
23488         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
23489         Moved to ...
23490         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
23491         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
23492         to ...
23493         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
23494         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
23495         Moved to ...
23496         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
23497         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
23498         to ...
23499         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
23500         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
23501         Removed.
23502         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
23503         Likewise.
23504         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
23505         Likewise.
23506         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
23507         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
23508         Likewise.
23509         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
23510         Likewise.
23511         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
23512         Likewise.
23513         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
23514         Likewise.
23515         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
23516         Likewise.
23517         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
23518         Likewise.
23519         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
23520         Likewise.
23521         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
23522         Likewise.
23523         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
23524         Likewise.
23525         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
23526         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
23527         Likewise.
23528         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
23529         Likewise.
23530         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
23531         Likewise.
23532         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
23533         Likewise.
23534         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
23535         Likewise.
23536         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
23537         Replace ../i486/pthread_cond_timedwait.S with
23538         ../pthread_cond_timedwait.S.
23540 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
23542         * math/libm-test.inc (acos_test_data): Refine expectations for
23543         errno and "inexact" exceptions.
23544         (acosh_test_data): Likewise.
23545         (asin_test_data): Likewise.
23546         (asinh_test_data): Likewise.
23547         (atan_test_data): Likewise.
23548         (atanh_test_data): Likewise.
23549         (atan2_test_data): Likewise.
23550         (cbrt_test_data): Likewise.
23551         (ceil_test_data): Likewise.
23552         (copysign_test_data): Likewise.
23553         (cosh_test_data): Likewise.
23554         (erf_test_data): Likewise.
23555         (erfc_test_data): Likewise.
23556         (exp_test_data): Likewise.
23557         (exp10_test_data): Likewise.
23558         (exp2_test_data): Likewise.
23559         (expm1_test_data): Likewise.
23560         (fabs_test_data): Likewise.
23561         (floor_test_data): Likewise.
23562         (fma_test_data): Likewise.
23563         (fmax_test_data): Likewise.
23564         (fmin_test_data): Likewise.
23565         (fmod_test_data): Likewise.
23566         (fpclassify_test_data): Likewise.
23567         (frexp_test_data): Likewise.
23568         (hypot_test_data): Likewise.
23569         (ilogb_test_data): Likewise.
23570         (isgreater_test_data): Likewise.
23571         (isgreaterequal_test_data): Likewise.
23572         (isinf_test_data): Likewise.
23573         (isless_test_data): Likewise.
23574         (islessequal_test_data): Likewise.
23575         (islessgreater_test_data): Likewise.
23576         (isnan_test_data): Likewise.
23577         (isnormal_test_data): Likewise.
23578         (issignaling_test_data): Likewise.
23579         (isunordered_test_data): Likewise.
23580         (j0_test_data): Likewise.
23581         (j1_test_data): Likewise.
23582         (jn_test_data): Likewise.
23583         (lgamma_test_data): Likewise.
23584         (lrint_test_data): Likewise.
23585         (llrint_test_data): Likewise.
23586         (log_test_data): Likewise.
23587         (log10_test_data): Likewise.
23588         (log1p_test_data): Likewise.
23589         (log2_test_data): Likewise.
23590         (logb_test_data): Likewise.
23591         (lround_test_data): Likewise.
23592         (llround_test_data): Likewise.
23593         (modf_test_data): Likewise.
23594         (nearbyint_test_data): Likewise.
23595         (nextafter_test_data): Likewise.
23596         (nexttoward_test_data): Likewise.
23597         (pow_test_data): Likewise.
23598         (remainder_test_data): Likewise.
23599         (remquo_test_data): Likewise.
23600         (rint_test_data): Likewise.
23601         (round_test_data): Likewise.
23602         (signbit_test_data): Likewise.
23603         (sinh_test_data): Likewise.
23604         (sqrt_test_data): Likewise.
23605         (tanh_test_data): Likewise.
23606         (tgamma_test_data): Likewise.
23607         (trunc_test_data): Likewise.
23608         (y0_test_data): Likewise.
23609         (y1_test_data): Likewise.
23610         (yn_test_data): Likewise.
23611         (significand_test_data): Likewise.
23613 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
23615         * manual/filesys.texi (Storage Allocation): Document that
23616         posix_fallocate emulation fails when fd is open with O_WRONLY.
23618 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
23620         [BZ #19016]
23621         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
23622         allow more cases with X^2 + Y^2 >= 0.5.
23623         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
23624         normal element in sum instead of special-casing based on values of
23625         arguments.
23626         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
23627         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
23628         -1 as normal element in sum instead of special-casing based on
23629         values of arguments.
23630         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
23631         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
23632         (__x2y2m1): Update comment.
23633         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
23634         as normal element in sum instead of special-casing based on values
23635         of arguments.
23636         * math/s_clog.c (__clog): Handle more cases using log1p without
23637         hypot.
23638         * math/s_clog10.c (__clog10): Likewise.
23639         * math/s_clog10f.c (__clog10f): Likewise.
23640         * math/s_clog10l.c (__clog10l): Likewise.
23641         * math/s_clogf.c (__clogf): Likewise.
23642         * math/s_clogl.c (__clogl): Likewise.
23643         * math/auto-libm-test-in: Add more tests of clog and clog10.
23644         * math/auto-libm-test-out: Regenerated.
23645         * sysdeps/i386/fpu/libm-test-ulps: Update.
23646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23648 2015-09-28  Martin Sebor  <msebor@redhat.com>
23650         [BZ #18969]
23651         * string/Makefile (LOCALES): Define.
23652         (gen-locales.mk): Include.
23653         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
23654         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
23655         * string/tst-strxfrm2.c (do_test): Print the name of the locale
23656         on setlocale failure.
23658 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
23660         [BZ #18985]
23661         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
23662         (__strftime_internal): Likewise.
23663         * time/tst-strftime.c (do_bz18985): New test.
23664         (do_test): Call it.
23666 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
23668         [BZ #18956]
23669         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
23670         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
23671         extracting high part.
23672         * math/auto-libm-test-in: Add another test of pow.
23673         * math/auto-libm-test-out: Regenerated.
23674         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23676 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
23678         [BZ #18825]
23679         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
23680         New macro.
23681         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
23682         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
23683         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
23684         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
23685         DBL_NARROW_EVAL, reloading the PIC register as needed.
23686         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
23687         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
23688         FLT_NARROW_EVAL.  Use separate return path for case when first
23689         argument is NaN.
23690         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
23691         DEFINE_LDBL_MIN.
23692         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
23693         PIC register.
23694         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
23695         math_check_force_underflow_nonneg.
23696         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
23697         underflow for subnormal result.
23698         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
23699         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
23700         math_check_force_underflow_nonneg.
23701         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
23702         math_check_force_underflow.
23703         * sysdeps/x86_64/fpu/x86_64-math-asm.h
23704         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
23705         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
23706         DEFINE_LDBL_MIN.
23707         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
23708         * math/auto-libm-test-in: Add more tests of pow.
23709         * math/auto-libm-test-out: Regenerated.
23711 2015-09-25  Florian Weimer  <fweimer@redhat.com>
23713         * nss/bug17079.c (init_test_items): Add diagnostic for
23714         inconsistent entries.
23715         (test_buffer_size): Skip inconsistent entries.
23717 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
23719         [BZ #13304]
23720         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
23721         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
23722         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
23724         [BZ #13304]
23725         * sysdeps/microblaze/s_fma.c: New file.
23726         * sysdeps/microblaze/s_fmaf.c: Likewise.
23727         * sysdeps/microblaze/sfp-machine.h: Likewise.
23729 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
23731         [BZ #17250]
23732         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
23733         member.
23735 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
23737         [BZ #18803]
23738         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
23739         (MO): New macro.
23740         (__ieee754_hypot) [PIC]: Load PIC register.
23741         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
23742         DBL_NARROW_EVAL.
23743         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
23744         math_check_force_underflow_nonneg in case where result might be
23745         tiny.
23746         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
23747         Likewise.
23748         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23749         Likewise.
23750         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
23751         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
23752         * math/auto-libm-test-in: Add more tests of hypot.
23753         * math/auto-libm-test-out: Regenerated.
23755 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
23757         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
23759 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
23761         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
23762         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
23763         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
23764         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
23765         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
23766         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
23767         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
23769         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
23770         LOAD_PIC_REG.
23772         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
23773         (FLT_CHECK_FORCE_UFLOW): Likewise.
23774         (DBL_CHECK_FORCE_UFLOW): Likewise.
23775         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
23776         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
23777         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
23778         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
23779         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
23780         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
23781         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
23782         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
23783         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
23784         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23785         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
23786         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
23787         (flt_min): Replace with use of DEFINE_FLT_MIN.
23788         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
23789         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
23790         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23791         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
23792         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
23793         (flt_min): Replace with use of DEFINE_FLT_MIN.
23794         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
23795         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
23796         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23797         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
23798         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
23799         (flt_min): Replace with use of DEFINE_FLT_MIN.
23800         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
23801         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
23802         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
23803         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
23804         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
23805         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
23806         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
23807         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
23808         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23809         (__atan): Use DBL_CHECK_FORCE_UFLOW.
23810         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
23811         (flt_min): Replace with use of DEFINE_FLT_MIN.
23812         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
23813         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
23814         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23815         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
23816         main computation.
23817         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
23818         (flt_min): Replace with use of DEFINE_FLT_MIN.
23819         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
23820         main computation.
23821         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
23822         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23823         (MO): New macro.
23824         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
23825         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
23826         (flt_min): Replace with use of DEFINE_FLT_MIN.
23827         (MO): New macro.
23828         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
23829         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
23830         (__log1pl): Use MO.
23832         [BZ #19003]
23833         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
23834         $(config-cflags-nofma).
23836 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23838         * sysdeps/aarch64/libm-test-ulps: Regenerated.
23840 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
23842         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
23843         (TWO127): Likewise.
23845         * sysdeps/generic/math_private.h (fabs_tg): New macro.
23846         (min_of_type): Likewise.
23847         (math_check_force_underflow): Likewise.
23848         (math_check_force_underflow_nonneg): Likewise.
23849         (math_check_force_underflow_complex): Likewise.
23850         * math/e_exp2l.c (__ieee754_exp2l): Use
23851         math_check_force_underflow_nonneg.
23852         * math/k_casinh.c (__kernel_casinh): Likewise.
23853         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23854         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23855         * math/s_catan.c (__catan): Use
23856         math_check_force_underflow_complex.
23857         * math/s_catanf.c (__catanf): Likewise.
23858         * math/s_catanh.c (__catanh): Likewise.
23859         * math/s_catanhf.c (__catanhf): Likewise.
23860         * math/s_catanhl.c (__catanhl): Likewise.
23861         * math/s_catanl.c (__catanl): Likewise.
23862         * math/s_ccosh.c (__ccosh): Likewise.
23863         * math/s_ccoshf.c (__ccoshf): Likewise.
23864         * math/s_ccoshl.c (__ccoshl): Likewise.
23865         * math/s_cexp.c (__cexp): Likewise.
23866         * math/s_cexpf.c (__cexpf): Likewise.
23867         * math/s_cexpl.c (__cexpl): Likewise.
23868         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
23869         * math/s_clog10.c (__clog10): Likewise.
23870         * math/s_clog10f.c (__clog10f): Likewise.
23871         * math/s_clog10l.c (__clog10l): Likewise.
23872         * math/s_clogf.c (__clogf): Likewise.
23873         * math/s_clogl.c (__clogl): Likewise.
23874         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
23875         * math/s_csinf.c (__csinf): Likewise.
23876         * math/s_csinh.c (__csinh): Likewise.
23877         * math/s_csinhf.c (__csinhf): Likewise.
23878         * math/s_csinhl.c (__csinhl): Likewise.
23879         * math/s_csinl.c (__csinl): Likewise.
23880         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
23881         * math/s_csqrtf.c (__csqrtf): Likewise.
23882         * math/s_csqrtl.c (__csqrtl): Likewise.
23883         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
23884         * math/s_ctanf.c (__ctanf): Likewise.
23885         * math/s_ctanh.c (__ctanh): Likewise.
23886         * math/s_ctanhf.c (__ctanhf): Likewise.
23887         * math/s_ctanhl.c (__ctanhl): Likewise.
23888         * math/s_ctanl.c (__ctanl): Likewise.
23889         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
23890         instead of volatile.
23891         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
23892         math_check_force_underflow.
23893         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
23894         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
23895         volatile when forcing underflow.
23896         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
23897         math_check_force_underflow_nonneg.
23898         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
23899         Likewise.
23900         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
23901         math_check_force_underflow.
23902         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
23903         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
23904         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
23905         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
23906         math_check_force_underflow_nonneg.
23907         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
23908         math_check_force_underflow.
23909         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
23910         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
23911         instead of volatile.
23912         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
23913         math_check_force_underflow.
23914         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
23915         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
23916         math_check_force_underflow_nonneg.
23917         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
23918         math_check_force_underflow.
23919         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
23920         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
23921         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
23922         math_check_force_underflow_nonneg.
23923         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
23924         Likewise.
23925         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
23926         math_check_force_underflow.
23927         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
23928         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
23929         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
23930         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
23931         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
23932         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
23933         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
23934         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
23935         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
23936         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
23937         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
23938         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
23939         Likewise.
23940         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
23941         math_check_force_underflow_nonneg.
23942         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
23943         Likewise.
23944         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
23945         math_check_force_underflow.
23946         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
23947         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
23948         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
23949         Likewise.
23950         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
23951         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
23952         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
23953         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
23954         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
23955         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
23956         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
23957         instead of volatile.
23958         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
23959         math_check_force_underflow.
23960         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
23961         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
23962         math_check_force_underflow.
23963         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
23964         Likewise.
23965         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23966         Use math_check_force_underflow_nonneg.
23967         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
23968         math_check_force_underflow.
23969         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
23970         Likewise.
23971         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
23972         Likewise.
23973         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23974         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
23975         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
23976         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
23977         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
23978         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
23979         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
23980         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
23981         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
23982         math_check_force_underflow_nonneg.
23983         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
23984         math_check_force_underflow.
23985         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
23986         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
23987         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
23988         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
23989         math_check_force_underflow_nonneg.
23990         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
23991         math_check_force_underflow.
23992         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
23993         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
23994         instead of volatile.
23995         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
23996         math_check_force_underflow.
23998         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
23999         * stdlib/strtod_l.c: Include <math_private.h>.
24000         (overflow_value): Use math_narrow_eval.
24001         (underflow_value): Likewise.
24002         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
24003         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
24004         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
24005         (__ieee754_gamma_r): Likewise.
24006         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
24007         Likewise.
24008         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
24009         Likewise.
24010         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
24011         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
24012         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
24013         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
24014         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
24015         (__ieee754_gammaf_r): Likewise.
24016         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
24017         Likewise.
24018         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
24019         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
24020         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
24021         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
24022         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
24023         volatile.
24024         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
24025         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
24026         math_narrow_eval.
24027         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
24028         Likewise.
24029         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24030         Likewise.
24031         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
24032         Likewise.
24033         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
24034         volatile.
24035         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
24036         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
24037         math_narrow_eval.
24038         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
24039         Likewise.
24040         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
24041         Likewise.
24043 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
24045         * nptl/Versions: Remove ignored symbols.
24047 2015-09-22  Florian Weimer  <fweimer@redhat.com>
24049         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
24050         * nss/Makefile (tests): Update.
24052 2015-09-22  Florian Weimer  <fweimer@redhat.com>
24054         * nss/bug18287.c: New file.
24055         * nss/Makefile (tests): Add bug18287.
24057 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24059         * mach/Versions (__mach_host_self_): Add symbol.
24061 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24063         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
24064         vm_page_size.
24066 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24068         Really fix sysdeps/i386/fpu/s_scalbn.S build
24070         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
24071         (libc: GLIBC_2_22): Remove unused version set.
24073 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
24075         * config.make.in (enable-timezone-tools): New variable.
24076         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
24077         (enable_timezone_tools): Export to generated files.
24078         * configure: Regenerate.
24079         * INSTALL: Regenerate.
24080         * manual/install.texi (--disable-timezone-tools): Document new flag.
24081         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
24082         ifeq ($(enable-timezone-tools),yes) check.
24084 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
24086         * timezone/Makefile: Revert previous change.
24088         [BZ #18980]
24089         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
24090         (DEFINE_DBL_MIN): Likewise.
24091         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
24092         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
24093         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
24094         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
24095         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
24096         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24097         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
24098         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
24099         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
24100         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24101         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
24102         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
24103         (flt_min): Replace with use of DEFINE_FLT_MIN.
24104         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
24105         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
24106         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24107         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
24108         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
24109         (flt_min): Replace with use of DEFINE_FLT_MIN.
24110         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
24111         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
24112         (flt_min): Replace with use of DEFINE_FLT_MIN.
24113         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
24114         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
24115         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
24116         (__ieee754_hypot): Use DBL_NARROW_EVAL.
24117         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
24118         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
24119         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
24120         (__ieee754_pow): Use DBL_NARROW_EVAL.
24121         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
24122         (__ieee754_powf): Use FLT_NARROW_EVAL.
24123         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
24124         (__ieee754_expf_sse2): Convert double-precision result to single
24125         precision.
24126         * sysdeps/i386/fpu/libm-test-ulps: Update.
24128 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24130         * timezone/Makefile: Ignore unused variable errors due to private.h
24131         (time_t_min) and (time_t_max).
24132         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
24133         Likewise.
24135 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
24137         [BZ #18981]
24138         * sysdeps/i386/fpu/i386-math-asm.h: New file.
24139         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
24140         (__ieee754_scalb): Use DBL_NARROW_EVAL.
24141         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
24142         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
24143         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
24144         (__scalbn): Use DBL_NARROW_EVAL.
24145         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
24146         (__scalbnf): Use FLT_NARROW_EVAL.
24148 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24150         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
24151         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
24152         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
24153         * stdio-common/printf_fp.c (___printf_fp):
24154         Use signbit to get the sign. Use isinf macro to allow inlining.
24155         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
24156         * stdio-common/printf_size.c (__printf_size): Likewise.
24158 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
24160         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
24162 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
24164         [BZ #18980]
24165         * sysdeps/generic/math_private.h: Include <float.h>.
24166         (math_narrow_eval): New macro.
24167         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
24168         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
24169         math_narrow_eval on overflowing return value.
24170         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
24171         Likewise.
24172         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
24173         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
24174         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
24175         Likewise.
24176         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
24178 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24180         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
24181         * math/Makefile: Remove isinf_ns.c.
24182         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
24183         * math/multc3.c (__multc3): Likewise.
24184         * math/s_casin.c (__casin): Likewise.
24185         * math/s_casinf.c (__casinf): Likewise.
24186         * math/s_casinl.c (__casinl): Likewise.
24187         * math/s_cproj.c (__cproj): Likewise.
24188         * math/s_cprojf.c (__cprojf): Likewise.
24189         * math/s_cprojl.c (__cprofl): Likewise.
24190         * math/s_ctan.c (__ctan): Likewise.
24191         * math/s_ctanf.c (__ctanf): Likewise.
24192         * math/s_ctanh.c (__ctanh): Likewise.
24193         * math/s_ctanhf.c (__ctanhf): Likewise.
24194         * math/s_ctanhl.c (__ctanhl): Likewise.
24195         * math/s_ctanl.c (__ctanl): Likewise.
24196         * math/w_fmod.c (__fmod): Likewise.
24197         * math/w_fmodf.c (__fmodf): Likewise.
24198         * math/w_fmodl.c (_fmodl): Likewise.
24199         * math/w_remainder.c (__remainder): Likewise.
24200         * math/w_remainderf.c (__remainderf): Likewise.
24201         * math/w_remainderl.c (__remainderl): Likewise.
24202         * math/w_scalb.c (__scalb): Likewise.
24203         * math/w_scalbf.c (__scalbf): Likewise.
24204         * math/w_scalbl.c (__scalbl): Likewise.
24205         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
24206         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
24207         with isinf.
24208         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
24209         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
24210         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
24211         __isinf_nsf with isinf.
24212         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
24213         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
24214         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
24215         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
24216         with isinf.
24217         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
24218         __isinf_nsl with isinf.
24219         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
24220         with isinf.
24221         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
24222         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
24223         __isinf_nsl with isinf.
24224         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
24225         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
24226         with isinf.
24228 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24230         * resolv/base64.c (rcsid): Remove unused static.
24231         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
24232         static.  (tqpi1): Likewise.
24233         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
24234         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
24235         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
24236         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
24237         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
24238         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
24239         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
24240         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
24241         Likewise.
24243 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
24245         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
24246         <nptl/pthreadP.h>.
24247         (_longjmp_unwind): Use __libc_ptf_call.
24248         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
24250 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
24252         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
24253         * sysdeps/arm/__longjmp.S: Likewise.
24255 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24257         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
24258         Use __builtin_signbit.
24259         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
24260         Use __builtin_signbitf.
24261         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
24262         Use __builtin_signbitl.
24263         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
24264         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
24266 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24268         [BZ #15367]
24269         [BZ #17441]
24271         * math/Makefile: Build test-snan.c with -fsignaling-nans.
24272         * math/math.h (fpclassify): Use __builtin_fpclassify when
24273         available.  (signbit): Use __builtin_signbit(f/l).
24274         (isfinite): Use__builtin_isfinite.  (isnormal): Use
24275         __builtin_isnormal.  (isnan): Use __builtin_isnan.
24276         (isinf): Use __builtin_isinf_sign.
24278 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24280         * benchtests/Makefile: Add bench-math-inlines, link with libm.
24281         * benchtests/bench-math-inlines.c: New benchmark.
24282         * benchtests/bench-util.h: New file.
24283         * benchtests/bench-util.c: New file.
24284         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
24286 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
24288         * elf/tst-dlmopen1.c: Define TEST_SO.
24289         (do_test): Use TEST_SO.
24291         * elf/dl-load.c: Include libc-internal.h.
24292         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
24294 2015-09-18  Vincent Bernat  <vincent@bernat.im>
24296         [BZ #17887]
24297         * time/strptime_l.c (__strptime_internal): Make %z accept
24298         [+-]HH:MM time zones.
24300 2015-09-18  Vincent Bernat  <vincent@bernat.im>
24302         [BZ #17886]
24303         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
24304         valid time zone.
24306 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
24308         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
24309         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
24310         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24311         (__ASSUME_FDATASYNC): Delete.
24313 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
24315         * conform/linknamespace.pl: Require weak undefined symbols to be
24316         in the standard namespace.
24317         (%strong_syms): Rename to %seen_syms.
24318         (%strong_seen): Rename to %seen_where.
24320 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
24322         [BZ #18970]
24323         * misc/error.c (error): Replace pthread_setcancelstate with
24324         __pthread_setcancelstate.
24325         (error_at_line): Likewise.
24326         * posix/wordexp.c (parse_comm): Likewise.
24327         * stdlib/fmtmsg.c (fmtmsg): Likewise.
24328         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
24329         (__pthread_setcancelstate): This.
24330         (pthread_setcancelstate): Add an alias.
24331         * nptl/nptl-init.c (pthread_functions): Replace
24332         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
24333         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
24334         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
24335         hidden_proto.
24336         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
24337         it with hidden_def.
24338         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
24339         (pthread_setcancelstate): Renamed to ...
24340         (__pthread_setcancelstate): This.
24341         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
24342         __libc_ptf_call with __pthread_setcancelstate.
24344 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
24345             Andreas Schwab  <schwab@suse.de>
24347         [BZ #17118]
24348         * math/s_ctan.c (__ctan): Determine sign of zero real part of
24349         result when imaginary part of argument is infinite using sine and
24350         cosine.
24351         * math/s_ctanf.c (__ctanf): Likewise.
24352         * math/s_ctanl.c (__ctanl): Likewise.
24353         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
24354         of result when real part of argument is infinite using sine and
24355         cosine.
24356         * math/s_ctanhf.c (__ctanhf): Likewise.
24357         * math/s_ctanhl.c (__ctanhl): Likewise.
24358         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
24359         (ctanh_test_data): Add more tests of ctanh.
24361 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
24363         [BZ #15384]
24364         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
24365         bit-mask as in subtraction.
24366         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
24367         Likewise.
24368         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
24369         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
24370         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
24372         [BZ #18951]
24373         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
24374         underflow exception for small results.
24375         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
24376         Likewise.
24377         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
24378         Likewise.
24379         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24380         Likewise.
24381         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
24382         Likewise.
24383         * math/auto-libm-test-in: Add more tests of tgamma.
24384         * math/auto-libm-test-out: Regenerated.
24386 2015-09-17  Andreas Schwab  <schwab@suse.de>
24388         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
24390 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
24392         [BZ #18977]
24393         * math/bits/mathcalls.h
24394         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
24395         not declare.
24396         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
24397         Likewise.
24398         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
24399         Likewise.
24400         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
24401         Likewise.
24402         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
24403         Likewise.
24404         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
24405         Likewise.
24406         * conform/data/math.h-data
24407         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
24408         function.
24409         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
24410         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
24411         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
24412         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
24413         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
24414         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
24415         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
24416         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
24417         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
24418         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
24419         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
24421         [BZ #6803]
24422         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
24423         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
24424         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
24425         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
24426         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
24427         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
24428         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
24429         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
24430         [NO_LONG_DOUBLE] (scalbnl): Likewise.
24431         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
24432         Likewise.
24433         [NO_LONG_DOUBLE] (scalbnl): Likewise.
24434         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
24435         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
24436         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
24437         long_double_symbol calls.
24438         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
24439         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
24440         strong alias of __ldexpl.
24441         (scalbnl): Define using long_double_symbol.
24442         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
24443         Remove alias.
24444         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
24445         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
24446         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
24447         (scalbln_test_data): Add more errno expectations.
24449 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
24451         Cache the host port like we cache the task port.  This way we do not
24452         need to call the kernel just to get the port.  Furthermore, we no
24453         longer increase the reference count on every invocation of
24454         `mach_host_self'.
24456         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
24457         Protect declarations against the macro expansion.
24458         * mach/mach_init.c (__mach_host_self_): New variable.
24459         (mach_init): Initialize `__mach_host_self_'.
24460         * mach/mach_init.h (__mach_host_self_): New declaration.
24461         (__mach_host_self, mach_host_self): New macros.
24462         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
24463         Release reference.
24465 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
24467         [BZ #4404]
24468         * po/de.po: Update from Translation Project.
24470         [BZ #16415]
24471         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
24472         (__expm1l): Remove code to handle positive infinity and overflow.
24473         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
24474         variable.
24475         (__expm1l): Remove code to handle positive infinity and overflow.
24477 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
24478             Paul Pluzhnikov  <ppluzhnikov@google.com>
24480         [BZ #18872]
24481         * stdio-common/Makefile (tst-printf-bz18872): New test.
24482         (tst-printf-bz18872-mem.out): Likewise.
24483         * stdio-common/tst-printf-bz18872.sh: Generate new test.
24484         * stdio-common/vfprintf.c: Fix memory leaks.
24486 2015-09-16  Andreas Schwab  <schwab@suse.de>
24488         [BZ #17244]
24489         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
24490         Remove extra va_start/va_end calls.
24492         [BZ #17243]
24493         * posix/execl.c (execl): Add missing va_end.
24494         * posix/execle.c (execle): Likewise.
24495         * posix/execlp.c (execlp): Likewise.
24497 2015-09-15  Roland McGrath  <roland@hack.frob.com>
24499         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
24500         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
24502 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
24504         [BZ #18967]
24505         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
24506         undefine around includes of <bits/mathcalls.h>.
24507         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
24508         not declare function.
24509         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
24510         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
24511         (scalb): Likewise.
24512         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
24513         not define macro.
24514         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
24515         variable.
24516         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
24517         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
24518         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
24520         [BZ #18857]
24521         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
24522         return non-finite argument without doing ordered comparisons on
24523         it.
24525         [BZ #16296]
24526         * math/fenv.h (fegetround): Use __attribute_pure__.
24527         * include/fenv.h (__fegetround): Likewise.
24529         [BZ #18595]
24530         * math/s_ctan.c (__ctan): Force underflow exception for results
24531         whose real or imaginary part has small absolute value.
24532         * math/s_ctanf.c (__ctanf): Likewise.
24533         * math/s_ctanh.c (__ctanh): Likewise.
24534         * math/s_ctanhf.c (__ctanhf): Likewise.
24535         * math/s_ctanhl.c (__ctanhl): Likewise.
24536         * math/s_ctanl.c (__ctanl): Likewise.
24537         * math/auto-libm-test-in: Do not allow missing underflow for ctan
24538         and ctanh.  Add more tests of ctan and ctanh.
24540         [BZ #15918]
24541         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
24542         handling of cases where one argument is an infinity.
24544         [BZ #18875]
24545         [BZ #18966]
24546         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
24547         (MO): New macro.
24548         (__ieee754_exp10): For small results, force underflow exception
24549         and remove excess range and precision from return value.
24550         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
24551         (MO): New macro.
24552         (__ieee754_exp10f): For small results, force underflow exception
24553         and remove excess range and precision from return value.
24554         * math/auto-libm-test-in: Add more tests of exp10.
24555         * math/auto-libm-test-out: Regenerated.
24557 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
24559         [BZ #18875]
24560         [BZ #18961]
24561         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
24562         (MO): New macro.
24563         (__ieee754_exp): For small results, force underflow exception and
24564         remove excess range and precision from return value.
24565         (__exp_finite): Likewise.
24566         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
24567         (MO): New macro.
24568         (__ieee754_expf): For small results, force underflow exception and
24569         remove excess range and precision from return value.
24570         (__expf_finite): Likewise.
24571         * math/auto-libm-test-in: Add more tests of exp.
24572         * math/auto-libm-test-out: Regenerated.
24574         [BZ #16521]
24575         [BZ #18875]
24576         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
24577         small results.
24578         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
24579         (MO): New macro.
24580         (__ieee754_exp2): For small results, force underflow exception and
24581         remove excess range and precision from return value.
24582         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
24583         (MO): New macro.
24584         (__ieee754_exp2f): For small results, force underflow exception
24585         and remove excess range and precision from return value.
24586         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
24587         (MO): New macro.
24588         (__ieee754_exp2l): Force underflow exception for small results.
24589         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
24590         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
24591         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
24592         (MO): New macro.
24593         (__ieee754_exp2l): Force underflow exception for small results.
24594         * math/auto-libm-test-in: Add more tests or exp2.
24595         * math/auto-libm-test-out: Regenerated.
24597 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
24599         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
24601         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
24602         /dev/null.
24604 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24606         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
24607         io fs process)): Drop spurious backslash.
24609 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
24611         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
24612         Use sysinfo system call instead of parsing /proc/meminfo.
24613         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
24614         Likewise.
24616 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
24618         [BZ #16985]
24619         * programs/localedef.c (main): Display argv[remaining] when
24620         output_path is NULL.
24622 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
24624         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24625         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
24626         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
24627         tanh.
24628         * math/auto-libm-test-out: Regenerated.
24629         * sysdeps/i386/fpu/libm-test-ulps: Update.
24630         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
24631         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24634 2015-09-11  Roland McGrath  <roland@hack.frob.com>
24636         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
24637         Use 'override' keyword to freeze the value here, preventing
24638         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
24640 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
24642         [BZ #14912]
24643         * sysdeps/aarch64/bits/atomic.h: Move to ...
24644         * sysdeps/aarch64/atomic-machine.h: ...here.
24645         (_AARCH64_BITS_ATOMIC_H): Rename macro to
24646         _AARCH64_ATOMIC_MACHINE_H.
24647         * sysdeps/alpha/bits/atomic.h: Move to ...
24648         * sysdeps/alpha/atomic-machine.h: ...here.
24649         * sysdeps/arm/bits/atomic.h: Move to ...
24650         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
24651         * bits/atomic.h: Move to ...
24652         * sysdeps/generic/atomic-machine.h: ...here.
24653         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24654         * sysdeps/i386/bits/atomic.h: Move to ...
24655         * sysdeps/i386/atomic-machine.h: ...here.
24656         * sysdeps/ia64/bits/atomic.h: Move to ...
24657         * sysdeps/ia64/atomic-machine.h: ...here.
24658         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
24659         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
24660         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24661         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
24662         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
24663         * sysdeps/microblaze/bits/atomic.h: Move to ...
24664         * sysdeps/microblaze/atomic-machine.h: ...here.
24665         * sysdeps/mips/bits/atomic.h: Move to ...
24666         * sysdeps/mips/atomic-machine.h: ...here.
24667         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
24668         * sysdeps/powerpc/bits/atomic.h: Move to ...
24669         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
24670         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
24671         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
24672         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
24673         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
24674         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
24675         <atomic-machine.h> instead of <bits/atomic.h>.
24676         * sysdeps/s390/bits/atomic.h: Move to ...
24677         * sysdeps/s390/atomic-machine.h: ...here.
24678         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
24679         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
24680         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24681         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
24682         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
24683         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
24684         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
24685         * sysdeps/tile/bits/atomic.h: Move to ...
24686         * sysdeps/tile/atomic-machine.h: ...here.
24687         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
24688         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
24689         <sysdeps/tile/atomic-machine.h> instead of
24690         <sysdeps/tile/bits/atomic.h>.
24691         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24692         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
24693         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
24694         <sysdeps/tile/atomic-machine.h> instead of
24695         <sysdeps/tile/bits/atomic.h>.
24696         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24697         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
24698         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
24699         <sysdeps/arm/atomic-machine.h> instead of
24700         <sysdeps/arm/bits/atomic.h>.
24701         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
24702         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
24703         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24704         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
24705         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
24706         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24707         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
24708         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
24709         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
24710         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
24711         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
24712         * sysdeps/x86_64/bits/atomic.h: Move to ...
24713         * sysdeps/x86_64/atomic-machine.h: ...here.
24714         * include/atomic.h: Include <atomic-machine.h> instead of
24715         <bits/atomic.h>.
24717         * sysdeps/mips/mips32/libm-test-ulps: Update.
24718         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24720         [BZ #18952]
24721         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
24722         not convert non-integer negative arguments to int to determine the
24723         value of signgam.
24724         * math/auto-libm-test-in: Add more tests of lgamma.
24725         * math/auto-libm-test-out: Regenerated.
24727         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
24728         cosh, csqrt, erfc, expm1 and lgamma.
24729         * math/auto-libm-test-out: Regenerated.
24730         * sysdeps/i386/fpu/libm-test-ulps: Update.
24731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24733 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
24735         [BZ #2542]
24736         [BZ #2543]
24737         [BZ #2558]
24738         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
24739         __lgamma_neg for arguments from -28.0 to -2.0.
24740         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
24741         __lgamma_negf for arguments from -15.0 to -2.0.
24742         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24743         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
24744         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
24745         Call __lgamma_negl for arguments from -33.0 to -2.0.
24746         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
24747         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
24748         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
24749         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
24750         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
24751         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
24752         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
24753         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
24754         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
24755         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
24756         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
24757         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
24758         (__lgamma_neg): Likewise.
24759         (__lgamma_negl): Likewise.
24760         (__lgamma_product): Likewise.
24761         (__lgamma_productl): Likewise.
24762         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
24763         * math/auto-libm-test-in: Add more tests of lgamma.
24764         * math/auto-libm-test-out: Regenerated.
24765         * sysdeps/i386/fpu/libm-test-ulps: Update.
24766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24768 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
24770         [BZ #18675]
24771         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
24773 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
24775         [BZ #14912]
24776         * bits/libc-lock.h: Move to ...
24777         * sysdeps/generic/libc-lock.h: ...here.
24778         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
24779         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
24780         * sysdeps/mach/hurd/libc-lock.h: ...here.
24781         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
24782         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
24783         * sysdeps/mach/bits/libc-lock.h: Move to ...
24784         * sysdeps/mach/libc-lock.h: ...here.
24785         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
24786         * sysdeps/nptl/bits/libc-lock.h: Move to ...
24787         * sysdeps/nptl/libc-lock.h: ...here.
24788         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
24789         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
24790         * sysdeps/nptl/libc-lockP.h: ...here.
24791         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
24792         * crypt/crypt_util.c: Include <libc-lock.h> instead of
24793         <bits/libc-lock.h>.
24794         * dirent/scandir-tail.c: Likewise.
24795         * dlfcn/dlerror.c: Likewise.
24796         * elf/dl-close.c: Likewise.
24797         * elf/dl-iteratephdr.c: Likewise.
24798         * elf/dl-lookup.c: Likewise.
24799         * elf/dl-open.c: Likewise.
24800         * elf/dl-support.c: Likewise.
24801         * elf/dl-writev.h: Likewise.
24802         * elf/rtld.c: Likewise.
24803         * grp/fgetgrent.c: Likewise.
24804         * gshadow/fgetsgent.c: Likewise.
24805         * gshadow/sgetsgent.c: Likewise.
24806         * iconv/gconv_conf.c: Likewise.
24807         * iconv/gconv_db.c: Likewise.
24808         * iconv/gconv_dl.c: Likewise.
24809         * iconv/gconv_int.h: Likewise.
24810         * iconv/gconv_trans.c: Likewise.
24811         * include/link.h: Likewise.
24812         * inet/getnameinfo.c: Likewise.
24813         * inet/getnetgrent.c: Likewise.
24814         * inet/getnetgrent_r.c: Likewise.
24815         * intl/bindtextdom.c: Likewise.
24816         * intl/dcigettext.c: Likewise.
24817         * intl/finddomain.c: Likewise.
24818         * intl/gettextP.h: Likewise.
24819         * intl/loadmsgcat.c: Likewise.
24820         * intl/localealias.c: Likewise.
24821         * intl/textdomain.c: Likewise.
24822         * libidn/idn-stub.c: Likewise.
24823         * libio/libioP.h: Likewise.
24824         * locale/duplocale.c: Likewise.
24825         * locale/freelocale.c: Likewise.
24826         * locale/newlocale.c: Likewise.
24827         * locale/setlocale.c: Likewise.
24828         * login/getutent_r.c: Likewise.
24829         * login/getutid_r.c: Likewise.
24830         * login/getutline_r.c: Likewise.
24831         * login/utmp-private.h: Likewise.
24832         * login/utmpname.c: Likewise.
24833         * malloc/mtrace.c: Likewise.
24834         * misc/efgcvt.c: Likewise.
24835         * misc/error.c: Likewise.
24836         * misc/fstab.c: Likewise.
24837         * misc/getpass.c: Likewise.
24838         * misc/mntent.c: Likewise.
24839         * misc/syslog.c: Likewise.
24840         * nis/nis_call.c: Likewise.
24841         * nis/nis_callback.c: Likewise.
24842         * nis/nss-default.c: Likewise.
24843         * nis/nss_compat/compat-grp.c: Likewise.
24844         * nis/nss_compat/compat-initgroups.c: Likewise.
24845         * nis/nss_compat/compat-pwd.c: Likewise.
24846         * nis/nss_compat/compat-spwd.c: Likewise.
24847         * nis/nss_nis/nis-alias.c: Likewise.
24848         * nis/nss_nis/nis-ethers.c: Likewise.
24849         * nis/nss_nis/nis-grp.c: Likewise.
24850         * nis/nss_nis/nis-hosts.c: Likewise.
24851         * nis/nss_nis/nis-network.c: Likewise.
24852         * nis/nss_nis/nis-proto.c: Likewise.
24853         * nis/nss_nis/nis-pwd.c: Likewise.
24854         * nis/nss_nis/nis-rpc.c: Likewise.
24855         * nis/nss_nis/nis-service.c: Likewise.
24856         * nis/nss_nis/nis-spwd.c: Likewise.
24857         * nis/nss_nisplus/nisplus-alias.c: Likewise.
24858         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
24859         * nis/nss_nisplus/nisplus-grp.c: Likewise.
24860         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
24861         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
24862         * nis/nss_nisplus/nisplus-network.c: Likewise.
24863         * nis/nss_nisplus/nisplus-proto.c: Likewise.
24864         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
24865         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
24866         * nis/nss_nisplus/nisplus-service.c: Likewise.
24867         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
24868         * nis/ypclnt.c: Likewise.
24869         * nptl/libc_pthread_init.c: Likewise.
24870         * nss/getXXbyYY.c: Likewise.
24871         * nss/getXXent.c: Likewise.
24872         * nss/getXXent_r.c: Likewise.
24873         * nss/nss_db/db-XXX.c: Likewise.
24874         * nss/nss_db/db-netgrp.c: Likewise.
24875         * nss/nss_db/nss_db.h: Likewise.
24876         * nss/nss_files/files-XXX.c: Likewise.
24877         * nss/nss_files/files-alias.c: Likewise.
24878         * nss/nsswitch.c: Likewise.
24879         * posix/regex_internal.h: Likewise.
24880         * posix/wordexp.c: Likewise.
24881         * pwd/fgetpwent.c: Likewise.
24882         * resolv/res_hconf.c: Likewise.
24883         * resolv/res_libc.c: Likewise.
24884         * shadow/fgetspent.c: Likewise.
24885         * shadow/lckpwdf.c: Likewise.
24886         * shadow/sgetspent.c: Likewise.
24887         * socket/opensock.c: Likewise.
24888         * stdio-common/reg-modifier.c: Likewise.
24889         * stdio-common/reg-printf.c: Likewise.
24890         * stdio-common/reg-type.c: Likewise.
24891         * stdio-common/vfprintf.c: Likewise.
24892         * stdio-common/vfscanf.c: Likewise.
24893         * stdlib/abort.c: Likewise.
24894         * stdlib/cxa_atexit.c: Likewise.
24895         * stdlib/fmtmsg.c: Likewise.
24896         * stdlib/random.c: Likewise.
24897         * stdlib/setenv.c: Likewise.
24898         * string/strsignal.c: Likewise.
24899         * sunrpc/auth_none.c: Likewise.
24900         * sunrpc/bindrsvprt.c: Likewise.
24901         * sunrpc/create_xid.c: Likewise.
24902         * sunrpc/key_call.c: Likewise.
24903         * sunrpc/rpc_thread.c: Likewise.
24904         * sysdeps/arm/backtrace.c: Likewise.
24905         * sysdeps/generic/ldsodefs.h: Likewise.
24906         * sysdeps/generic/stdio-lock.h: Likewise.
24907         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
24908         * sysdeps/i386/backtrace.c: Likewise.
24909         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
24910         * sysdeps/m68k/backtrace.c: Likewise.
24911         * sysdeps/mach/hurd/cthreads.c: Likewise.
24912         * sysdeps/mach/hurd/dirstream.h: Likewise.
24913         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
24914         * sysdeps/nptl/malloc-machine.h: Likewise.
24915         * sysdeps/nptl/stdio-lock.h: Likewise.
24916         * sysdeps/posix/dirstream.h: Likewise.
24917         * sysdeps/posix/getaddrinfo.c: Likewise.
24918         * sysdeps/posix/system.c: Likewise.
24919         * sysdeps/pthread/aio_suspend.c: Likewise.
24920         * sysdeps/s390/s390-32/backtrace.c: Likewise.
24921         * sysdeps/s390/s390-64/backtrace.c: Likewise.
24922         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24923         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
24924         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
24925         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
24926         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
24927         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
24928         * sysdeps/unix/sysv/linux/system.c: Likewise.
24929         * sysdeps/x86_64/backtrace.c: Likewise.
24930         * time/alt_digit.c: Likewise.
24931         * time/era.c: Likewise.
24932         * time/tzset.c: Likewise.
24933         * wcsmbs/wcsmbsload.c: Likewise.
24934         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
24935         instead of <bits/libc-lock.h> in comment.
24937 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
24939         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
24940         Only use .set mips2 if the current ISA is below mips2.
24941         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
24942         Likewise.
24943         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
24944         mips32r2 if the current ISA is below mips32r2.
24945         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
24946         (TLS_IE): Updated to use the TLD_RDHWR macro.
24947         (TLS_LE): Likewise.
24948         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
24949         __ASSEMBLER__ condition.
24951 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24953         Fix parallel build of before-compile targets.
24955         * sysdeps/mach/Makefile ($(patsubst
24956         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
24957         mach-before-compile target.
24958         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
24959         io fs process)): Move rule to dedicated hurd-before-compile target.
24961 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24963         Fix rules generating headers in hurd/ and mach/ when initial make call
24964         has subdir= explicitly set.
24966         * sysdeps/mach/Makefile ($(patsubst
24967         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
24968         calling $(MAKE).
24969         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
24970         io fs process)): Force subdir to hurd when calling $(MAKE).
24971         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
24972         subdir to mach when calling $(MAKE).
24974 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
24976         Check sysheaders when looking for Mach and Hurd headers
24978         * sysdeps/mach/configure.ac: Add sysheaders check.
24979         * sysdeps/mach/configure: Regenerate.
24980         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
24981         * sysdeps/mach/hurd/configure: Regenerate.
24983 2015-09-04  Roland McGrath  <roland@hack.frob.com>
24985         [BZ #18921]
24986         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
24987         Fix inverted sense of test of 'o_directory_works' value.
24988         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
24989         Bernhard Voelker <mail@bernhard-voelker.de>.
24991 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
24993         [BZ #14912]
24994         * bits/linkmap.h: Move to ...
24995         * sysdeps/generic/linkmap.h: ...here.
24996         * sysdeps/aarch64/bits/linkmap.h: Move to ...
24997         * sysdeps/aarch64/linkmap.h: ...here.
24998         * sysdeps/arm/bits/linkmap.h: Move to ...
24999         * sysdeps/arm/linkmap.h: ...here.
25000         * sysdeps/hppa/bits/linkmap.h: Move to ...
25001         * sysdeps/hppa/linkmap.h: ...here.
25002         * sysdeps/ia64/bits/linkmap.h: Move to ...
25003         * sysdeps/ia64/linkmap.h: ...here.
25004         * sysdeps/mips/bits/linkmap.h: Move to ...
25005         * sysdeps/mips/linkmap.h: ...here.
25006         * sysdeps/s390/bits/linkmap.h: Move to ...
25007         * sysdeps/s390/linkmap.h: ...here.
25008         * sysdeps/sh/bits/linkmap.h: Move to ...
25009         * sysdeps/sh/linkmap.h: ...here.
25010         * sysdeps/x86/bits/linkmap.h: Move to ...
25011         * sysdeps/x86/linkmap.h: ...here.
25012         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
25014 2015-09-04  Andreas Schwab  <schwab@suse.de>
25016         [BZ #18635]
25017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
25018         (__makecontext): Terminate FDE before return label.
25019         (__novec_makecontext): Likewise.
25021 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25023         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
25024         first member of struct sv in syscall macro.
25026 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
25028         [BZ #14912]
25029         * bits/stdio-lock.h: Move to ...
25030         * sysdeps/generic/stdio-lock.h: ...here.
25031         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
25032         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
25033         * sysdeps/nptl/stdio-lock.h: ...here.
25034         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
25035         * include/libio.h: Include <stdio-lock.h> instead of
25036         <bits/stdio-lock.h>.
25037         * sysdeps/nptl/fork.c: Likewise.
25038         * sysdeps/pthread/flockfile.c: Likewise.
25039         * sysdeps/pthread/ftrylockfile.c: Likewise.
25040         * sysdeps/pthread/funlockfile.c: Likewise.
25042         [BZ #14912]
25043         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
25044         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
25045         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
25046         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
25047         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
25048         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
25049         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
25051 2015-09-03  Roland McGrath  <roland@hack.frob.com>
25053         * elf/Makefile (test-xfail-tst-protected1a): New variable.
25054         (test-xfail-tst-protected1b): New variable.
25056 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
25058         [BZ #14912]
25059         * bits/libc-tsd.h: Move to ...
25060         * sysdeps/generic/libc-tsd.h: ...here.
25061         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
25062         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
25063         * sysdeps/mach/hurd/libc-tsd.h: ...here.
25064         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
25065         * include/ctype.h: Include <libc-tsd.h> instead of
25066         <bits/libc-tsd.h>.
25067         * include/rpc/rpc.h: Likewise.
25068         * locale/localeinfo.h: Likewise.
25069         * sunrpc/rpc_thread.c: Likewise.
25070         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
25071         * sysdeps/nptl/malloc-machine.h: Likewise.
25073         * Makefile (headers): Remove bits/libc-lock.h.
25074         * libio/Makefile (headers): Remove bits/stdio-lock.h.
25076         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
25077         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
25078         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
25079         <bits/stdio-lock.h>.
25080         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
25081         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
25083 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
25085         [BZ #18757]
25086         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
25087         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
25088         BZ #18757.
25090 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
25092         * malloc/mtrace.pl: Filter out NULL entries.
25094 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
25096         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
25097         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
25098         macro.
25100         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
25101         (TCP_CC_INFO): Likewise.
25102         (TCP_SAVE_SYN): Likewise.
25103         (TCP_SAVED_SYN): Likewise.
25105 2015-08-31  Brett Neumeier <brett@neumeier.us>
25107         [BZ #18870]
25108         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
25110 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
25112         [BZ #18873]
25113         Fix broken overflow check in posix_fallocate
25114         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
25115         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
25116         Fix parenthesization typo.
25118 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
25120         [BZ #18887]
25121         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
25122         tst-mntent-blank-passno.
25123         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
25124         * misc/tst-mntent-blank-corrupt.c: New test.
25125         * misc/tst-mntent-blank-passno.c: New test ripped from ...
25126         * misc/tst-mntent.c (do_test): ... here.
25128 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
25130         [BZ #4404]
25131         * po/de.po: Fix SIGALRM typo.
25133 2015-08-28  James Perkins  <james@loowit.net>
25135         * time/tst-strptime2.c (tests): Replace short list of test
25136         strings for strptime %z specifier with code which exhaustively
25137         tests every combination of sign and 0 to 5 digits. Tests for
25138         rejection of invalid strings.
25140 2015-08-28  James Perkins  <james@loowit.net>
25142         [BZ #16141]
25143         * time/strptime_l.c (__strptime_internal): Fix %z minutes
25144         calculation, removing incorrect decimal time rounding, so that
25145         all minute values result in a valid seconds value.
25146         * time/strptime_l.c (__strptime_internal): Extend %z time zone
25147         offset range limits to UTC-99:59 through UTC+99:59 to parse
25148         current and historical use cases.
25149         * time/tst-strptime2.c (tests): Modify and add tests for the
25150         strptime %z input field descriptor, specifically conversion of
25151         minutes to seconds and validating an offset range of -9959 to
25152         +9959.
25154 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25155             Dmitry V. Levin  <ldv@altlinux.org>
25157         [BZ #18877]
25158         * posix/Makefile (tests): Add tst-mmap-offset.
25159         * posix/tst-mmap.c: New file.
25160         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
25161         offset calculation for negative values.
25163 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25165         * sysdeps/i386/init-arch.h: New file.
25166         * sysdeps/i386/i586/init-arch.h: Likewise.
25167         * sysdeps/i386/i686/init-arch.h: Likewise.
25168         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
25169         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
25170         * sysdeps/x86/cpu-features.h (bit_I586): New.
25171         (bit_I686): Likewise.
25172         (bit_CX8): Likewise.
25173         (bit_CMOV): Likewise.
25174         (index_CX8): Likewise.
25175         (index_CMOV): Likewise.
25176         (index_I586): Likewise.
25177         (index_I686): Likewise.
25178         (reg_CX8): Likewise.
25179         (reg_CMOV): Likewise.
25180         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
25181         available at compile-time.
25182         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
25183         available at compile-time.
25184         * sysdeps/x86/init-arch.h (USE_I586): New macro.
25185         (USE_I686): Likewise.
25187 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25189         * sysdeps/i386/bcopy.S: New file.
25190         * sysdeps/i386/bzero.S: Likewise.
25191         * sysdeps/i386/memcpy.S: Likewise.
25192         * sysdeps/i386/memmove.S: Likewise.
25193         * sysdeps/i386/mempcpy.S: Likewise.
25194         * sysdeps/i386/memset.S: Likewise.
25195         * sysdeps/i386/bzero.c: Removed.
25196         * sysdeps/i386/memset.c: Likewise.
25197         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
25198         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
25199         * sysdeps/i386/i586/memset_chk.S: Likewise.
25200         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
25201         * sysdeps/i386/memcpy_chk.S: Here.
25202         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
25203         * sysdeps/i386/memmove_chk.S: Here.
25204         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
25205         * sysdeps/i386/mempcpy_chk.S: Likewise.
25206         * sysdeps/i386/i686/memset_chk.S: Moved to ...
25207         * sysdeps/i386/memset_chk.S: Likewise.
25209 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
25211         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
25212         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
25213         file, move DIAG_POP_NEEDS_COMMENT to end of file.
25214         * soft-fp/fmadf4.c: Ditto.
25215         * soft-fp/fmatf4.c: Ditto.
25217 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25219         * sysdeps/i386/i586/Implies: Removed.
25220         * sysdeps/i386/i686/Implies: Likewise.
25222 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25224         * sysdeps/i386/i486/strlen.S: Moved to ...
25225         * sysdeps/i386/strlen.S: Here.
25227 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25229         * sysdeps/i386/i486/strcat.S: Moved to ...
25230         * sysdeps/i386/strcat.S: Here.
25232 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25234         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
25235         * sysdeps/i386/pthread_spin_trylock.S: Here.
25236         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
25237         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
25239 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25241         * sysdeps/i386/i486/string-inlines.c: Moved to ...
25242         * sysdeps/i386/string-inlines.c: Here.
25244 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25246         * sysdeps/i386/i486/htonl.S: Moved ...
25247         * sysdeps/i386/htonl.S: here.
25249 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25251         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
25252         * sysdeps/i386/bits/atomic.h: Here.
25254 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25256         * sysdeps/i386/i486/Versions: Removed.
25258 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
25260         [BZ #2898]
25261         * misc/mktemp.c: Add mkdtemp to the link_warning message.
25262         Based on patch by Aurelien Jarno.
25264 2015-08-26  Stan Shebs  <stanshebs@google.com>
25266         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
25267         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
25269 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25271         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
25272         * sysdeps/powerpc/dl-procinfo.c:
25273         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
25274         feature so it shows when LD_SHOW_AUXV=1.
25276 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
25278         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
25279         (__arch_compare_and_exchange_val_32_acq): Remove and use common
25280         definition.  ISA 2.07B no longer requires full sync.
25282 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
25284         [BZ #18863]
25285         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
25286         (si_call_addr): Define.
25287         (si_syscall): Define.
25288         (si_arch): Define.
25290 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
25292         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
25293         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
25294         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
25295         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
25296         (__memset_zero_constant_len_parameter): New.
25297         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
25298         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
25299         (__memset_zero_constant_len_parameter): Don't define if
25300         __memset_chk or USE_AS_BZERO are defined.
25302         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
25303         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
25304         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
25306         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
25307         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
25308         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
25309         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
25310         comments.
25311         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
25312         -mno-mmx for $(all-rtld-routines).
25313         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
25314         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
25315         i386.
25317 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
25319         * sysdeps/generic/unwind.h
25320         (_Unwind_Word): Use __mode__(__unwind_word__)
25321         instead of __mode__(__word__).
25322         (_Unwind_Sword): Likewise.
25324         * sysdeps/s390/s390-64/utf8-utf16-z9.c
25325         (MAX_NEEDED_INPUT): New define.
25326         (MAX_NEEDED_OUTPUT): New define.
25328         * NEWS: New item for IBM z13 string optimizations.
25330         * sysdeps/s390/multiarch/memrchr-c.c: New File.
25331         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
25332         * sysdeps/s390/multiarch/memrchr.c: Likewise.
25333         * sysdeps/s390/multiarch/Makefile
25334         (sysdep_routines): Add memrchr functions.
25335         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
25336         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
25338         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
25339         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
25340         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
25341         * sysdeps/s390/multiarch/Makefile
25342         (sysdep_routines): Add wmemcmp functions.
25343         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
25344         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
25345         * benchtests/bench-wmemcmp.c: New File.
25346         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
25348         * sysdeps/s390/multiarch/wmemset-c.c: New File.
25349         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
25350         * sysdeps/s390/multiarch/wmemset.c: Likewise.
25351         * sysdeps/s390/multiarch/Makefile
25352         (sysdep_routines): Add wmemset functions.
25353         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
25354         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
25355         * wcsmbs/wmemset.c: Use WMEMSET if defined.
25356         * string/test-memset.c: Add wmemset support.
25357         * wcsmbs/test-wmemset.c: New File.
25358         * wcsmbs/Makefile (strop-tests): Add wmemset.
25359         * benchtests/bench-memset.c: Add wmemset support.
25360         * benchtests/bench-wmemset.c: New File.
25361         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
25363         * sysdeps/s390/multiarch/memccpy-c.c: New File.
25364         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
25365         * sysdeps/s390/multiarch/memccpy.c: Likewise.
25366         * sysdeps/s390/multiarch/Makefile
25367         (sysdep_routines): Add memccpy functions.
25368         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
25369         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
25370         * string/memccpy.c: Use MEMCCPY if defined.
25372         * sysdeps/s390/multiarch/memchr-vx.S: New File.
25373         * sysdeps/s390/multiarch/memchr.c: Likewise.
25374         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
25375         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
25376         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
25377         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
25378         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
25379         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
25380         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
25381         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
25382         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
25383         and rawmemchr functions.
25384         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
25385         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
25386         and wmemchr.
25387         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
25388         * string/test-memchr.c: Add wmemchr support.
25389         * wcsmbs/test-wmemchr.c: New File.
25390         * wcsmbs/Makefile (strop-tests): Add wmemchr.
25391         * benchtests/bench-memchr.c: Add wmemchr support.
25392         * benchtests/bench-wmemchr.c: New File.
25393         * benchtests/Makefile (wcsmbs-bench): wmemchr.
25395         * sysdeps/s390/multiarch/strcspn-c.c: New File.
25396         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
25397         * sysdeps/s390/multiarch/strcspn.c: Likewise.
25398         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
25399         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
25400         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
25401         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
25402         wcscspn functions.
25403         * sysdeps/s390/multiarch/ifunc-impl-list.c
25404         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
25405         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
25406         * string/test-strcspn.c: Add wcscspn support.
25407         * wcsmbs/test-wcscspn.c: New File.
25408         * wcsmbs/Makefile (strop-tests): Add wcscspn.
25409         * benchtests/bench-strcspn.c: Add wcscspn support.
25410         * benchtests/bench-wcscspn.c: New File.
25411         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
25413         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
25414         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
25415         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
25416         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
25417         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
25418         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
25419         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
25420         wcspbrk functions.
25421         * sysdeps/s390/multiarch/ifunc-impl-list.c
25422         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
25423         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
25424         * string/test-strpbrk.c: Add wcspbrk support.
25425         * wcsmbs/test-wcspbrk.c: New File.
25426         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
25427         * benchtests/bench-strpbrk.c: Add wcspbrk support.
25428         * benchtests/bench-wcspbrk.c: New File.
25429         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
25431         * sysdeps/s390/multiarch/strspn-c.c: New File.
25432         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
25433         * sysdeps/s390/multiarch/strspn.c: Likewise.
25434         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
25435         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
25436         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
25437         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
25438         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
25439         wcsspn functions.
25440         * sysdeps/s390/multiarch/ifunc-impl-list.c
25441         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
25442         * string/test-strspn.c: Add wcsspn support.
25443         * wcsmbs/test-wcsspn.c: New File.
25444         * wcsmbs/Makefile (strop-tests): Add wcsspn.
25445         * benchtests/bench-strspn.c: Add wcsspn support.
25446         * benchtests/bench-wcsspn.c: New File.
25447         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
25449         * sysdeps/s390/multiarch/strrchr-c.c: New File.
25450         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
25451         * sysdeps/s390/multiarch/strrchr.c: Likewise.
25452         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
25453         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
25454         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
25455         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
25456         wcsrchr functions.
25457         * sysdeps/s390/multiarch/ifunc-impl-list.c
25458         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
25459         * benchtests/bench-wcsrchr.c: New File.
25460         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
25462         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
25463         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
25464         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
25465         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
25466         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
25467         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
25468         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
25469         wcschrnul functions.
25470         * sysdeps/s390/multiarch/ifunc-impl-list.c
25471         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
25472         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
25473         * string/test-strchr.c: Add wcschrnul support.
25474         * wcsmbs/test-wcschrnul.c: New File.
25475         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
25476         * benchtests/bench-strchr.c: Add wcschrnul support.
25477         * benchtests/bench-wcschrnul.c: New File.
25478         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
25480         * sysdeps/s390/multiarch/strchr-c.c: New File.
25481         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
25482         * sysdeps/s390/multiarch/strchr.c: Likewise.
25483         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
25484         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
25485         * sysdeps/s390/multiarch/wcschr.c: Likewise.
25486         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
25487         wcschr functions.
25488         * sysdeps/s390/multiarch/ifunc-impl-list.c
25489         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
25490         * string/strchr.c (STRCHR): Define and use macro.
25491         * benchtests/bench-wcschr.c: New File.
25492         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
25494         * sysdeps/s390/multiarch/strncmp-c.c: New File.
25495         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
25496         * sysdeps/s390/multiarch/strncmp.c: Likewise.
25497         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
25498         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
25499         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
25500         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
25501         wcsncmp functions.
25502         * sysdeps/s390/multiarch/ifunc-impl-list.c
25503         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
25504         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
25505         * benchtests/bench-strncmp.c: Add wcsncmp support.
25506         * benchtests/bench-wcsncmp.c: New File.
25507         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
25509         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
25510         * sysdeps/s390/multiarch/strcmp.c: Likewise.
25511         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
25512         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
25513         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
25514         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
25515         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
25516         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
25517         wcscmp functions.
25518         * sysdeps/s390/multiarch/ifunc-impl-list.c
25519         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
25520         * string/strcmp.c (STRCMP): Define and use macro.
25521         * benchtests/bench-wcscmp.c: New File.
25522         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
25523         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
25524         instead of _HAVE_STRING_ARCH_memchr.
25526         * sysdeps/s390/multiarch/strncat-c.c: New File.
25527         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
25528         * sysdeps/s390/multiarch/strncat.c: Likewise.
25529         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
25530         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
25531         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
25532         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
25533         wcsncat functions.
25534         * sysdeps/s390/multiarch/ifunc-impl-list.c
25535         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
25536         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
25537         * string/test-strncat.c: Add wcsncat support.
25538         * wcsmbs/test-wcsncat.c: New File.
25539         * wcsmbs/Makefile (strop-tests): Add wcsncat.
25540         * benchtests/bench-strncat.c: Add wcsncat support.
25541         * benchtests/bench-wcsncat.c: New File.
25542         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
25544         * sysdeps/s390/multiarch/strcat-c.c: New File.
25545         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
25546         * sysdeps/s390/multiarch/strcat.c: Likewise.
25547         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
25548         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
25549         * sysdeps/s390/multiarch/wcscat.c: Likewise.
25550         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
25551         wcscat functions.
25552         * sysdeps/s390/multiarch/ifunc-impl-list.c
25553         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
25554         * string/strcat.c (STRCAT): Define and use macro.
25555         * wcsmbs/wcscat.c: Use WCSCAT if defined.
25556         * string/test-strcat.c: Add wcscat support.
25557         * wcsmbs/test-wcscat.c: New File.
25558         * wcsmbs/Makefile (strop-tests): Add wcscat.
25559         * benchtests/bench-strcat.c: Add wcscat support.
25560         * benchtests/bench-wcscat.c: New File.
25561         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
25563         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
25564         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
25565         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
25566         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
25567         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
25568         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
25569         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
25570         wcpncpy functions.
25571         * sysdeps/s390/multiarch/ifunc-impl-list.c
25572         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
25573         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
25574         * string/test-stpncpy.c: Add wcpncpy support.
25575         * wcsmbs/test-wcpncpy.c: New File.
25576         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
25577         * benchtests/bench-stpncpy.c: Add wcpncpy support.
25578         * benchtests/bench-wcpncpy.c: New File.
25579         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
25581         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
25582         * sysdeps/s390/multiarch/strncpy.c: Likewise.
25583         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
25584         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
25585         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
25586         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
25587         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
25588         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
25589         wcsncpy functions.
25590         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
25591         * sysdeps/s390/multiarch/ifunc-impl-list.c
25592         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
25593         * string/test-strncpy.c: Add wcsncpy support.
25594         * wcsmbs/test-wcsncpy.c: New File.
25595         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
25596         * benchtests/bench-strncpy.c: Add wcsncpy support.
25597         * benchtests/bench-wcsncpy.c: New File.
25598         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
25600         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
25601         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
25602         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
25603         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
25604         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
25605         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
25606         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
25607         wcpcpy functions.
25608         * string/stpcpy.c: Use STPCPY if defined.
25609         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
25610         * sysdeps/s390/multiarch/ifunc-impl-list.c
25611         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
25612         * string/test-stpcpy.c: Add wcpcpy support.
25613         * wcsmbs/test-wcpcpy.c: New File.
25614         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
25615         * benchtests/bench-stpcpy.c: Add wcpcpy support.
25616         * benchtests/bench-wcpcpy.c: New File.
25617         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
25619         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
25620         * sysdeps/s390/multiarch/strcpy.c: Likewise.
25621         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
25622         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
25623         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
25624         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
25625         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
25626         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
25627         wcscpy functions.
25628         * sysdeps/s390/multiarch/ifunc-impl-list.c
25629         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
25630         * benchtests/bench-wcscpy.c: New File.
25631         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
25633         * sysdeps/s390/multiarch/strnlen-c.c: New File.
25634         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
25635         * sysdeps/s390/multiarch/strnlen.c: Likewise.
25636         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
25637         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
25638         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
25639         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
25640         wcsnlen functions.
25641         * sysdeps/s390/multiarch/ifunc-impl-list.c
25642         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
25643         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
25644         * string/test-strnlen.c: Add wcsnlen support.
25645         * wcsmbs/test-wcsnlen.c: New File.
25646         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
25647         * benchtests/bench-strnlen.c: Add wcsnlen support.
25648         * benchtests/bench-wcsnlen.c: New File.
25649         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
25651         * sysdeps/s390/multiarch/Makefile: New File.
25652         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
25653         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
25654         * sysdeps/s390/multiarch/strlen.c: Likewise.
25655         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
25656         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
25657         * sysdeps/s390/multiarch/wcslen.c: Likewise.
25658         * string/strlen.c (STRLEN): Define and use macro.
25659         * sysdeps/s390/multiarch/ifunc-impl-list.c
25660         (IFUNC_VX_IMPL): New macro function.
25661         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
25662         * benchtests/Makefile (wcsmbs-bench): New variable.
25663         (string-bench-all): Added wcsmbs-bench.
25664         * benchtests/bench-wcslen.c: New File.
25666         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
25667         s390_vx_libc_ifunc2): New macro function.
25669         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
25670         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
25671         assembler support.
25672         * sysdeps/s390/configure: Regenerated.
25674         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
25675         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
25677         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
25678         * sysdeps/s390/dl-procinfo.h: Add vector capability.
25679         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
25681         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
25682         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
25683         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
25684         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
25685         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
25686         (memcmp, bcmp): Use __memcmp_default as alias source.
25687         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
25688         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
25689         Rename to __memcmp_default.
25690         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
25691         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
25692         (memcpy): Use __memcpy_default as alias source.
25693         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
25694         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
25695         Rename to __memcpy_default.
25696         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
25697         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
25698         (memset): Use __memset_default as alias source.
25699         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
25700         * sysdeps/s390/s390-32/memset.S (__memset_g5):
25701         Rename to __memset_default.
25702         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
25703         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
25704         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
25705         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
25706         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
25707         (memcmp, bcmp): Use __memcmp_default as alias source.
25708         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
25709         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
25710         Rename to __memcmp_default.
25711         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
25712         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
25713         (memcpy): Use __memcpy_default as alias source.
25714         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
25715         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
25716         Rename to __memcpy_default.
25717         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
25718         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
25719         (memset): Use __memset_default as alias source.
25720         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
25721         * sysdeps/s390/s390-64/memset.S (__memset_z900):
25722         Rename to __memset_default.
25723         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
25724         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
25726         [BZ #18610]
25727         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
25728         __ieee_instruction_pointer to __unused.
25729         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
25730         __ieee_instruction_pointer.
25731         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
25732         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
25733         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
25734         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
25735         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
25736         Mark dxc-field as reserved.
25738 2015-08-25  Roland McGrath  <roland@hack.frob.com>
25740         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
25741         if the weak reference is not null.
25743 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
25745         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
25747         [BZ #11214]
25748         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
25750 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25752         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
25753         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
25754         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
25755         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
25756         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
25757         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
25758         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
25759         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
25760         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
25761         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
25762         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
25763         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
25764         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
25765         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
25766         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
25767         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
25768         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
25769         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
25771 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
25773         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
25774         register other than r0 for tabort, it has special meaning.
25775         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
25776         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
25777         transaction before starting syscall.
25779 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25781         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
25783 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
25785         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
25787         * sysdeps/x86_64/rtld-memcmp.c: Removed.
25788         * sysdeps/x86_64/rtld-memset.S: Likewise.
25789         * sysdeps/x86_64/rtld-strchr.S: Likewise.
25790         * sysdeps/x86_64/rtld-strlen.S: Likewise.
25791         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
25792         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
25794         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
25796 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
25798         * debug/strcpy_chk.c: Improve performance.
25799         * debug/stpcpy_chk.c: Likewise.
25800         * sysdeps/x86_64/strcpy_chk.S: Remove.
25801         * sysdeps/x86_64/stpcpy_chk.S: Remove.
25803         [BZ #18240]
25804         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
25806 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
25808         [BZ #15128]
25809         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
25810         ifuncmain8.
25811         (modules-names): Add ifuncmod8.
25812         ($(objpfx)ifuncmain8): New rule.
25813         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
25814         <cpuid.h>.
25815         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
25816         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
25817         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
25818         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
25819         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
25820         * sysdeps/x86_64/dl-trampoline.h: Likewise.
25821         * sysdeps/x86_64/ifuncmain8.c: New file.
25822         * sysdeps/x86_64/ifuncmod8.c: Likewise.
25823         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
25824         Removed.
25825         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
25826         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
25827         Change rtld_savespace_sse to __glibc_unused2.
25828         (RTLD_CHECK_FOREIGN_CALL): Removed.
25829         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
25830         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
25831         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
25833 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
25835         * sysdeps/aarch64/bzero.S (__bzero): Remove.
25837 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
25839         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
25840         Unconditionally set __fpcr to avoid uninialized warning.
25841         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
25843 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25845         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
25846         is corrupt.
25848         * malloc/arena.c (arena_get2): Drop unused argument.
25849         (arena_lock): Adjust.
25850         (arena_get_retry): Likewise.
25852 2015-08-24  Andreas Schwab  <schwab@suse.de>
25854         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
25855         Don't define.
25856         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
25857         (__ASSUME_IPC64): Don't undef.
25858         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
25859         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25860         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25861         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
25862         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
25863         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
25864         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
25865         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
25866         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
25867         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
25868         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
25869         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
25870         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
25871         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
25872         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
25873         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
25874         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
25875         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
25876         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
25877         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
25878         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
25880 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
25882         * manual/Makefile (install): Only build manual when perl is available.
25884 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25886         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
25887         '#undef memcpy' by '#undef memchr'.
25889 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25891         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
25892         memchr not point to the internal __GI_memchr implementation.
25894 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
25896         * timezone/Makefile (CFLAGS-zdump.c): Remove
25897         -Wno-strict-prototypes.
25898         (CFLAGS-zic.c): Likewise.
25899         (CFLAGS-ialloc.c): Likewise.
25900         (CFLAGS-scheck.c): Likewise.
25902         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
25903         -Wno-error=undef.
25905 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
25907         * i386/i686/multiarch/strcasestr-c.c: Removed.
25908         * x86_64/multiarch/strcasestr.c: Likewise.
25909         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25910         Remove strcasestr.
25912 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
25914         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
25916         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
25917         variables for high and low parts before possibly modifying them.
25919 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
25921         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
25922         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
25923         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
25924         of "multiarch/init-arch.h".
25925         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
25926         * sysdeps/x86/init-arch.h: This.
25928 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
25930         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
25931         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
25933 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
25935         [BZ #17787]
25936         * manual/macros.texi: Add twoexp macro.
25937         * manual/filesys.texi: Fix exponents.
25938         * manual/llio.texi: Likewise.
25939         * manual/stdio.texi: Likewise.
25941 2015-08-20  Florian Weimer  <fweimer@redhat.com>
25943         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
25944         incorrect use.
25946 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
25948         [BZ #18370]
25949         * math/s_csqrt.c (__csqrt): Force underflow exception for results
25950         whose real or imaginary part has small absolute value.
25951         * math/s_csqrtf.c (__csqrtf): Likewise.
25952         * math/s_csqrtl.c (__csqrtl): Likewise.
25953         * math/auto-libm-test-in: Add more tests of csqrt.
25954         * math/auto-libm-test-out: Regenerated.
25955         * sysdeps/i386/fpu/libm-test-ulps: Update.
25957 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
25959         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
25960         __ppc_set_ppr_very_low): New functions.
25961         * manual/platform.texi: Add documentation about
25962         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
25964 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
25966         * string/stpncpy.c (stpncpy): Improve performance using
25967         __strnlen/memcpy/memset.
25969 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
25971         [BZ #18796]
25972         * scripts/test-installation.pl: Don't add -lmvec to build options if
25973         libmvec wasn't built.
25975 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
25977         [BZ #14341]
25978         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
25979         case when there is a gap between DT_REL and DT_JMPREL sections.
25980         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
25981         (LDFLAGS-tst-split-dynreloc): New.
25982         (tst-split-dynreloc-ENV): Likewise.
25983         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
25984         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
25986 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
25988         [BZ #18822]
25989         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
25990         attribute_hidden.
25991         (__xstat64_conv): Likewise.
25992         (__xstat32_conv): Likewise.
25994 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
25996         [BZ #18822]
25997         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
25998         Don't load %ebx when calling __setcontext.  Call __setcontext
25999         with HIDDEN_JUMPTARGET.
26000         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
26001         libc_hidden_def.
26003 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
26005         * sysdeps/i386/i686/Makefile
26006         [$(subdir) == string] (sysdep_routines): Moved to ...
26007         * sysdeps/i386/Makefile: Here.
26008         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
26009         * sysdeps/i386/cacheinfo.c: Here.
26010         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
26011         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
26012         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
26013         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
26015 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
26017         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
26018         __i586__ is defined.
26019         (HAS_I686): Defined to 1 if __i686__ is defined.
26021 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
26023         * elf/Makefile [$(have-z-execstack) = yes]
26024         (CPPFLAGS-tst-execstack.c): New variable.
26026         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
26027         conditional to [defined UTMPX || _HAVE_UT_TYPE].
26028         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
26029         UTMPX || _HAVE_UT_TV].
26030         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
26031         UTMPX || _HAVE_UT_TV - 0].
26033 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
26035         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
26036         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
26037         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
26039 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26041         * sysdeps/powerpc/dl-procinfo.c:
26042         (_dl_powerpc_cap_flags): Added missing strings for some
26043         hwcap features.
26044         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
26046 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
26048         Port the 0x7efe...feff pattern to GCC 6.
26049         See Steve Ellcey's bug report in:
26050         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
26051         * string/memrchr.c (MEMRCHR):
26052         * string/rawmemchr.c (RAWMEMCHR):
26053         * string/strchr.c (strchr):
26054         * string/strchrnul.c (STRCHRNUL):
26055         Rewrite code to avoid issues with signed shift overflow.
26057 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
26059         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
26060         whether cpuid is available only if HAS_CPUID is 0.
26061         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
26062         (HAS_I586): Likewise.
26063         (HAS_I686): Likewise.
26065 2015-08-18  Zack Weinberg  <zackw@panix.com>
26067         * misc/Versions (libc): Add GLIBC_2.23.
26069 2015-08-18  Alan Modra  <amodra@gmail.com>
26071         [BZ #18421]
26072         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
26073         .Lp__global.
26074         (_start): Load %dp via .Lp__global.
26075         [!SHARED]: Use .section .rodata.
26077 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26079         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
26080         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
26082 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26084         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
26085         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
26087 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26089         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
26090         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
26092 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26094         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
26095         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
26097 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26099         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
26100         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
26102 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26104         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
26105         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
26107 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26109         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
26111 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26113         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
26114         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
26115         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26116         (__ASSUME_LWS_CAS): Delete.
26118 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26120         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
26121         * sysdeps/hppa/configure: Regenerated.
26122         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
26123         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
26124         * sysdeps/hppa/nptl/tls.h: Likewise.
26126 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
26128         [BZ #18823]
26129         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
26130         for scaling up small arguments.
26131         * math/s_csqrtf.c (__csqrtf): Likewise.
26132         * math/s_csqrtl.c (__csqrtl): Likewise.
26133         * math/auto-libm-test-in: Add more tests of csqrt.
26134         * math/auto-libm-test-out: Regenerated.
26136 2015-08-17  Andreas Schwab  <schwab@suse.de>
26138         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
26139         version set GLIBC_2.19.
26141 2015-08-16  Zack Weinberg  <zackw@panix.com>
26143         [BZ #18681]
26144         * misc/regexp.h: This interface is no longer supported.
26145         Remove all contents, leaving only an #error directive.
26146         * misc/regexp.c (loc1, loc2, locs, step, advance):
26147         Demote to compatibility symbols.
26149 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
26151         [BZ #18084]
26152         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
26153         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
26154         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
26155         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
26156         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
26157         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
26158         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
26159         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
26160         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
26162 2015-08-15  Zack Weinberg  <zackw@panix.com>
26164         [BZ #18795]
26165         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
26166         buffer length is known to be too large, not if it's known to be
26167         small enough.
26168         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
26169         overflow at runtime, involving a length parameter, twice: once
26170         with a compile-time constant length parameter, once without.
26172 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
26174         [BZ #18824]
26175         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
26176         scaling x * y up instead of down.
26177         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26178         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26179         * math/auto-libm-test-in: Add more tests of fma.
26180         * math/auto-libm-test-out: Regenerated.
26182 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
26184         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26186 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26188         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
26189         unnecessary movq.
26190         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
26191         Likewise.
26193 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
26195         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
26196         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
26197         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
26198         and tgamma.
26199         * math/auto-libm-test-out: Regenerated.
26200         * sysdeps/i386/fpu/libm-test-ulps: Update.
26201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26203         [BZ #16520]
26204         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
26205         (__tanh): Force underflow exception for arguments with small
26206         absolute value.
26207         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
26208         (__tanhf): Force underflow exception for arguments with small
26209         absolute value.
26210         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
26211         (__tanhl): Force underflow exception for arguments with small
26212         absolute value.
26213         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
26214         (__tanhl): Force underflow exception for arguments with small
26215         absolute value.
26216         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
26217         (__tanhl): Force underflow exception for arguments with small
26218         absolute value.
26219         * math/auto-libm-test-in: Add more tests of tanh.
26220         * math/auto-libm-test-out: Regenerated.
26221         * sysdeps/i386/fpu/libm-test-ulps: Update.
26223 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26225         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
26226         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
26228 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26230         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
26231         <cpuid.h>.
26233 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26235         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
26236         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
26238 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26240         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
26241         Remove $(objpfx)init-arch.o.
26242         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
26243         init-arch.
26244         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
26245         (INIT_ARCH_EXT): Defined as empty.
26246         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
26247         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
26248         __init_cpu_features call.  Replace HAS_XXX with
26249         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
26250         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
26251         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
26252         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
26253         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
26254         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
26255         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
26256         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
26257         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
26258         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
26259         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
26260         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
26261         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
26262         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
26263         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
26264         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
26265         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
26266         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
26267         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
26268         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
26269         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
26270         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
26271         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
26272         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
26273         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
26274         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
26275         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
26276         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
26277         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
26278         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
26279         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
26280         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
26281         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
26282         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
26283         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
26284         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
26286 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26288         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
26289         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
26290         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
26291         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
26292         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
26293         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
26294         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
26295         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
26296         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
26297         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
26298         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
26299         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
26300         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
26301         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26302         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26303         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26304         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26305         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26306         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26307         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26308         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26309         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26310         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26311         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26312         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26313         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26314         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26315         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26316         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26317         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26318         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26319         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26320         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26321         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26322         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26323         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26324         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26325         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26326         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26327         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26328         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26329         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26330         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26332 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26334         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
26335         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
26336         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
26337         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26338         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26339         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
26340         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26341         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
26342         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26343         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26344         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26345         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
26346         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
26347         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
26348         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
26349         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
26350         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
26351         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
26352         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
26353         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
26354         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
26355         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
26356         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
26357         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26358         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26359         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
26360         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
26361         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
26362         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
26363         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26364         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26365         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26366         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26367         * sysdeps/x86_64/multiarch/memset.S: Likewise.
26368         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26369         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26370         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26371         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26372         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26373         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26374         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26375         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26376         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26378 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26380         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
26381         (dl_platform_init): Call init_cpu_features.
26382         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
26383         * sysdeps/i386/i686/cacheinfo.c
26384         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
26385         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
26386         * sysdeps/i386/i686/multiarch/Versions: Removed.
26387         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
26388         Removed.
26389         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
26390         * sysdeps/unix/sysv/linux/x86/Makefile
26391         (libpthread-sysdep_routines): Remove init-arch.
26392         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
26393         <sysdeps/x86_64/dl-procinfo.c> instead of
26394         sysdeps/generic/dl-procinfo.c>.
26395         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
26396         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
26397         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
26398         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
26399         [$(subdir) == elf] (tests-static): Add
26400         tst-get-cpu-features-static.
26401         * sysdeps/x86/Versions: New file.
26402         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
26403         * sysdeps/x86/cpu-features.c: Likewise.
26404         * sysdeps/x86/cpu-features.h: Likewise.
26405         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
26406         * sysdeps/x86/libc-start.c: Likewise.
26407         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
26408         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
26409         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
26410         * sysdeps/x86_64/dl-procinfo.c: Likewise.
26411         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
26412         Assume USE_MULTIARCH is defined and don't check it.
26413         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
26414         (is_amd): Likewise.
26415         (max_cpuid): Likewise.
26416         (intel_check_word): Likewise.
26417         (__cache_sysconf): Don't call __init_cpu_features.
26418         (__x86_preferred_memory_instruction): Removed.
26419         (init_cacheinfo): Don't call __init_cpu_features. Replace
26420         __cpu_features with GLRO(dl_x86_cpu_features).
26421         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
26422         (dl_platform_init): Call init_cpu_features.
26423         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
26424         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
26425         * sysdeps/x86_64/multiarch/Versions: Removed.
26426         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
26427         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
26428         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
26429         Removed.
26430         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
26432 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
26434         [BZ #18820]
26435         * libio/Makefile (test-fmemopen-mem): New test.
26436         * libio/test-fmemopen.c (do_bz18820): New test.
26437         * libio/fmemopen.c (__fmemopen): Fix memory leak.
26438         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
26440 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
26442         [BZ #16734]
26443         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
26444         (FREE_BUF): Delete.
26445         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
26446         * libio/genops.c (_IO_setb): Use malloc and free directly.
26447         (_IO_default_doallocate, _IO_default_finish): Likewise.
26448         ( _IO_unbuffer_all): Likewise.
26449         ( libc_freeres_fn): Likewise.
26450         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
26451         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
26452         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
26453         (_IO_wdefault_doallocate): Likewise.
26455 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
26457         [BZ #18086]
26458         * sysdeps/posix/nice.c (nice): Restore old errno.
26459         * posix/tst-nice.c (do_test): Add test for BZ #18086.
26461 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
26463         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
26465 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26467         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
26468         __bcopy and add a weak_alias to bcopy.
26469         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
26470         for static build.
26472         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
26473         cleanup macro usage.
26474         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
26475         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
26476         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
26477         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
26478         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
26479         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
26480         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
26481         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
26482         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
26483         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
26484         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
26485         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
26486         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
26487         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
26488         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
26489         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
26490         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
26491         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
26492         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
26494         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
26495         libc_hidden_def.
26496         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
26498         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
26499         (sysdep_routines): Add strstr-ppc64.
26500         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
26502 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
26504         [BZ #18778]
26505         * elf/Makefile (tests): Add Add tst-nodelete2.
26506         (modules-names): Add tst-nodelete2mod.
26507         (tst-nodelete2mod.so-no-z-defs): New.
26508         ($(objpfx)tst-nodelete2): Likewise.
26509         ($(objpfx)tst-nodelete2.out): Likewise.
26510         (LDFLAGS-tst-nodelete2): Likewise.
26511         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
26512         out of loop through all loaded libraries.
26513         * elf/tst-nodelete2.c: New file.
26514         * elf/tst-nodelete2mod.c: Likewise.
26515         * elf/tst-znodelete-zlib.cc: Delete.
26517 2015-08-11  Andreas Schwab  <schwab@suse.de>
26519         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
26520         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
26521         (__openat64_nocancel): Likewise.
26523 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
26525         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
26526         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
26527         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
26528         * math/auto-libm-test-out: Regenerated.
26529         * sysdeps/i386/fpu/libm-test-ulps: Update.
26530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26532 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
26534         [BZ #18790]
26535         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
26536         threshold for returning +/- 1.
26537         * math/auto-libm-test-in: Add more tests of tanh.
26538         * math/auto-libm-test-out: Regenerated.
26539         * sysdeps/i386/fpu/libm-test-ulps: Update.
26541 2015-08-10  Andreas Schwab  <schwab@suse.de>
26543         [BZ #18781]
26544         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
26545         MORE_OFLAGS to oflag.
26546         * io/test-lfs.c (do_test): Test openat64.
26548 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
26550         [BZ #18789]
26551         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
26552         smaller threshold for returning the argument.
26553         * math/auto-libm-test-in: Add more tests of sinh.
26554         * math/auto-libm-test-out: Regenerated.
26555         * sysdeps/i386/fpu/libm-test-ulps: Update.
26557 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
26559         [BZ #18674]
26560         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
26561         break.
26563 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
26565         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
26566         (generated): Don't add $(addprefix z.,$(tzfiles)).
26568 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
26570         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
26571         * scripts/sysd-rules.awk: Likewise.
26573 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
26575         * iconvdata/tst-tables.sh: Change echo -n to printf.
26576         * nss/db-Makefile: Likewise.
26577         * posix/tst-getconf.sh: Likewise.
26578         * stdio-common/tst-unbputc.sh: Likewise.
26580 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
26582         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
26583         MADV_*_PAGES defines behind this feature check.
26585 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
26587         [BZ #18480]
26588         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
26589         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
26590         Define.
26591         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
26592         LOAD_REGS_5, LOAD_REGS_6): Update.
26593         (INTERNAL_SYSCALL): Update using new LOAD defines.
26594         (INTERNAL_SYSCALL_NCS): Likewise.
26595         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
26597 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
26599         [BZ #16734]
26600         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
26602 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
26604         [BZ #17905]
26605         * catgets/Makefile (tst-catgets-mem): New test.
26606         * catgets/catgets.c (catopen): Don't use unbounded alloca.
26607         * catgets/open_catalog.c (__open_catalog): Likewise.
26608         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
26610 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
26612         [BZ #18787]
26613         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
26614         clobber registers.
26615         (atomic_compare_and_exchange_val_acq): Use register asms to assign
26616         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
26617         Cast return to __typeof (oldval).
26619 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
26621         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
26622         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
26623         and delete sys/syscall.h include.
26625 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
26627         [BZ #16517]
26628         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
26629         (tan): Force underflow exception for arguments with small absolute
26630         value.
26631         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
26632         (__kernel_tanf): Force underflow exception for arguments with
26633         small absolute value.
26634         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
26635         (__kernel_tanl): Force underflow exception for arguments with
26636         small absolute value.
26637         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
26638         (__kernel_tanl): Force underflow exception for arguments with
26639         small absolute value.
26640         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
26641         (__kernel_tanl): Force underflow exception for arguments with
26642         small absolute value.
26643         * math/auto-libm-test-in: Add more tests of tan.
26644         * math/auto-libm-test-out: Regenerated.
26646 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26648         Fix sysdeps/i386/fpu/s_scalbn.S build
26650         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
26652 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
26654         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
26656 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26658         Fix gcrt0.o compilation
26660         When static-start-installed-name is different from
26661         start-installed-name, we must not use the shared objects.
26663         * csu/Makefile
26664         (extra-objs): Add gmon-start.o when building shared library and
26665         $(static-start-installed-name) is different from
26666         $(start-installed-name).
26667         $(objpfx)g$(static-start-installed-name): When building shared
26668         library and $(static-start-installed-name) is different from
26669         $(static-start-installed-name), revert to non-shared rule,
26670         i.e. using $(objpfx)% and gmon-start.o.
26672 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
26674         [BZ #16519]
26675         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
26676         (__ieee754_sinh): Force underflow exception for arguments with
26677         small absolute value.
26678         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
26679         (__ieee754_sinhf): Force underflow exception for arguments with
26680         small absolute value.
26681         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
26682         (__ieee754_sinhl): Force underflow exception for arguments with
26683         small absolute value.
26684         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
26685         (__ieee754_sinhl): Force underflow exception for arguments with
26686         small absolute value.
26687         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
26688         (__ieee754_sinhl): Force underflow exception for arguments with
26689         small absolute value.
26690         * math/auto-libm-test-in: Add more tests of sinh.
26691         * math/auto-libm-test-out: Regenerated.
26692         * sysdeps/i386/fpu/libm-test-ulps: Update.
26694 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
26696         * libio/oldfileops.c: Include unistd.h.
26698 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
26700         * stdlib/isomac.c: Include ctype.h.
26702 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
26704         * dirent/tst-seekdir.c (main): Converted to ...
26705         (do_test): ... this.
26706         (TEST_FUNCTION): New macro.
26707         Include test-skeleton.c.
26708         * elf/tst-dlmodcount.c (main): Converted to ...
26709         (do_test): ... this.
26710         (TEST_FUNCTION): New macro.
26711         Include test-skeleton.c.
26712         * elf/tst-order-main.c (main): Converted to ...
26713         (do_test): ... this.
26714         (TEST_FUNCTION): New macro.
26715         Include test-skeleton.c.
26716         * elf/tst-pie2.c (main): Converted to ...
26717         (do_test): ... this.
26718         (TEST_FUNCTION): New macro.
26719         Include test-skeleton.c.
26720         * inet/tst-ether_aton.c (main): Converted to ...
26721         (do_test): ... this.
26722         (TEST_FUNCTION): New macro.
26723         Include test-skeleton.c.
26724         * misc/tst-mntent.c (main): Converted to ...
26725         (do_test): ... this.
26726         (TEST_FUNCTION): New macro.
26727         Include test-skeleton.c.
26728         * misc/tst-tsearch.c (main): Converted to ...
26729         (do_test): ... this.
26730         (TEST_FUNCTION): New macro.
26731         Include test-skeleton.c.
26732         * posix/tst-regexloc.c (main): Converted to ...
26733         (do_test): ... this.
26734         (TEST_FUNCTION): New macro.
26735         Include test-skeleton.c.
26736         * resolv/tst-aton.c (main): Converted to ...
26737         (do_test): ... this.
26738         (TEST_FUNCTION): New macro.
26739         Include test-skeleton.c.
26740         * stdio-common/test-fwrite.c (main): Converted to ...
26741         (do_test): ... this.
26742         (TEST_FUNCTION): New macro.
26743         Include test-skeleton.c.
26744         * stdio-common/tst-ferror.c (main): Converted to ...
26745         (do_test): ... this.
26746         (TEST_FUNCTION): New macro.
26747         Include test-skeleton.c.
26748         * stdio-common/tst-printf.c (main): Converted to ...
26749         (do_test): ... this.
26750         (TEST_FUNCTION): New macro.
26751         Include test-skeleton.c.
26752         * stdio-common/tst-printfsz.c (main): Converted to ...
26753         (do_test): ... this.
26754         (TEST_FUNCTION): New macro.
26755         Include test-skeleton.c.
26756         * stdlib/tst-strtod.c (main): Converted to ...
26757         (do_test): ... this.
26758         (TEST_FUNCTION): New macro.
26759         Include test-skeleton.c.
26760         * string/tst-strlen.c (main): Converted to ...
26761         (do_test): ... this.
26762         (TEST_FUNCTION): New macro.
26763         Include test-skeleton.c.
26764         * string/tst-svc.c (main): Converted to ...
26765         (do_test): ... this.
26766         (TEST_FUNCTION): New macro.
26767         Include test-skeleton.c.
26768         * time/tst-strptime.c (main): Converted to ...
26769         (do_test): ... this.
26770         (TEST_FUNCTION): New macro.
26771         Include test-skeleton.c.
26772         * timezone/tst-timezone.c (main): Converted to ...
26773         (do_test): ... this.
26774         (TEST_FUNCTION): New macro.
26775         Include test-skeleton.c.
26777 2015-08-05  Zack Weinberg  <zackw@panix.com>
26779         * misc/regexp.h: Update comments.
26781 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
26783         [BZ #18635]
26784         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
26785         before return label.
26787 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
26789         [BZ #18661]
26790         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
26791         when calling __errno_location.
26792         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
26793         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
26795 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
26797         [BZ #18661]
26798         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
26799         (__lll_timedwait_tid): Align stack to 16 bytes when calling
26800         __gettimeofday.
26802 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
26804         [BZ #18661]
26805         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26806         (__start_context): Don't use pop to restore %rdi so that stack
26807         is aligned to 16 bytes when calling __setcontext.
26809 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
26811         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
26812         only for libc.
26813         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
26815 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
26817         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
26818         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
26819         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
26821 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
26823         * string/memccpy.c (memccpy):
26824         Improve performance by using memchr/memcpy/__mempcpy.
26826 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
26828         * string/strncpy.c (strncpy):
26829         Improve performance by using __strnlen/memcpy.
26831 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
26833         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
26834         Optimize to avoid an unnecessary FPCR read.
26836 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
26838         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
26839         Optimize to reduce FPCR/FPSR accesses.
26841 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
26843         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
26844         dead->data[category] != NULL.
26846 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
26848         [BZ #18647]
26849         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
26850         and |x| close to 1, use absolute value of x when computing log.
26851         * math/auto-libm-test-in: Add more tests of pow.
26852         * math/auto-libm-test-out: Regenerated.
26854 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26856         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
26857         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
26858         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
26860 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
26862         [BZ #18525]
26863         * locales/km_KH: Remove timezone definition.
26864         * locales/lo_LA: Likewise.
26865         * locales/my_MM: Likewise.
26866         * locales/nan_TW@latin: Likewise.
26867         * locales/th_TH: Likewise.
26868         * locales/uk_UA: Likewise.
26870 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
26872         [BZ #18265]
26873         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
26874         (wcsncat): Likewise.
26875         (wcscmp): Likewise.
26876         (wcsncmp): Likewise.
26878 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
26880         * test-skeleton.c (usage): New function.
26881         (main): Call usage when opt is '?'.
26883 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
26885         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
26886         before first use.
26888 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
26890         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
26891         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
26892         in there too.
26894 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
26896         * version.h (RELEASE): Set to "development".
26897         (VERSION): Set to "2.22.90"
26899         * version.h (RELEASE): Set to "stable".
26900         (VERSION): Set to "2.22"
26901         * include/features.h (__GLIBC_MINOR__): Set to 22.
26903 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
26905         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
26906         Restructure macro to avoid "value computed is not used" warning.
26907         (atomic_compare_and_exchange_val_acq): Likewise.
26909 2015-08-04  Andreas Schwab  <schwab@suse.de>
26911         [BZ #18635]
26912         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
26913         ret.
26914         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
26916 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
26918         * po/pl.po: Updated translation.
26919         * po/uk.po: Likewise.
26920         * po/fi.po: Likewise.
26921         * po/ko.po: Likewise.
26922         * po/ru.po: Likewise.
26923         * po/vi.po: Likewise.
26925 2015-07-31  Zack Weinberg  <zackw@panix.com>
26927         [BZ #18681]
26928         * regexp.h: Add unconditional #warning stating that this header
26929         will be removed soon.  Revise banner comment to match.
26930         (compile): Consistently use ERROR instead of RETURN to report
26931         errors (partial fix for BZ #18681).
26932         * regexp.c: Don't include regexp.h. Remove some unnecessary
26933         declarations.
26935 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
26937         * po/libc.pot: Regenerated.
26939 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
26941         [BZ #18740]
26942         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
26943         float-vlen4-arch-ext-cflags): Removed.
26944         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
26945         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
26947 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
26949         [BZ #14113]
26950         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
26951         aligned to __aligned__.
26952         (pthread_cond_t, pthread_rwlock_t): Likewise.
26954 2015-07-30  Torvald Riegel  <triegel@redhat.com>
26956         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
26958 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
26960         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
26961         (struct sigaction): Change sa_flags from a long to an int, and add
26962         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
26964 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
26966         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
26967         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
26968         sysdeps/generic/sysdep.h include.
26969         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
26970         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
26971         sysdeps/hppa/sysdep.h.
26972         (ENTRY, PSEUDO): Undefine before defining.
26974 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
26976         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
26977         from scratch to use INTERNAL_SYSCALL.
26979 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
26981         [BZ #18078]
26982         * scripts/check-localplt.awk: Support alternate relocations.
26983         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
26984         sections.
26985         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
26986         malloc entries with + REL R_386_GLOB_DAT.
26987         * sysdeps/x86_64/localplt.data: New file.
26989 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
26991         [BZ #18731]
26992         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
26993         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
26994         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
26996 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
26998         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
27000 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
27002         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
27003         directly in terms of __sync_fetch_and_add and delete (int) cast.
27005 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
27007         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
27008         the -D_ASM_IA64_CURRENT_H flag.
27010 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
27012         [BZ #18641]
27013         * pwd/pwd.h (putpwent): Delete __nonnull markings.
27015 2015-07-27  Andreas Schwab  <schwab@suse.de>
27017         * conform/conformtest.pl (checknamespace): Filter out string
27018         literals while tokenizing.
27020 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
27022         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
27023         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
27024         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
27026 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
27028         * nptl/tst-join7mod.c: Add #include <string.h>.
27030 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
27032         * sysdeps/nios2/libm-test-ulps: Update.
27034 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
27036         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
27037         Fix order of arguments to the rt_sigprocmask syscall.
27038         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
27039         Likewise.
27041 2015-07-24  Roland McGrath  <roland@hack.frob.com>
27043         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
27045 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27047         [BZ #18457]
27048         * nptl/Makefile (tests): New test case tst-join7.
27049         (modules-names): New test case module tst-join7mod.
27050         * nptl/tst-join7.c: New file.
27051         * nptl/tst-join7mod.c: New file.
27052         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
27053         all translation units in libc.so, libpthread.so and rtld.
27055 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27057         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27059 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
27061         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
27062         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
27063         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
27064         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
27065         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
27066         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
27067         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
27068         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
27069         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
27070         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
27071         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
27072         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
27073         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
27074         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
27075         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
27076         implementation.
27078 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27080         [BZ #17711]
27081         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
27082         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
27083         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
27084         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
27085         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
27086         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
27088 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27090         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
27091         instead of just saying load lock in the comments.
27093 2015-07-23  Roland McGrath  <roland@hack.frob.com>
27095         * sysdeps/unix/Subdirs: Moved ...
27096         * sysdeps/posix/Subdirs: ... here.
27097         * login/pty.h (struct termios, struct winsize): Add forward decls.
27098         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
27099         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
27100         * sysdeps/arm/nacl/libc.abilist: Updated.
27101         * sysdeps/nacl/libutil.abilist: New file.
27103         * bits/signum.h: Update comments to mention 1003.1-2013 too.
27104         (SIGWINCH): New macro.
27106         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
27107         * sysdeps/arm/nacl/libc.abilist: Add it.
27109 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
27111         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
27113 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
27115         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
27116         Swap __glibc_reserved0 and sa_flags order.
27118 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
27120         [BZ #18657]
27121         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
27122         are pending TLS destructor calls.
27123         * include/link.h (struct link_map): Add concurrency note for
27124         L_TLS_DTOR_COUNT.
27125         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
27126         Don't touch the link map flag.  Atomically increment
27127         l_tls_dtor_count.
27128         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
27129         Avoid taking the load lock and don't touch the link map flag.
27130         * stdlib/tst-tls-atexit-nodelete.c: New test case.
27131         * stdlib/Makefile (tests): Use it.
27132         * stdlib/tst-tls-atexit.c (do_test): dlopen
27133         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
27134         to allow tst-tls-atexit-nodelete test case to use it.
27136 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
27138         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
27139         to bits/types.h.
27140         (msgqnum_t): New typedef.
27141         (msglen_t): Likewise.
27142         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
27143         and msg_qbytes type to msglen_t.
27145 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
27147         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
27148         pad0 to __glibc_reserved0.
27149         (struct stat64): Likewise.
27151 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
27153         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
27154         Change sa_flags from a long to an int and add __glibc_reserved0 before
27155         it for padding.
27157 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
27159         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
27160         anonymous by deleting "siginfo" name.
27162 2015-07-21  Roland McGrath  <roland@hack.frob.com>
27164         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
27165         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
27166         rather than __nacl_irt_filename.
27167         * sysdeps/nacl/xstat.c (__xstat): Likewise.
27169         * NEWS: New item for arm-nacl port.
27170         * sysdeps/arm/nacl/libc.abilist: New file.
27171         * sysdeps/nacl/ld.abilist: New file.
27172         * sysdeps/nacl/libBrokenLocale.abilist: New file.
27173         * sysdeps/nacl/libanl.abilist: New file.
27174         * sysdeps/nacl/libcrypt.abilist: New file.
27175         * sysdeps/nacl/libdl.abilist: New file.
27176         * sysdeps/nacl/libm.abilist: New file.
27177         * sysdeps/nacl/libpthread.abilist: New file.
27178         * sysdeps/nacl/libresolv.abilist: New file.
27179         * sysdeps/nacl/librt.abilist: New file.
27181 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
27183         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
27184         __startcontext to initialize the new context.
27185         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
27186         up CFI directive to forbid further backtracing.
27188 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
27190         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
27191         reference.
27192         * charmaps/ANSI_X3.4-1968: Likewise.
27193         * charmaps/BS_4730: Likewise.
27194         * charmaps/BS_VIEWDATA: Likewise.
27195         * charmaps/CP1250: Likewise.
27196         * charmaps/CP1251: Likewise.
27197         * charmaps/CP1252: Likewise.
27198         * charmaps/CP1253: Likewise.
27199         * charmaps/CP1254: Likewise.
27200         * charmaps/CP1255: Likewise.
27201         * charmaps/CP1256: Likewise.
27202         * charmaps/CSN_369103: Likewise.
27203         * charmaps/EBCDIC-DK-NO: Likewise.
27204         * charmaps/GB_1988-80: Likewise.
27205         * charmaps/GREEK-CCITT: Likewise.
27206         * charmaps/GREEK7: Likewise.
27207         * charmaps/INIS-8: Likewise.
27208         * charmaps/ISIRI-3342: Likewise.
27209         * charmaps/ISO_2033-1983: Likewise.
27210         * charmaps/ISO_5427-EXT: Likewise.
27211         * locales/POSIX: Likewise.
27212         * locales/ar_SA: Likewise.
27213         * locales/be_BY: Likewise.
27214         * locales/be_BY@latin: Likewise.
27215         * locales/ca_ES: Likewise.
27216         * locales/cs_CZ: Likewise.
27217         * locales/da_DK: Likewise.
27218         * locales/de_BE: Likewise.
27219         * locales/de_CH: Likewise.
27220         * locales/de_LU: Likewise.
27221         * locales/en_AU: Likewise.
27222         * locales/en_BW: Likewise.
27223         * locales/en_CA: Likewise.
27224         * locales/en_DK: Likewise.
27225         * locales/en_GB: Likewise.
27226         * locales/en_IE: Likewise.
27227         * locales/en_NZ: Likewise.
27228         * locales/en_ZA: Likewise.
27229         * locales/en_ZW: Likewise.
27230         * locales/es_AR: Likewise.
27231         * locales/es_BO: Likewise.
27232         * locales/es_CL: Likewise.
27233         * locales/es_CO: Likewise.
27234         * locales/es_DO: Likewise.
27235         * locales/es_EC: Likewise.
27236         * locales/es_ES: Likewise.
27237         * locales/es_HN: Likewise.
27238         * locales/es_MX: Likewise.
27239         * locales/es_PA: Likewise.
27240         * locales/es_PE: Likewise.
27241         * locales/es_PY: Likewise.
27242         * locales/es_SV: Likewise.
27243         * locales/es_US: Likewise.
27244         * locales/es_UY: Likewise.
27245         * locales/es_VE: Likewise.
27246         * locales/et_EE: Likewise.
27247         * locales/fa_IR: Likewise.
27248         * locales/fo_FO: Likewise.
27249         * locales/fr_CA: Likewise.
27250         * locales/fr_CH: Likewise.
27251         * locales/gv_GB: Likewise.
27252         * locales/he_IL: Likewise.
27253         * locales/hr_HR: Likewise.
27254         * locales/id_ID: Likewise.
27255         * locales/is_IS: Likewise.
27256         * locales/it_CH: Likewise.
27257         * locales/iw_IL: Likewise.
27258         * locales/kl_GL: Likewise.
27259         * locales/ko_KR: Likewise.
27260         * locales/kw_GB: Likewise.
27261         * locales/lg_UG: Likewise.
27262         * locales/lt_LT: Likewise.
27263         * locales/lv_LV: Likewise.
27264         * locales/mi_NZ: Likewise.
27265         * locales/nhn_MX: Likewise.
27266         * locales/nl_BE: Likewise.
27267         * locales/pl_PL: Likewise.
27268         * locales/sk_SK: Likewise.
27269         * locales/sl_SI: Likewise.
27270         * locales/sv_FI: Likewise.
27271         * locales/tl_PH: Likewise.
27272         * locales/tr_TR: Likewise.
27273         * locales/vi_VN: Likewise.
27275 2015-07-21  Khem Raj  <raj.khem@gmail.com>
27277         [BZ #17475]
27278         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
27279         of tu_IN and bh_IN.
27281 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
27283         [BZ #18694]
27284         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
27285         bits/wordsize.h.
27286         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
27288 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27290         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
27291         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
27292         (spawn_thread): New function.
27293         (load): Rename to reg_dtor_and_close.  Move dlopen to...
27294         (do_test): ... here.  Use IS_LOADED to test for its
27295         availability.
27297 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
27299         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
27301 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
27303         [BZ #18696]
27304         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
27305         si_addr_bnd.
27306         (si_lower): New.
27307         (si_upper): Likewise.
27309 2015-07-16  David S. Miller  <davem@davemloft.net>
27311         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
27313 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27315         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
27316         buffer.
27317         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
27318         fail output information.
27320 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27322         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
27323         and strstr-ppc64..
27324         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
27325         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
27326         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
27327         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
27328         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
27330 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
27332         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
27333         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
27334         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
27335         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
27337 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
27339         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
27340         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
27341         rtld_hidden_proto.
27342         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
27344 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27346         * tst-nodelete-opened.c (do_test): Add comment to clarify how
27347         the test can fail.
27349         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
27351         [BZ #18676]
27352         * elf/tst-nodelete-opened.c: New test case.
27353         * elf/tst-nodelete-opened-lib.c: New test case module.
27354         * elf/Makefile (tests, modules-names): Use them.
27355         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
27356         early.
27358 2015-07-15  David S. Miller  <davem@davemloft.net>
27360         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
27361         futex-intenal.h
27362         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
27363         * sysdeps/sparc/sparc64/Makefile: Likewise.
27364         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
27365         Remove space from macro define.
27366         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
27368 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
27370         [BZ #17475]
27371         * locale/iso-639.def: Update Bhili and Tulu language codes as
27372         per iso639-3.
27374 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
27376         * elf/tst-leaks1.c (main): Converted to ...
27377         (do_test): ... this.
27378         (TEST_FUNCTION): New macro.
27379         Include test-skeleton.c.
27380         * localedata/tst-langinfo.c (main): Converted to ...
27381         (do_test): ... this.
27382         (TEST_FUNCTION): New macro.
27383         Include test-skeleton.c.
27384         * math/test-fpucw.c (main): Converted to ...
27385         (do_test): ... this.
27386         (TEST_FUNCTION): New macro.
27387         Include test-skeleton.c.
27388         * math/test-tgmath.c (main): Converted to ...
27389         (do_test): ... this.
27390         (TEST_FUNCTION): New macro.
27391         Include test-skeleton.c.
27392         * math/test-tgmath2.c (main): Converted to ...
27393         (do_test): ... this.
27394         (TEST_FUNCTION): New macro.
27395         Include test-skeleton.c.
27396         * setjmp/tst-setjmp.c (main): Converted to ...
27397         (do_test): ... this.
27398         (TEST_FUNCTION): New macro.
27399         Include test-skeleton.c.
27400         * stdio-common/tst-sscanf.c (main): Converted to ...
27401         (do_test): ... this.
27402         (TEST_FUNCTION): New macro.
27403         Include test-skeleton.c.
27404         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
27405         (do_test): ... this.
27406         (TEST_FUNCTION): New macro.
27407         Include test-skeleton.c.
27409         * elf/tst-audit9.c (main): Converted to ...
27410         (do_test): ... this.
27411         (TEST_FUNCTION): New macro.
27412         Include test-skeleton.c.
27414 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
27416         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
27418 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
27420         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
27421         New variable.
27423 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
27425         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
27427 2015-07-14  Roland McGrath  <roland@hack.frob.com>
27429         * sysdeps/generic/dl-fileid.h: New file.
27430         * sysdeps/posix/dl-fileid.h: New file.
27431         * sysdeps/nacl/dl-fileid.h: New file.
27432         * include/link.h: Include <dl-fileid.h>.
27433         (struct link_map): Replace l_dev and l_ino with l_file_id.
27434         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
27435         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
27436         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
27438 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27440         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
27442 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27444         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
27445         Add iff $CXX is set.
27446         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
27447         Likewise.
27448         (tst-nodelete-zmodiff): Likewise.
27449         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
27451 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27453         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
27455 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
27457         * sysdeps/aarch64/fpu/math_private.h
27458         (define math_opt_barrier): Add AArch64 version.
27459         (math_force_eval): Likewise.
27461 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
27463         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
27465 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
27467         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
27468         %ld with %jd and cast to intmax_t.
27469         (do_test_length_zero): Likewise.
27471 2015-07-10  Roland McGrath  <roland@hack.frob.com>
27473         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
27475 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
27477         * sysdeps/tile/libm-test-ulps: Regenerated.
27479         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
27480         Comment out the whole function, not just its body.
27482 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27484         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
27485         locks.
27487         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
27489 2015-07-10  Torvald Riegel  <triegel@redhat.com>
27491         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
27492         (sem_assume_only_signals_cause_futex_EINTR): Remove.
27494 2015-07-10  Torvald Riegel  <triegel@redhat.com>
27496         * sysdeps/nptl/futex-internal.h: New file.
27497         * sysdeps/nacl/futex-internal.h: New file.
27498         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
27499         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
27500         error checking.
27501         (setxid_unmark_thread): Likewise.
27502         (__nptl_setxid): Likewise.
27503         (__wait_lookup_done): Likewise.
27504         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
27505         * nptl/nptl-init.c (sighandler_setxid): Likewise.
27506         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
27507         * nptl/pthread_once.c (clear_once_control): Likewise.
27508         (__pthread_once_slow): Likewise.
27509         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
27510         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
27511         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
27512         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
27513         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
27514         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
27515         Likewise.
27516         (__pthread_rwlock_rdlock): Likewise.
27517         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
27518         Likewise.
27519         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
27520         Likewise.
27521         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
27522         Likewise.
27523         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
27524         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
27525         Likewise.
27526         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
27527         __ASSUME_PRIVATE_FUTEX check.
27528         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
27529         Check that shared futexes are supported.
27530         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
27531         wrappers with error checking.
27532         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
27533         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
27534         * nptl/pthread_barrierattr_setpshared.c
27535         (pthread_barrierattr_setpshared): Check that shared futexes are
27536         supported.
27537         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
27538         Likewise.
27539         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
27540         Likewise.
27541         * nptl/sem_init.c (futex_private_if_supported): Remove.
27542         (__new_sem_init): Adapt and check that shared futexes are supported.
27543         * nptl/sem_open.c (sem_open): Likewise.
27544         * nptl/sem_post.c (futex_wake): Remove.
27545         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
27546         (do_futex_wait): Use futex wrappers with error checking.
27547         * nptl/sem_wait.c: Include lowlevellock.h.
27548         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
27549         Use futex_supports_pshared.
27550         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
27551         Use futex wrappers with error checking.
27552         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
27553         Likewise.
27554         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
27555         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
27556         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
27557         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
27558         (futex_wake): Likewise.
27559         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
27560         (do_futex_wait): Use futex wrappers with error checking.
27561         (__new_sem_wait_slow): Update EINTR handling.
27562         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
27564 2015-07-09  Martin Sebor  <msebor@redhat.com>
27566         [BZ #18435]
27567         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
27568         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
27569         * nptl/Makefile (test-xfail-tst-once5): Define.
27571 2015-07-09  Roland McGrath  <roland@hack.frob.com>
27573         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
27574         * elf/dl-minimal.c: For readability, reorder some definitions and
27575         introduce more page breaks.  Include <stdio.h>.
27576         (__libc_fatal): New function.
27578         * include/unistd.h: Add rtld_hidden_proto for _exit.
27579         * posix/_exit.c: Add rtld_hidden_def.
27580         * sysdeps/mach/hurd/_exit.c: Likewise.
27581         * sysdeps/nacl/_exit.c: Likewise.
27582         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
27583         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
27585 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
27587         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
27588         bndmov encoding with zero displacement.
27590 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
27591             H.J. Lu  <hongjiu.lu@intel.com>
27593         [BZ #18134]
27594         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
27595         * sysdeps/i386/configure: Regenerated.
27596         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
27597         (_dl_runtime_profile): Save and restore Intel MPX return bound
27598         registers when calling _dl_call_pltexit.  Add
27599         PRESERVE_BND_REGS_PREFIX before return.
27600         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
27601         (LRV_BND1_OFFSET): Likewise.
27602         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
27603         lrv_bnd1.
27604         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
27605         typo in bndmov encoding.
27606         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
27607         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
27608         branch instructions to preserve bounds.
27610 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
27613         [GLIBC_2.22]: Add fmemopen.
27615 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27617         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
27618         returns an error, also try to use host port from __mach_host_self for
27619         the __vm_wire call.
27620         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
27622 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27624         [BZ #18400]
27625         [BZ #18648]
27626         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
27627         Fix pr_uid and pr_gid members.
27628         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
27629         definition to elf_greg_t.
27631 2015-07-08  Roland McGrath  <roland@hack.frob.com>
27633         [BZ #18383]
27634         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
27635         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
27636         * sysdeps/arm/configure: Regenerated.
27637         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
27638         (test-xfail-tst-tlsalign-static): Variable removed.
27640         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
27641         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
27642         rather than explicit 'ln -s'.
27644         * resolv/rpc/netdb.h: New file.
27645         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
27647 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27649         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
27650         length buffers.
27651         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
27652         test-skeleton.c.
27654         [BZ #6544]
27655         [BZ #11216]
27656         [BZ #12836]
27657         [BZ #13151]
27658         [BZ #13152]
27659         [BZ #14292]
27660         * include/stdio.h (fmemopen): Remove hidden prototype.
27661         (__fmemopen): Add new hidden prototype.
27662         * libio/Makefile: Add oldfmemopen object.
27663         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
27664         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
27665         compliance.
27666         * libio/oldfmemopen.c: New file: old fmemopen implementation for
27667         symbol compatibility.
27668         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
27669         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
27670         fmemopen.
27671         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
27672         on append and read mode.
27673         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
27674         fmemopen.
27675         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
27676         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
27677         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
27678         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
27679         Likewise.
27680         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
27681         [GLIBC_2.22]: Likewise.
27682         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
27683         Likewise.
27684         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
27685         Likewise.
27686         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
27687         [GLIBC_2.22]: Likewise.
27688         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
27689         [GLIBC_2.22]: Likewise.
27690         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
27691         [GLIBC_2.22]: Likewise.
27692         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
27693         [GLIBC_2.22]: Likewise.
27694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
27695         [GLIBC_2.22]: Likewise.
27696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
27697         [GLIBC_2.22]: Likewise.
27698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
27699         [GLIBC_2.22]: Likewise.
27700         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
27701         Likewise.
27702         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
27703         Likewise.
27704         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
27705         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
27706         [GLIBC_2.22]: Likewise.
27707         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
27708         [GLIBC_2.22]: Likewise.
27709         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
27710         [GLIBC_2.22]: Likewise.
27711         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
27712         [GLIBC_2.22]: Likewise.
27713         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
27714         Likewise.
27715         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
27716         Likewise.
27717         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
27718         Likewise.
27719         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
27720         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
27722 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
27724         [BZ #18643]
27725         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
27726         IPV6_PATHMTU, and IPV6_DONTFRAG.
27728 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
27730         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
27731         and _IO_UNBUFFERED.
27732         * libio/oldfileops.c: Likewise.
27733         * libio/wfileops.c: Likewise.
27735 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
27737         * nscd/selinux.c: Delete selinux/flask.h include.
27739 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
27741         [BZ #18641]
27742         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
27743         (putpwent): Likewise.
27744         (getpwnam): Likewise.
27745         (getpwent_r): Likewise.
27746         (getpwuid_r): Likewise.
27747         (getpwnam_r): Likewise.
27748         (fgetpwent_r): Likewise.
27750 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
27752         [BZ #18557]
27753         * inet/rcmd.c (__validuser2_sa): Check user first to
27754         short-circuit host check.
27756 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
27757             Mikhail Ilin  <m.ilin@samsung.com>
27759         [BZ #17833]
27760         * elf/Makefile (tests): Add tst-nodelete.
27761         (modules-names): Add tst-nodelete-uniquemod.
27762         (tst-nodelete-uniquemod.so-no-z-defs): New.
27763         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
27764         (tst-nodelete-zmod.so-no-z-defs): Likewise.
27765         ($(objpfx)tst-nodelete): Likewise.
27766         ($(objpfx)tst-nodelete.out): Likewise.
27767         (LDFLAGS-tst-nodelete): Likewise.
27768         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
27769         * elf/dl-close.c (_dl_close_worker): Add a parameter to
27770         implement forced object deletion.
27771         (_dl_close): Pass false to _dl_close_worker.
27772         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
27773         * elf/tst-nodelete.cc: New file.
27774         * elf/tst-nodeletelib.cc: Likewise.
27775         * elf/tst-znodeletelib.cc: Likewise.
27776         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
27778 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
27780         [BZ #18508]
27781         * stdlib/Makefile ($(objpfx)tst-makecontext3):
27782         Depend on $(libdl).
27783         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
27784         is not called infinitely times.
27785         (backtrace_helper): New function.
27786         (trace_arg): New struct.
27787         (st1): Enlarge stack size.
27788         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
27789         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
27790         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
27791         Likewise.
27793 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
27795         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
27797 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
27799         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
27800         Include sys/types.h instead of bits/types.h.
27801         Remove inclusion of bits/wordsize.h.
27803 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
27805         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
27806         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
27807         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
27808         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
27809         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
27810         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
27812 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
27814         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
27815         link-defines.sym.
27816         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
27817         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
27818         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
27819         and LR_SIZE.
27820         * sysdeps/i386/link-defines.sym: New file.
27822 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
27824         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
27825         (modules-names): Add tst-auditmod3a tst-auditmod3b.
27826         ($(objpfx)tst-audit3): New rule.
27827         ($(objpfx)tst-audit3.out): Likewise.
27828         * sysdeps/i386/tst-audit3.c: New file.
27829         * sysdeps/i386/tst-audit3.h: Likewise.
27830         * sysdeps/i386/tst-auditmod3a.c: Likewise.
27831         * sysdeps/i386/tst-auditmod3b.c: Likewise.
27833 2015-07-07  Torvald Riegel  <triegel@redhat.com>
27835         [BZ #18633]
27836         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
27837         pointer in C code.
27838         (__strcat_c): Likewise.
27839         (__strcat_g): Likewise.
27841 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
27843         [BZ #18592]
27844         * misc/sbrk.c: Set errno to ENOMEM on overflow.
27846 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
27848         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
27849         New function.  (__ieee754_sqrtf): New function.
27850         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
27851         New function.
27852         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
27853         New function.
27855 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
27857         * sysdeps/ieee754/support.c: Remove unused file.
27859 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27861         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
27862         registers instead of d ones so the layout is kernel abi compatible.
27863         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
27864         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
27865         Likewise.
27867 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27869         * sysdeps/aarch64/libm-test-ulps: Regenerated.
27871 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
27873         [BZ #18619]
27874         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
27875         and return argument in case of subnormal argument.
27877 2015-07-01  Martin Sebor  <msebor@redhat.com>
27879         [BZ #18435]
27880         * nptl/Makefile: Add tst-once5.cc.
27881         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
27882         Remove macro redefinitions.
27883         * nptl/tst-once5.cc: New test.
27885 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
27887         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27889         * sysdeps/arm/libm-test-ulps: Regenerated.
27891         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
27892         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27894 2015-06-30  Torvald Riegel  <triegel@redhat.com>
27896         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
27897         lll_lock_wait_private and lll_futex_wake probes.
27899         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
27900         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
27901         Likewise.
27902         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
27903         atomic_spin_nop.
27904         * sysdeps/x86_64/bits/atomic.h: Likewise.
27905         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
27906         to atomic_spin_nop and move ...
27907         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
27908         ... here and ...
27909         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
27910         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
27911         atomic_spin_nop instead of BUSY_WAIT_NOP.
27912         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
27913         Likewise.
27914         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
27915         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
27916         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
27917         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
27918         instead of atomic_delay.
27920 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
27922         [BZ #18613]
27923         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
27924         X_ADJ not X when adjusting exponent.
27925         (__ieee754_gamma_r): Do intermediate computations in
27926         round-to-nearest then adjust overflowing and underflowing results
27927         as needed.
27928         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
27929         of X_ADJ not X when adjusting exponent.
27930         (__ieee754_gammaf_r): Do intermediate computations in
27931         round-to-nearest then adjust overflowing and underflowing results
27932         as needed.
27933         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
27934         log of X_ADJ not X when adjusting exponent.
27935         (__ieee754_gammal_r): Do intermediate computations in
27936         round-to-nearest then adjust overflowing and underflowing results
27937         as needed.  Use 1.0L not 1.0f as numerator of division.
27938         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
27939         log of X_ADJ not X when adjusting exponent.
27940         (__ieee754_gammal_r): Do intermediate computations in
27941         round-to-nearest then adjust overflowing and underflowing results
27942         as needed.  Use 1.0L not 1.0f as numerator of division.
27943         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
27944         of X_ADJ not X when adjusting exponent.
27945         (__ieee754_gammal_r): Do intermediate computations in
27946         round-to-nearest then adjust overflowing and underflowing results
27947         as needed.  Use 1.0L not 1.0f as numerator of division.
27948         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
27949         to auto-libm-test-in.
27950         (tgamma_test): Use ALL_RM_TEST.
27951         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
27952         tests of tgamma with spurious-overflow.
27953         * math/auto-libm-test-out: Regenerated.
27954         * math/gen-libm-have-vector-test.sh: Do not check for START.
27955         * sysdeps/i386/fpu/libm-test-ulps: Update.
27956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27958         [BZ #18612]
27959         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
27960         arguments, just return 0.5 times the argument, with underflow
27961         forced as needed.
27962         * math/auto-libm-test-in: Add more tests of j1.
27963         * math/auto-libm-test-out: Regenerated.
27965         [BZ #16559]
27966         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
27967         (__ieee754_j1): Force underflow exception for small results.
27968         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
27969         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
27970         (__ieee754_j1f): Force underflow exception for small results.
27971         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
27972         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
27973         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
27974         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
27975         (__ieee754_j1l): Force underflow exception for small results.
27976         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
27977         * math/auto-libm-test-in: Add more tests of j1 and jn.
27978         * math/auto-libm-test-out: Regenerated.
27980         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
27981         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
27982         (PF_MPLS): Likewise.
27983         (AF_IB): Likewise.
27984         (AF_MPLS): Likewise.
27985         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
27986         value and macro.
27987         (MS_RMT_MASK): Include MS_LAZYTIME.
27989 2015-06-26  Mel Gorman  <mgorman@suse.de>
27991         [BZ #18502]
27992         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
27993         already minimal.
27995 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
27997         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
27998         (DT_MIPS_NUM): Update.
27999         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
28000         DT_MIPS_RLD_MAP_REL.
28002 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
28004         [BZ #16559]
28005         [BZ #18602]
28006         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
28007         round-to-nearest internally then recompute results that
28008         underflowed to zero in the original rounding mode.
28009         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
28010         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
28011         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
28012         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
28013         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
28014         * sysdeps/i386/fpu/libm-test-ulps: Update.
28015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28017 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
28019         * NEWS: Fixed description of link with vector math library.
28021 2015-06-25  Andreas Schwab  <schwab@suse.de>
28023         [BZ #18549]
28024         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
28025         * libio/test-fmemopen.c (do_test): Add test for it.
28027 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
28029         [BZ #17841]
28030         * Makeconfig (no-pie-ldflag): New.
28031         (+link): Set to $(+link-pie) if default to PIE.
28032         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
28033         * config.make.in (build-pie-default): New.
28034         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
28035         is default.  AC_SUBST.
28036         * configure: Regenerated.
28037         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
28039 2015-06-24  Roland McGrath  <roland@hack.frob.com>
28041         * nptl/descr.h (struct pthread): Change type of field setxid_futex
28042         to 'unsigned int'.
28044         * resolv/gai_misc.h (struct waitlist): Change type of field
28045         counterp to 'volatile unsigned int *'.
28046         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
28047         FUTEXADDR and OLDVAL.
28048         * resolv/getaddrinfo_a.c (getaddrinfo_a):
28049         Give local variable TOTAL type 'volatile unsigned int'.
28050         (struct async_waitlist): Change type of field counter to 'unsigned int'.
28051         * resolv/gai_suspend.c (gai_suspend):
28052         Give local variable CNTR type 'unsigned int'.
28054         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
28055         counterp to 'volatile unsigned int *'.
28056         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
28057         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
28058         (aio_suspend): Give local variable CNTR type 'unsigned int'.
28059         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
28060         Give local variable TOTAL type 'volatile unsigned int'.
28061         (struct async_waitlist): Change type of field counter to 'unsigned int'.
28063 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
28065         [BZ #18383]
28066         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
28067         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
28068         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
28069         comment for i386/x86-64.
28070         (test-xfail-tst-tlsalign-extern-static): Removed.
28072 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
28074         * math/test-double.h: New file.
28075         * math/test-float.h: Likewise.
28076         * math/test-ldouble.h: Likewise.
28077         * math/test-math-inline.h: Likewise.
28078         * math/test-math-no-inline.h: Likewise.
28079         * math/test-math-scalar.h: Likewise.
28080         * math/test-math-vector.h: Likewise.
28081         * math/test-vec-loop.h: Remove file.  Contents moved into
28082         test-math-vector.h.
28083         * math/libm-test.inc (MATHCONST): Do not document macro.
28084         * math/test-double.c: Include test-double.h, test-math-no-inline.h
28085         and test-math-scalar.h.
28086         (FUNC): Remove macro.
28087         (FUNC_TEST): Likewise.
28088         (FLOAT): Likewise.
28089         (MATHCONST): Likewise.
28090         (PRINTF_EXPR): Likewise.
28091         (PRINTF_XEXPR): Likewise.
28092         (PRINTF_NEXPR): Likewise.
28093         (TEST_DOUBLE): Likewise.
28094         (TEST_MATHVEC): Likewise.
28095         (__NO_MATH_INLINES): Likewise.
28096         * math/test-float.c: Include test-float.h, test-math-no-inline.h
28097         and test-math-scalar.h.
28098         (FUNC): Remove macro.
28099         (FUNC_TEST): Likewise.
28100         (FLOAT): Likewise.
28101         (MATHCONST): Likewise.
28102         (PRINTF_EXPR): Likewise.
28103         (PRINTF_XEXPR): Likewise.
28104         (PRINTF_NEXPR): Likewise.
28105         (TEST_FLOAT): Likewise.
28106         (TEST_MATHVEC): Likewise.
28107         (__NO_MATH_INLINES): Likewise.
28108         * math/test-idouble.c: Include test-double.h, test-math-inline.h
28109         and test-math-scalar.h.
28110         (FUNC): Remove macro.
28111         (FUNC_TEST): Likewise.
28112         (FLOAT): Likewise.
28113         (MATHCONST): Likewise.
28114         (PRINTF_EXPR): Likewise.
28115         (PRINTF_XEXPR): Likewise.
28116         (PRINTF_NEXPR): Likewise.
28117         (TEST_DOUBLE): Likewise.
28118         (TEST_MATHVEC): Likewise.
28119         (TEST_INLINE): Likewise.
28120         (__NO_MATH_INLINES): Likewise.
28121         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
28122         test-math-scalar.h.
28123         (FUNC): Remove macro.
28124         (FUNC_TEST): Likewise.
28125         (FLOAT): Likewise.
28126         (MATHCONST): Likewise.
28127         (PRINTF_EXPR): Likewise.
28128         (PRINTF_XEXPR): Likewise.
28129         (PRINTF_NEXPR): Likewise.
28130         (TEST_FLOAT): Likewise.
28131         (TEST_MATHVEC): Likewise.
28132         (TEST_INLINE): Likewise.
28133         (__NO_MATH_INLINES): Likewise.
28134         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
28135         and test-math-scalar.h.
28136         (FUNC): Remove macro.
28137         (FUNC_TEST): Likewise.
28138         (FLOAT): Likewise.
28139         (MATHCONST): Likewise.
28140         (PRINTF_EXPR): Likewise.
28141         (PRINTF_XEXPR): Likewise.
28142         (PRINTF_NEXPR): Likewise.
28143         (TEST_LDOUBLE): Likewise.
28144         (TEST_MATHVEC): Likewise.
28145         (TEST_INLINE): Likewise.
28146         (__NO_MATH_INLINES): Likewise.
28147         * math/test-ldouble.c: Include test-ldouble.h,
28148         test-math-no-inline.h and test-math-scalar.h.
28149         (FUNC): Remove macro.
28150         (FUNC_TEST): Likewise.
28151         (FLOAT): Likewise.
28152         (MATHCONST): Likewise.
28153         (PRINTF_EXPR): Likewise.
28154         (PRINTF_XEXPR): Likewise.
28155         (PRINTF_NEXPR): Likewise.
28156         (TEST_LDOUBLE): Likewise.
28157         (TEST_MATHVEC): Likewise.
28158         (__NO_MATH_INLINES): Likewise.
28159         * math/test-double-vlen2.h: Include test-double.h,
28160         test-math-no-inline.h and test-math-vector.h.
28161         (FLOAT): Remove macro.
28162         (FUNC): Likewise.
28163         (MATHCONST): Likewise.
28164         (PRINTF_EXPR): Likewise.
28165         (PRINTF_XEXPR): Likewise.
28166         (PRINTF_NEXPR): Likewise.
28167         (TEST_DOUBLE): Likewise.
28168         (TEST_MATHVEC): Likewise.
28169         (__NO_MATH_INLINES): Likewise.
28170         (CNCT): Likewise.
28171         (CONCAT): Likewise.
28172         (WRAPPER_NAME): Likewise.
28173         (WRAPPER_DECL): Likewise.
28174         (WRAPPER_DECL_ff): Likewise.
28175         (WRAPPER_DECL_fFF): Likewise.
28176         (VECTOR_WRAPPER): Likewise.
28177         (VECTOR_WRAPPER_ff): Likewise.
28178         (VECTOR_WRAPPER_fFF): Likewise.
28179         (VEC_LEN): New macro.
28180         * math/test-double-vlen4.h: Include test-double.h,
28181         test-math-no-inline.h and test-math-vector.h.
28182         (FLOAT): Remove macro.
28183         (FUNC): Likewise.
28184         (MATHCONST): Likewise.
28185         (PRINTF_EXPR): Likewise.
28186         (PRINTF_XEXPR): Likewise.
28187         (PRINTF_NEXPR): Likewise.
28188         (TEST_DOUBLE): Likewise.
28189         (TEST_MATHVEC): Likewise.
28190         (__NO_MATH_INLINES): Likewise.
28191         (CNCT): Likewise.
28192         (CONCAT): Likewise.
28193         (WRAPPER_NAME): Likewise.
28194         (WRAPPER_DECL): Likewise.
28195         (WRAPPER_DECL_ff): Likewise.
28196         (WRAPPER_DECL_fFF): Likewise.
28197         (VECTOR_WRAPPER): Likewise.
28198         (VECTOR_WRAPPER_ff): Likewise.
28199         (VECTOR_WRAPPER_fFF): Likewise.
28200         (VEC_LEN): New macro.
28201         * math/test-double-vlen8.h: Include test-double.h,
28202         test-math-no-inline.h and test-math-vector.h.
28203         (FLOAT): Remove macro.
28204         (FUNC): Likewise.
28205         (MATHCONST): Likewise.
28206         (PRINTF_EXPR): Likewise.
28207         (PRINTF_XEXPR): Likewise.
28208         (PRINTF_NEXPR): Likewise.
28209         (TEST_DOUBLE): Likewise.
28210         (TEST_MATHVEC): Likewise.
28211         (__NO_MATH_INLINES): Likewise.
28212         (CNCT): Likewise.
28213         (CONCAT): Likewise.
28214         (WRAPPER_NAME): Likewise.
28215         (WRAPPER_DECL): Likewise.
28216         (WRAPPER_DECL_ff): Likewise.
28217         (WRAPPER_DECL_fFF): Likewise.
28218         (VECTOR_WRAPPER): Likewise.
28219         (VECTOR_WRAPPER_ff): Likewise.
28220         (VECTOR_WRAPPER_fFF): Likewise.
28221         (VEC_LEN): New macro.
28222         * math/test-float-vlen4.h: Include test-float.h,
28223         test-math-no-inline.h and test-math-vector.h.
28224         (FLOAT): Remove macro.
28225         (FUNC): Likewise.
28226         (MATHCONST): Likewise.
28227         (PRINTF_EXPR): Likewise.
28228         (PRINTF_XEXPR): Likewise.
28229         (PRINTF_NEXPR): Likewise.
28230         (TEST_FLOAT): Likewise.
28231         (TEST_MATHVEC): Likewise.
28232         (__NO_MATH_INLINES): Likewise.
28233         (CNCT): Likewise.
28234         (CONCAT): Likewise.
28235         (WRAPPER_NAME): Likewise.
28236         (WRAPPER_DECL): Likewise.
28237         (WRAPPER_DECL_ff): Likewise.
28238         (WRAPPER_DECL_fFF): Likewise.
28239         (VECTOR_WRAPPER): Likewise.
28240         (VECTOR_WRAPPER_ff): Likewise.
28241         (VECTOR_WRAPPER_fFF): Likewise.
28242         (VEC_LEN): New macro.
28243         * math/test-float-vlen8.h: Include test-float.h,
28244         test-math-no-inline.h and test-math-vector.h.
28245         (FLOAT): Remove macro.
28246         (FUNC): Likewise.
28247         (MATHCONST): Likewise.
28248         (PRINTF_EXPR): Likewise.
28249         (PRINTF_XEXPR): Likewise.
28250         (PRINTF_NEXPR): Likewise.
28251         (TEST_FLOAT): Likewise.
28252         (TEST_MATHVEC): Likewise.
28253         (__NO_MATH_INLINES): Likewise.
28254         (CNCT): Likewise.
28255         (CONCAT): Likewise.
28256         (WRAPPER_NAME): Likewise.
28257         (WRAPPER_DECL): Likewise.
28258         (WRAPPER_DECL_ff): Likewise.
28259         (WRAPPER_DECL_fFF): Likewise.
28260         (VECTOR_WRAPPER): Likewise.
28261         (VECTOR_WRAPPER_ff): Likewise.
28262         (VECTOR_WRAPPER_fFF): Likewise.
28263         (VEC_LEN): New macro.
28264         * math/test-float-vlen16.h: Include test-float.h,
28265         test-math-no-inline.h and test-math-vector.h.
28266         (FLOAT): Remove macro.
28267         (FUNC): Likewise.
28268         (MATHCONST): Likewise.
28269         (PRINTF_EXPR): Likewise.
28270         (PRINTF_XEXPR): Likewise.
28271         (PRINTF_NEXPR): Likewise.
28272         (TEST_FLOAT): Likewise.
28273         (TEST_MATHVEC): Likewise.
28274         (__NO_MATH_INLINES): Likewise.
28275         (CNCT): Likewise.
28276         (CONCAT): Likewise.
28277         (WRAPPER_NAME): Likewise.
28278         (WRAPPER_DECL): Likewise.
28279         (WRAPPER_DECL_ff): Likewise.
28280         (WRAPPER_DECL_fFF): Likewise.
28281         (VECTOR_WRAPPER): Likewise.
28282         (VECTOR_WRAPPER_ff): Likewise.
28283         (VECTOR_WRAPPER_fFF): Likewise.
28284         (VEC_LEN): New macro.
28285         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
28286         test-vec-loop.h.
28287         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28288         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28289         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28290         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28291         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28292         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28293         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
28295 2015-06-24  Roland McGrath  <roland@hack.frob.com>
28297         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
28298         (__getlogin_r): ... this.
28300 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
28302         [BZ #18594]
28303         * math/s_ccosh.c (__ccosh): Compare with least normal value
28304         instead of comparing class with FP_SUBNORMAL.
28305         * math/s_ccoshf.c (__ccoshf): Likewise.
28306         * math/s_ccoshl.c (__ccoshl): Likewise.
28307         * math/s_cexp.c (__cexp): Likewise.
28308         * math/s_cexpf.c (__cexpf): Likewise.
28309         * math/s_cexpl.c (__cexpl): Likewise.
28310         * math/s_csin.c (__csin): Likewise.
28311         * math/s_csinf.c (__csinf): Likewise.
28312         * math/s_csinh.c (__csinh): Likewise.
28313         * math/s_csinhf.c (__csinhf): Likewise.
28314         * math/s_csinhl.c (__csinhl): Likewise.
28315         * math/s_csinl.c (__csinl): Likewise.
28316         * math/s_ctan.c (__ctan): Likewise.
28317         * math/s_ctanf.c (__ctanf): Likewise.
28318         * math/s_ctanh.c (__ctanh): Likewise.
28319         * math/s_ctanhf.c (__ctanhf): Likewise.
28320         * math/s_ctanhl.c (__ctanhl): Likewise.
28321         * math/s_ctanl.c (__ctanl): Likewise.
28322         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
28323         csin, csinh, ctan and ctanh.
28324         * math/auto-libm-test-out: Regenerated.
28325         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
28326         * sysdeps/i386/fpu/libm-test-ulps: Update.
28327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28329 2015-06-24  Roland McGrath  <roland@hack.frob.com>
28331         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
28332         return value is wrong, print the expected value too.
28334 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
28336         [BZ #18585]
28337         * elf/readlib.c (is_gdb_python_file): New.
28338         (process_file): Don't issue errors on filenames with -gdb.py
28339         suffix.
28341 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
28343         * math/auto-libm-test-in: Add more tests of csin and csinh.
28344         * math/auto-libm-test-out: Regenerated.
28345         * math/libm-test.inc (csin_test_data): Remove tests moved to
28346         auto-libm-test-in.
28347         (csinh_test_data): Likewise.
28349         [BZ #18593]
28350         * math/s_csin.c (__csin): Negate before rather than after possibly
28351         overflowing multiplication.
28352         * math/s_csinf.c (__csinf): Likewise.
28353         * math/s_csinh.c (__csinh): Likewise.
28354         * math/s_csinhf.c (__csinhf): Likewise.
28355         * math/s_csinhl.c (__csinhl): Likewise.
28356         * math/s_csinl.c (__csinl): Likewise.
28357         * math/auto-libm-test-in: Add some tests of csin and csinh.
28358         * math/auto-libm-test-out: Regenerated.
28359         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
28360         (csinh_test_data): Likewise.
28361         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28363         [BZ #18586]
28364         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
28365         underflow exception for small results.
28367 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
28369         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
28370         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
28371         variable and included header.
28372         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
28373         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
28374         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
28375         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
28376         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
28377         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
28378         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
28379         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
28380         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
28381         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
28382         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
28383         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
28384         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
28385         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
28386         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
28387         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
28389 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
28391         [BZ #16526]
28392         [BZ #16538]
28393         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
28394         (__sin): Force underflow exception for arguments with small
28395         absolute value.
28396         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
28397         (__kernel_sinf): Force underflow exception for arguments with
28398         small absolute value.
28399         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
28400         (__kernel_sincosl): Force underflow exception for arguments with
28401         small absolute value.
28402         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
28403         (__kernel_sinl): Force underflow exception for arguments with
28404         small absolute value.
28405         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
28406         (__kernel_sincosl): Force underflow exception for arguments with
28407         small absolute value.
28408         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
28409         (__kernel_sinl): Force underflow exception for arguments with
28410         small absolute value.
28411         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
28412         (__kernel_sinl): Force underflow exception for arguments with
28413         small absolute value.
28414         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
28415         (__kernel_sinf): Force underflow exception for arguments with
28416         small absolute value.
28417         * math/auto-libm-test-in: Add more tests of sin and sincos.
28418         * math/auto-libm-test-out: Regenerated.
28420         [BZ #18245]
28421         [BZ #18583]
28422         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
28423         (__kernel_standard_l): Use feholdexcept and fesetenv around
28424         conversion to double instead of special-casing overflow and
28425         underflow.
28426         * math/libm-test.inc (fmod_test_data): Add more tests.
28427         (remainder_test_data): Likewise.
28428         (sqrt_test_data): Likewise.
28430 2015-06-23  Torvald Riegel  <triegel@redhat.com>
28432         [BZ #17403]
28433         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
28434         atomic_read_barrier, atomic_write_barrier): Define.
28435         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
28436         atomic_read_barrier, atomic_write_barrier): Define.
28438 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
28440         * math/Makefile [$(PERL) != no]
28441         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
28442         dependency on libm-test.stmp below the inclusion of Rules.
28444 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
28446         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
28447         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
28448         and included header.
28449         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
28450         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
28451         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
28452         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
28453         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
28454         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
28455         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
28456         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
28457         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
28458         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
28459         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
28460         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
28461         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
28462         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
28463         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
28464         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
28465         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
28466         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
28467         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
28469 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
28471         [BZ #18371]
28472         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
28473         intermediate but not final result might underflow.
28474         * math/s_csqrtf.c (__csqrtf): Likewise.
28475         * math/s_csqrtl.c (__csqrtl): Likewise.
28476         * math/auto-libm-test-in: Add more tests of csqrt.
28477         * math/auto-libm-test-out: Regenerated.
28478         * sysdeps/i386/fpu/libm-test-ulps: Update.
28480         [BZ #18219]
28481         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
28482         threshold on absolute value of exponent for which scaling is used.
28483         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
28484         * math/auto-libm-test-in: Add more tests of exp2.
28485         * math/auto-libm-test-out: Regenerated.
28487 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
28489         [BZ #17977]
28490         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
28491         when initializing interface list, based on the bug analysis
28492         and the patch proposed by Eric Newton.
28493         * resolv/tst-res_hconf_reorder.c: New test.
28494         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
28495         tst-res_hconf_reorder.
28496         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
28497         and $(shared-thread-library).
28498         (tst-res_hconf_reorder-ENV): New variable.
28500         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
28501         in comment.
28503 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
28505         [BZ #16353]
28506         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
28507         (__expm1): Force underflow exception for arguments with small
28508         absolute value.
28509         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
28510         (__expm1f): Force underflow exception for arguments with small
28511         absolute value.
28512         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
28513         (__expm1): Force underflow exception for arguments with small
28514         absolute value.
28515         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
28516         (__expm1f): Force underflow exception for arguments with small
28517         absolute value.
28518         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
28519         Check for small arguments before calling __expm1.
28520         * math/auto-libm-test-in: Do not mark underflow exceptions as
28521         possibly missing for bug 16353.
28522         * math/auto-libm-test-out: Regenerated.
28524 2015-06-22  Andreas Schwab  <schwab@suse.de>
28526         [BZ #18513]
28527         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
28528         PTR queries.
28530 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
28532         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
28534         * string/strcoll_l.c: Remove unused struct element idxnow.
28536 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
28538         [BZ #18569]
28539         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
28540         underflow and return argument in case of subnormal argument.
28541         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
28542         Likewise.
28543         * math/auto-libm-test-in: Add more tests of expm1.
28544         * math/auto-libm-test-out: Regenerated.
28546         [BZ #16361]
28547         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
28548         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
28549         tiny results.
28550         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
28551         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
28552         tiny results.
28553         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
28554         mark underflow exceptions as possibly missing for bug 16361.
28555         * math/auto-libm-test-out: Regenerated.
28557 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
28559         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
28560         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
28561         Remove variable.
28562         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
28563         (test-xfail-XOPEN2K8/utmpx.h/conform).
28565         * conform/conformtest.pl ($xerrors): New variable.
28566         (note_error): New function.
28567         (compiletest): New argument $xfail.  Use not_error.
28568         (runtest): Likewise.
28569         (top level): Handle xfail- lines.  Update calls to compiletest and
28570         runtest.  Handle xfail- and optional- in headers listed with
28571         allow-header.
28572         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
28573         (O_EXEC): Likewise.
28574         (O_SEARCH): Likewise.
28575         * conform/data/stropts.h-data (ioctl): Likewise.
28576         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
28577         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
28578         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
28579         (msghdr.msg_controllen): Likewise.
28580         (cmsghdr.cmsg_len): Likewise.
28581         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
28582         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
28583         variable.
28584         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
28585         (test-xfail-XPG4/stropts.h/conform): Likewise.
28586         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
28587         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
28588         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
28589         (test-xfail-UNIX98/stropts.h/conform): Likewise.
28590         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
28591         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
28592         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
28593         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
28594         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
28595         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
28596         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
28597         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
28598         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
28599         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
28600         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
28601         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
28602         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
28603         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
28604         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
28606 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
28608         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
28609         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
28610         definitions for proper unfolding of __MATHDECL_VEC.
28612 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
28614         * benchtests/bench-strcoll.c:
28615         Include string.h.
28616         (main): Remove unused variable res.
28618 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
28620         * timezone/Makefile (%/UTC %/Universal):
28621         Generate test-result files for UTC and Universal.
28623 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
28625         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28627 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
28629         [BZ #16350]
28630         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
28631         for arguments with small absolute value.
28632         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
28633         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
28634         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
28635         (__asinh): Force underflow exception for arguments with small
28636         absolute value.
28637         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
28638         (__asinhf): Force underflow exception for arguments with small
28639         absolute value.
28640         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
28641         (__asinhl): Force underflow exception for arguments with small
28642         absolute value.
28643         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
28644         (__asinhl): Force underflow exception for arguments with small
28645         absolute value.
28646         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
28647         (__asinhl): Force underflow exception for arguments with small
28648         absolute value.
28649         * math/auto-libm-test-in: Do not mark underflow exceptions as
28650         possibly missing for bug 16350.
28651         * math/auto-libm-test-out: Regenerated.
28653         * include/bits/ipc.h: Remove file.
28654         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
28655         variable.
28656         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
28657         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
28658         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
28659         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
28660         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
28661         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
28662         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
28663         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
28664         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
28666         * math/auto-libm-test-in: Remove spurious underflow allowance for
28667         tests of cexp.
28668         * math/auto-libm-test-out: Regenerated.
28670         [BZ #18558]
28671         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
28672         unconditional definition.
28673         (MCAST_BLOCK_SOURCE): Likewise.
28674         (MCAST_UNBLOCK_SOURCE): Likewise.
28675         (MCAST_LEAVE_GROUP): Likewise.
28676         (MCAST_JOIN_SOURCE_GROUP): Likewise.
28677         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
28678         (MCAST_MSFILTER): Likewise.
28679         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
28680         Remove variable.
28681         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
28682         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
28683         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
28684         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
28685         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
28687 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
28689         * NEWS: Mention addition of x86_64 vector sincosf.
28690         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
28691         * math/test-float-vlen4.h: Likewise.
28692         * math/test-float-vlen8.h: Likewise.
28693         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28694         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
28695         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28696         * sysdeps/x86_64/fpu/Versions: New versions added.
28697         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28698         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28699         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28700         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
28701         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
28702         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
28703         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
28704         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
28705         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
28706         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
28707         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
28708         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
28709         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
28710         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
28711         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
28712         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
28713         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
28714         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
28715         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28716         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
28717         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28718         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
28719         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28720         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28722         * NEWS: Mention addition of x86_64 vector sincos.
28723         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
28724         * math/math.h (__MATHDECL_VEC): New macro.
28725         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
28726         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
28727         declaration under condition.
28728         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
28729         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
28730         TEST_VEC_LOOP change.
28731         * math/test-double-vlen4.h: Likewise.
28732         * math/test-double-vlen8.h: Likewise.
28733         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
28734         * math/test-float-vlen4.h: Likewise.
28735         * math/test-float-vlen8.h: Likewise.
28736         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28737         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
28738         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28739         * sysdeps/x86_64/fpu/Versions: New versions added.
28740         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28741         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28742         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28743         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
28744         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
28745         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
28746         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
28747         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
28748         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
28749         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
28750         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
28751         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
28752         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
28753         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
28754         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
28755         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
28756         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
28757         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
28758         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28759         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
28760         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28761         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28762         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28763         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
28765         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28766         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28767         redirections for powf.
28768         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28769         * sysdeps/x86_64/fpu/Versions: New versions added.
28770         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28771         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28772         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28773         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
28774         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
28775         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
28776         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
28777         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
28778         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
28779         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
28780         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
28781         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
28782         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
28783         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
28784         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
28785         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
28786         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
28787         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
28788         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28789         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
28790         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28791         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
28792         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28793         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28794         * math/test-float-vlen16.h: Fixed 2 argument macro.
28795         * math/test-float-vlen4.h: Likewise.
28796         * math/test-float-vlen8.h: Likewise.
28797         * NEWS: Mention addition of x86_64 vector powf.
28799 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
28801         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28802         and redefine.
28803         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28804         and redefine.
28805         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
28806         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28807         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28809         [BZ #18553]
28810         * resource/getpriority.c (getpriority): Rename to __getpriority
28811         and define as weak alias of __getpriority.
28812         * resource/setpriority.c (setpriority): Rename to __setpriority
28813         and define as weak alias of __setpriority.
28814         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
28815         __getpriority and define as weak alias of __getpriority.
28816         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
28817         __setpriority and define as weak alias of __setpriority.
28818         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
28819         strong name.
28820         (setpriority): Use __setpriority as strong name.
28821         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
28822         __getpriority and define as weak alias of __getpriority.
28823         * include/sys/resource.h (__getpriority): Declare.  Use
28824         libc_hidden_proto.
28825         (__setpriority): Likewise.
28826         (getpriority): Don't use libc_hidden_proto.
28827         (setpriority): Likewise.
28828         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
28829         getpriority.  Call __setpriority instead of setpriority.
28830         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
28831         Remove variable.
28833         [BZ #18547]
28834         * misc/getttyent.c (getttynam): Rename to __getttynam and define
28835         as weak alias of __getttynam.  Use prototype function definition.
28836         Call __setttyent, __getttyent and __endttyent instead of
28837         setttyent, getttyent and endttyent.
28838         (getttyent): Rename to __getttyent and define as weak alias of
28839         __getttyent.  Call __setttyent instead of setttyent.  Call
28840         __fgets_unlocked instead of fgets_unlocked.
28841         (setttyent): Rename to __setttyent and define as weak alias of
28842         __setttyent.
28843         (endttyent): Rename to __endttyent and define as weak alias of
28844         __endttyent.
28845         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
28846         (__setttyent): Likewise.
28847         (__endttyent): Likewise.
28848         (getttyent): Don't use libc_hidden_proto.
28849         (setttyent): Likewise.
28850         (endttyent): Likewise.
28851         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
28852         __endttyent instead of setttyent, getttyent and endttyent.
28853         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
28854         Remove variable.
28856         [BZ #18546]
28857         * socket/recv.c (__recv): Use libc_hidden_def.
28858         * socket/socket.c (__socket): Likewise.
28859         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
28860         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
28861         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
28862         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
28863         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
28864         libc_hidden_def.
28865         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
28866         libc_hidden_weak.
28867         * include/sys/socket.h (__socket): Do not use attribute_hidden.
28868         Use libc_hidden_proto.
28869         (__recv): Likewise.
28870         * socket/Versions (libc): Export __recv and __socket at version
28871         GLIBC_PRIVATE.
28872         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
28873         instead of recv.
28874         (init_mq_netlink): Call __socket instead of socket.
28875         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
28876         Remove variable.
28878         [BZ #18545]
28879         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
28880         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
28881         hidden_weak.
28882         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
28883         define as alias of __mq_timedsend.  Use hidden_weak.
28884         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
28885         __mq_timedsend as strong name.
28886         (mq_timedreceive): Use __mq_timedreceive as strong name.
28887         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
28888         (__mq_timedreceive): Likewise.
28889         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
28890         __mq_timedreceive instead of mq_timedreceive.
28891         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
28892         instead of mq_timedsend.
28893         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
28894         Remove variable.
28896         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
28897         hidden_def and hidden_weak instead of libc_hidden_def and
28898         libc_hidden_weak.
28899         (top level): Refer to hidden_def in comment.
28900         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
28901         macro.  Use it instead of libc_hidden_def.
28902         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
28903         specify __GI_* name explicitly.
28904         (mq_timedreceive): Likewise.
28905         (mq_setattr): Likewise.
28907         [BZ #18544]
28908         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
28909         __pthread_barrier_init and define as weak alias of
28910         __pthread_barrier_init.
28911         * sysdeps/sparc/nptl/pthread_barrier_init.c
28912         (pthread_barrier_init): Likewise.
28913         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
28914         __pthread_barrier_wait and define as weak alias of
28915         __pthread_barrier_wait.
28916         * sysdeps/sparc/nptl/pthread_barrier_wait.c
28917         (pthread_barrier_wait): Likewise.
28918         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
28919         (pthread_barrier_wait): Likewise.
28920         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
28921         (pthread_barrier_wait): Likewise.
28922         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
28923         (pthread_barrier_wait): Likewise.
28924         * nptl/Versions (libpthread): Export __pthread_barrier_init and
28925         __pthread_barrier_wait at version GLIBC_PRIVATE.
28926         * include/pthread.h (__pthread_barrier_init): Declare.
28927         (__pthread_barrier_wait): Likewise.
28928         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
28929         Call __pthread_barrier_wait instead of pthread_barrier_wait.
28930         (helper_thread): Likewise.
28931         (init_mq_netlink): Call __pthread_barrier_init instead of
28932         pthread_barrier_init.
28934         [BZ #18542]
28935         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
28936         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
28937         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
28938         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
28939         vswscanf.
28940         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
28941         Remove variable.
28943         [BZ #18540]
28944         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
28945         strong alias of _IO_fflush.  Use libc_hidden_def.
28946         * libio/iofflush_u.c (fflush_unlocked): Rename to
28947         __fflush_unlocked and define as weak alias of __fflush_unlocked.
28948         Use libc_hidden_weak.
28949         * include/stdio.h (__fflush_unlocked): Declare.  Use
28950         libc_hidden_proto.
28951         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
28952         fflush_unlocked.
28953         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
28954         Remove variable.
28956         [BZ #18539]
28957         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
28958         define as weak alias of __addseverity.
28959         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
28960         Remove variable.
28961         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
28962         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
28963         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
28965         [BZ #18536]
28966         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
28967         (__tfind): Likewise.
28968         (__tdelete): Likewise.
28969         (__twalk): Likewise.
28970         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
28971         __twalk to GLIBC_PRIVATE.
28972         * include/search.h (__tsearch): Use libc_hidden_proto.
28973         (__tfind): Likewise.
28974         (__tdelete): Likewise.
28975         (__twalk): Likewise.
28976         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
28977         Call __tdelete instead of tdelete.
28978         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
28979         tfind.  Call __tsearch instead of tsearch.
28980         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
28981         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
28982         Remove variable.
28983         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
28985         [BZ #18534]
28986         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
28987         (dprintf): Define as a weak alias of __dprintf, not a strong
28988         alias.
28989         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
28990         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
28991         dprintf.
28992         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
28993         Remove variable.
28994         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
28995         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
28997         [BZ #18533]
28998         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
28999         not a strong alias.
29000         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
29001         Remove variable.
29003         [BZ #18532]
29004         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
29005         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
29006         (in6addr_loopback): Rename to __in6addr_loopback and define as
29007         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
29008         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
29009         libc_hidden_proto.
29010         (__in6addr_any): Likewise.
29011         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
29012         in6addr_any.
29013         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
29014         variable.
29015         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
29017 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
29019         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
29020         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
29021         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
29022         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29023         redirections for pow.
29024         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29025         * sysdeps/x86_64/fpu/Versions: New versions added.
29026         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29027         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29028         build of SSE, AVX2 and AVX512 IFUNC versions.
29029         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
29030         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
29031         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
29032         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
29033         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
29034         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
29035         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
29036         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
29037         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
29038         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
29039         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
29040         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
29041         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
29042         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
29043         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
29044         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29045         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
29046         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29047         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29048         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29049         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
29050         * NEWS: Mention addition of x86_64 vector pow.
29052         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29053         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29054         redirections for expf.
29055         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29056         * sysdeps/x86_64/fpu/Versions: New versions added.
29057         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29058         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29059         build of SSE, AVX2 and AVX512 IFUNC versions.
29060         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
29061         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
29062         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
29063         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
29064         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
29065         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
29066         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
29067         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
29068         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
29069         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
29070         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
29071         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
29072         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
29073         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
29074         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29075         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
29076         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29077         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29078         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29079         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29080         * NEWS: Mention addition of x86_64 vector expf.
29082         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
29083         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
29084         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
29085         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29086         redirections for exp.
29087         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29088         * sysdeps/x86_64/fpu/Versions: New versions added.
29089         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29090         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29091         build of SSE, AVX2 and AVX512 IFUNC versions.
29092         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
29093         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
29094         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
29095         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
29096         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
29097         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
29098         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
29099         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
29100         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
29101         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
29102         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
29103         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
29104         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
29105         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
29106         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29107         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
29108         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29109         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29110         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29111         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
29112         * NEWS: Mention addition of x86_64 vector exp.
29114         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29115         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29116         redirections for logf.
29117         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29118         * sysdeps/x86_64/fpu/Versions: New versions added.
29119         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29120         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29121         build of SSE, AVX2 and AVX512 IFUNC versions.
29122         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
29123         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
29124         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
29125         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
29126         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
29127         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
29128         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
29129         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
29130         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
29131         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
29132         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
29133         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
29134         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
29135         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
29136         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29137         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
29138         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29139         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29140         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29141         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29142         * NEWS: Mention addition of x86_64 vector logf.
29144         * bits/libm-simd-decl-stubs.h: Added stubs for log.
29145         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
29146         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
29147         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29148         redirections for log.
29149         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29150         * sysdeps/x86_64/fpu/Versions: New versions added.
29151         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29152         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29153         build of SSE, AVX2 and AVX512 IFUNC versions.
29154         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
29155         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
29156         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
29157         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
29158         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
29159         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
29160         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
29161         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
29162         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
29163         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
29164         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
29165         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
29166         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
29167         test.
29168         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
29169         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29170         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
29171         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29172         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29173         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29174         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
29175         * NEWS: Mention addition of x86_64 vector log.
29177 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29179         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
29180         cfi_adjust_cfa_offset argument.
29181         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
29182         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
29184         [BZ #18034]
29185         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
29186         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
29187         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
29188         ordering using ldar.
29189         (_dl_tlsdesc_dynamic): Likewise.
29190         (_dl_tlsdesc_return_lazy): Likewise.
29191         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
29192         relaxed atomics instead of volatile and synchronize with release store.
29193         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
29194         volatile.
29195         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
29197 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
29199         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29200         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
29201         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29202         * sysdeps/x86_64/fpu/Versions: New versions added.
29203         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29204         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29205         build of SSE, AVX2 and AVX512 IFUNC versions.
29206         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
29207         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
29208         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
29209         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
29210         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
29211         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
29212         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
29213         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
29214         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
29215         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
29216         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
29217         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
29218         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
29219         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
29220         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29221         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
29222         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29223         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29224         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29225         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29226         * NEWS: Mention addition of x86_64 vector sinf.
29228 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
29230         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
29231         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
29232         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
29233         Remove variable.
29234         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
29235         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
29237 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
29239         [BZ #18530]
29240         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
29241         strong alias of _IO_fputs.  Use libc_hidden_def.
29242         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
29243         and define as weak alias of __fputs_unlocked.  Use
29244         libc_hidden_weak.
29245         * include/stdio.h (__fputs_unlocked): Declare.  Use
29246         libc_hidden_proto.
29247         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
29248         fputs_unlocked.
29250         [BZ #18529]
29251         * resolv/netdb.h [__USE_POSIX]: Change condition to
29252         [__USE_XOPEN2K].
29253         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
29254         not expect.
29255         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
29256         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
29257         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
29258         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
29259         [XPG4 || UNIX98] (AI_ALL): Likewise.
29260         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
29261         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
29262         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
29263         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
29264         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
29265         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
29266         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
29267         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
29268         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
29269         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
29270         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
29271         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
29272         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
29273         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
29274         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
29275         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
29276         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
29277         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
29278         [XPG4 || UNIX98] (gai_strerror): Likewise.
29279         [XPG4 || UNIX98] (getaddrinfo): Likewise.
29280         [XPG4 || UNIX98] (getnameinfo): Likewise.
29282         [BZ #18528]
29283         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
29284         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
29285         __USE_XOPEN2K8].
29286         (getgrent): Likewise.
29287         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
29288         expect.
29289         [XPG3 || POSIX2008] (endgrent): Likewise.
29290         [XPG3] (setgrent): Likewise.
29291         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
29292         variable.
29293         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
29295         [BZ #18527]
29296         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
29297         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
29298         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
29299         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
29300         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
29301         * include/unistd.h (__getlogin_r): Declare.  Use
29302         libc_hidden_proto.
29303         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
29304         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
29305         variable.
29306         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
29307         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
29308         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
29310 2015-06-12  Martin Sebor  <msebor@redhat.com>
29312         [BZ #18512]
29313         * Makerules (check-install-supported): New target.
29314         (install): Add check-install-supported as a dependency.
29315         * manual/install.texi (Installing the C Library): Document
29316         that overriding prefix and exec_prefix is not supported.
29317         Mention DESTDIR.
29318         * INSTALL: Regenerate from the above.
29320 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
29322         [BZ #18519]
29323         * posix/Versions (libc): Export __libc_pread at version
29324         GLIBC_PRIVATE.
29325         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
29326         instead of pread.
29327         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
29328         variable.
29330         [BZ #18522]
29331         * misc/efgcvt_r.c
29332         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
29333         (cvt_symbol): Use weak_alias instead of strong_alias.
29334         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
29335         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
29336         Remove variable.
29337         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
29338         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
29340         [BZ #18520]
29341         * inet/herrno.c (h_errno): Rename to __h_errno.
29342         (__libc_h_errno): Define as alias of __h_errno not h_errno.
29343         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
29344         to __h_errno instead of h_errno.
29345         * nptl/herrno.c (h_errno): Rename to __h_errno.
29346         (__h_errno_location): Refer to __h_errno not h_errno.
29347         * resolv/Versions (h_errno): Rename to __h_errno.
29348         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
29349         Remove variable.
29350         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
29352 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
29354         * configure.ac: More strict check for AVX512 assembler support.
29355         * configure: Regenerated.
29357         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
29358         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
29359         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
29360         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
29361         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29362         * sysdeps/x86_64/fpu/Versions: New versions added.
29363         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29364         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29365         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29366         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
29367         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
29368         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
29369         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
29370         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
29371         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
29372         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
29373         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
29374         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
29375         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
29376         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
29377         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
29378         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
29379         test.
29380         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
29381         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29382         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
29383         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29384         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29385         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29386         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
29387         * NEWS: Mention addition of x86_64 vector sin.
29389 2015-06-11  Florian Weimer  <fweimer@redhat.com>
29391         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
29392         comment.
29394 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
29396         [BZ #18479]
29397         * nptl/pt-interp.c: New file.
29398         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
29399         Add pt-interp.
29400         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
29401         $(common-objpfx)runtime-linker.h.
29403 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
29405         * Makeconfig (+interp): Remove unused variable.
29406         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
29407         only.  Depend on $(common-objpfx)runtime-linker.h instead of
29408         $(elf-objpfx)runtime-linker.h.
29409         ($(elf-objpfx)runtime-linker.h): Rename to
29410         $(common-objpfx)runtime-linker.h and move ...
29411         * Makerules [$(build-shared) = yes]: ... here.
29412         * elf/interp.c: Include <runtime-linker.h> instead of
29413         <elf/runtime-linker.h>.
29415 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29417         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
29418         (__gettimeofday_syscall): Remove vsyscall fallback.
29419         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
29420         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
29421         Add syscall fallback function.
29422         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
29423         if vDSO is not present.
29424         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
29425         fallback function.
29426         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
29427         present.
29428         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
29429         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
29431 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
29433         [BZ #18497]
29434         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
29435         of wcscmp.
29436         (wcscmp): Define as weak alias of WCSCMP.
29437         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
29438         wcscoll.
29439         (USE_HIDDEN_DEF): Define.
29440         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
29441         __wcscoll.  Don't use libc_hidden_weak.
29442         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
29443         wcscmp.
29444         * sysdeps/i386/i686/multiarch/wcscmp-c.c
29445         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
29446         __GI_wcscmp.
29447         (weak_alias): Undefine and redefine.
29448         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
29449         __wcscmp and define as weak alias of __wcscmp.
29450         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
29451         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
29452         (__wcscoll): Likewise.
29453         (wcscmp): Don't use libc_hidden_proto.
29454         (wcscoll): Likewise.
29455         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
29456         wcscoll.
29457         * posix/regexec.c (check_node_accept_bytes): Likewise.
29458         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
29459         variable.
29460         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
29461         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
29463         [BZ #18507]
29464         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
29465         __fstatvfs and define as weak alias of __fstatvfs.  Use
29466         libc_hidden_weak.
29467         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
29468         and define as weak alias of __statvfs.  Use libc_hidden_weak.
29469         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
29470         Define as alias of __fstatvfs, not fstatvfs.
29471         (fstatvfs64): Likewise.
29472         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
29473         Define as alias of __statvfs, not statvfs.
29474         (statvfs64): Likewise.
29475         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
29476         Remove variable.
29478 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29481         (HAVE_GETCPU_VSYSCALL): Define.
29482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29483         (HAVE_GETCPU_VSYSCALL): Likewise.
29484         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
29485         * sysdeps/unix/sysv/linux/sched_getcpu.c
29486         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
29487         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
29488         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
29489         prototype.
29490         * sysdeps/unix/sysv/linux/x86_64/init-first.c
29491         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
29492         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
29493         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
29494         Define.
29495         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
29496         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29497         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
29498         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29500 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
29502         * sysdeps/x86_64/fpu/Makefile: New file.
29503         * sysdeps/x86_64/fpu/Versions: New file.
29504         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
29505         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
29506         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
29507         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
29508         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
29509         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
29510         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
29511         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
29512         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
29513         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
29514         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
29515         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
29516         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
29517         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29518         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29519         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
29520         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
29521         * sysdeps/x86_64/configure.ac: Options for libmvec build.
29522         * sysdeps/x86_64/configure: Regenerated.
29523         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
29524         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
29525         * manual/install.texi (Configuring and compiling): Document
29526         --disable-mathvec.
29527         * INSTALL: Regenerated.
29528         * NEWS: Mention addition of libmvec and x86_64 vector cos.
29530         * math/Makefile: Added rules for vector tests.
29531         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
29532         declaration under condition.
29533         * math/test-double-vlen2.h: New file.
29534         * math/test-double-vlen4.h: New file.
29535         * math/test-double-vlen8.h: New file.
29536         * math/test-vec-loop.h: Added initialization macro.
29537         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
29538         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
29539         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
29540         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
29541         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
29542         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
29543         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
29544         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
29545         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
29546         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
29547         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
29549         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29550         * sysdeps/x86_64/fpu/Versions: New versions added.
29551         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
29552         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
29553         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
29554         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
29555         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
29556         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
29557         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
29558         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
29559         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
29560         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
29561         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
29562         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
29563         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
29564         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29565         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29566         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
29567         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
29568         * NEWS: Mention addition of x86_64 vector cosf.
29570         * math/Makefile: Added CFLAGS for new tests.
29571         * math/test-float-vlen16.h: New file.
29572         * math/test-float-vlen4.h: New file.
29573         * math/test-float-vlen8.h: New file.
29574         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
29575         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
29576         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29577         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
29578         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
29579         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
29580         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
29581         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
29582         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
29583         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
29584         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
29586 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
29588         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
29589         * locale/programs/ld-ctype.c: Likewise.
29591 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
29593         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
29594         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
29595         bit_ZMM16_31_state): New macro.
29596         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29597         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
29599 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
29601         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
29603 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
29605         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
29607 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
29609         [BZ #18498]
29610         * libio/memstream.c (open_memstream): Rename to __open_memstream
29611         and define as weak alias of __open_memstream.
29612         * include/stdio.h (__open_memstream): Declare.  Use
29613         libc_hidden_proto.
29614         (open_memstream): Don't use libc_hidden_proto.
29615         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
29616         open_memstream.
29617         * posix/getopt.c (_getopt_internal_r): Likewise.
29618         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
29619         variable.
29620         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
29621         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
29622         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
29624         [BZ #18496]
29625         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
29626         instead of wcrtomb.
29628         [BZ #18483]
29629         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
29630         [__USE_XOPEN2K8].  Remove redundant #endif.
29631         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
29632         Remove redundant #if.
29633         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
29634         Remove variable.
29635         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
29636         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
29638         [BZ #18495]
29639         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
29640         (__iswlower): Likewise.
29641         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
29642         (__iswlower): Likewise.
29643         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
29644         instead of towlower.
29645         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
29646         instead of iswlower.  Call __towupper instead of towupper.
29647         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
29648         instead of iswalnum.
29650 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29652         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
29653         errors to stderr.
29655 2015-06-05  Florian Weimer  <fweimer@redhat.com>
29657         [BZ #15661]
29658         [BZ #17322]
29659         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
29660         Check for overflow properly.  Check for O_APPEND.  Ignore large
29661         file system block sizes.  Add comments about problems.
29662         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
29663         * manual/filesys.texi (Storage Allocation): New node.
29665 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29667         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
29668         cancellable syscalls.
29669         (SYS_ify): Add guard to no redefine it.
29670         (INLINE_SYSCALL): Likewise.
29671         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
29672         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
29673         SYSCALL_CANCEL instead.
29674         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
29675         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
29676         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
29677         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
29678         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
29679         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
29680         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
29681         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
29682         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
29683         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
29684         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
29685         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
29686         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
29687         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
29688         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
29689         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
29690         Likewise.
29691         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
29692         (__libc_pread64): Likewise.
29693         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
29694         (__libc_preadv): Likewise.
29695         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
29696         (__libc_readv64): Likewise.
29697         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
29698         (__libc_pwrite): Likewise.
29699         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
29700         (__libc_pwrite64): Likewise.
29701         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
29702         (__libc_pwritev): Likewise.
29703         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
29704         (__libc_pwritev64): Likewise.
29705         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
29706         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
29707         (sync_file_range): Likewise.
29708         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
29709         Likewise.
29710         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
29711         Likewise.
29712         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
29713         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
29714         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
29715         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
29716         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
29717         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
29718         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
29719         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
29720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
29721         Likewise.
29722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29723         (__libc_read64): Likewise.
29724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
29725         Likewise.
29726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
29727         Likewise.
29728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
29729         Likewise.
29730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
29731         Likewise.
29732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29733         (__libc_pread64): Likewise.
29734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
29735         Likewise.
29736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29737         (__libc_pwrite64): Likewise.
29738         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
29739         (sync_file_range): Likewise.
29740         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
29741         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
29742         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
29743         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
29744         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
29745         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
29746         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
29747         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
29748         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
29749         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
29750         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
29751         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
29752         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
29753         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
29754         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
29755         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
29756         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
29757         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
29758         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
29759         Likewise.
29760         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
29761         Likewise.
29762         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
29763         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
29764         Likewise.
29765         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
29766         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
29767         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
29768         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
29769         Likewise.
29770         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
29771         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
29772         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
29773         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
29774         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
29776 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
29778         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
29779         Include dl-vdso.
29780         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
29781         Use VDSO routines for gettimeofday, clock_gettime if
29782         available.
29783         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
29784         Declare VDSO symbols.
29785         * sysdeps/unix/sysv/linux/arm/sysdep.h:
29786         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
29787         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
29788         * sysdeps/unix/sysv/linux/arm/Versions: Add
29789         __vdso_clock_gettime.
29791 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29793         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
29794         be an inline implementation regardless of library is built within.
29795         (open_not_cancel_2): Likewise.
29796         (__read_nocancel): Likewise.
29797         (__write_nocancel): Likewise.
29798         (openat_not_cancel): Likewise.
29799         (openat_not_cancel_3): Likewise.
29800         (openat64_not_cancel): Likewise.
29801         (openat64_not_cancel_3): Likewise.
29802         (__close_nocancel): Likewise.
29803         (pause_not_cancel): Likewise.
29804         (nanosleep_not_cancel): Likewise.
29805         (sigsuspend_not_cancel): Likewise.
29807 2015-06-04  Torvald Riegel  <triegel@redhat.com>
29809         [BZ #14958]
29810         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
29811         wake-up.
29812         (__pthread_rwlock_rdlock_slow): Likewise.
29813         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
29814         Likewise.
29815         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
29816         Likewise.
29817         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
29818         * nptl/tst-rwlock16.c: New file.
29819         * nptl/Makefile (tests): Add new test.
29821 2015-06-04  Torvald Riegel  <triegel@redhat.com>
29823         [BZ #18324]
29824         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
29825         missing wake-up of readers.
29826         * nptl/tst-rwlock15.c: New file.
29827         * nptl/Makefile (tests): Add new test.
29829 2015-06-03  Roland McGrath  <roland@hack.frob.com>
29831         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
29832         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
29833         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
29834         and __nacl_supply_interface_rtld.
29835         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
29836         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
29837         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
29838         Add __nacl_supply_interface_rtld.
29839         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
29841 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
29843         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
29844         isfinite.
29845         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29846         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
29848 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
29850         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
29851         __signbit* with standard C99 macros.
29852         * math/e_exp10l.c: Likewise.
29853         * math/e_exp2l.c: Likewise.
29854         * math/e_scalb.c: Likewise.
29855         * math/e_scalbf.c: Likewise.
29856         * math/e_scalbl.c: Likewise.
29857         * math/s_ldexp.c: Likewise.
29858         * math/s_ldexpf.c: Likewise.
29859         * math/s_ldexpl.c: Likewise.
29860         * math/w_atan2.c: Likewise.
29861         * math/w_atan2f.c: Likewise.
29862         * math/w_atan2l.c: Likewise.
29863         * math/w_cosh.c: Likewise.
29864         * math/w_coshf.c: Likewise.
29865         * math/w_coshl.c: Likewise.
29866         * math/w_exp10.c: Likewise.
29867         * math/w_exp10f.c: Likewise.
29868         * math/w_exp10l.c: Likewise.
29869         * math/w_exp2.c: Likewise.
29870         * math/w_exp2f.c: Likewise.
29871         * math/w_exp2l.c: Likewise.
29872         * math/w_fmod.c: Likewise.
29873         * math/w_fmodf.c: Likewise.
29874         * math/w_fmodl.c: Likewise.
29875         * math/w_hypot.c: Likewise.
29876         * math/w_hypotf.c: Likewise.
29877         * math/w_hypotl.c: Likewise.
29878         * math/w_jnl.c: Likewise.
29879         * math/w_lgamma.c: Likewise.
29880         * math/w_lgamma_r.c: Likewise.
29881         * math/w_lgammaf.c: Likewise.
29882         * math/w_lgammaf_r.c: Likewise.
29883         * math/w_lgammal.c: Likewise.
29884         * math/w_lgammal_r.c: Likewise.
29885         * math/w_pow.c: Likewise.
29886         * math/w_powf.c: Likewise.
29887         * math/w_powl.c: Likewise.
29888         * math/w_remainder.c: Likewise.
29889         * math/w_remainderf.c: Likewise.
29890         * math/w_remainderl.c: Likewise.
29891         * math/w_scalb.c: Likewise.
29892         * math/w_scalbf.c: Likewise.
29893         * math/w_scalbl.c: Likewise.
29894         * math/w_scalbln.c: Likewise.
29895         * math/w_scalblnf.c: Likewise.
29896         * math/w_scalblnl.c: Likewise.
29897         * math/w_sinh.c: Likewise.
29898         * math/w_sinhf.c: Likewise.
29899         * math/w_sinhl.c: Likewise.
29900         * math/w_tgamma.c: Likewise.
29901         * math/w_tgammaf.c: Likewise.
29902         * math/w_tgammal.c: Likewise.
29903         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29904         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
29905         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29906         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29907         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29908         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29909         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
29910         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29911         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29912         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29913         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29914         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
29915         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29916         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29917         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29918         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29919         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29920         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
29921         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29922         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29923         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29924         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29925         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29926         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29927         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29928         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29929         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
29930         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29931         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29932         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29933         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
29934         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
29935         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
29936         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
29937         * stdio-common/printf_fp.c: Likewise.
29938         * stdio-common/printf_fphex.c: Likewise.
29939         * stdio-common/printf_size.c: Likewise.
29941 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
29943         [BZ #18470]
29944         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
29945         strnlen.
29946         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
29947         Remove variable.
29948         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
29949         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
29950         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
29951         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
29952         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
29953         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
29954         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
29955         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
29956         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
29957         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
29959         [BZ #18468]
29960         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
29961         weak alias of __wmemchr.  Use libc_hidden_weak.
29962         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
29963         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
29964         instead of wmemchr.
29966 2015-06-02  Roland McGrath  <roland@hack.frob.com>
29968         [BZ #18383]
29969         * elf/tst-tlsalign-extern.c: New file.
29970         * elf/tst-tlsalign-extern-static.c: New file.
29971         * elf/tst-tlsalign-vars.c: New file.
29972         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
29973         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
29974         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
29975         ($(objpfx)tst-tlsalign-extern-static): Likewise.
29976         (test-xfail-tst-tlsalign-extern-static): New variable.
29978 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
29980         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
29981         Use variable name _sc_err instead of err.
29982         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
29983         instead of ret.
29984         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
29985         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
29986         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
29987         (INLINE_SYSCALL): Likewise.
29989         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
29990         * include/string.h (__strnlen): Use libc_hidden_proto.
29991         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
29992         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
29993         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
29994         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
29995         (libc_hidden_def): Undefine and redefine.
29996         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
29997         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
29998         __GI_strnlen.
29999         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
30000         libc_hidden_def.
30001         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
30003         [BZ #18469]
30004         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
30005         weak alias of __towlower.  Use libc_hidden_weak.
30006         (towupper): Rename to __towupper and define as weak alias of
30007         __towupper.  Use libc_hidden_weak.
30008         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
30009         (__towupper): Likewise.
30010         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
30011         __towlower instead of towlower.
30013 2015-06-02  Roland McGrath  <roland@hack.frob.com>
30015         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
30016         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
30018 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30020         * sysdeps/aarch64/libm-test-ulps: Update.
30022 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30024         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
30025         Define.
30026         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30027         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
30028         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
30029         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30030         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
30031         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
30032         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
30034 2015-06-01  Martin Sebor  <msebor@redhat.com>
30036         [BZ #18116]
30037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
30038         (__setcontext): Use extended four-operand version of mtsf whenever
30039         possible.
30040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
30041         (__novec_swapcontext): Likewise.
30043 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
30045         * benchtests/scripts/compare_bench.py: New file.
30046         * benchtests/scripts/import_bench.py (mean): New function.
30047         (split_list): Likewise.
30048         (do_for_all_timings): Likewise.
30049         (compress_timings): Likewise.
30051         * benchtests/scripts/import_bench.py: New file.
30052         * benchtests/scripts/validate_benchout.py: Import import_bench
30053         instead of jsonschema.
30054         (validate_bench): Remove function.
30055         (main): Use import_bench.
30057 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
30059         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
30060         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
30062 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30064         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30066 2015-05-28  Roland McGrath  <roland@hack.frob.com>
30068         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
30069         set THREAD_SELF->tid to a magic value and futex-wake it.
30070         Pass its address to the thread_exit system call.
30071         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
30072         bit is clear.
30073         * sysdeps/nacl/lowlevellock.h: New file.
30074         * sysdeps/nacl/lll_timedwait_tid.c: New file.
30076         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
30077         Add TIMEOUT to current time, don't subtract it.
30079 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
30081         [BZ #2981]
30082         [BZ #18422]
30083         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
30084         ($(objpfx)tst-audit2.out): Also depend on
30085         $(objpfx)tst-auditmod9b.so.
30086         * elf/tst-audit2.c: Include <dlfcn.h>.
30087         (calloc_called): New.
30088         (calloc): Allow to be called more than once.
30089         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
30091 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
30093         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
30094         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
30096 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
30098         * stdlib/monetary.h: Fix comment.
30100 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
30102         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
30103         Avoid using variables in #defines that might cause shadowing.
30104         (INTERNAL_VSYSCALL_CALL): Likewise.
30106 2015-05-26  Roland McGrath  <roland@hack.frob.com>
30108         * sysdeps/nacl/lll_timedlock_wait.c: New file.
30110         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
30111         * nptl/lll_timedlock_wait.c: ... to this new file.
30112         * nptl/Makefile (libpthread-routines): Add it.
30113         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
30114         * nptl/lll_timedwait_tid.c: ... to this new file.
30115         * nptl/Makefile (libpthread-routines): Add it.
30116         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
30117         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
30118         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
30119         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
30120         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
30121         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
30122         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
30123         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
30124         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
30125         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
30127 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30129         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
30130         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
30131         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
30132         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
30133         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
30134         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
30135         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30136         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30137         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30138         * sysdeps/unix/sysv/linux/tile/sysdep.h
30139         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30140         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
30141         using vDSO syscall macro.
30143 2015-05-26  Andriy Rysin  <arysin@gmail.com>
30145         [BZ #17293]
30146         * uk_UA: Fix sorting order for Ukrainian locale
30148 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
30150         * stdlib/monetary.h: Fix comment.
30152 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30154         [BZ #18234]
30155         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
30156         st_mtim and st_ctim members.
30157         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
30158         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
30159         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
30160         (struct stat64): Likewise.
30161         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
30162         (struct stat64): Likewise.
30163         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
30164         (struct stat64): Likewise.
30166 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30168         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
30169         Define and include sysdep-vdso.h.
30170         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
30171         Likewise.
30172         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
30173         Likewise.
30174         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
30175         Define with VDSO_SYMBOL and use PTR_MANGLE.
30176         (__vdso_clock_gettime): Likewise.
30177         (__vdso_clock_getres): Likewise.
30178         (_libc_vdso_platform_setup): Likewise.
30179         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
30180         Likewise.
30181         (_libc_vdso_platform_setup): Likewise.
30182         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
30183         Likewise.
30184         (__vdso_clock_gettime): Likewise.
30185         (__vdso_clock_getres): Likewise.
30186         (__vdso_get_tbfreq): Likewise.
30187         (__vdso_getcpu): Likewise.
30188         (__vdso_time): Likewise.
30189         (__vdso_sigtramp_rt64): Likewise.
30190         (__vdso_signtramp32): Likewise.
30191         (__vdso_sigtramp_rt32): Likewise.
30192         (_libc_vdso_platform_setup): Likewise.
30193         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
30194         Likewise.
30195         (__vdso_clock_gettime): Likewise.
30196         (__vdso_clock_getres): Likewise.
30197         (_libc_vdso_platform_setup): Likewise.
30198         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
30199         Likewise.
30200         (__vdso_clock_gettime): Likewise.
30201         (_libc_vdso_platform_setup): Likewise.
30202         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
30203         Likewise.
30204         (__vdso_getcpu): Likewise.
30205         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
30206         Use VDSO_SYMBOL macro to define.
30207         (__vdso_clock_gettime): Likewise.
30208         (__vdso_clock_getres): Likewise.
30209         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
30210         Likewise.
30211         (__vdso_clock_gettime): Likewise.
30212         (__vdso_clock_getres): Likewise.
30213         (__vdso_get_tbfreq): Likewise.
30214         (__vdso_getcpu): Likewise.
30215         (__vdso_time): Likewise.
30216         (__vdso_sigtramp_rt64): Likewise.
30217         (__vdso_signtramp32): Likewise.
30218         (__vdso_sigtramp_rt32): Likewise.
30219         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
30220         Likewise.
30221         (__vdso_clock_gettime): Likewise.
30222         (__vdso_clock_getres): Likewise.
30223         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
30224         Likewise.
30225         (__vdso_clock_gettime): Likewise.
30226         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
30227         Likewise.
30228         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
30229         macro.
30230         (INTERNAL_VSYSCALL): Likewise.
30231         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
30232         Remove macro.
30233         (INTERNAL_VSYSCALL): Likewise.
30234         (INTERNAL_VSYSCALL_NCS): Likewise.
30235         (INTERNAL_VSYSCALL_CALL): New macro.
30236         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
30237         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
30238         Likewise.
30239         (INTERNAL_VSYSCALL): Likewise.
30240         (INTERNAL_VSYSCALL_NCS): Likewise.
30241         (INTERNAL_VSYSCALL_CALL): New macro.
30242         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
30243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30244         (INLINE_VSYSCALL): Remove macro.
30245         (INTERNAL_VSYSCALL): Remove macro.
30246         (INTERNAL_VSYSCALL_NCS): Remove macro.
30247         (INTERNAL_VSYSCALL_CALL): New macro.
30248         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
30249         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
30250         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
30251         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
30252         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
30253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30254         (INLINE_VSYSCALL): Remove macro.
30255         (INTERNAL_VSYSCALL): Likewise.
30256         (INTERNAL_VSYSCALL_NCS): Likewise.
30257         (INTERNAL_VSYSCALL_CALL): New macro.
30258         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
30259         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
30260         PTR_DEMANGLE on vDSO pointer.
30261         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
30262         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
30263         macro.
30264         (INTERNAL_SYSCALL): Likewise.
30265         (INTERNAL_VSYSCALL_NCS): Remove macro.
30266         (INTERNAL_VSYSCALL_CALL): New macro.
30267         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
30268         Remove macro.
30269         (INTERNAL_VSYSCALL): Likewise.
30270         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
30271         sysdep-vdso.h instead of libc-vdso.h.
30272         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
30273         definition.
30274         (INLINE_VSYSCALL): Likewise.
30275         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
30276         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
30277         definition.
30278         (INLINE_VSYSCALL): Likewise.
30279         (INTERNAL_VSYSCALL): Likewise.
30280         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
30281         * sysdeps/unix/sysv/linux/timespec_get.c
30282         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
30283         (timespec_get): Use ANSI prototype.
30284         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
30285         and definition for Linux.
30287 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
30289         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
30290         * include/libc-symbols.h: libmvec_hidden_* macro series added.
30292 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
30294         [BZ #2981]
30295         [BZ #18410]
30296         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
30297         for missing DT_PLTRELSZ.
30299 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
30301         Remove obsolete aliases that broke 'locale -a'
30302         [BZ #18412]
30303         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
30304         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
30305         breaking some applications that use 'locale -a' output.
30306         Change the encoding of this file from Latin-1 to ASCII to avoid
30307         other potential problems with people grepping this file.
30309 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30311         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
30312         -fasynchronous-unwind-tables.
30313         (CFLAGS-sendto.c): Likewise.
30314         (CFLAGS-sendmsg.c): Likewise.
30315         (CFLAGS-connect.c): Likewise.
30316         (CFLAGS-recvmsg.c): Likewise.
30317         (CFLAGS-recvfrom.c): Likewise.
30318         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
30319         (SOCKETCALL): New macro: non-cancellable socketcall.
30320         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
30321         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
30322         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
30323         * sysdeps/unix/sysv/linux/accept.c: New file.
30324         * sysdeps/unix/sysv/linux/bind.c: Likewise.
30325         * sysdeps/unix/sysv/linux/connect.c: Likewise.
30326         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
30327         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
30328         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
30329         * sysdeps/unix/sysv/linux/listen.c: Likewise.
30330         * sysdeps/unix/sysv/linux/recv.c: Likewise.
30331         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
30332         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
30333         * sysdeps/unix/sysv/linux/send.c: Likewise.
30334         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
30335         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
30336         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
30337         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
30338         * sysdeps/unix/sysv/linux/socket.c: Likewise.
30339         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
30340         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
30341         prototype.
30342         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
30343         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
30344         instead of __internal_xxx function.
30345         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
30346         prototype.
30347         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
30348         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
30349         instead of __internal_xxx function.
30350         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
30351         prototype.
30352         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
30353         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
30354         instead of __internal_xxx function.
30355         * sysdeps/unix/sysv/linux/accept.S: Remove file.
30356         * sysdeps/unix/sysv/linux/bind.S: Likewise.
30357         * sysdeps/unix/sysv/linux/connect.S: Likewise.
30358         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
30359         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
30360         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
30361         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
30362         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
30363         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
30364         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
30365         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
30366         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
30367         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
30368         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
30369         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
30370         * sysdeps/unix/sysv/linux/listen.S: Likewise.
30371         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
30372         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
30373         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
30374         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
30375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
30376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
30377         * sysdeps/unix/sysv/linux/recv.S: Likewise.
30378         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
30379         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
30380         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
30381         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
30382         * sysdeps/unix/sysv/linux/send.S: Likewise.
30383         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
30384         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
30385         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
30386         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
30387         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
30388         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
30389         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
30390         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
30391         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
30392         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
30393         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
30394         socketcall is implemented in GLIBC.
30396 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
30398         * soft-fp/fmadf4.c: Include <libc-internal.h>.
30399         (__fma): Ignore uninitialized warnings around packing.
30400         * soft-fp/fmasf4.c: Include <libc-internal.h>.
30401         (__fmaf): Ignore uninitialized warnings around packing.
30402         * soft-fp/fmatf4.c: Include <libc-internal.h>.
30403         (__fmal): Ignore uninitialized warnings around packing.
30405         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
30406         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
30407         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
30408         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
30410         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
30411         switch statement into default case.
30412         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
30414         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
30415         a conditional in forcing "inexact".
30416         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
30417         Likewise.
30419 2015-05-22  Roland McGrath  <roland@hack.frob.com>
30421         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
30422         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
30423         for each INTERNAL_SYSCALL use.
30425 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
30427         [BZ #438]
30428         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
30429         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
30430         variable.
30432         [BZ #18444]
30433         * string/basename.c (basename): Rename to __basename and define as
30434         weak alias of __basename.  Use libc_hidden_weak.
30435         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
30436         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
30437         __basename instead of basename.
30438         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
30439         Remove variable.
30440         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
30442 2015-05-18  Florian Weimer  <fweimer@redhat.com>
30444         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
30445         (_IO_JUMPS_FILE_plus): New.
30446         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
30447         _IO_CAST_FIELD_ACCESS.
30448         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
30449         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
30450         * libio/freopen.c (freopen): Likewise.
30451         * libio/freopen64.c (freopen64): Likewise.
30452         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
30453         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
30454         * libio/iofwide.c (_IO_fwide): Likewise.
30455         * libio/memstream.c (open_memstream): Likewise.
30456         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
30457         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
30458         * libio/oldiopopen.c (_IO_old_popen): Likewise.
30460 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
30462         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
30463         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
30464         NADJ.
30465         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
30466         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
30467         NADJ.
30468         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
30469         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
30470         NADJ.
30472         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
30473         (p == 4) case.
30475         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
30476         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
30477         Remove variable.
30478         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
30479         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
30480         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
30482 2015-05-21  Florian Weimer  <fweimer@redhat.com>
30484         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
30485         Adjust jump table label generation macros.
30487 2015-05-21  Florian Weimer  <fweimer@redhat.com>
30489         * stdio-common/vfprintf.c (vfprintf): Move local variables
30490         args_malloced, specs, specs_malloced, and the code after
30491         do_positional to the printf_positional function.
30492         (printf_positional): New function.
30494 2015-05-21  Florian Weimer  <fweimer@redhat.com>
30496         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
30497         function.
30498         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
30499         STEP4_TABLE, process_arg): Move macro definitions
30500         out of the vfprintf function.  (Cosmetic change only.)
30502 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
30504         * benchtests/Makefile (stdio-common-bench): Define.
30505         (benchset): Add stdio-common-bench.
30506         * sprintf-inputs: New file.
30507         * sprintf-source.c: New file.
30509 2015-05-21  Andreas Schwab  <schwab@suse.de>
30511         [BZ #13028]
30512         [BZ #17053]
30513         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
30514         of struct __res_state.
30515         * resolv/res_send.c (__libc_res_nsend): Likewise.
30516         (get_nsaddr): New function.
30517         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
30518         statp directly.
30520 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
30522         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
30523         -D_POSIX_C_SOURCE=199506L.
30525         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
30527         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
30528         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
30529         Do not mention otherwise.
30530         [POSIX] (_XOPEN_VERSION): Do not expect.
30531         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
30532         [POSIX] (_POSIX2_C_BIND): Likewise.
30533         [POSIX] (_POSIX2_VERSION): Likewise.
30534         [POSIX] (_XOPEN_XPG2): Likewise.
30535         [POSIX] (_XOPEN_XPG3): Likewise.
30536         [POSIX] (_XOPEN_XPG4): Likewise.
30537         [POSIX] (_XOPEN_UNIX): Likewise.
30538         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
30539         [POSIX] (_POSIX_BARRIERS): Likewise.
30540         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
30541         [POSIX] (_POSIX_CPUTIME): Likewise.
30542         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
30543         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
30544         [POSIX] (_POSIX_SHELL): Likewise.
30545         [POSIX] (_POSIX_SPAWN): Likewise.
30546         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
30547         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
30548         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
30549         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
30550         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
30551         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
30552         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
30553         [POSIX] (_XBS5_LP64_OFF64): Likewise.
30554         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
30555         [POSIX] (_POSIX_TIMEOUTS): Likewise.
30556         [POSIX] (_POSIX2_PBS): Likewise.
30557         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
30558         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
30559         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
30560         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
30561         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
30562         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
30563         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
30564         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
30565         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
30566         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
30567         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
30568         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
30569         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
30570         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
30571         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
30572         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
30573         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
30574         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
30575         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
30576         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
30577         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
30578         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
30579         [POSIX] (_SC_2_C_BIND): Likewise.
30580         [POSIX] (_SC_2_C_VERSION): Likewise.
30581         [POSIX] (_SC_2_PBS): Likewise.
30582         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
30583         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
30584         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
30585         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
30586         [POSIX] (_SC_2_PBS_TRACK): Likewise.
30587         [POSIX] (_SC_ATEXIT_MAX): Likewise.
30588         [POSIX] (_SC_BARRIERS): Likewise.
30589         [POSIX] (_SC_BASE): Likewise.
30590         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
30591         [POSIX] (_SC_DEVICE_IO): Likewise.
30592         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
30593         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
30594         [POSIX] (_SC_FD_MGMT): Likewise.
30595         [POSIX] (_SC_FIFO): Likewise.
30596         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
30597         [POSIX] (_SC_FILE_LOCKING): Likewise.
30598         [POSIX] (_SC_FILE_SYSTEM): Likewise.
30599         [POSIX] (_SC_IOV_MAX): Likewise.
30600         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
30601         [POSIX] (_SC_NETWORKING): Likewise.
30602         [POSIX] (_SC_PAGE_SIZE): Likewise.
30603         [POSIX] (_SC_PASS_MAX): Likewise.
30604         [POSIX] (_SC_PIPE): Likewise.
30605         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
30606         [POSIX] (_SC_REGEXP): Likewise.
30607         [POSIX] (_SC_SHELL): Likewise.
30608         [POSIX] (_SC_SIGNALS): Likewise.
30609         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
30610         [POSIX] (_SC_SPIN_LOCKS): Likewise.
30611         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
30612         [POSIX] (_SC_USER_GROUPS): Likewise.
30613         [POSIX] (_SC_USER_GROUPS_R): Likewise.
30614         [POSIX] (_SC_STREAMS): Likewise.
30615         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
30616         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
30617         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
30618         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
30619         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
30620         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
30621         [POSIX] (_PC_FILESIZEBITS): Likewise.
30622         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
30623         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
30624         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
30625         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
30626         [POSIX] (uid_t): Likewise.
30627         [POSIX] (gid_t): Likewise.
30628         [POSIX] (off_t): Likewise.
30629         [POSIX] (pid_t): Likewise.
30630         [POSIX] (cuserid): Allow.
30631         (_SC_2_CHAR_TERM): Require constant.
30632         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
30633         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
30634         variable.
30636 2015-05-20  Roland McGrath  <roland@hack.frob.com>
30638         * sysdeps/nacl/pthread-pids.h: New file.
30639         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
30640         (create_thread): Use __nacl_get_tid to initialize PD->tid.
30642         * nptl/pthread-pids.h: New file.
30643         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
30644         * nptl/nptl-init.c: Include <pthread-pids.h>.
30645         (__pthread_initialize_minimal_internal):
30646         Call __pthread_initialize_pids instead of set_tid_address syscall.
30648         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
30649         * sysdeps/posix/usleep.c: ... here.
30651 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30653         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
30654         call_pselect6 object.
30655         [$(subdir) = io]: Remove call_sync_file_range object.
30656         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
30657         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
30658         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
30659         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
30661 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
30663         * math/s_cproj.c: Add include "math_private.h".
30664         * math/s_cprojf.c: Likewise.
30665         * math/s_cprojl.c: Likewise.
30667 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
30669         [BZ #18244]
30670         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
30671         high mantissa bit when testing whether P is a NaN.
30672         * math/libm-test.inc (remainder_test_data): Add more tests.
30673         (remquo_test_data): Likewise.
30675         [BZ #18049]
30676         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
30677         below -32, return the argument, with underflow if subnormal.
30678         * math/auto-libm-test-in: Add more tests of atanh.
30679         * math/auto-libm-test-out: Regenerated.
30681 2015-05-19  Roland McGrath  <roland@hack.frob.com>
30683         [BZ #18434]
30684         * nptl/tst-sem15.c: New file.
30685         * nptl/Makefile (tests): Add it.
30686         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
30687         s/<</>>/ to fix typo in EOVERFLOW check.
30688         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
30690 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30692         * manual/strings.texi (envz_remove): Fix typo in safety
30693         annotations.
30695 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
30696             Steve Ellcey  <sellcey@imgtec.com>
30698         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
30699         in order to avoid strict alias warnings.
30700         (iruserok_af): Ditto for ra.
30702 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
30704         [BZ #17581]
30705         * malloc/hooks.c
30706         (magicbyte): Convert to a function and avoid returning 0x01.
30707         (mem2mem_check): Avoid using a length byte equal to the magic byte.
30708         (mem2chunk_check): Fix unsigned comparisons to zero.
30709         Hoist defs of sz and magic.
30711 2015-05-19  Richard Henderson  <rth@redhat.com>
30713         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
30715         * sysdeps/alpha/fpu/libm-test-ulps: Update.
30717 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30719         [BZ #16159]
30720         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
30721         * malloc/arena.c (arena_lock): Check if arena is corrupt.
30722         (reused_arena): Find a non-corrupt arena.
30723         (heap_trim): Pass arena to unlink.
30724         * malloc/hooks.c (malloc_check_get_size): Pass arena to
30725         malloc_printerr.
30726         (top_check): Likewise.
30727         (free_check): Likewise.
30728         (realloc_check): Likewise.
30729         * malloc/malloc.c (malloc_printerr): Add arena argument.
30730         (unlink): Likewise.
30731         (munmap_chunk): Adjust.
30732         (ARENA_CORRUPTION_BIT): New macro.
30733         (arena_is_corrupt): Likewise.
30734         (set_arena_corrupt): Likewise.
30735         (sysmalloc): Use mmap if there are no usable arenas.
30736         (_int_malloc): Likewise.
30737         (__libc_malloc): Don't fail if arena_get returns NULL.
30738         (_mid_memalign): Likewise.
30739         (__libc_calloc): Likewise.
30740         (__libc_realloc): Adjust for additional argument to
30741         malloc_printerr.
30742         (_int_free): Likewise.
30743         (malloc_consolidate): Likewise.
30744         (_int_realloc): Likewise.
30745         (_int_memalign): Don't touch corrupt arenas.
30746         * malloc/tst-malloc-backtrace.c: New test case.
30748         * Makefile (summarize-tests): Fix return value on success.
30750         * manual/string.texi (Envz Functions): Add envz_remove.
30752 2015-05-18  Roland McGrath  <roland@hack.frob.com>
30754         * sysdeps/posix/opendir.c: Include <stdbool.h>.
30755         (invalid_name): New function, broken out of ...
30756         (__opendirat): ... here.  Call it.
30757         (need_isdir_precheck): New function, broken out of ...
30758         (__opendirat): ... here.  Call it.
30759         Use __fxstatat64, not __xstatat64.
30760         (opendir_oflags): New function, broken out of ...
30761         (__opendirat): ... here.  Call it.
30762         (opendir_tail): New function, broken out of ...
30763         (__opendirat): ... here.  Call it.
30764         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
30765         opendir_tail, rather than punting to __opendirat.
30766         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
30768 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30770         * .gitignore: Ignore generated *.pyc.
30772 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
30774         * include/stdio.h: Define __need_wint_t.
30775         * test-skeleton.c: Avoid `for' loop initial declaration.
30776         * nptl/tst-initializers1.c: Use test-skeleton.c.
30778 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30780         [BZ #18418]
30781         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
30783 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
30785         [BZ #16352]
30786         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
30787         (__ieee754_atanh): Force underflow exception for results with
30788         small absolute value.
30789         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
30790         (__ieee754_atanhf): Force underflow exception for results with
30791         small absolute value.
30792         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
30793         (__ieee754_atanh): Force underflow exception for results with
30794         small absolute value.
30795         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
30796         (__ieee754_atanhf): Force underflow exception for results with
30797         small absolute value.
30798         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
30799         (__ieee754_atanhl): Force underflow exception for results with
30800         small absolute value.
30801         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
30802         (__ieee754_atanhl): Force underflow exception for results with
30803         small absolute value.
30804         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
30805         (__ieee754_atanhl): Force underflow exception for results with
30806         small absolute value.
30807         * math/auto-libm-test-in: Do not allow missing underflow
30808         exceptions from atanh.
30809         * math/auto-libm-test-out: Regenerated.
30811         [BZ #18221]
30812         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
30813         2**-28 as threshold for returning x or +/- 1/x.
30814         * math/auto-libm-test-in: Add more tests of tan.
30815         * math/auto-libm-test-out: Regenerated.
30817         [BZ #18220]
30818         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
30819         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
30820         * math/auto-libm-test-in: Add another test of lgamma.
30821         * math/auto-libm-test-out: Regenerated.
30823 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
30825         * stdio-common/printf_fp.c (___printf_fp): Use abs.
30826         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
30827         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
30828         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
30829         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
30830         (ADD2A): Use fabs.  (SUB2A): Use fabs.
30831         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
30832         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
30833         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
30834         (log1): Use fabs.  (my_log2): Use fabs.
30835         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
30836         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
30837         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
30838         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
30839         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
30840         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
30841         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
30842         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
30843         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
30844         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
30845         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
30847 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
30849         [BZ #18217]
30850         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
30851         as threshold for returning 1 - x.
30852         * math/auto-libm-test-in: Add more tests of erfc.
30853         * math/auto-libm-test-out: Regenerated.
30855 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
30857         [BZ #18196]
30858         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
30859         threshold for large arguments.
30860         * math/auto-libm-test-in: Add another test of atan.
30861         * math/auto-libm-test-out: Regenerated.
30863         [BZ #16339]
30864         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
30865         (__log1p): Force underflow exception for results with small
30866         absolute value.
30867         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
30868         (__log1pf): Force underflow exception for results with small
30869         absolute value.
30870         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
30871         (__log1p): Force underflow exception for results with small
30872         absolute value.
30873         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
30874         (__log1pf): Force underflow exception for results with small
30875         absolute value.
30876         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
30877         (__log1pl): Force underflow exception for results with small
30878         absolute value.
30879         * math/auto-libm-test-in: Do not allow missing underflow
30880         exceptions from log1p.
30881         * math/auto-libm-test-out: Regenerated.
30883 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
30884             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30886         [BZ #16704]
30887         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
30889 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
30891         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
30892         (libmvec): New variable.
30893         * configure.ac: Added option for mathvec build.
30894         * configure: Regenerated.
30895         * mathvec/Depend: New file.
30896         * mathvec/Makefile: New file.
30897         * shlib-versions: Added libmvec.
30898         * math/Makefile: Added rule for libm.so installation.
30900         * bits/math-vector.h: New file.
30901         * bits/libm-simd-decl-stubs.h: New header.
30902         * math/Makefile (headers): Added new header
30903         libm-simd-decl-stubs.h.
30904         * math/math.h (__MATHCALL_VEC): New macro.
30906         * math/gen-libm-have-vector-test.sh: Script generates series of macros
30907         for conditions in testing functions.
30908         * math/Makefile: Added call of libm-have-vector-test.sh.
30909         * math/libm-test.inc (HAVE_VECTOR): New macros.
30911         * math/libm-test.inc: START refactored.
30912         * math/test-double.c (TEST_MATHVEC): Add define.
30913         * math/test-float.c: Likewise.
30914         * math/test-idouble.c: Likewise.
30915         * math/test-ifloat.c: Likewise.
30916         * math/test-ildoubl.c: Likewise.
30917         * math/test-ldouble.c: Likewise.
30918         * sysdeps/generic/math-tests-arch.h
30919         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
30920         architecture check.
30922         * math/test-double.c (FUNC_TEST): New macro.
30923         * math/test-float.c: Likewise.
30924         * math/test-idouble.c: Likewise.
30925         * math/test-ifloat.c: Likewise.
30926         * math/test-ildoubl.c: Likewise.
30927         * math/test-ldouble.c: Likewise.
30928         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
30930 2015-05-13  Roland McGrath  <roland@hack.frob.com>
30932         * sysdeps/nacl/fdopendir.c: New file.
30934         * dirent/scandir-tail.c: New file.
30935         * dirent/scandir64-tail.c: New file.
30936         * dirent/Makefile (routines): Add them.
30937         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
30938         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
30939         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
30940         [!SCANDIR] (SCANDIR_TAIL): New macro.
30941         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
30942         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
30943         (SCANDIRAT): Macro removed.
30944         (SCANDIR_TAIL): New macro.
30945         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
30946         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
30947         (SCANDIRAT): Just call __opendirat and __scandir_tail.
30948         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
30949         (READDIR): Macro removed.
30950         (SCANDIR_TAIL): New macro.
30951         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
30952         (SCANDIR_TAIL): New macro.
30954         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
30955         * dirent/scandir-cancel.c: ... to this new file.
30956         * dirent/Makefile (routines): Add it.
30957         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
30958         * sysdeps/unix/sysv/linux/i386/scandir64.c
30959         (SKIP_SCANDIR_CANCEL): Macro removed.
30960         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
30962         * dirent/tst-scandir.c: New file.
30963         * dirent/tst-scandir64.c: New file.
30964         * dirent/Makefile (tests): Add them.
30966 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
30968         [BZ #18409]
30969         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
30971 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30973         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
30974         list.
30976 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
30978         * benchtests/bench-strcoll.c: New benchmark.
30979         * benchtests/Makefile: Generate locales and run benchmark.
30980         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
30981         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
30982         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
30983         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
30984         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
30985         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
30986         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
30987         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
30988         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
30989         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
30990         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
30991         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
30992         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
30993         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
30994         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
30995         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
30996         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
30997         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
30998         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
30999         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
31000         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
31001         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
31002         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
31003         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
31005 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
31007         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
31008         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
31010 2015-05-12  Roland McGrath  <roland@hack.frob.com>
31012         * posix/uname-values.h: New file.
31013         * posix/uname.c: Include that instead of <config-name.h>.
31014         * sysdeps/nacl/uname-values.h: New file.
31015         * sysdeps/arm/nacl/uname-values.h: New file.
31017 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
31019         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
31020         splitting into fields.
31022 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
31024         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
31025         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
31026         * locale/localeinfo.h: Add enum collation_encoding_type.
31027         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
31028         * programs/ld-collate.c (collate_output): Add encoding type info.
31029         * string/strcoll_l.c (STRDIFF): New function.
31030         * (STRCOLL): Use STRDIFF to skip over equal prefix.
31031         * wcsmbs/wcscoll_l.c: Define STRDIFF.
31033 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
31035         [BZ #18397]
31036         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
31037         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
31038         <fpu_control.h> instead of <math/fpu_control.c>.
31039         * sysdeps/mips/mips32/fpu/Makefile: New file.
31041 2015-05-11  Andreas Schwab  <schwab@suse.de>
31043         [BZ #18007]
31044         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
31045         nss_endgrent.
31046         (_nss_compat_endgrent): Call nss_endgrent.
31047         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
31048         nss_endpwent.
31049         (_nss_compat_endpwent): Call nss_endpwent.
31050         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
31051         needent, call nss_setspent only if non-zero.
31052         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
31053         (internal_endspent): Don't call nss_endspent.
31054         (_nss_compat_endspent): Call nss_endspent.
31055         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
31056         Remove.  All uses removed.
31057         (internal_setent): Remove parameter stayopen, add parameter
31058         stream.  Use it instead of global variable.
31059         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
31060         (internal_endent, internal_getent): Add parameter stream.  Use it
31061         instead of global variable.
31062         (CONCAT(_nss_files_end,ENTNAME))
31063         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
31064         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
31065         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
31066         uses removed.
31067         (internal_setent, internal_endent): Add parameter stream.  Use it
31068         instead of global variable.
31069         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
31070         stream.
31071         (get_next_alias): Add parameter stream.
31072         (_nss_files_getaliasent_r): Pass global stream.
31073         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
31074         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
31075         (_nss_files_gethostbyname4_r): Pass local stream to
31076         internal_setent, internal_getent and internal_endent.  Remove
31077         locking.
31079 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
31081         * tst-strfmon1.c (tests): Update expected currency symbol.
31083 2015-05-08  Roland McGrath  <roland@hack.frob.com>
31085         * sysdeps/nacl/gethostname.c: New file.
31087 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
31089         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
31090         and sinh.
31091         * math/auto-libm-test-out: Regenerated.
31092         * sysdeps/i386/fpu/libm-test-ulps: Update.
31093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31095 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
31097         [BZ #18125]
31098         * stdlib/tst-setcontext3.c: New file.
31099         * stdlib/tst-setcontext3.sh: New file.
31100         * stdlib/Makefile (tests): Add tst-setcontext3.
31101         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
31102         to verify test program created output file.
31103         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
31104         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
31105         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
31106         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
31108 2015-05-06  Roland McGrath  <roland@hack.frob.com>
31110         [BZ #18383]
31111         * elf/tst-tlsalign.c: New file.
31112         * elf/tst-tlsalign-static.c: New file.
31113         * elf/tst-tlsalign-lib.c: New file.
31114         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
31115         (tests-static): Add tst-tlsalign-static.
31116         (modules-names): Add tst-tlsalign-lib.
31117         (test-xfail-tst-tlsalign): New variable.
31118         (test-xfail-tst-tlsalign-static): New variable.
31120         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
31121         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
31123 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
31125         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
31126         csqrt, erfc, sin and sincos.
31127         * math/auto-libm-test-out: Regenerated.
31128         * sysdeps/i386/fpu/libm-test-ulps: Update.
31129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31131 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31133         * sysdeps/aarch64/libm-test-ulps: Update.
31135 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
31137         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
31138         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
31139         * math/auto-libm-test-out: Regenerated.
31140         * sysdeps/i386/fpu/libm-test-ulps: Update.
31141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31143 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
31145         [BZ #18265]
31146         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
31147         (wcsncpy): Likewise.
31149 2015-05-05  Florian Weimer  <fweimer@redhat.com>
31151         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
31152         Assume __ASSUME_FALLOCATE is always true.
31153         * sysdeps/unix/sysv/linux/posix_fallocate64.c
31154         (__posix_fallocate64_l64): Likewise.
31155         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
31156         (posix_fallocate): Likewise.
31157         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
31158         (__posix_fallocate64_l64): Likewise.
31159         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31160         [!__ASSUME_FALLOCATE]: Add comment.
31162 2015-05-05  Florian Weimer  <fweimer@redhat.com>
31164         * sysdeps/unix/sysv/linux/i386/Makefile
31165         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
31166         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
31167         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
31168         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31169         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31170         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
31171         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
31173 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
31175         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
31176         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
31177         tgamma.
31178         * math/auto-libm-test-out: Regenerated.
31179         * sysdeps/i386/fpu/libm-test-ulps: Update.
31180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31182 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
31184         * math/auto-libm-test-in: Add more tests of tgamma.
31185         * math/auto-libm-test-out: Regenerated.
31186         * sysdeps/i386/fpu/libm-test-ulps: Update.
31187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31189         * math/auto-libm-test-in: Add more tests of tanh.
31190         * math/auto-libm-test-out: Regenerated.
31191         * sysdeps/i386/fpu/libm-test-ulps: Update.
31192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31194         * math/auto-libm-test-in: Add more tests of tan.
31195         * math/auto-libm-test-out: Regenerated.
31196         * sysdeps/i386/fpu/libm-test-ulps: Update.
31197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31199         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
31200         * math/auto-libm-test-out: Regenerated.
31201         * sysdeps/i386/fpu/libm-test-ulps: Update.
31202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31204         * math/auto-libm-test-in: Add another test of pow.
31205         * math/auto-libm-test-out: Regenerated.
31206         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31208         * math/auto-libm-test-in: Add more tests of lgamma.
31209         * math/auto-libm-test-out: Regenerated.
31210         * sysdeps/i386/fpu/libm-test-ulps: Update.
31211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31213         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
31214         log1p.
31215         * math/auto-libm-test-out: Regenerated.
31216         * sysdeps/i386/fpu/libm-test-ulps: Update.
31217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31219 2015-05-01  Mark Wielaard  <mjw@redhat.com>
31221         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
31222         Elf64_Chdr structs and ELFCOMPRESS constants.
31224 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
31226         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
31227         expm1.
31228         * math/auto-libm-test-out: Regenerated.
31229         * sysdeps/i386/fpu/libm-test-ulps: Update.
31230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31232         * math/auto-libm-test-in: Add more tests of erf and erfc.
31233         * math/auto-libm-test-out: Regenerated.
31234         * sysdeps/i386/fpu/libm-test-ulps: Update.
31235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31237 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31239         * config.h.in (HAVE_AARCH64_BE): Add.
31241 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
31243         * math/auto-libm-test-in: Add more tests of csqrt.
31244         * math/auto-libm-test-out: Regenerated.
31245         * sysdeps/i386/fpu/libm-test-ulps: Update.
31246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31248         * math/auto-libm-test-in: Add more tests of cosh and sinh.
31249         * math/auto-libm-test-out: Regenerated.
31250         * sysdeps/i386/fpu/libm-test-ulps: Update.
31251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31253         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
31255 2015-04-29  Roland McGrath  <roland@hack.frob.com>
31257         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
31258         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
31260         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
31261         (euidaccess, eaccess): Define as weak aliases.
31263         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
31264         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
31265         but __suseconds_t is often 'long int' so some sources assume that
31266         type is being used (e.g. they use %ld to print tv_usec).
31268 2015-04-29  Florian Weimer  <fweimer@redhat.com>
31270         [BZ #18007]
31271         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
31272         (CVE-2014-8121)
31273         * nss/tst-nss-getpwent.c: New file.
31274         * nss/Makefile (tests): Add new test.
31276 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
31278         [BZ #18346]
31279         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
31280         exponents less than 48 as cases where high part of mantissa needs
31281         examining to determine whether argument is integral.
31282         * math/libm-test.inc (round_test_data): Add more tests.
31284 2015-04-28  Mark Wielaard  <mjw@redhat.com>
31286         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
31288 2015-04-27  David S. Miller  <davem@davemloft.net>
31290         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
31291         __tls_get_addr.
31292         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
31294 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
31296         [BZ #18333]
31297         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
31299 2015-04-27  Florian Weimer  <fweimer@redhat.com>
31301         [BZ #18333]
31302         * time/tzset.c (parse_tzname): Return error on memory allocation
31303         failure.
31304         * test-skeleton.c (struct temp_name_list): Change type of name
31305         member to non-const.
31306         (add_temp_file): Create a copy of the file name.
31307         (delete_temp_files): Deallocate memory.
31308         (create_temp_file): Add comment.
31310 2015-04-24  Florian Weimer  <fweimer@redhat.com>
31312         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
31313         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
31315 2015-04-24  Roland McGrath  <roland@hack.frob.com>
31317         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
31318         * sysdeps/arm/configure: Regenerated.
31320 2015-04-24  Florian Weimer  <fweimer@redhat.com>
31322         [BZ #17715]
31323         * time/tzfile.c (__tzfile_read): Check for large values of
31324         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
31325         * time/tzset.c (__tzstring_len): New function, based on the old
31326         __tzstring function.
31327         (__tzstring): Call __tzstring_len.
31328         (parse_tzname): New helper function extracted from
31329         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
31330         the input string.
31331         (parse_offset): New helper function extracted from
31332         __tzset_parse_tz.  Replace switch with fallthrough with
31333         initialization before sscanf.
31334         (parse_rule): Likewise.
31335         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
31336         new-style function definition.
31337         * timezone/Makefile (tests): Add tst-tzset.
31338         (tst-tzset.out): Dependencies on time zone files.
31339         (tst-tzset-ENV): Set TZDIR.
31340         (testdata/XT%): Copy crafted time zone files.
31341         * timezone/README: Mention crafted time zone files.
31342         * timezone/testdata/XT1, timezone/testdata/XT2,
31343         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
31344         files.
31345         * timezone/tst-tzset.c: New test.
31347 2015-04-24  Florian Weimer  <fweimer@redhat.com>
31349         * Makeconfig (+gccwarn): Remove -Winline.
31351 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
31353         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
31355 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
31357         * NEWS: Mention sysconf() cache information support for s390.
31358         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
31360 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
31362         * math/k_casinh.c (__kernel_casinh): Use __copysign.
31363         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
31364         (__nearbyint): Likewise.
31365         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
31366         (copysignl): Likewise.
31368 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
31370         [BZ #18287]
31371         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
31372         based on padding.  (CVE-2015-1781)
31374 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31376         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
31377         libc-vdso.h.
31378         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
31379         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
31380         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
31381         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
31382         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
31383         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
31384         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
31385         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
31386         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
31387         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
31388         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
31389         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
31390         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
31391         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
31392         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
31393         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
31394         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
31395         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
31396         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
31397         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
31398         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
31399         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
31400         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
31402 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
31404         * stdlib/setenv.c (__add_to_environ):
31405         Dump core quickly if setenv (..., NULL, ...) is called.
31406         This time, do it the right way, and pacify GCC with a pragma.
31408 2015-04-17  Roland McGrath  <roland@hack.frob.com>
31410         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
31411         IMAP->l_prev cannot be null, and #if out the code for the contrary
31412         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
31413         believe that NS (&_dl_ns[NSID]) could point outside the array.
31415         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
31416         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
31417         before using NSID as an index.
31419 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
31421         [BZ #17825]
31422         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
31423         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
31424         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
31426 2015-04-17  Roland McGrath  <roland@hack.frob.com>
31428         Add preliminary port to Google Native Client on ARM.
31429         * abi-tags (.*-.*-nacl.*): New entry.
31430         * sysdeps/arm/nacl: New directory.
31431         * sysdeps/nacl: New directory.
31433 2015-04-16  David S. Miller  <davem@davemloft.net>
31435         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
31436         lowlevellock-futex.h
31438 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
31440         * sysdeps/tile/configure.ac: New file.
31441         * sysdeps/tile/configure: Regenerated.
31443 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31445         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
31446         conditionals for weak_alias and libc_hidden_weak.
31447         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
31448         libc_hidden_weak and weak_alias.
31449         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
31450         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
31451         and weak_alias for static one.
31453 2015-04-15  David S. Miller  <davem@davemloft.net>
31455         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
31457 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31459         [BZ #18206]
31460         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
31461           Use signed comparision instead of substraction to avoid
31462           overflow bug.
31463         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
31464           Take the sign of ret.
31465         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
31466           Do not expect precise return values. Only the sign matters.
31467         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
31468         * wcsmbs/test-wcsncmp.c: New File.
31469         * string/test-strncmp.c: Add wcsncmp support.
31471 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31473         [BZ #6792]
31474         * math/w_log1p.c: New file.
31475         * math/w_log1pf.c: Likewise.
31476         * math/w_log1pl.c: Likewise.
31477         * math/Makefile (libm-calls): Add w_log1p.
31478         * math/s_log1pl.c (log1pl): Remove weak_alias.
31479         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
31480         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
31481         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
31482         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
31483         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
31484         [NO_LONG_DOUBLE] (log1pl): Likewise.
31485         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
31486         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
31487         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
31488         (log1p): Remove long_double_symbol.
31489         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
31490         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
31491         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
31492         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
31493         remove weak_alias for corresponding log1p function.
31494         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
31495         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
31496         * sysdeps/ia64/fpu/w_log1p.c: New file.
31497         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
31498         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
31499         * math/libm-test.inc (log1p_test_data): Add errno expectations.
31501 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
31503         [BZ #18247]
31504         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
31505         decimal exponent by 1.
31506         * stdlib/tst-strtod-round-data: Add more tests.
31507         * stdlib/tst-strtod-round.c (tests): Regenerated.
31509 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
31511         * math/auto-libm-test-in: Add more tests of clog and clog10.
31512         * math/auto-libm-test-out: Regenerated.
31513         * sysdeps/i386/fpu/libm-test-ulps: Update.
31514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31516 2015-04-09  Roland McGrath  <roland@hack.frob.com>
31518         * Makeconfig (module-cppflags): Exclude all .v.i files.
31519         (skip-module-cppflags): Variable removed.
31521         * configure.ac (libc_config_ok): Initialize before reading
31522         preconfigure scripts, not after.
31523         * configure: Regenerated.
31525         * test-skeleton.c (TIMEOUT): Move #define to top level.
31526         (main): Grok environment variable TEST_DIRECT.  If set, print
31527         test expectation details into that file and then behave as if
31528         given --direct.
31530 2015-04-09  Florian Weimer  <fweimer@redhat.com>
31532         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
31533         warning on 32-bit.
31535 2015-04-08  David S. Miller  <davem@davemloft.net>
31537         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31539 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
31541         * math/auto-libm-test-in: Add more tests of atanh.
31542         * math/auto-libm-test-out: Regenerated.
31543         * sysdeps/i386/fpu/libm-test-ulps: Update.
31544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31546         * math/auto-libm-test-in: Add more tests of atan.
31547         * math/auto-libm-test-out: Regenerated.
31548         * sysdeps/i386/fpu/libm-test-ulps: Update.
31549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31551 2015-04-08  Florian Weimer  <fweimer@redhat.com>
31553         * elf/pldd.c (main): Rewrite to use struct
31554         scratch_buffer instead of extend_alloca.
31555         * elf/pldd-xx.c (find_maps): Likewise.
31556         * grp/initgroups.c: Include <scratch_buffer.h> instead of
31557         <alloca.h>.
31558         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
31559         scratch_buffer instead of extend_alloca.
31560         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
31561         grp/compat-initgroups.c.
31562         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
31563         Rewrite to use struct scratch_buffer instead of extend_alloca.
31564         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
31565         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31567 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
31569         * math/auto-libm-test-in: Add more tests of cbrt.
31570         * math/auto-libm-test-out: Regenerated.
31571         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31573         * math/auto-libm-test-in: Add more tests of cabs.
31574         * math/auto-libm-test-out: Regenerated.
31575         * sysdeps/i386/fpu/libm-test-ulps: Update.
31576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31578         [BZ #18210]
31579         [BZ #18211]
31580         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
31581         (__ieee754_atan2): Set FE_TONEAREST mode for internal
31582         computations.
31583         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
31584         clog10.
31585         * math/auto-libm-test-out: Regenerated.
31586         * sysdeps/i386/fpu/libm-test-ulps: Update.
31587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31589         [BZ #18197]
31590         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
31591         (atan): Set FE_TONEAREST mode for internal computations.
31592         * math/auto-libm-test-in: Add more tests of atan.
31593         * math/auto-libm-test-out: Regenerated.
31595 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
31597         [BZ #17930]
31598         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
31600 2015-04-07  Florian Weimer  <fweimer@redhat.com>
31602         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
31604 2015-04-07  Florian Weimer  <fweimer@redhat.com>
31606         * include/scratch_buffer.h: New file.
31607         * malloc/scratch_buffer_grow.c: Likewise.
31608         * malloc/scratch_buffer_grow_preserve.c: Likewise.
31609         * malloc/scratch_buffer_set_array_size.c: Likewise.
31610         * malloc/tst-scratch_buffer.c: Likewise.
31611         * malloc/Makefile (routines): Add scratch_buffer_grow.
31612         (tests): Add test case.
31613         * malloc/Versions (GLIBC_PRIVATE): Export
31614         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
31615         __libc_scratch_buffer_set_array_size.
31617 2015-04-06  Richard Henderson  <rth@redhat.com>
31619         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
31620         * sysdeps/alpha/fpu/libm-test-ulps: Update.
31622         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
31623         unsigned int before printing.
31625 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31627         [BZ #17596]
31628         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
31629         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
31631 2015-04-02  Florian Weimer  <fweimer@redhat.com>
31633         * include/libc-internal.h (libc_max_align_t): Define.
31635 2015-04-02  Andreas Schwab  <schwab@suse.de>
31637         [BZ #16850]
31638         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
31640 2015-04-02  Mel Gorman  <mgorman@suse.de>
31642         [BZ #17195]
31643         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
31644         as well as the main arena.
31646 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
31648         [BZ #18185]
31649         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
31650         sharing L2 cache to 2 for Silvermont/Knights Landing.
31652 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
31654         [BZ #17711]
31655         * config.make.in (have-protected-data): New.
31656         * configure.ac: Check linker support for protected data symbol.
31657         * configure: Regenerated.
31658         * elf/Makefile (modules-names): Add tst-protected1moda and
31659         tst-protected1modb if $(have-protected-data) is yes.
31660         (tests): Add tst-protected1a and tst-protected1b if
31661         $(have-protected-data) is yes.
31662         ($(objpfx)tst-protected1a): New.
31663         ($(objpfx)tst-protected1b): Likewise.
31664         (tst-protected1modb.so-no-z-defs): Likewise.
31665         * elf/tst-protected1a.c: New file.
31666         * elf/tst-protected1b.c: Likewise.
31667         * elf/tst-protected1mod.h: Likewise.
31668         * elf/tst-protected1moda.c: Likewise.
31669         * elf/tst-protected1modb.c: Likewise.
31671 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
31673         [BZ #17711]
31674         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
31675         indicates it is called from do_lookup_x on relocation against
31676         protected data, skip the data definion in the executable from
31677         copy reloc.
31678         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
31679         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
31680         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
31681         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
31682         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
31683         otherwise to 0.
31684         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
31685         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
31686         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
31687         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
31688         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
31689         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
31691 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
31693         * sysdeps/nptl/pthread.h: Remove duplicate definition of
31694         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
31696 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
31698         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
31699         THREAD_SETMEM_NC.
31700         * sysdeps/x86_64/nptl/tls.h: Ditto.
31702 2015-03-27  Roland McGrath  <roland@hack.frob.com>
31704         * dlfcn/tststatic.c (main): Converted to ...
31705         (do_test): ... this.
31706         (TEST_FUNCTION): New macro.
31707         Include test-skeleton.c.
31709 2015-03-26  Alan Modra  <amodra@gmail.com>
31711         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
31712         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
31713         zero for undefined weak.
31714         (elf_machine_plt_conflict): Similarly.
31716 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
31718         * math/auto-libm-test-in: Add more tests of acosh, asinh and
31719         atanh.
31720         * math/auto-libm-test-out: Regenerated.
31721         * sysdeps/i386/fpu/libm-test-ulps: Update.
31722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31724         * math/auto-libm-test-in: Add another test of asin.
31725         * math/auto-libm-test-out: Regenerated.
31726         * sysdeps/i386/fpu/libm-test-ulps: Update.
31727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31729         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
31730         Remove macro.
31731         (LLL_EBX_REG): Likewise.
31732         (LLL_ENTER_KERNEL): Likewise.
31734         * math/auto-libm-test-in: Add more tests of asin.
31735         * math/auto-libm-test-out: Regenerated.
31736         * sysdeps/i386/fpu/libm-test-ulps: Update.
31737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31739         [BZ #18138]
31740         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
31741         libc_do_syscall_args): New structure.
31742         (INTERNAL_SYSCALL_MAIN_0): New macro.
31743         (INTERNAL_SYSCALL_MAIN_1): Likewise.
31744         (INTERNAL_SYSCALL_MAIN_2): Likewise.
31745         (INTERNAL_SYSCALL_MAIN_3): Likewise.
31746         (INTERNAL_SYSCALL_MAIN_4): Likewise.
31747         (INTERNAL_SYSCALL_MAIN_5): Likewise.
31748         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
31749         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
31750         Replace conditional definitions by conditional definitions of ....
31751         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
31752         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
31753         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
31754         (libpthread-sysdep_routines): Add libc-do-syscall.
31755         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
31756         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
31757         to __NR_futex not 240.
31759 2015-03-25  Alan Modra  <amodra@gmail.com>
31761         * NEWS: Advertise TLS optimization.
31762         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
31763         (DT_PPC_NUM): Increment.
31764         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
31765         (CHECK_STATIC_TLS): Use here.
31766         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
31767         TLS descriptors.
31768         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
31769         * sysdeps/powerpc/dl-tls.c: New file.
31770         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
31771         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
31772         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
31773         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
31774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
31775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
31776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
31778 2015-03-25  Alan Modra  <amodra@gmail.com>
31780         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
31781         for overlapping .opd entries" to "support...".
31782         * sysdeps/powerpc/powerpc64/configure: Regenerate
31784 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
31786         * math/auto-libm-test-in: Add more tests of acos.
31787         * math/auto-libm-test-out: Regenerated.
31788         * sysdeps/i386/fpu/libm-test-ulps: Update.
31789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31791         * math/auto-libm-test-in: Add more tests of expm1.
31792         * math/auto-libm-test-out: Regenerated.
31793         * sysdeps/i386/fpu/libm-test-ulps: Update.
31794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31796 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
31798         * math/auto-libm-test-in: Add more tests of cosh and sinh.
31799         * math/auto-libm-test-out: Regenerated.
31800         * sysdeps/i386/fpu/libm-test-ulps: Update.
31801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31803         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
31804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31806         * math/auto-libm-test-in: Add more tests of log2.
31807         * math/auto-libm-test-out: Regenerated.
31808         * sysdeps/i386/fpu/libm-test-ulps: Update.
31809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31811 2015-03-23  Roland McGrath  <roland@hack.frob.com>
31813         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
31814         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
31815         _IO_IS_APPENDING bit in READ_WRITE instead.
31817 2015-03-23  Florian Weimer  <fweimer@redhat.com>
31819         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
31820         (__determine_cpumask_size): Replace extend_alloca with a
31821         variable-length array.  Do not treat res == 0 as an error.
31823 2015-03-23  Florian Weimer  <fweimer@redhat.com>
31825         [BZ #18100]
31826         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
31827         and integer overflow.
31828         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
31829         (main): Add integer overflow tests.
31830         * manual/pattern.texi (Calling Wordexp): Document additional use
31831         for WRDE_SYNTAX.
31833 2015-03-23  Alan Modra  <amodra@gmail.com>
31835         * config.h.in: Remove HAVE_ASM_PPC_REL16.
31836         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
31837         and false branch of conditional.
31838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
31839         Likewise.
31841 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
31843         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
31844         libc-modules.h
31845         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
31846         unused declaration of _hurd_intr_rpc_msg_in_trap.
31847         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
31848         defined instead of whether it is non-zero.
31849         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
31850         input constraint instead of both input and output constraint.  Use ecx
31851         clobber instead of %ecx.
31852         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
31853         mutex_unlock): Use a statement expression instead of an expression list.
31854         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
31855         type to vm_size_t instead of vm_address_t.
31856         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
31857         defined instead of whether it is non-zero.
31858         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
31859         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
31860         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
31861         comparisons with mapaddr.
31862         * nscd/nscd-client.h: Include <time.h>.
31863         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
31864         9th parameter to __vm_region instead of int.
31865         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
31866         * scripts/check-local-headers.sh (exclude): Add device/,
31867         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
31868         cthreads.h.
31870 2015-03-19  Roland McGrath  <roland@hack.frob.com>
31872         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
31873         to account for alignment padding.
31874         * sysdeps/arm/memmove.S: Likewise.
31876 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
31878         * sysdeps/unix/sysv/linux/generic/README: New file.
31880 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
31882         [BZ #18138]
31883         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
31884         (futex_abstimed_wait)
31885         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
31886         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
31887         of lll_futex_timed_wait.
31889 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
31891         [BZ #17542]
31892         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
31894 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
31896         [BZ #17090]
31897         [BZ #17620]
31898         [BZ #17621]
31899         [BZ #17628]
31900         * NEWS: Update.
31901         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
31902         entries with Static TLS too.  Skip entries past the end of the
31903         allocated DTV, from Alan Modra.
31904         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
31905         Static TLS DTV entry set up from...
31906         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
31907         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
31908         * nptl/allocatestack.c (init_one_static_tls): ... and here...
31909         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
31910         for Static TLS.
31911         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
31912         that the slot we find is associated with the given map before
31913         using its generation count.
31914         * nptl_db/db_info.c: Include ldsodefs.h.
31915         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
31916         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
31917         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
31918         (link_map::l_tls_offset): New struct field.
31919         (dtv_t::counter): Likewise.
31920         (rtld_global): New struct.
31921         (_rtld_global): New rtld variable.
31922         (dl_tls_dtv_slotinfo_list): New rtld global field.
31923         (dtv_slotinfo_list): New struct.
31924         (dtv_slotinfo): Likewise.
31925         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
31926         (td_lookup): Rename to...
31927         (td_mod_lookup): ... this.  Use new mod parameter instead of
31928         LIBPTHREAD_SO.
31929         * nptl_db/td_thr_tlsbase.c: Include link.h.
31930         (dtv_slotinfo_list, dtv_slotinfo): New functions.
31931         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
31932         addresses even if the DTV is out of date or missing them.
31933         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
31934         index zero-length arrays.
31935         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
31936         (td_lookup): Make it a macro implemented in terms of...
31937         (td_mod_lookup): ... this declaration.
31938         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
31939         (DB_MAIN_VARIABLE): Likewise.
31941 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
31943         [BZ #18134]
31944         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
31946 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
31948         * stdlib/setenv.c (__add_to_environ): Revert previous change.
31950 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
31952         [BZ #18128]
31953         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
31954         (atomic_add, atomic_increment_and_test)
31955         (atomic_decrement_and_test): Fix 64-bit arithmetic.
31957 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
31959         * stdlib/setenv.c (__add_to_environ):
31960         Dump core quickly if setenv (..., NULL, ...) is called.
31962 2015-03-13  Roland McGrath  <roland@hack.frob.com>
31964         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
31965         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
31966         all the necessary asm magic in one place.
31967         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
31968         using those.
31970 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
31972         [BZ #14906]
31973         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
31974         traced file mtime. Use consistent log message.
31975         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
31976         (register_traced_file): Call install_watches. Always set mtime.
31977         (invalidate_cache): Iterate over all trace files. Call install_watches.
31978         (inotify_check_files): Don't inline. Handle watching parent
31979         directories and configuration file movement in and out.
31980         (handle_inotify_events): New function.
31981         (main_loop_poll): Call handle_inotify_events.
31982         (main_loop_epoll): Likewise.
31983         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
31984         (struct traced_file): Use array of inotify fds. Add parent directory,
31985         and basename.
31986         (struct database_dyn): Remove unused file_mtime.
31987         (init_traced_file): New inline function.
31988         (define_traced_file): New macro.
31989         * nss/nss_db/db-init.c: Use define_traced_file.
31990         (_nss_db_init): Use init_traced_file.
31991         * nss/nss_files/files-init.c: Use define_traced_file.
31992         (_nss_files_init): Use init_traced_file.
31994 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
31996         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
31997         [_LIBC]: Do not include <stdlib.h>.
31998         [!_LIBC] (abort): Remove declaration.
31999         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
32000         _FP_STATIC_ASSERT instead of conditionally calling abort.
32001         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
32002         (_FP_EXTEND_CNAN): Likewise.
32003         (FP_TRUNC): Likewise.
32004         (__FP_CLZ): Likewise.
32005         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
32007 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
32009         * manual/string.texi (XPG basename): Fix prototype.
32011 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
32013         [BZ #18080]
32014         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
32015         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
32016         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
32017         (__setcontext): Likewise.
32018         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
32019         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
32020         Call rt_sigprocmask syscall one time to set new signal mask
32021         and retrieve the current signal mask instead of two calls.
32022         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
32023         (__swapcontext): Likewise.
32024         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
32025         * stdlib/tst-setcontext2.c: New file.
32027 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
32029         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32031 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
32033         [BZ #18093]
32034         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
32035         the wrong size.
32037 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
32039         [BZ #18043]
32040         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
32042 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
32044         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
32045         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
32046         Remove define.
32047         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
32048         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
32049         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
32050         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
32051         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
32052         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
32053         define.
32054         * nptl_db/td_symbol_list.c (td_lookup): Remove
32055         HAVE_ASM_GLOBAL_DOT_NAME code.
32056         * sysdeps/powerpc/powerpc64/configure.ac: Remove
32057         HAVE_ASM_GLOBAL_DOT_NAME check.
32058         * sysdeps/powerpc/powerpc64/configure: Regenerate.
32059         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
32060         (DOT_LABEL): Remove define.
32061         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
32062         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
32063         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
32064         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
32065         (__TLS_GET_ADDR): Likewise.
32066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
32067         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
32069 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
32071         [BZ #18111]
32072         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
32073         (_FPU_SETCW): Initialize cw from fpsr before storing.
32074         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
32075         (fesetexceptflag): Rewrite using fpu_control.h.
32076         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
32078 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
32080         [BZ #18110]
32081         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
32082         asms.
32083         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
32085 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
32087         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
32088         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
32089         abort.
32090         (_FP_FMA): Likewise.
32091         (_FP_DIV): Likewise.
32093 2015-03-10  Roland McGrath  <roland@hack.frob.com>
32095         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
32096         with 0 in that case.
32097         * Makefile (summarize-tests): New canned sequence, factored out of
32098         commands for targets tests and xtests.  Display summary lines that
32099         don't start with PASS: or XFAIL: rather than ones that do start with
32100         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
32101         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
32102         do start with ERROR: or FAIL:.
32103         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
32104         (except for [$(build-shared) = yes]).
32105         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
32106         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
32107         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
32108         * nptl/Makefile: Revert 2015-03-04 changes.
32109         [$(CXX) empty] (tests-unsupported): New variable.
32110         * debug/Makefile: Likewise.
32112         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
32113         gnulib file.  Replace __attribute with __attribute__ throughout.
32115 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
32117         * sysdeps/hppa/fpu/libm-test-ulps: Update.
32119 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
32121         [BZ #18104]
32122         * math/auto-libm-test-in: Add another test of pow.
32123         * math/auto-libm-test-out: Regenerated.
32125 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32127         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
32128         $(config-cflags-nofma).
32130 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
32132         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
32133         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
32134         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
32135         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
32136         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
32137         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
32138         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
32139         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
32140         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
32141         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
32142         Add comment on closing #endif.
32144 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
32146         * posix/wordexp.c (CHAR_IN_SET): New macro.
32147         (parse_param): Use it.
32149 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32151         * sysdeps/powerpc/fpu/libm-test-ulps: update.
32153 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
32155         [BZ #18043]
32156         * posix/wordexp.c (parse_param): Fix buffer overflow.
32157         * posix/wordexp-test.c (test_case): Add test case.
32159 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
32161         [BZ #18042]
32162         * posix/wordexp.c (parse_backtick): Fix off-by-one.
32163         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
32165 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
32167         [BZ #18043]
32168         * posix/wordexp-test.c (test_case): Add test for BZ #18043
32169         (do_bz18043): Delete.
32170         (at_page_end): New.
32171         (testit): Refactor to have words at the edge of unreadable page.
32173 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
32175         [BZ #16734]
32176         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
32177         Cleanup read-only streams as well.
32178         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
32180 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32182         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
32183         <bits/libc-lockP.h>
32185 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
32187         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
32188         on [__KERNEL__].
32189         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
32190         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
32191         * soft-fp/op-common.h (_FP_DECL): Likewise.
32193 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
32195         * elf/ifuncdep2.c (global): Replace
32196         __attribute__((visibility("protected"))) with
32197         asm (".protected global").
32198         * elf/ifuncmod1.c (global): Likewise.
32199         * elf/ifuncmod5.c (global): Likewise.
32201 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
32203         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
32204         <asm/sfp-machine.h> instead of <sfp-machine.h>.
32206 2015-03-06  Roland McGrath  <roland@hack.frob.com>
32208         * manual/install.texi (Configuring and compiling):
32209         Document test-wrapper-env-only.
32210         * INSTALL: Regenerated.
32212 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
32214         [BZ #18043]
32215         * posix/wordexp.c (parse_param): Fix buffer overflow.
32216         * posix/wordexp-test.c (do_bz18043): Add test case.
32218 2015-03-06  Vincent Bernat  <vincent@bernat.im>
32220         * time/tst-strptime2.c (do_test): Ensure failing tests are
32221         reported correctly.
32222         * time/tst-strptime3.c (do_test): Likewise.
32224 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
32226         Fix aio_error thread-safety.
32227         * sysdeps/pthread/aio_error.c: New file
32228         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
32229         synchronization.
32231 2015-03-06  Florian Weimer  <fweimer@redhat.com>
32233         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
32234         (group_number, vfprintf): Use it.
32235         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
32236         (JUMP, REF): Use it.
32237         (WORK_BUFFER_SIZE): New enum constant.
32238         (process_arg, vfprintf): Use it.
32240 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
32242         * manual/errno.texi (Error Messages): Complete example function
32243         by adding missing #define.
32244         (program_invocation_name): Add statement indicating GNU
32245         extension and reference which header file declares the variable.
32246         (program_invocation_short_name): Likewise.
32248 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
32250         * manual/errno.texi (Error Messages): Delete strerror ISO C89
32251         compatibility note.
32253 2015-03-05  Roland McGrath  <roland@hack.frob.com>
32255         * Makeconfig (test-wrapper-env-only): New variable.
32256         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
32257         then use that with $(test-wrapper-env-only) rather than using
32258         $(test-wrapper-env) $(run-program-env) $($*-ENV).
32260 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
32262         [BZ #18082]
32263         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
32264         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
32265         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
32266         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
32267         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
32268         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
32269         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
32270         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
32271         Likewise.
32272         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
32273         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
32274         Likewise.
32275         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
32276         Likewise.
32277         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
32278         Likewise.
32279         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
32280         Likewise.
32281         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
32282         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
32283         Likewise.
32284         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
32285         Likewise.
32286         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
32287         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
32289 2015-03-04  Roland McGrath  <roland@hack.frob.com>
32291         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
32292         (ETH_ALEN): New macro.
32293         (struct ether_addr): Use it for length of ether_addr_octet.
32295         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
32296         (setdb): Don't call __nss_configure_lookup for "rpc".
32297         (do_test): Don't call test_rpc.
32298         (output_rpcent, test_rpc): Functions moved ...
32299         * sunrpc/test-rpcent.c: ... to this new file.
32300         * sunrpc/Makefile (tests): Add it.
32302         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
32303         __xpg_sigpause.
32304         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
32305         * nptl/tst-signal6.c: Likewise.
32306         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
32307         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
32309         * configure.ac (libc_cv_cxx_link_ok): New check.
32310         Reset CXX to empty if it fails to link.
32311         * configure: Regenerated.
32312         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
32313         bug-atexit3-lib only if $(CXX) is nonempty.
32314         * nptl/Makefile (tests): Likewise for tst-cancel24.
32315         (tests, tests-static): Likewise for tst-cancel24-static.
32316         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
32317         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
32318         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
32319         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
32321 2015-03-04  Andreas Schwab  <schwab@suse.de>
32323         [BZ #17631]
32324         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
32325         for non-GCC compilers.
32326         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
32327         Likewise.
32329 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
32331         [BZ #17776]
32332         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
32333         integer before bitwise and assembly operations.
32334         (feclearexcept): Likewise.
32335         * math/test-fenvinline.c: New file.
32336         * math/Makefile: Add test-fenvinline test.
32338 2015-03-03  Alan Modra  <amodra@gmail.com>
32340         [BZ #16512]
32341         * scripts/localplt.awk: Strip off symbol version.
32342         * NEWS: Mention bug fix.
32344 2015-03-02  Roland McGrath  <roland@hack.frob.com>
32346         * sysdeps/pthread/timer_routines.c
32347         (timer_free_list, thread_free_list, thread_active_list): Make static.
32349 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
32351         [BZ #17779]
32352         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
32353         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
32354         Undefine.
32355         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32356         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
32357         Likewise.
32358         * sysdeps/unix/sysv/linux/sh/kernel-features.h
32359         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
32360         Likewise.
32362 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
32364         [BZ #18036]
32365         * posix/fnmatch_loop.c (END): Detect invalid pattern.
32366         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
32368 2015-03-02  Andreas Schwab  <schwab@suse.de>
32370         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
32371         variable name.
32373 2015-03-02  Florian Weimer  <fweimer@redhat.com>
32375         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
32376         Return error status.
32378 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
32380         [BZ #15969]
32381         * locale/findlocale.c (_nl_find_locale): Introduce const
32382         version of loc_name and drop unsafe type casts.
32384 2015-02-27  Roland McGrath  <roland@hack.frob.com>
32386         * dlfcn/tststatic2.c (main): Converted to ...
32387         (do_test): ... this.
32388         (TEST_FUNCTION): New macro.
32389         Include test-skeleton.c.
32391 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
32393         [BZ #17711]
32394         * elf/Makefile (tests): Add vismain only if PIE is enabled.
32395         (tests-pie): Add vismain.
32396         (CFLAGS-vismain.c): New.
32397         * elf/vismain.c: Add comments for PIE requirement.
32399 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
32401         [BZ #18046]
32402         [BZ #18047]
32403         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
32404         0x1p-56L as threshold for just returning the argument.
32405         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
32406         0x1p-32L as threshold for just returning the argument.
32407         * math/auto-libm-test-in: Add more tests of atanh.
32408         * math/auto-libm-test-out: Regenerated.
32409         * sysdeps/i386/fpu/libm-test-ulps: Update.
32410         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
32412 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
32414         * string/bcopy.c (bcopy): Call memmove for performance.
32416 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
32418         * string/bzero.c (__bzero): Call memset for performance.
32420 2015-02-27  John David Anglin  <dave.anglin@bell.net>
32422         [BZ #18068]
32423         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
32424         to 00100000.
32426 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
32428         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
32430 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
32432         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
32433         (__kernel_standard): Use CSTR macro when setting exc.name.
32434         * sysdeps/ieee754/Makefile [$(subdir) = math]
32435         (CFLAGS-k_standard.c): Remove variable.
32437         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
32438         setting p and q from "else if" to "else".
32439         (qzero): Likewise.
32440         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
32441         (qone): Likewise.
32442         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
32443         (qzerof): Likewise.
32444         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
32445         (qonef): Likewise.
32446         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
32447         (qzero): Likewise.
32448         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
32449         (qone): Likewise.
32451         [BZ #18038]
32452         [BZ #18039]
32453         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
32454         return pi/2 for arguments below 0x1p-113L.
32455         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
32456         return pi/2 for arguments below 0x1p-106L.
32457         * math/auto-libm-test-in: Add more tests of acos.
32458         * math/auto-libm-test-out: Regenerated.
32460         [BZ #16351]
32461         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
32462         (MO): New macro.
32463         (__ieee754_asin): Force underflow exception for results with small
32464         absolute value.
32465         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
32466         (MO): New macro.
32467         (__ieee754_asinf): Force underflow exception for results with
32468         small absolute value.
32469         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
32470         (__ieee754_asin): Force underflow exception for results with small
32471         absolute value.
32472         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
32473         (__ieee754_asinf): Force underflow exception for results with
32474         small absolute value.
32475         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
32476         (__ieee754_asinl): Force underflow exception for results with
32477         small absolute value.
32478         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
32479         (__ieee754_asinl): Force underflow exception for results with
32480         small absolute value.
32481         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
32482         (__ieee754_asinl): Force underflow exception for results with
32483         small absolute value.
32484         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
32485         Include <math.h>.
32486         * math/auto-libm-test-in: Do not mark underflow exceptions as
32487         possibly missing for bug 16351.
32488         * math/auto-libm-test-out: Regenerated.
32490         [BZ #18030]
32491         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
32492         of power of 2 down when low part has opposite sign.
32493         * math/libm-test.inc (logb_test_data): Add more tests.
32495 2015-02-26  Andreas Schwab  <schwab@suse.de>
32497         [BZ #18032]
32498         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
32499         over collating symbol inside a bracket expression.  Minor cleanup.
32500         * posix/tst-fnmatch3.c (do_test): Add test case.
32502 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
32504         [BZ #18029]
32505         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
32506         Adjust exponent of power of 2 down when low part has opposite
32507         sign.
32508         * math/libm-test.inc (ilogb_test_data): Add more tests.
32510 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
32512         [BZ #15969]
32513         * locale/findlocale.c (_nl_find_locale): Fix constness error in
32514         the previous change.
32516         [BZ #15969]
32517         * locale/findlocale.c (_nl_find_locale): Retry archive search
32518         after alias expansion.
32520 2015-02-25  Roland McGrath  <roland@hack.frob.com>
32522         * iconv/tst-iconv3.c (main): Converted to ...
32523         (do_test): ... this.
32524         (TEST_FUNCTION): New macro.
32525         Include test-skeleton.c.
32527         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
32528         (convert): Make function static.
32529         (test_unalign): Likewise.  Add const to argument pointee types.
32530         (main): Replace with static function do_test.
32531         Print "Succeeded." only if RET is zero.
32532         (TEST_FUNCTION): New macro.
32533         Include test-skeleton.c.
32535         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
32536         returns a null pointer.
32538 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32540         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
32541         to __memcpy_ppc only for static builds.
32543 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
32545         [BZ #18020]
32546         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
32547         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
32548         * math/auto-libm-test-in: Add more tests of asinh.
32549         * math/auto-libm-test-out: Regenerated.
32550         * sysdeps/i386/fpu/libm-test-ulps: Update.
32551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32553 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
32555         [BZ #15850]
32556         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
32557         and ip6_mtuinfo definitions here.
32558         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
32559         in this define too.  Update comment.
32561 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
32563         * elf/sprof.c (load_shobj): Tweak error message to match others.
32565 2015-02-24  Kevin Easton  <kevin@guarana.org>
32567         [BZ #16145] (partial fix)
32568         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
32569         to reduce lock contention.
32571 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
32573         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
32574         (struct timex): Update time comment.
32575         (ADJ_SETOFFSET): Define.
32577 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
32579         [BZ #18019]
32580         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
32581         2**56 not 2**28 as threshold for log (2x) formula.
32582         * math/auto-libm-test-in: Add more tests of acosh.
32583         * math/auto-libm-test-out: Regenerated.
32584         * sysdeps/i386/fpu/libm-test-ulps: Update.
32585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32587 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
32589         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
32590         parenthesis around the buf assignment.
32591         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
32593 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
32595         [BZ #16783]
32596         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
32597         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
32598         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
32599         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
32600         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
32601         * math/libm-test.inc (scalb_test_data): Add more tests.
32603 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
32605         [BZ #17916]
32606         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
32607         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
32609 2015-02-24  Eric Rannaud  <e@nanocritical.com>
32611         [BZ #17523]
32612         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
32613         * io/bits/fcntl2.h (open): Use it.
32614         (openat): Likewise.
32615         * io/open.c (__libc_open): Likewise.
32616         * io/open64.c (__libc_open64): Likewise.
32617         * io/open64_2.c (__open64_2): Likewise.
32618         * io/open_2.c (__open_2): Likewise.
32619         * io/openat.c (__openat): Likewise.
32620         * io/openat64.c (__openat64): Likewise.
32621         * io/openat64_2.c (__openat64_2): Likewise.
32622         * io/openat_2.c (__openat_2): Likewise.
32623         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
32624         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
32625         * sysdeps/posix/open64.c (__libc_open64): Likewise.
32626         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
32627         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
32628         (__open_nocancel): Likewise.
32629         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
32630         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
32631         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
32633 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32635         [BZ #14841]
32636         * resolv/gethnamaddr.c (getanswer): Skip logging if
32637         RES_USE_DNSSEC is set.
32638         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
32640 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
32642         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
32644 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
32646         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
32647         201304L, for Unicode 7.
32649 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
32651         [BZ #17836]
32652         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
32653         shared library.  Add gmon-start.os otherwise.
32654         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
32655         $(objpfx)gmon-start.os if builing shared library.
32656         ($(objpfx)g$(static-start-installed-name)): Likewise.
32658 2015-02-23  Andreas Schwab  <schwab@suse.de>
32660         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
32662 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
32664         [BZ #17269]
32665         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
32666         (enlarge_userbuf): Likewise.
32668 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
32670         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
32671         * math/atest-exp.c (TIMEOUT): Adjust to 200.
32672         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
32673         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
32675 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
32677         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
32678         expression inside statement expression.
32680 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
32682         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
32683         <sysdeps/nptl/lowlevellock.h> and remove macros and
32684         functions that are now defined there.
32685         (SYS_futex): Remove.
32686         (lll_compare_and_swap): Remove.
32687         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
32689 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
32691         [BZ #17999]
32692         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
32693         instead of scandirat.
32694         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
32695         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
32696         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
32697         __scandirat.
32698         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
32699         (__scandirat): Declare.  Use libc_hidden_proto.
32700         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
32701         Remove variable.
32702         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
32704 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
32706         [BZ #15319]
32707         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
32708         (MO): New macro.
32709         (__ieee754_atan2): For results with small absolute value, force
32710         underflow exception and remove excess range and precision from
32711         return value.
32712         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
32713         (MO): New macro.
32714         (__ieee754_atan2f): For results with small absolute value, force
32715         underflow exception and remove excess range and precision from
32716         return value.
32717         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
32718         (MO): New macro.
32719         (__atan): For results with small absolute value, force underflow
32720         exception and remove excess range and precision from return value.
32721         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
32722         (MO): New macro.
32723         (__atanf): For results with small absolute value, force underflow
32724         exception and remove excess range and precision from return value.
32725         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
32726         <math.h>.
32727         (__ieee754_atan2): Force underflow exception for results with
32728         small absolute value.
32729         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
32730         <math_private.h>.
32731         (atan): Force underflow exception for results with small absolute
32732         value.
32733         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
32734         (__atanf): Force underflow exception for results with small
32735         absolute value.
32736         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
32737         <math.h>.
32738         (__atanl): Force underflow exception for results with small
32739         absolute value.
32740         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
32741         (__atanl): Force underflow exception for results with small
32742         absolute value.
32743         * sysdeps/x86/fpu/bits/mathinline.h
32744         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
32745         (__ieee754_atan2): Only define inline for long double.
32746         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
32747         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
32748         * math/auto-libm-test-in: Do not mark underflow exceptions as
32749         possibly missing for bug 15319.  Add more tests of atan2.
32750         * math/auto-libm-test-out: Regenerated.
32751         * math/libm-test.inc (casin_test_data): Do not mark underflow
32752         exceptions as possibly missing for bug 15319.
32753         (casinh_test_data): Likewise.
32754         * sysdeps/i386/fpu/libm-test-ulps: Update.
32756 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
32758         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
32759         * sysdeps/mips/bits/endian.h: Fix comments.
32761 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
32763         [BZ #17996]
32764         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
32765         (hdestroy_r): Likewise.
32766         (hsearch_r): Likewise.
32767         (__hcreate_r): Declare and use libc_hidden_proto.
32768         (__hdestroy_r): Likewise.
32769         (__hsearch_r): Likewise.
32770         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
32771         (hcreate): Call __hcreate_r instead of hcreate_r.
32772         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
32773         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
32774         as weak alias of __hcreate_r.
32775         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
32776         __hdestroy_r.
32777         (hsearch_r): Rename to __hsearch_r and define as weak alias of
32778         __hsearch_r.
32779         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
32780         Remove variable.
32781         (test-xfail-XPG4/search.h/linknamespace): Likewise.
32782         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
32783         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
32784         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
32786 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
32788         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
32789         arena_lock into a single arena_get.
32791 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
32793         * dl-reloc.c: Inlucde libc-internal.h.
32794         (_dl_try_allocate_static_tls): Call ALIGN_UP.
32795         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
32796         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
32797         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
32798         (grow_heap): Likewise.
32799         * malloc/malloc.c: Include libc-internal.h.
32800         (do_check_malloc): Call powerof2.
32801         (sysmalloc): Use pagesize. Call ALIGN_UP.
32802         (systrim): Use pagesize.
32803         (mremap_chunk): Use pagesize. Call ALIGN_UP.
32804         (__libc_valloc): Use pagesize.
32805         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
32807 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
32809         [BZ #17991]
32810         * include/sys/resource.h (__getrlimit64): Declare.  Use
32811         libc_hidden_proto.
32812         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
32813         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
32814         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
32815         getrlimit64.
32816         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
32817         __getrlimit64.
32818         [!getrlimit64] (getrlimit64): Define as weak alias of
32819         __getrlimit64.  Use libc_hidden_weak.
32820         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
32821         using __getrlimit64 not __new_getrlimit64.
32822         (__GI_getrlimit64): Likewise.
32823         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
32824         Likewise.
32825         (__GI_getrlimit64): Likewise.
32826         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
32827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
32828         (getrlimit): Add __getrlimit64 alias.
32829         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
32830         Likewise.
32831         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
32832         Remove variable.
32833         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
32834         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
32836 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
32838         * libio/fileops.c: Add missing sys/mman.h
32839         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
32841 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
32843         * manual/math.texi (Errors in Math Functions): Clarify goals
32844         regarding inexact and underflow exceptions.
32846 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
32848         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
32849         * sysdeps/mips/memset.S: Ditto.
32851 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
32853         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
32855 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
32857         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
32858         (__v1longjmp): Remove versioned symbol.
32859         (__v1siglongjmp): Remove alias and versioned symbol.
32860         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
32861         (__v2siglongjmp): Likewise.
32863 2015-02-16  Torvald Riegel  <triegel@redhat.com>
32865         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
32867 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
32869         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
32871 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
32873         [BZ #17987]
32874         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
32875         zero result does not depend on the sign resulting from
32876         subtraction.
32877         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
32878         Likewise.
32879         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
32880         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
32881         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
32882         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
32883         * math/libm-test.inc (remquo_test_data): Add more tests.
32885 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
32887         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
32888         Problem reported by J William Piggott.
32890 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
32892         [BZ #17978]
32893         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
32894         products 4 * y and 2 * y where those would overflow.
32895         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
32896         Likewise.
32897         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
32898         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
32899         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
32900         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
32901         * math/libm-test.inc (remquo_test_data): Add more tests.
32903         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
32905         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
32906         [defined _COMPILING_NEWLIB].
32907         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
32908         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
32910         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
32911         [!defined __mips_isa_rev || __mips_isa_rev < 6].
32913 2015-02-16  Torvald Riegel  <triegel@redhat.com>
32915         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
32916         acquired.
32918 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
32920         [BZ #17792]
32921         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
32922         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
32923         HOST_STACK_END_ADDR): Likewise.
32925 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
32927         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
32928         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
32929         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
32931 2015-02-13  Roland McGrath  <roland@hack.frob.com>
32933         * sysdeps/generic/c++-types.data: New file.
32934         * sysdeps/generic/ld.abilist: New file.
32935         * sysdeps/generic/libBrokenLocale.abilist: New file.
32936         * sysdeps/generic/libanl.abilist: New file.
32937         * sysdeps/generic/libc.abilist: New file.
32938         * sysdeps/generic/libcrypt.abilist: New file.
32939         * sysdeps/generic/libdl.abilist: New file.
32940         * sysdeps/generic/libm.abilist: New file.
32941         * sysdeps/generic/libpthread.abilist: New file.
32942         * sysdeps/generic/libresolv.abilist: New file.
32943         * sysdeps/generic/librt.abilist: New file.
32945 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
32947         [BZ #17569]
32948         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
32949         Compute absolute value of x as modified by fmod, not original
32950         value of x.
32951         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
32952         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
32953         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
32954         RUN_TEST_ffI_f1_mod8.
32955         (remquo_test_data): Add more tests.
32957 2015-02-13  Roland McGrath  <roland@hack.frob.com>
32959         * sysdeps/init_array/pt-crti.S: New file.
32961 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
32963         [BZ #17967]
32964         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
32965         __builtin_fmaf instead of relying on contraction of a * b + c.
32967 2015-02-12  J William Piggott  <elseifthen@gmx.com>
32969         [BZ #17969]
32970         * manual/time.texi: correct the zoneinfo path in the TZ Variable
32971         node.
32973 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
32975         [BZ #17964]
32976         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
32977         __builtin_fma instead of relying on contraction of a * b + c.
32979 2015-02-12  Roland McGrath  <roland@hack.frob.com>
32981         * Makeconfig (ASFLAGS): Add -Werror=undef.
32982         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
32983         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
32984         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
32986         * Makeconfig (after-link): New variable.
32987         (+link-pie, +link-pie-tests): Use it.
32988         (+link-static, +link-static-tests): Likewise.
32989         (+link, +link-tests): Likewise.
32990         * Makerules (build-module, build-module-asneeded): Likewise.
32991         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
32992         Likewise.
32993         * elf/Makefile ($(objpfx)ld.so): Likewise.
32995 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
32997         [BZ #17965]
32998         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
32999         both struct timeval and struct timespec.
33001 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
33003         [BZ #16560]
33004         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33005         and redefine.
33006         (__ieee754_exp2l): Do not multiply small fractional parts by
33007         M_LN2l.
33008         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
33009         small argument.
33010         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
33011         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
33012         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
33013         * math/auto-libm-test-in: Add more tests of exp2.
33014         * math/auto-libm-test-out: Regenerated.
33016 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33018         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
33019         unaligned path.
33021 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33023         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
33024         little endian.
33026 2015-02-12  Andreas Schwab  <schwab@suse.de>
33028         [BZ #15790]
33029         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
33030         Filter out elision flags from value returned in kind.
33031         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
33032         * nptl/tst-pthread-mutexattr.c: New file.
33034 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33036         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
33037         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
33038         into gnu-gnu, and update comment to refer to abi-tags.
33040 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
33042         [BZ #15467]
33043         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
33044         (__sincos): Set errno to EDOM for infinite argument.
33045         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
33046         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
33047         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
33048         (__sincosl): Set errno to EDOM for infinite argument.
33049         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
33050         (__sincosl): Set errno to EDOM for infinite argument.
33051         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
33052         (__sincosl): Set errno to EDOM for infinite argument.
33053         * math/libm-test.inc (sincos_test_data): Test errno setting.
33055 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
33057         * string/strxfrm_l.c: Remove #define STRCMP.
33058         * string/strcoll_l.c: Remove #define STRLEN.
33059         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
33060         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
33062 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
33064         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
33065         * sysdeps/mips/mips32/sfp-machine.h: ... here.
33066         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
33067         * sysdeps/mips/mips64/Makefile: ... here.
33068         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
33069         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
33070         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
33071         * sysdeps/mips/mips64/sfp-machine.h: ... here.
33072         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
33073         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
33074         * sysdeps/mips/mips64/n64/Implies: Likewise.
33076 2015-02-10  Roland McGrath  <roland@hack.frob.com>
33078         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
33079         <sys/time.h>, <string.h>, and <errno.h>.
33080         (dest_offset, dest_address, value, zero): Remove unused variables.
33081         (ldouble): Remove typedef.
33082         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
33083         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
33084         1).  Fix code style.
33085         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
33086         (check): Function removed.
33087         (CHECK): New macro.
33088         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
33089         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
33090         Don't call set_sigaction_FP and remove_sigaction_FP here.
33091         (ldouble_test): Just use 'long double' as macro argument, no need for
33092         the 'ldouble' typedef.
33093         (do_test): Set up SIGFPE handler at start, using plain signal rather
33094         than sigaction.  Fix code style.
33096 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
33098         [BZ #17949]
33099         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
33100         jump label.
33102 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
33104         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
33105         * sysdeps/powerpc/powerpc32/configure: Regenerated.
33107         * sysdeps/powerpc/configure.ac: Remove file.
33108         * sysdeps/powerpc/configure: Likewise.
33110         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
33111         [sysdep_routines]: Remove wordcopy-power6 object.
33112         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
33113         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
33114         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
33115         (__memmove_ppc32): Likewise.
33116         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
33117         file.
33118         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
33119         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
33120         Remove preprocessor.
33122         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
33123         [sysdep_routines]: Remove wide chars objects.
33124         [wcsmbs]: New rule for wide char objects.
33126         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33127         Remove wordcopy-power6 obejct.
33128         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
33129         Use local call for wordcopy and memcpy symbols.
33130         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
33131         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
33132         implementation for loader.
33133         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
33135         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33136         Remove wordcopy-power7 object.
33137         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
33138         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
33139         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
33140         (_wordcopy_fwd_dest_aligned): Likewise.
33141         (_wordcopy_bwd_aligned): Likewise.
33142         (_wordcopy_bwd_dest_aligned): Likewise.
33144         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
33145         Rewrite to call __memmove_ppc instead of include default
33146         implementation.
33148         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33149         Remove wide chars objects.
33150         [wcsmbs]: New rule for wide char objects.
33152 2015-02-09  Andreas Schwab  <schwab@suse.de>
33154         [BZ #17912]
33155         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
33156         in terms of __O_DIRECTORY.
33158 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33160         * time/getdate.c: Include <stdbool.h>.
33161         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
33162         call PTR_MANGLE.
33163         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
33164         PTR_DEMANGLE.
33166 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
33168         Add ersatz _Static_assert on older C hosts
33169         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
33170         pre-C11 C platform that is not known to support _Static_assert.
33172 2015-02-07  Richard Braun  <rbraun@sceen.net>
33174         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
33175         sigstate.
33176         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
33178 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33180         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
33181         priority against unexistent AIO_PRIO_DELTA_MAX.
33182         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
33183         instead of int.
33184         * misc/fchflags.c (fchflags): Likewise.
33185         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
33186         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
33187         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
33188         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
33189         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
33190         Declare macros.
33191         [__USE_MISC] (chflags, fchflags): Declare functions.
33192         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
33193         EINVAL when nfds is greater than FD_SETSIZE.
33194         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
33195         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
33196         45.
33197         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
33198         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
33199         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
33200         MACH_RCV_TIMED_OUT.
33201         * hurd/hurd/signal.h (_hurd_self_sigstate,
33202         _hurd_critical_section_lock, _hurd_critical_section_unlock):
33203         Explicit casts from void *.
33204         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
33205         * abi-tags: Rename gnu-gnu os into gnu.
33207         [BZ #4719]
33208         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
33209         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
33210         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
33211         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
33212         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
33213         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
33215         [BZ #17944]
33216         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
33217         duplicates ADDR->sun_path with sockaddr LEN limitation.
33218         * sysdeps/mach/hurd/connect.c: Include <string.h>
33219         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
33220         * sysdeps/mach/hurd/sendmsg.c: Likewise.
33221         * sysdeps/mach/hurd/sendto.c: Likewise.
33222         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
33223         implementing it by hand.
33225 2015-02-06  Roland McGrath  <roland@hack.frob.com>
33227         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
33228         Use sfi_breg on ldr.
33229         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
33230         Likewise.
33232         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
33233         it's defined.
33234         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
33235         Test SIGSETXID only if it's defined.
33237         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
33239         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
33240         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
33242         * nptl/tst-align2.c: Moved ...
33243         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
33244         * nptl/Makefile (tests): Remove tst-align2.
33245         * sysdeps/unix/sysv/linux/Makefile
33246         [$(subdir) = nptl] (tests): Add tst-align-clone.
33247         * nptl/tst-getpid1.c: Moved ...
33248         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
33249         * nptl/tst-getpid2.c: Moved ...
33250         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
33251         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
33252         * sysdeps/unix/sysv/linux/Makefile
33253         [$(subdir) = nptl] (tests): ... here.
33254         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
33255         * sysdeps/unix/sysv/linux/Makefile
33256         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
33258         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
33259         Drop trailing \n from perror argument.  Use return rather than exit.
33261         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
33262         on [SA_SIGINFO].
33263         * nptl/tst-cancel21.c (do_test): Likewise.
33264         * debug/tst-backtrace6.c: Include <signal.h> first thing.
33265         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
33266         [!SA_SIGINFO]: Make it a stub test.
33268         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
33269         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
33271         * posix/tst-getlogin.c: Move to ...
33272         * login/tst-getlogin.c: ... here.
33273         * posix/Makefile (tests): Move tst-getlogin to ...
33274         * login/Makefile (tests): ... here.
33276         * libio/tst-atime.c (do_test): Move local variables SV and E
33277         inside [ST_NOATIME] conditional.
33279         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
33281         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
33283         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
33284         (wait_code): New function replaces macro.
33285         Call nanosleep rather than syscall.
33287         * nptl/pt-system.c: Rewritten.  Put everything under
33288         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
33289         Use IFUNC to redirect when possible.
33291         * nptl/pt-longjmp.c: Rewritten.  Put everything under
33292         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
33293         Use IFUNC to redirect when possible.
33295         * nptl/pt-fork.c: Rewritten.  Put everything under
33296         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
33297         Use IFUNC to redirect when possible.
33298         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
33300         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
33301         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
33302         unconditionally nowadays.  This included the only reference to
33303         __vdso_clock_gettime that appears outside libc proper.
33304         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
33305         Remove version set (containing only __vdso_clock_gettime).
33306         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
33307         Add attribute_hidden.
33308         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
33309         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
33310         libc_hidden_data_def.
33311         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
33312         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
33314         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
33315         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
33316         setrpcent, and getrpcport to ...
33317         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
33318         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
33319         getrpcbynumber_r, and getrpcent_r to ...
33320         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
33321         * inet/getrpcbyname.c: Moved ...
33322         * sunrpc/getrpcbyname.c: ... here.
33323         * inet/getrpcbyname_r.c: Moved ...
33324         * sunrpc/getrpcbyname_r.c: ... here.
33325         * inet/getrpcbynumber.c: Moved ...
33326         * sunrpc/getrpcbynumber.c: ... here.
33327         * inet/getrpcbynumber_r.c: Moved ...
33328         * sunrpc/getrpcbynumber_r.c: ... here.
33329         * inet/getrpcent.c: Moved ...
33330         * sunrpc/getrpcent.c: ... here.
33331         * inet/getrpcent_r.c: Moved ...
33332         * sunrpc/getrpcent_r.c: ... here.
33333         * inet/Makefile (routines): Move those to ...
33334         * sunrpc/Makefile (routines): ... here.
33335         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
33336         the $(subdirs) list.
33337         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
33338         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
33339         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
33340         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
33342         * elf/Makefile (routines): Include $(all-dl-routines), not just
33343         $(dl-routines).
33344         (rtld-routines): Likewise.  Use = rather than :=.
33345         * sysdeps/aarch64/Makefile [$(subdir) = elf]
33346         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
33347         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
33348         * sysdeps/arm/Makefile: Likewise.
33349         * sysdeps/i386/Makefile: Likewise.
33350         * sysdeps/x86_64/Makefile: Likewise.
33351         * sysdeps/hppa/Makefile [$(subdir) = elf]
33352         (sysdep_routines, sysdep-rtld-routines): Don't add
33353         $(sysdep-dl-routines) to these.
33354         * sysdeps/ia64/Makefile: Likewise.
33355         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
33356         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
33357         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
33358         Don't add dl-static to these; sysdep-dl-routines alone is enough.
33359         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
33360         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
33361         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
33362         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
33363         * sysdeps/powerpc/Makefile [$(subdir) = elf]
33364         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
33365         these; sysdep-dl-routines alone is enough.
33367 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
33369         [BZ #17932]
33370         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
33371         where multiplication results in zero and third argument is finite
33372         and nonzero.
33373         * math/auto-libm-test-in: Add more tests of fma.
33374         * math/auto-libm-test-out: Regenerated.
33376         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
33377         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
33378         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
33379         (_FP_CMP_EQ): Likewise.
33380         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
33382         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
33383         extra argument CHECK_NAN.  Redefine as wrapper around
33384         _FP_EXTEND_CNAN.
33386 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
33388         * version.h (RELEASE): Set to "stable".
33389         (VERSION): Set to "2.21"
33390         * include/features.h (__GLIBC_MINOR__): Set to 21.
33392         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
33394 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
33395             Paul Eggert  <eggert@cs.ucla.edu>
33397         [BZ #16618]
33398         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
33399         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
33400         size in bytes. Store needed elements in wpmax. Use needed size
33401         in bytes for extend_alloca.
33403 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
33405         * manual/install.texi: Latest tested versions are GCC 4.9.2,
33406         binutls 2.25, and texinfo 5.2.
33407         * INSTALL: Regenerate.
33408         * sysdeps/nios2/configure: Regenerate.
33409         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
33410         * manual/contrib.texi: Update.
33411         * po/be.po: Update.
33412         * po/bg.po: Update.
33413         * po/ca.po: Update.
33414         * po/cs.po: Update.
33415         * po/da.po: Update.
33416         * po/de.po: Update.
33417         * po/el.po: Update.
33418         * po/eo.po: Update.
33419         * po/es.po: Update.
33420         * po/fi.po: Update.
33421         * po/fr.po: Update.
33422         * po/gl.po: Update.
33423         * po/hr.po: Update.
33424         * po/hu.po: Update.
33425         * po/ia.po: Update.
33426         * po/id.po: Update.
33427         * po/it.po: Update.
33428         * po/ja.po: Update.
33429         * po/ko.po: Update.
33430         * po/lt.po: Update.
33431         * po/nb.po: Update.
33432         * po/nl.po: Update.
33433         * po/pl.po: Update.
33434         * po/pt_BR.po: Update.
33435         * po/ru.po: Update.
33436         * po/rw.po: Update.
33437         * po/sk.po: Update.
33438         * po/sl.po: Update.
33439         * po/sv.po: Update.
33440         * po/tr.po: Update.
33441         * po/uk.po: Update.
33442         * po/vi.po: Update.
33443         * po/zh_CN.po: Update.
33444         * po/zh_TW.po: Update.
33446         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
33447         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
33448         * sysdeps/hppa/dl-irel.h: Remove #warning.
33449         * sysdeps/hppa/entry.h: Provide prototype for
33450         __canonicalize_funcptr_for_compare and cast argument.
33451         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
33452         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
33453         * sysdeps/hppa/sotruss-lib.c: New file.
33454         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
33455         (atomic_compare_and_exchange_val_acq): Use __typeof__.
33456         (atomic_compare_and_exchange_bool_acq): Likewise.
33457         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
33458         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
33460         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
33461         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
33462         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
33464 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
33466         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
33467         called function in non-PIC case.
33469 2015-01-31  David S. Miller  <davem@davemloft.net>
33471         * sysdeps/sparc/sparc32/bits/atomic.h
33472         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
33473         unlock not after it.
33474         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
33475         volatile register usage warnings from the compiler.
33477         * sysdeps/sparc/nptl/sem_init.c: Delete.
33478         * sysdeps/sparc/nptl/sem_post.c: Delete.
33479         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
33480         * sysdeps/sparc/nptl/sem_wait.c: Delete.
33481         * sysdeps/sparc/sparc32/sem_init.c: New file.
33482         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
33483         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
33484         padding explicitly initialized.
33485         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
33486         padding for in-semaphore spinlock.
33487         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
33488         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
33489         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
33490         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
33491         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
33492         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
33493         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
33494         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
33495         version.
33496         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
33497         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
33499 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
33501         [BZ #17801]
33502         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33503         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
33504         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
33505         New.
33506         (index_AVX_Fast_Unaligned_Load): Likewise.
33507         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
33508         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
33509         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
33510         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
33511         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
33512         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
33513         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
33514         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
33515         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
33517 2015-01-29  Andreas Schwab  <schwab@suse.de>
33519         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
33521 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
33523         [BZ #17892]
33524         * nscd/nscd_stat.c (send_stats): Initialize DATA.
33526 2015-01-28  Martin Sebor  <msebor@redhat.com>
33528         * math/README.libm-test: Clarify. Add "How to read the test output."
33530 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
33532         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
33533         Define to 0.
33535 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
33537         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
33538         (__HAVE_64B_ATOMICS): Define to 0.
33540 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
33542         [BZ #17885]
33543         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
33544         value to set as new flag.
33546         [BZ #16576]
33547         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
33548         and use _ARCH_PPCSQ instead.
33549         (__ieee754_sqrt): Likewise.
33550         (__ieee754_sqrtf): Likewise.
33551         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
33552         _ARCH_PPCSQ is defined.
33553         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
33554         fsqrt instruction.
33555         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
33556         _ARCH_PPCSQ is defined.
33557         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
33558         fsqrts instruction.
33559         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
33561 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33563         * iconv/loop.c: Suppress array out of bound warning caused by GCC
33564         bug (GCC BZ #64739).
33566 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
33568         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
33569         Mark _retval as used.
33570         (lll_futex_wake_unlock): Likewise.
33571         (lll_futex_timed_wait_requeue_pi): Likewise.
33573         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
33574         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
33575         register variables.
33577         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
33578         libm_hidden_def.
33580         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
33581         (__bswap_64): Mark as __always_inline.
33583 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
33585         [BZ #15378]
33586         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
33587         when none of the search directories exist.
33589 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
33591         [BZ #17869]
33592         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
33593         power8 in .machine directive.
33595         [BZ #17868]
33596         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
33597         set dependency from opd value.
33599 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
33601         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33602         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
33603         architecture.
33605 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
33607         [BZ #17870]
33608         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
33609         with uint64_t.
33610         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
33611         (uint64_t) 1.
33612         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
33613         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
33614         Replace 1UL with (uint64_t) 1.
33615         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
33616         int with uint64_t.
33618 2015-01-23  Roland McGrath  <roland@hack.frob.com>
33620         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
33621         (if_freenameindex): Likewise.
33623         * resource/getrlimit64.c: Add missing libc_hidden_def.
33625 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
33627         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
33628         __label__.
33629         (_FP_FMA): Likewise.
33630         (_FP_TO_INT_ROUND): Likewise.
33631         (_FP_FROM_INT): Likewise.
33633 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33635         [BZ #16418]
33636         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
33637         Make code racy and cancel safe.
33639 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
33641         * sysdeps/arm/unwind-resume.h: Fix copyright year.
33642         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
33643         attribution.
33645         * pwd/tst-getpw.c: Rewrite.
33647         [BZ #17702]
33648         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
33649         (modules-names): Add moddummy1 and moddummy2.
33650         ($(objpfx)tst-rec-dlopen): Define.
33651         * dlfcn/moddummy1.c: New file.
33652         * dlfcn/moddummy2.c: New file.
33653         * dlfcn/tst-rec-dlopen.c: New file.
33654         * elf/dl-cache.c (_dl_load_cache_lookup):
33655         Return char*. Copy result with alloca/strcpy/strdup.
33656         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
33657         returns char*. Free cached. If not saving realname
33658         free cached.
33659         * elf/dl-open.c (dl_open_worker): Do not assert that
33660         _r_debug->r_state is RT_CONSISTENT.
33661         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
33662         returns char*.
33664 2015-01-21  Torvald Riegel  <triegel@redhat.com>
33665             Carlos O'Donell  <carlos@redhat.com>
33667         [BZ #12674]
33668         * nptl/sem_waitcommon.c: New file.
33669         * nptl/sem_wait.c: Include sem_waitcommon.c.
33670         (__sem_wait_cleanup, do_futex_wait): Remove.
33671         (__new_sem_wait): Adapt.
33672         (__new_sem_trywait): New function.
33673         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
33674         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
33675         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
33676         (sem_timedwait): Adapt.
33677         * nptl/sem_post.c (__new_sem_post): Adapt.
33678         (futex_wake): New function.
33679         (__old_sem_post): Add release MO fence.
33680         * nptl/sem_open.c (sem_open): Adapt.
33681         * nptl/sem_init.c (__new_sem_init): Adapt.
33682         (futex_private_if_supported): New function.
33683         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
33684         (__old_sem_getvalue): Add using previous code.
33685         * sysdeps/nptl/internaltypes.h: Adapt.
33686         * nptl/tst-sem13.c (do_test): Adapt.
33687         * nptl/tst-sem11.c (main): Adapt.
33688         * nptl/sem_trywait.c: Remove.
33689         * nptl/DESIGN-sem.txt: Remove.
33690         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
33691         (gen-as-const-headers): Remove structsem.sym.
33692         * nptl/structsem.sym: Remove.
33693         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
33694         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
33695         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
33696         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
33697         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
33698         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
33699         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
33700         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
33701         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
33702         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
33703         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
33704         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
33705         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
33706         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
33707         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
33708         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
33709         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
33710         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
33711         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
33712         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
33713         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
33714         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
33716 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
33718         * INSTALL: Regenerated.
33720         * po/libc.pot: Regenerated.
33722 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
33723             Sandra Loosemore  <sandra@codesourcery.com>
33724             Andrew Jenner  <andrew@codesourcery.com>
33725             Joseph Myers  <joseph@codesourcery.com>
33726             Nathan Sidwell  <nathan@codesourcery.com>
33728         * NEWS: Mention new Nios II port.
33729         * sysdeps/nios2/Implies: New file.
33730         * sysdeps/nios2/Makefile: New file.
33731         * sysdeps/nios2/Subdirs: New file.
33732         * sysdeps/nios2/Versions: New file.
33733         * sysdeps/nios2/__longjmp.S: New file.
33734         * sysdeps/nios2/abort-instr.h: New file.
33735         * sysdeps/nios2/backtrace.c: New file.
33736         * sysdeps/nios2/bits/endian.h: New file.
33737         * sysdeps/nios2/bits/fenv.h: New file.
33738         * sysdeps/nios2/bits/link.h: New file.
33739         * sysdeps/nios2/bits/setjmp.h: New file.
33740         * sysdeps/nios2/bsd-_setjmp.S: New file.
33741         * sysdeps/nios2/bsd-setjmp.S: New file.
33742         * sysdeps/nios2/configure: New generated file.
33743         * sysdeps/nios2/configure.ac: New file.
33744         * sysdeps/nios2/crti.S: New file.
33745         * sysdeps/nios2/crtn.S: New file.
33746         * sysdeps/nios2/dl-init.c: New file.
33747         * sysdeps/nios2/dl-machine.h: New file.
33748         * sysdeps/nios2/dl-sysdep.h: New file.
33749         * sysdeps/nios2/dl-tls.h: New file.
33750         * sysdeps/nios2/dl-trampoline.S: New file.
33751         * sysdeps/nios2/gccframe.h: New file.
33752         * sysdeps/nios2/gmp-mparam.h: New file.
33753         * sysdeps/nios2/jmpbuf-offsets.h: New file.
33754         * sysdeps/nios2/jmpbuf-unwind.h: New file.
33755         * sysdeps/nios2/ldsodefs.h: New file.
33756         * sysdeps/nios2/libc-tls.c: New file.
33757         * sysdeps/nios2/libm-test-ulps: New file.
33758         * sysdeps/nios2/machine-gmon.h: New file.
33759         * sysdeps/nios2/math-tests.h: New file.
33760         * sysdeps/nios2/math_private.h: New file.
33761         * sysdeps/nios2/memusage.h: New file.
33762         * sysdeps/nios2/nptl/Makefile: New file.
33763         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
33764         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
33765         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
33766         * sysdeps/nios2/nptl/pthreaddef.h: New file.
33767         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
33768         * sysdeps/nios2/nptl/tls.h: New file.
33769         * sysdeps/nios2/preconfigure: New file.
33770         * sysdeps/nios2/s_fma.c: New file.
33771         * sysdeps/nios2/s_fmaf.c: New file.
33772         * sysdeps/nios2/setjmp.S: New file.
33773         * sysdeps/nios2/sfp-machine.h: New file.
33774         * sysdeps/nios2/sotruss-lib.c: New file.
33775         * sysdeps/nios2/stackguard-macros.h: New file.
33776         * sysdeps/nios2/stackinfo.h: New file.
33777         * sysdeps/nios2/start.S: New file.
33778         * sysdeps/nios2/sysdep.h: New file.
33779         * sysdeps/nios2/tls-macros.h: New file.
33780         * sysdeps/nios2/tst-audit.h: New file.
33781         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
33782         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
33783         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
33784         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
33785         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
33786         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
33787         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
33788         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
33789         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
33790         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
33791         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
33792         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
33793         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
33794         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
33795         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
33796         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
33797         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
33798         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
33799         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
33800         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
33801         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
33802         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
33803         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
33804         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
33805         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
33806         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
33807         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
33808         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
33809         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
33810         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
33811         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
33812         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
33813         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
33814         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
33815         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
33816         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
33817         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
33818         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
33819         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
33820         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
33821         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
33822         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
33823         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
33824         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
33826 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
33828         [BZ #17844]
33829         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
33830         (getutent): Use weak_alias in non SHARED case
33831         and default_symbol_version in SHARED case.
33832         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
33833         (getutent_r, pututline): Likewise.
33834         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
33835         (getutid): Likewise.
33836         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
33837         (getutid_r): Likewise.
33838         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
33839         (getutline): Likewise.
33840         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
33841         (getutline_r): Likewise.
33842         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
33843         (updwtmp): Likewise.
33845 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
33847         [BZ #17848]
33848         * sysdeps/s390/s390-32/memcmp.S
33849         (memcmp_g5): Rename to __memcmp_g5.
33850         * sysdeps/s390/s390-32/memcpy.S
33851         (memcpy_g5): Rename to __memcpy_g5.
33852         Jump to __memcpy_mvcle instead of memcpy_mvcle.
33853         (memcpy_mvcle) Rename to __memcpy_mvcle.
33854         * sysdeps/s390/s390-32/memset.S
33855         (memset_g5): Rename to __memset_g5.
33856         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
33857         (IFUNC_RESOLVE): Prefix ifunc-resolve function
33858         and use prefixed functions.
33859         * sysdeps/s390/s390-32/multiarch/memcmp.S
33860         (memcmp_z196): Rename to __memcmp_z196.
33861         (memcmp_z10): Rename to __memcmp_z10.
33862         (memcmp): Set alias to __memcmp_g5.
33863         (bcmp): Set alias to __memcmp_g5.
33864         * sysdeps/s390/s390-32/multiarch/memcpy.S
33865         (memcpy_z196): Rename to __memcpy_z196.
33866         Jump to __memcpy_mvcle instead of memcpy_mvcle.
33867         (memcpy_z10): Rename to __memcpy_z10.
33868         Jump to __memcpy_mvcle instead of memcpy_mvcle.
33869         (memcpy): Set alias to __memcpy_g5.
33870         * sysdeps/s390/s390-32/multiarch/memset.S
33871         (memset_z196): Rename to __memset_z196.
33872         Jump to __memset_mvcle instead of memset_mvcle.
33873         (memset_z10): Rename to __memset_z10.
33874         Jump to __memset_mvcle instead of memset_mvcle.
33875         (memset_mvcle) Rename to __memset_mvcle.
33876         (memset): Set alias to __memset_g5.
33877         * sysdeps/s390/s390-64/memcmp.S
33878         (memcmp_z900): Rename to __memcmp_z900.
33879         * sysdeps/s390/s390-64/memcpy.S
33880         (memcpy_z900): Rename to __memcpy_z900.
33881         Jump to __memcpy_mvcle instead of memcpy_mvcle.
33882         (memcpy_mvcle) Rename to __memcpy_mvcle.
33883         * sysdeps/s390/s390-64/memset.S
33884         (memset_z900): Rename to __memset_z900.
33885         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
33886         (IFUNC_RESOLVE): Prefix ifunc-resolve function
33887         and use prefixed functions.
33888         * sysdeps/s390/s390-64/multiarch/memcmp.S
33889         (memcmp_z196): Rename to __memcmp_z196.
33890         (memcmp_z10): Rename to __memcmp_z10.
33891         (memcmp): Set alias to __memcmp_z900.
33892         (bcmp): Set alias to __memcmp_z900.
33893         * sysdeps/s390/s390-64/multiarch/memcpy.S
33894         (memcpy_z196): Rename to __memcpy_z196.
33895         Jump to __memcpy_mvcle instead of memcpy_mvcle.
33896         (memcpy_z10): Rename to __memcpy_z10.
33897         Jump to __memcpy_mvcle instead of memcpy_mvcle.
33898         (memcpy): Set alias to __memcpy_z900.
33899         * sysdeps/s390/s390-64/multiarch/memset.S
33900         (memset_z196): Rename to __memset_z196.
33901         Jump to __memset_mvcle instead of memset_mvcle.
33902         (memset_z10): Rename to __memset_z10.
33903         Jump to __memset_mvcle instead of memset_mvcle.
33904         (memset_mvcle) Rename to __memset_mvcle.
33905         (memset): Set alias to __memset_z900.
33907 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
33909         [BZ #17748]
33910         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
33911         __fesetenv instead of fesetenv.
33913 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
33915         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
33916         macro.
33918 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33920         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
33921         regression on LE.
33923         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
33924         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
33925         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
33926         strncmp-power8 object.
33927         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33928         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
33929         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
33930         * NEWS: Update.
33932 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33933             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33935         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
33936         trailing byte check.
33938 2015-01-13  David S. Miller  <davem@davemloft.net>
33940         * include/signal.h (__sigreturn): Guard with __USE_MISC.
33942 2015-01-13  Roland McGrath  <roland@hack.frob.com>
33944         * login/logout.c (logout): Use memset rather than bzero.
33945         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
33946         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
33947         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
33948         (_gethtbyaddr): Likewise.
33949         * locale/programs/simple-hash.c (bcopy): Macro removed.
33951 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33953         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33954         Add strcmp-power8 object.
33955         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33956         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
33957         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
33958         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
33959         __strcmp_power8 implementation.
33960         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
33961         * NEWS: Update.
33963         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33964         Add strncpy-power8 and stpncpy-power8 objects.
33965         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33966         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
33967         implementations.
33968         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
33969         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
33970         __stpncpy_power8 implementation.
33971         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
33972         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
33973         __strncpy_power8 implementation.
33974         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
33975         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
33976         * NEWS: Update.
33978         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
33979         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
33980         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
33982         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
33983         strncat-power8 object.
33984         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
33985         __strcat_power8 implementation.
33986         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33987         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
33988         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
33989         optimized strcat for power8.
33991         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
33992         strcpy-power8 and stpcpy-power8 objects.
33993         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33994         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
33995         implementations.
33996         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
33997         multiarch stpcpy implementation for POWER8.
33998         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
33999         multiarch strcpy implementation for POWER8.
34000         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
34001         __strcpy_power8 function.
34002         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
34003         stpcpy for POWER8.
34004         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
34005         strcpy for POWER8.
34006         * NEWS: Update.
34008 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
34010         [BZ #16009]
34011         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
34012         weights and rules. Use do_xfrm_cached if data fits in cache,
34013         do_xfrm otherwise.  Moved former main loop to...
34014         * (do_xfrm_cached): New function.
34015         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
34016         find_idx, find_position and stack_push.
34017         * (find_idx): New function.
34018         * (find_position): Likewise.
34019         * localedata/sort-test.sh: Added test run for do_xfrm.
34020         * localedata/xfrm-test.c (main): Added command line option
34021         -nocache to run the test with strings that are too large for
34022         the STRXFRM cache.
34024 2015-01-13  Torvald Riegel  <triegel@redhat.com>
34026         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
34027         variable to lll_futex_wake call, not the value itself.
34029 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
34031         [BZ #17803]
34032         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
34033         twom64.  Adjust value to 0x1p-64L.
34034         (__scalblnl): Only return standard underflowing result for K <=
34035         -64 not K <= -63; adjust exponent for underflowing result by 64
34036         not 63.
34037         * math/libm-test.inc (scalbn_test_data): Add more tests.
34038         (scalbln_test_data): Likewise.
34040         [BZ #17834]
34041         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
34042         0x1p63L.
34043         (__scalblnl): Get new exponent of adjusted subnormal value from ES
34044         not HX.
34045         * math/libm-test.inc (scalbn_test_data): Add more tests.
34046         (scalbln_test_data): Likewise.
34048 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34049             Stefani Seibold  <stefani@seibold.net>
34051         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
34052         (sysdep_routines): Add dl-vdso here, ...
34053         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
34054         (sysdep_routines): ... not here.
34055         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
34056         fallback when vDSO is not presented.
34057         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
34058         Define with libc_hidden_proto/libc_hidden_data_def definitions.
34059         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
34060         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
34061         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
34062         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
34063         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
34064         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
34065         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
34066         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
34067         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
34068         fallback configurable symbol when vDSO is not available.
34069         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
34070         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
34071         be able to redefine fallback symbol when vDSO is not available.
34072         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
34073         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
34075 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34077         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
34078         (TLS_INIT_TP): Add tm_capable initialization.
34079         (TLS_DEFINE_INIT_TP): Likewise.
34080         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
34081         TCB.
34082         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
34083         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
34084         calculation.
34085         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
34086         transactoion is lock elision is built and TCB tm_capable is set.
34087         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
34088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34089         (INTERNAL_SYSCALL_NCS): Likewise.
34090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34091         (INTERNAL_SYSCALL_NCS): Likewise.
34092         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
34094         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
34095         for powerpc.
34096         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34097         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
34098         and remove it for 32 bits case.
34099         [pthread_rwlock_t] (__rwelision): New field for lock elision.
34100         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
34101         initialization.
34102         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
34103         Disable lock elision with rdlocks if elision is not available.
34105         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
34106         (sysdep_routines): Add lock elision objects.
34107         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34108         [pthread_mutex_t] (__spins): Rework to add lock elision field.
34109         [pthread_mutex_t] (__elision): Add field.
34110         [__PTHREAD_SPINS]: Adjust to init lock elision field.
34111         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
34112         elision definitions for powerpc.
34113         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
34114         implementation of lock elision for powerpc.
34115         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
34116         implementation of timed lock elision for powerpc.
34117         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
34118         implementation of trylock with lock elision for powerpc.
34119         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
34120         implementaion of unlock for lock elision for powerpc.
34121         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
34122         automatic enable lock elision for mutexes.
34123         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
34124         transaction execution definitions for powerpc.
34125         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
34126         definitions.
34127         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
34128         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
34129         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
34130         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
34131         * NEWS: Update.
34133 2015-01-09  Roland McGrath  <roland@hack.frob.com>
34135         * sysdeps/posix/shm-directory.c: Use <> rather than ""
34136         for #include of <shm-directory.h>.
34138 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
34140         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
34141         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
34143 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
34145         [BZ #17791]
34146         * NEWS: Mention bug fix.
34147         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
34148         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
34149         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
34151 2015-01-09  Torvald Riegel <triegel@redhat.com>
34153         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
34155 2015-01-09  Torvald Riegel <triegel@redhat.com>
34157         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
34159 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
34161         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
34162         pointer and cast to uintptr_t.
34164 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
34166         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
34167         removed.
34168         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
34170 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
34172         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
34173         of 0.
34175 2015-01-08  Roland McGrath  <roland@hack.frob.com>
34177         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
34178         <nptl/pthreadP.h> instead.
34179         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
34181         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
34182         already defined.
34183         [__SIGRTMIN] (init): Function removed.
34184         [__SIGRTMIN] (initialized): Variable removed.
34185         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
34186         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
34187         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
34188         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
34189         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
34190         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
34191         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
34192         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
34193         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
34194         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
34195         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
34196         * sysdeps/nptl/allocrtsig.c: New file.
34197         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
34198         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
34199         * sysdeps/generic/testrtsig.h: File removed.
34201         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
34202         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
34204         * nptl/nptl-init.c (pthread_functions): Conditionalize
34205         .ptr__nptl_setxid initialization on [SIGSETXID].
34207         * sysdeps/nptl/sys/procfs.h: New file.
34208         * nptl_db/Makefile (headers): Add it.
34209         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
34211         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
34212         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
34213         * nptl/pthread_attr_setaffinity.c: Include it.
34214         * nptl/pthread_setattr_default_np.c: Likewise.
34215         * nptl/check-cpuset.h: New file.
34217 2015-01-08  Richard Henderson  <rth@redhat.com>
34219         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
34220         (CFLAGS-tst-execstack-prog.c): Likewise.
34221         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
34223 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
34224             Sandra Loosemore  <sandra@codesourcery.com>
34225             Andrew Jenner  <andrew@codesourcery.com>
34226             Joseph Myers  <joseph@codesourcery.com>
34227             Nathan Sidwell  <nathan@codesourcery.com>
34229         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
34230         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
34231         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
34232         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
34233         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
34234         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
34235         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
34236         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
34237         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
34238         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
34239         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
34240         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
34241         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
34242         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
34243         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
34244         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
34245         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
34247 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34249         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
34250         timespec struct member in syscall macro.
34251         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
34252         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
34253         first timeval struct member in syscall macro.
34254         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
34256 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
34258         [BZ #17748]
34259         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
34260         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
34261         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
34262         __feupdateenv and define as weak alias of __feupdateenv.  Use
34263         libm_hidden_weak.
34264         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
34265         libm_hidden_def.
34266         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
34267         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
34268         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
34269         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
34270         libm_hidden_def.
34271         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
34272         __feupdateenv and define as weak alias of __feupdateenv.  Use
34273         libm_hidden_weak.
34274         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
34275         libm_hidden_def.
34276         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
34277         __feupdateenv and define as weak alias of __feupdateenv.  Use
34278         libm_hidden_weak.
34279         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
34280         libm_hidden_def.
34281         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
34282         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
34283         (__feupdateenv): Likewise.
34284         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
34285         __feupdateenv and define as weak alias of __feupdateenv.  Use
34286         libm_hidden_weak.
34287         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34288         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
34289         libm_hidden_def.
34290         * sysdeps/tile/math_private.h (__feupdateenv): New inline
34291         function.
34292         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
34293         libm_hidden_def.
34294         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
34295         __feupdateenv instead of feupdateenv.
34296         (default_libc_feupdateenv_test): Likewise.
34297         (libc_feresetround_ctx): Likewise.
34299 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34301         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
34302         prototype.
34304 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
34306         * posix/regcomp.c (parse_bracket_exp): Initialize type to
34307         COLL_SYM in a couple of places to avoid uninitialized variable
34308         wanings on tilegx gcc 4.8.2.
34310 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
34312         * sysdeps/aarch64/strcpy.S: New file.
34313         * sysdeps/aarch64/stpcpy.S: New file.
34314         * NEWS: Updated.
34316 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
34318         * sysdeps/aarch64/strrchr.S: New file.
34319         * NEWS: Updated.
34321 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
34323         [BZ #17658]
34324         * stdlib/setenv.c: Fix memory leak when setting large,
34325         duplicate string.
34327 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
34329         [BZ #17273]
34330         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
34331         and tabs from buffer before parsing fstab entry.
34332         * misc/tst-mntent.c (main): Add test for mount entry with
34333         trailing spaces and tabs.
34335 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
34337         [BZ #17748]
34338         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
34339         * math/fesetround.c (fesetround): Rename to __fesetround and
34340         define as weak alias of __fesetround.  Use libm_hidden_weak.
34341         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
34342         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
34343         * sysdeps/arm/fesetround.c (fesetround): Likewise.
34344         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
34345         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
34346         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
34347         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
34348         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
34349         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
34350         __fesetround_inline.
34351         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
34352         __fesetround_inline instead of __fesetround.
34353         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
34354         __fesetround and define as weak alias of __fesetround.  Use
34355         libm_hidden_weak.  Call __fesetround_inline instead of
34356         __fesetround.
34357         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
34358         __fesetround and define as weak alias of __fesetround.  Use
34359         libm_hidden_weak.
34360         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
34361         Likewise.
34362         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
34363         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34364         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
34365         * sysdeps/tile/math_private.h (__fesetround): New inline function.
34366         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
34367         __fesetround and define as weak alias of __fesetround.  Use
34368         libm_hidden_weak.
34369         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
34370         __fesetround instead of fesetround.
34371         (default_libc_feholdexcept_setround): Likewise.
34372         (libc_feholdsetround_ctx): Likewise.
34373         (libc_feholdsetround_noex_ctx): Likewise.
34375         [BZ #17748]
34376         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
34377         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
34378         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
34379         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
34380         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
34381         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
34382         define as weak alias of __fesetenv.  Use libm_hidden_weak.
34383         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
34384         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
34385         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
34386         define as weak alias of __fesetenv.  Use libm_hidden_weak.
34387         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
34388         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
34389         define as weak alias of __fesetenv.  Use libm_hidden_weak.
34390         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
34391         libm_hidden_def.
34392         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
34393         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
34394         Likewise.
34395         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
34396         define as weak alias of __fesetenv.  Use libm_hidden_weak.
34397         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34398         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
34399         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
34400         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
34401         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
34402         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
34403         __fesetenv instead of fesetenv.
34404         (libc_feresetround_noex_ctx): Likewise.
34405         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
34406         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
34407         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
34408         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
34409         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
34410         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
34411         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
34412         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
34413         (__feupdateenv): Likewise.
34414         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
34415         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34416         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
34417         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
34419 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
34421         [BZ #17806]
34422         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
34423         addresses have been freed.
34425 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
34427         * resolv/res_init.c (__res_vinit): Improve comments about nserv
34428         and nservall.
34430 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
34432         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
34433         Clean up check_pf allocation pattern. addresses
34435 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34437         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
34438         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
34439         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
34440         * nptl/pthread_exit.c (__pthread_exit): Likewise.
34441         * nptl/pthread_join.c (pthread_join): Likewise.
34442         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
34443         * sysdeps/posix/waitid.c (__waitid): Likewise.
34444         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
34445         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
34446         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
34447         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
34448         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
34449         Likewise.
34450         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
34451         (__libc_pread64): Likewise.
34452         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
34453         (__libc_pwrite): Likewise.
34454         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
34455         (__libc_pwrite64): Likewsie.
34456         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
34457         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
34458         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
34459         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
34460         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
34461         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
34462         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
34463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
34464         Likewise.
34465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34466         (__libc_pread64): Likewise.
34467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
34468         Likewise.
34469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34470         (__libc_pwrite64): Likewise.
34471         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
34472         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
34473         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
34474         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
34475         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
34476         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
34477         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
34478         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
34479         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
34480         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
34481         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
34482         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
34483         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
34484         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
34485         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
34486         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
34487         Likewise.
34489 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
34491         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
34492         (CFLAGS-test-double.c): Likewise.
34493         (CFLAGS-test-ldouble.c): Likewise.
34494         (CPPFLAGS-test-ifloat.c): Likewise.
34495         (CPPFLAGS-test-idouble.c): Likewise.
34496         (CPPFLAGS-test-ildoubl.c): Likewise.
34497         (CFLAGS-test-test-fenv.c): Remove variable.
34498         (CFLAGS-test-misc.c): Likewise.
34500 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
34502         [BZ #17797]
34503         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
34504         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
34505         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
34506         CLOCKS_PER_SEC == 1000000.
34507         * time/clocktest.c (main): Replace %ld with %jd and cast to
34508         intmax_t.
34510 2015-01-05  Roland McGrath  <roland@hack.frob.com>
34512         * sysdeps/generic/unwind-resume.h: New file.
34513         * sysdeps/gnu/unwind-resume.c: Include it.
34514         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
34515         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
34516         argument list.
34517         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
34518         global rather than static.
34519         (_Unwind_Resume): Update user.
34520         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
34521         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
34522         rather than static.  Add __attribute__ ((cold)).
34523         (_Unwind_Resume, __gcc_personality_v0): Update callers.
34524         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
34525         * sysdeps/arm/arm-unwind-resume.S: New file.
34526         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
34527         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
34528         * sysdeps/arm/Makefile [$(subdir) = csu]
34529         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
34530         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
34531         Add rt-arm-unwind-resume.
34532         [$(subdir) = nptl]
34533         (libpthread-sysdep_routines, libpthread-shared-only-routines):
34534         Add pt-arm-unwind-resume.
34535         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
34536         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
34538 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
34540         [BZ #17748]
34541         * include/fenv.h (__feholdexcept): Declare.  Use
34542         libm_hidden_proto.
34543         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
34544         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
34545         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34546         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
34547         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
34548         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
34549         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
34550         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34551         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
34552         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
34553         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
34554         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
34555         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
34556         (feholdexcept): Likewise.
34557         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
34558         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34559         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
34560         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34561         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
34562         __feholdexcept instead of feholdexcept.
34563         (default_libc_feholdexcept_setround): Likewise.
34565 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
34567         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
34568         to avoid using stl/str to align destination.
34570 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
34572         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
34574 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
34576         [BZ #17796]
34577         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
34578         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
34579         Define as weak alias not strong alias.
34581 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
34583         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
34584         bltzal with addiupc.
34585         (RTLD_START): Ditto.
34587 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
34589         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
34590         for __vdso_* functions in declarations.
34591         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
34592         definitions.
34593         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
34594         INTERNAL_VSYSCALL): Use struct return types to check for error.
34596         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
34597         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
34598         function with cast from llround().
34599         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
34600         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
34601         Define.
34603 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
34605         [BZ #17793]
34606         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
34607         Define as weak alias not strong alias.
34609         [BZ #17635]
34610         * ctype/ctype-c99.c: New file.  isblank implementation moved from
34611         ...
34612         * ctype/ctype-extn.c: ... here.
34613         (__isblank_l): Move to ...
34614         * ctype/ctype-c99_l.c: ... here.  New file.
34615         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
34616         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
34617         Remove variable.
34618         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
34619         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
34620         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
34621         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
34622         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
34624         [BZ #17777]
34625         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
34626         (posix_fadvise64): Define as weak alias not strong alias.
34627         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34628         (posix_fallocate64): Likewise.
34629         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
34630         Remove variable.
34631         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
34632         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
34633         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
34634         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
34635         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
34637 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
34639         [BZ #16191]
34640         * NEWS: Mention bug fix.
34641         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
34642         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
34643         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
34644         (HOST_STACK_END_ADDR): Likewise.
34646 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
34648         [BZ #17748]
34649         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
34650         * math/fegetround.c (fegetround): Rename to __fegetround and
34651         define as weak alias of __fegetround.  Use libm_hidden_weak.
34652         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
34653         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
34654         * sysdeps/arm/fegetround.c (fegetround): Likewise.
34655         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
34656         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
34657         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
34658         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
34659         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
34660         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
34661         Undefine after rather than before function definition; use
34662         parentheses around function name in definition.
34663         (__fegetround): Also undefine macro after function definition.
34664         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
34665         __fegetround and define as weak alias of __fegetround.  Use
34666         libm_hidden_weak.  Do not undefine as macro.
34667         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
34668         Likewise.
34669         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
34670         __fegetround and define as weak alias of __fegetround.  Use
34671         libm_hidden_weak.
34672         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34673         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
34674         * sysdeps/tile/math_private.h (__fegetround): New inline function.
34675         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
34676         __fegetround and define as weak alias of __fegetround.  Use
34677         libm_hidden_weak.
34678         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
34679         __fegetround instead of fegetround.
34681         [BZ #17782]
34682         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
34683         Condition macro definition on [__USE_MISC].
34685         [BZ #17781]
34686         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
34687         (struct sigaction): Change type of sa_flags field to int.
34689         [BZ #17780]
34690         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
34691         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
34692         __glibc_reserved0.
34694         * nptl/version.c (banner): Use single year in copyright notice.
34696         * NEWS: Update copyright dates.
34697         * catgets/gencat.c (print_version): Likewise.
34698         * csu/version.c (banner): Likewise.
34699         * debug/catchsegv.sh: Likewise.
34700         * debug/pcprofiledump.c (print_version): Likewise.
34701         * debug/xtrace.sh (do_version): Likewise.
34702         * elf/ldconfig.c (print_version): Likewise.
34703         * elf/ldd.bash.in: Likewise.
34704         * elf/pldd.c (print_version): Likewise.
34705         * elf/sotruss.sh: Likewise.
34706         * elf/sprof.c (print_version): Likewise.
34707         * iconv/iconv_prog.c (print_version): Likewise.
34708         * iconv/iconvconfig.c (print_version): Likewise.
34709         * locale/programs/locale.c (print_version): Likewise.
34710         * locale/programs/localedef.c (print_version): Likewise.
34711         * login/programs/pt_chown.c (print_version): Likewise.
34712         * malloc/memusage.sh (do_version): Likewise.
34713         * malloc/memusagestat.c (print_version): Likewise.
34714         * malloc/mtrace.pl: Likewise.
34715         * manual/libc.texinfo: Likewise.
34716         * nptl/version.c (banner): Likewise.
34717         * nscd/nscd.c (print_version): Likewise.
34718         * nss/getent.c (print_version): Likewise.
34719         * nss/makedb.c (print_version): Likewise.
34720         * posix/getconf.c (main): Likewise.
34721         * scripts/test-installation.pl: Likewise.
34722         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
34724 2015-01-02  Will Newton  <will.newton@linaro.org>
34726         * sysdeps/arm/armv7/configure: Removed.
34727         * sysdeps/arm/armv7/configure.ac: Likewise.
34729 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
34731         * All files with FSF copyright notices: Update copyright dates
34732         using scripts/update-copyrights.
34733         * intl/plural.c: Regenerated.
34734         * locale/programs/charmap-kw.h: Likewise.
34735         * locale/programs/locfile-kw.h: Likewise.
34737 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34739         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
34741 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
34743         [BZ #17748]
34744         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
34745         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
34746         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
34747         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
34748         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
34749         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
34750         define as weak alias of __fegetenv.  Use libm_hidden_weak.
34751         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
34752         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
34753         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
34754         define as weak alias of __fegetenv.  Use libm_hidden_weak.
34755         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
34756         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
34757         define as weak alias of __fegetenv.  Use libm_hidden_weak.
34758         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
34759         libm_hidden_def.
34760         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
34761         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
34762         Likewise.
34763         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
34764         define as weak alias of __fegetenv.  Use libm_hidden_weak.
34765         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34766         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
34767         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
34768         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
34769         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
34770         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
34771         __fegetenv instead of fegetenv.
34772         (libc_feholdsetround_noex_ctx): Likewise.
34774 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
34776         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
34777         (Elf_MIPS_ABIFlags_v0): New structure.
34778         (EF_MIPS_FP64): Define.
34779         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
34780         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
34781         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
34782         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
34783         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
34784         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
34785         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
34786         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
34787         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
34788         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
34789         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
34790         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
34791         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
34792         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
34793         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
34794         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
34795         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
34796         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
34797         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
34798         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
34799         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
34800         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
34801         field.
34802         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
34803         EF_MIPS_FP64.
34804         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
34805         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
34806         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
34807         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
34808         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
34809         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
34810         * sysdeps/mips/tst-abi-interlink.c: Likewise.
34811         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
34812         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
34813         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
34814         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
34815         record the current FP ABI extension.
34816         (mips-mode-switch): Define to show if kernel headers support mode
34817         switching.
34818         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
34819         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
34820         supported SYSV ABI version to 3.
34821         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
34822         feature.
34824 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34825             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34827         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
34828         path.
34829         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
34831 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
34833         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
34834         __fegetround and redefine to call __fegetround.  Remove condition
34835         on [!__NO_MATH_INLINES].
34836         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
34837         function.
34838         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
34839         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
34840         Remove macro.
34841         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
34842         instead of <fenv_libc.h>.
34843         (__llrintl): Call fegetround instead of __fegetround.
34844         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
34845         instead of <fenv_libc.h>.
34846         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
34847         (__lrintl): Call fegetround instead of __fegetround.
34848         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
34849         instead of <fenv_libc.h>.
34850         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
34851         (__rintl): Call fegetround instead of __fegetround.
34853 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
34855         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
34856         arrays.
34858 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
34860         [BZ #17775]
34861         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
34862         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
34863         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
34865 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
34867         * sysdeps/i386/tls-macros.h: Include <features.h>.
34868         (TLS_LE): Use non-PIC version for GCC >= 5.0.
34869         (TLS_IE): Likewise.
34870         (TLS_LD): Likewise.
34871         (TLS_GD): Likewise.
34872         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
34873         define for GCC >= 5.0.
34875 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
34877         * math/test-fenv.c (test_single_exception, set_single_exc,
34878         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
34879         feexcp_mask_test, feenable_test, fe_single_test): Add
34880         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
34881         case where they are not used.
34882         * math/libm-test.inc: Likewise.
34883         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
34884         unused in the absence of FP rounding/exception support.
34885         * stdio-common/tst-printf-round.c: Likewise.
34886         * stdlib/tst-strtod-round.c: Likewise.
34887         * stdlib/tst-strtod-underflow.c: Likewise.
34889 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
34891         [BZ #17723]
34892         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
34893         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
34894         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
34895         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
34896         libm_hidden_weak.
34897         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
34898         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
34899         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
34900         libm_hidden_def.
34901         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
34902         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
34903         libm_hidden_weak.
34904         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
34905         Likewise.
34906         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
34907         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
34908         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
34909         libm_hidden_weak.
34910         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
34911         libm_hidden_def.
34912         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
34913         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
34914         (__feraiseexcept): Likewise.
34915         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
34916         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
34917         libm_hidden_weak.
34918         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
34919         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
34920         libm_hidden_def.
34921         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
34922         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
34923         Use libm_hidden_def.
34924         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
34925         libm_hidden_def.
34926         (feraiseexcept): Define as weak not strong alias.  Use
34927         libm_hidden_weak.
34928         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
34929         New inline function.  Factored out of ...
34930         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
34931         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
34932         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
34933         feraiseexcept.
34934         * math/w_acos.c (__acos): Likewise.
34935         * math/w_asin.c (__asin): Likewise.
34936         * math/w_ilogb.c (__ilogb): Likewise.
34937         * math/w_j0.c (y0): Likewise.
34938         * math/w_j1.c (y1): Likewise.
34939         * math/w_jn.c (yn): Likewise.
34940         * math/w_log.c (__log): Likewise.
34941         * math/w_log10.c (__log10): Likewise.
34942         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
34943         * sysdeps/aarch64/fpu/math_private.h
34944         (libc_feupdateenv_test_aarch64): Likewise.
34945         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
34946         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
34947         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
34948         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
34949         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
34950         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
34951         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
34952         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
34953         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34954         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
34956 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
34958         [BZ #17732]
34959         * io/test-utime.c (main): Replace %ld with %jd and cast to
34960         intmax_t.
34961         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
34962         * nptl/tst-mutex5.c: Include <stdint.h>.
34963         (do_test): Replace %ld with %jd and cast to intmax_t.
34964         * posix/tst-regex.c (run_test): Likewise.
34965         (run_test_backwards): Likewise.
34966         * rt/tst-clock.c: Include <stdint.h>.
34967         (clock_test): Replace %ld with %jd and cast to intmax_t.
34968         * rt/tst-cpuclock1.c: Include <stdint.h>.
34969         (do_test): Replace %lu with %ju and cast to uintmax_t.
34970         * rt/tst-cpuclock2.c: Include <stdint.h>.
34971         (do_test): Replace %lu with %ju and cast to uintmax_t.
34972         * rt/tst-mqueue1.c: Include <stdint.h>.
34973         (check_attrs): Replace %ld with %jd and cast to intmax_t.
34974         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
34975         intmax_t.
34976         * rt/tst-mqueue4.c (do_test): Likewise.
34977         * rt/tst-timer4.c: Include <stdint.h>.
34978         (check_ts): Replace %ld with %jd and cast to intmax_t.
34979         (do_test): Likewise.
34980         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
34981         and cast to intmax_t.
34982         * sysdeps/pthread/tst-timer.c (main): Likewise.
34983         * time/clocktest.c (main): Likewise.
34984         * time/tst-posixtz.c (do_test): Likewise.
34985         * timezone/tst-timezone.c (main): Likewise.
34987 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
34988             H.J. Lu  <hongjiu.lu@intel.com>
34990         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
34991         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
34992         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
34993         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
34994         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
34995         version if bit_Fast_Unaligned_Load is set.
34996         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34997         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34998         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34999         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35000         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35001         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35002         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35003         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
35004         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
35005         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
35006         to 4.
35007         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
35008         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
35009         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
35010         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
35012 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
35014         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
35015         instead of #if to avoid a Wundef warning.
35016         * stdlib/tst-limits.c (do_test): Likewise.
35018         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
35019         parallel other exception macros.
35020         (fegetenv): Convert from macro to extern inline so that it applies
35021         retroactively to inline functions already seen by the compiler.
35022         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
35024         * posix/Makefile (before-compile): Use $(objpfx) for
35025         posix-conf-vars-def.h.
35027 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35029         * posix/getconf.c (main): Use size_t for type of I.
35030         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
35031         NSPEC.
35033         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
35034         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
35035         * posix/posix-envs.def: Likewise.
35036         * sysdeps/posix/sysconf.c: Likewise.
35037         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
35038         (specs): Remove array.
35039         * scripts/gen-posix-conf-vars.awk: Support generation of specs
35040         array.
35042         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
35043         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
35044         (__sysconf): Use CONF_IS_* macros.
35046         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
35047         ($(objpfx)posix-conf-vars-def.h): New target.
35048         * posix/posix-conf-vars.list: New file.
35049         * posix/posix-conf-vars.h: New file.
35050         * posix/confstr.c: Include posix-conf-vars.h.
35051         (confstr): Use CONF_IS_* macros.
35052         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
35053         CONF_IS_* macros.
35054         * scripts/gen-posix-conf-vars.awk: New file.
35056 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
35058         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
35059         fegetround): Add no-op macros to avoid linknamespace issues.
35061         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
35062         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
35064         * sysdeps/unix/sysv/linux/tile/sysdep.h
35065         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
35066         assembly-specific section to avoid a redefinition warning.
35068         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
35069         long before casting to pointer to avoid a cast warning.
35071 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
35073         * sysdeps/tile/tilegx/Implies: New file.
35075 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
35077         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
35079 2014-12-23  Florian Weimer  <fweimer@redhat.com>
35081         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
35083 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
35085         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
35086         not define.
35087         * sysdeps/unix/sysv/linux/utimes.c: Do not include
35088         <kernel-features.h>.
35089         (__utimes) [__NR_utimes]: Make code unconditional.
35090         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
35091         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35092         (__ASSUME_UTIMES): Do not undefine.
35093         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35094         (__ASSUME_UTIMES): Likewise.
35095         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
35096         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
35097         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
35098         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
35100 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
35102         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
35104 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
35106         [BZ #17747]
35107         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
35108         alias to weak alias for j0l, y0l.
35109         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
35110         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
35112         [BZ #17746]
35113         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
35114         conversion.
35116 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
35118         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
35119         to zero if not already defined.
35121 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
35123         [BZ #17724]
35124         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
35125         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
35126         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
35127         (char *) casts added.
35128         * sysdeps/ieee754/k_standardf.c: New file.
35129         * sysdeps/ieee754/k_standardl.c: Likewise.
35130         * math/Makefile (libm-support): Remove k_standard.
35131         (libm-calls): Add k_standard.
35133 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
35135         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
35136         Optimize to avoid an unnecessary FPCR read.
35138 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
35140         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
35141         Optimize to reduce FPCR/FPSR accesses.
35143 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
35145         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
35146         Call libc_fetestexcept_aarch64.
35148 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
35150         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
35151         Call libc_fesetround_aarch64.
35153 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
35155         [BZ #17733]
35156         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
35157         (__bind): Do not define as weak alias.
35158         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
35159         define.
35160         (__getsockname): Do not define as weak alias.
35162 2014-12-22  Will Newton  <will.newton@linaro.org>
35164         * manual/install.texi: Document that we require bison 2.7
35165         or above.
35166         * INSTALL: Regenerate.
35167         * configure.ac: Use AC_CHECK_PROG_VER instead of
35168         AC_PATH_PROG when checking for bison and check for
35169         version 2.7 or above.
35170         * configure: Regenerate.
35172 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
35174         [BZ #17745]
35175         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
35176         * sysdeps/tile/ffsll.c (ffsll): To here.
35178         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
35180 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
35182         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
35183         if not defined.
35184         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
35185         definition.
35186         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
35187         hidden ___tls_get_addr.
35188         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
35189         hidden __tls_get_addr.
35190         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
35191         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
35192         Likewise.
35194 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
35196         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
35197         _dl_init call.
35199 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
35201         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
35202         from "call _dl_init@PLT".
35203         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
35205 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
35207         * manual/search.texi: (Array Sort Function): Clarify stable sorting
35208         guarantees.
35210 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
35212         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
35214 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
35216         [BZ #17744]
35217         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
35218         strnlen.
35220 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
35222         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
35223         of multu on MIPSr6.
35224         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
35225         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
35226         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
35227         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
35228         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
35230 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
35232         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
35233         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
35234         (PTR_SUBU): Use subu for mips32r6/mips64r6.
35235         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
35236         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
35237         mips32r6/mips64r6.
35238         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
35240 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
35242         * string/strncat.c (STRNCAT): Simplify implementation.
35244 2014-12-19  David S. Miller  <davem@davemloft.net>
35246         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
35247         access the quad as both a long double and as a series of 4 words.
35249         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
35250         link_map->l_info array access.
35252 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
35254         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
35256         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
35257         * math/atest-exp2.c (TIMEOUT): Likewise.
35258         * math/atest-sincos.c (TIMEOUT): Likewise.
35260 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
35262         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
35263         -Wno-error with -fno-builtin-lround.
35265 2014-12-19  Torvald Riegel  <triegel@redhat.com>
35267         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
35268         Contains futex constants and functions moved over from ...
35269         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
35270         <lowlevellock-futex.h>.
35271         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
35272         (lll_timedwait_tid): Add comments and parentheses around macro
35273         arguments.
35275 2014-12-19  Torvald Riegel  <triegel@redhat.com>
35277         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
35278         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
35279         (__lll_private_flag): Remove.
35280         (lll_futex_wait): Likewise.
35281         (lll_futex_timed_wait): Likewise.
35282         (lll_futex_wake): Likewise.
35283         (lll_futex_requeue): Likewise.
35284         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
35285         (__lll_timedwait_tid): Spell out argument names.
35286         (lll_timedwait_tid): Add comments and parentheses around macro
35287         arguments.
35288         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
35289         LLL_SHARED and LLL_PRIVATE usable from assembly code.
35291 2014-12-19  Torvald Riegel  <triegel@redhat.com>
35293         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
35294         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
35295         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
35296         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
35297         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
35298         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
35299         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
35300         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
35301         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
35302         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
35303         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
35304         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
35305         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
35306         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
35307         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
35308         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
35309         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
35310         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
35311         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
35313 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
35315         * sysdeps/x86_64/x32/Makefile: New file.
35317 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
35319         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
35320         1L with (mp_limb_t) 1.
35322 2014-12-17  Roland McGrath  <roland@hack.frob.com>
35324         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
35325         * nptl/libc_pthread_init.c: ... here.
35326         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
35327         * nptl/register-atfork.c: ... here.
35329         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
35330         Use pthread_sigmask rather than INTERNAL_SYSCALL.
35331         Use assert_perror to check its return value.
35332         (__gai_create_helper_thread): Likewise.
35334         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
35336         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
35338 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
35340         [BZ #17725]
35341         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
35342         __profil_counter.
35343         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
35344         Likewise.
35345         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
35346         Likewise.
35347         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
35348         Likewise.
35349         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
35350         (profil_counter): Likewise.
35351         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
35352         (profil_counter): Likewise.
35353         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
35354         Likewise.
35355         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
35356         Likewise.
35357         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
35358         (profil_counter): Likewise.
35359         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
35360         Likewise.
35361         [!__profil_counter] (profil_counter): Define as weak alias of
35362         __profil_counter.
35363         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
35364         (profil_counter): Rename to __profil_counter.
35365         [!__profil_counter] (profil_counter): Define as weak alias of
35366         __profil_counter.
35367         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
35368         (profil_counter): Rename to __profil_counter.
35369         [!__profil_counter] (profil_counter): Define as weak alias of
35370         __profil_counter.
35371         * sysdeps/posix/profil.c: Update comment referring to
35372         profil_counter.
35373         (__profil): Use __profil_counter instead of profil_counter.
35374         * sysdeps/posix/sprofil.c (profil_counter): Rename to
35375         __profil_counter.  Use __profil_counter_ushort and
35376         __profil_counter_uint in definitions.
35377         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
35378         instead of profil_counter_uint and profil_counter_ushort.
35380         [BZ #17722]
35381         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
35382         define as weak alias of __inet_makeaddr.
35383         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
35384         as weak alias of __inet_addr.
35385         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
35386         as weak alias of __inet_pton.  Use libc_hidden_weak.
35387         * include/arpa/inet.h (__inet_pton): Declare.  Use
35388         libc_hidden_proto.
35389         (inet_makeaddr): Don't use libc_hidden_proto.
35390         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
35391         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
35392         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
35393         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
35394         Remove variable.
35395         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
35396         (test-xfail-POSIX/time.h/linknamespace): Likewise.
35398 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
35400         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
35402 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
35404         * stdio-common/bug-vfprintf-nargs.c (do_test):
35405         Cast value to intptr_t to avoid format warning
35406         for usage with PRIdPTR printing macro.
35408 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
35410         * libio/tst-widetext.c (do_test):
35411         Use format type %td instead of %Zd for ptrdiff_t
35412         in order to avoid format warning.
35414 2014-12-17  Andreas Schwab  <schwab@suse.de>
35416         * nscd/mem.c (gc): Add size_t cast to match printf format.
35418 2014-12-16  Roland McGrath  <roland@hack.frob.com>
35420         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
35421         (init): Apply PTR_MANGLE to pointers before storing them.
35422         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
35423         before using them.
35425 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
35427         [BZ #17719]
35428         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
35429         define as weak alias of __memrchr.
35430         (__memrchr): Do not define as strong alias of memrchr.
35431         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
35432         Remove variable.
35433         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
35434         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
35435         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
35437         [BZ #17717]
35438         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
35439         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
35440         (if_indextoname): Rename to __if_indextoname and define as weak
35441         alias of __if_indextoname.  Use libc_hidden_weak.
35442         (if_freenameindex): Rename to __if_freenameindex and define as
35443         weak alias of __if_freenameindex.
35444         (if_nameindex): Rename to __if_nameindex and define as weak alias
35445         of __if_nameindex.
35446         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
35447         __if_nametoindex and define as weak alias of __if_nametoindex.
35448         Use libc_hidden_weak.
35449         (if_freenameindex): Rename to __if_freenameindex and define as
35450         weak alias of __if_freenameindex.
35451         (if_nameindex): Rename to __if_nameindex and define as weak alias
35452         of __if_nameindex.
35453         (if_indextoname): Rename to __if_indextoname and define as weak
35454         alias of __if_indextoname.  Use libc_hidden_weak.
35455         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
35456         __if_nametoindex and define as weak alias of __if_nametoindex.
35457         Use libc_hidden_weak.
35458         (if_freenameindex): Rename to __if_freenameindex and define as
35459         weak alias of __if_freenameindex.  Use libc_hidden_weak.
35460         (if_nameindex_netlink): Use __if_freenameindex instead of
35461         if_freenameindex.
35462         (if_nameindex): Rename to __if_nameindex and define as weak alias
35463         of __if_nameindex.  Use libc_hidden_weak.
35464         (if_indextoname): Rename to __if_indextoname and define as weak
35465         alias of __if_indextoname.  Use libc_hidden_weak.
35466         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
35467         libc_hidden_proto.
35468         [!_ISOMAC] (__if_freenameindex): Likewise.
35469         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
35470         if_nametoindex.
35471         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
35472         variable.
35473         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
35474         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
35475         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
35476         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
35477         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
35478         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
35479         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
35481         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
35482         Remove variable.
35483         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
35484         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
35486 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35488         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
35489         subscript above bounds'
35491         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
35492         bounds.
35494 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
35496         * libio/tst-fopenloc.c: Use test-skeleton.c.
35498         * stdlib/tst-bsearch.c: Use test-skeleton.c.
35499         (entry): Rename to ITEM.
35500         (do_test, comp): Adjust.
35502         * stdio-common/tst-fseek.c: Use test-skeleton.c.
35504 2014-12-16  Torvald Riegel  <triegel@redhat.com>
35506         * string/tester.c: Include <libc-internal.h>.
35507         (test_memset): Ignore -Wmemset-transposed-args.
35509 2014-12-16  Torvald Riegel  <triegel@redhat.com>
35511         * misc/tst-mntent2.c (do_test): Fix warning.
35513 2014-12-16  Torvald Riegel  <triegel@redhat.com>
35515         * elf/tst-unique4lib.cc(a): Mark as used.
35517 2014-12-16  Florian Weimer  <fweimer@redhat.com>
35519         [BZ #17630]
35520         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
35521         names.
35523 2014-12-16  Allan McRae  <allan@archlinux.org>
35525         * stdio-common/Makefile (tests): Re-add bug26.
35527 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
35529         [BZ #17657]
35530         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
35531         static array.
35533 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
35535         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
35536         (__lll_lock_wait): Likewise.
35537         (__lll_timedlock_wait): Likewise.
35538         (__lll_timedwait_tid): Likewise.
35539         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
35540         (__lll_robust_timedlock_wait): Likewise.
35541         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
35542         (lll_cond_trylock): Likewise.
35543         (__lll_lock): Likewise.
35544         (__lll_robust_lock): Likewise.
35545         (__lll_cond_lock): Likewise.
35546         (lll_robust_cond_lock): Likewise.
35547         (__lll_timedlock): Likewise.
35548         (__lll_robust_timedlock): Likewise.
35549         (__lll_unlock): Likewise.
35550         (__lll_robust_unlock): Likewise.
35551         (lll_wait_tid): Likewise.
35552         (lll_timedwait_tid): Likewise.
35554 2014-12-15  Torvald Riegel  <triegel@redhat.com>
35556         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
35558 2014-12-15  Torvald Riegel  <triegel@redhat.com>
35560         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
35562 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
35564         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
35565         * stdio-common/tst-sprintf.c: Likewise.
35567 2014-12-15  Torvald Riegel  <triegel@redhat.com>
35569         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
35571 2014-12-15  Jeff Law  <law@redhat.com>
35573         [BZ #16617]
35574         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
35575         on the heap.  (CVE-2012-3406)
35576         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
35577         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
35578         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
35580 2014-12-15  Will Newton  <will.newton@linaro.org>
35582         * manual/install.texi: Bump required version of texinfo
35583         to 4.7 from 4.5.
35584         * INSTALL: Regenerated.
35585         * configure.ac: Check for makeinfo version 4.7 and above.
35586         * configure: Regenerated.
35588 2014-12-12  Roland McGrath  <roland@hack.frob.com>
35590         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
35591         PREFIX, string constant to insert between directory and name.
35592         * sysdeps/posix/shm_open.c: Update caller.
35593         * sysdeps/posix/shm_unlink.c: Likewise.
35594         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
35595         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
35596         (SEM_SHM_PREFIX): New macro.
35597         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
35598         [$(have-thread-library) = no].
35599         * nptl/Makefile (libpthread-routines): Add shm-directory.
35600         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
35601         * sysdeps/nptl/shm-directory.h: New file.
35602         * sysdeps/posix/shm-directory.c
35603         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
35604         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
35605         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
35606         INTERNAL_SYSCALL.
35607         (__where_is_shmfs): Function removed.
35608         (mountpoint, defaultmount, defaultdir, __namedsem_once):
35609         Variables removed.
35610         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
35611         Use SHM_GET_NAME.
35612         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
35614         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
35615         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
35616         unconditional for use inside libpthread.
35617         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
35619 2014-12-12  Roland McGrath  <roland@hack.frob.com>
35621         * nptl/pthread_getaffinity.c: New file.
35622         * nptl/pthread_setaffinity.c: New file.
35623         * nptl/pthread_getname.c: New file.
35624         * nptl/pthread_setname.c: New file.
35626         * nptl/pthread_create.c (START_THREAD_DEFN)
35627         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
35629 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
35630             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35632         * resolv/res_send.c (send_vc): Disable warning resplen may
35633         be used uninitialized.
35635 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
35637         * nptl/tst-mutex6.c
35638         (ATTR_NULL): New define checks ATTR against NULL.
35639         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
35640         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
35642 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
35644         [BZ #17581]
35645         * malloc/hooks.c
35646         (mem2mem_check): Revert my previous change.
35647         (malloc_check_get_size): Revert my previous change.
35648         (mem2chunk_check): Revert my previous change.
35650 2014-12-11  Roland McGrath  <roland@hack.frob.com>
35652         * sysdeps/posix/shm-directory.c: New file.
35653         * sysdeps/posix/shm-directory.h: New file.
35654         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
35655         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
35656         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
35657         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
35658         Transmute EPERM to EACCES.
35659         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
35660         from ...
35661         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
35662         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
35664 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35666         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
35667         pointer and cast to uintptr_t.
35668         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
35669         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
35670         Add cast to avoid warning.
35671         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
35673 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
35675         * nptl/semaphore.h: Move to ...
35676         * sysdeps/pthread/semaphore.h: ... here.
35677         * Makefile (installed-headers): Change nptl/semaphore.h to
35678         sysdeps/pthread/semaphore.h.
35680 2014-12-11  Roland McGrath  <roland@hack.frob.com>
35682         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
35683         generated error format strings.
35685         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
35686         -Wformat-extra-args warnings for scanf formats.
35687         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
35688         test of zero-length format (duh).
35689         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
35690         corner-case scanf format test.
35691         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
35692         generated fprintf format string.
35693         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
35694         corner-case sprintf format tests.
35695         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
35696         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
35697         -Wformat-extra-args warnings throughout.
35698         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
35699         (CFLAGS-scanf4.c): Likewise.
35700         (CFLAGS-scanf7.c): Likewise.
35701         (CFLAGS-tst-sprintf.c): Likewise.
35702         (CFLAGS-tst-printf.c): Likewise.
35703         (CFLAGS-tst-printfsz.c): Likewise.
35705 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
35707         * include/cpio.h: New file.
35708         * include/fmtmsg.h: Likewise.
35710         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
35711         corresponding format argument to size_t.
35712         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
35713         arguments.
35714         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
35715         corresponding format argument to size_t.
35716         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
35717         arguments.
35718         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
35719         corresponding format argument to size_t.
35720         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
35721         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
35722         (CFLAGS-tst-mbswcs2.c): Likewise.
35723         (CFLAGS-tst-mbswcs3.c): Likewise.
35724         (CFLAGS-tst-mbswcs4.c): Likewise.
35725         (CFLAGS-tst-mbswcs5.c): Likewise.
35726         (CFLAGS-tst-trans.c): Likewise.
35728 2014-12-11  Roland McGrath  <roland@hack.frob.com>
35730         * posix/regexbug1.c (main): Use "%s" format with regerror results,
35731         rather than assuming they won't contain any '%'s.
35733 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
35735         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
35736         inhibit_loop_to_libcall to avoid recursive calls.
35737         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
35738         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
35740 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
35742         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
35743         prototype.
35745 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
35747         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
35748         integer value instead of boolean.
35750 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
35752         * malloc/malloc.c: Fix powerof2 check.
35754 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
35756         * locale/programs/locfile.h (maybe_swap_uint32):
35757         Remove inline and add unused attribute.
35759 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
35761         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
35762         Truncating assembler expression to a .long expression.
35764 2014-12-11  Andreas Schwab  <schwab@suse.de>
35766         * elf/rtld.c (struct map_args): Constify str member.
35767         (do_preload): Constify fname argument.
35769 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35771         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
35772         constants definition.
35774 2014-12-11  Andreas Schwab  <schwab@suse.de>
35776         [BZ #16657]
35777         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
35778         FORCE_ELISION instead of DO_ELISION.
35779         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
35780         Remove.
35781         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
35782         Likewise.
35784         * iconvdata/gconv-modules: Remove duplicate entry.
35786 2014-12-11  Will Newton  <will.newton@linaro.org>
35788         Merge gettext 0.19.3 into intl/.
35790         This involves a number of cosmetic changes to comments
35791         and ANSI function definitions and prototypes throughout
35792         all the files. The gettext copyright header is used but
35793         with the date ranges taken from the glibc copy.
35795         * NEWS: Add gettext merge to 2.21.
35796         * intl/bindtextdom.c: Switch to gettext copyright.
35797         Use ANSI definitions and prototypes.
35798         Use gl_* locking primitives rather than __libc_* ones.
35799         Use __builtin_expect rather than __glibc_likely/unlikely.
35800         * intl/dcgettext.c: Switch to gettext copyright.
35801         Use ANSI definitions and prototypes.
35802         * intl/dcigettext.c: Switch to gettext copyright.
35803         Use ANSI definitions and prototypes.
35804         (INTDIV0_RAISES_SIGFPE): New define.
35805         Use gl_* locking primitives rather than __libc_* ones.
35806         Include eval-plural.h instead of plural-eval.c.
35807         Use __builtin_expect rather than __glibc_likely/unlikely.
35808         * intl/dcngettext.c: Switch to gettext copyright.
35809         Use ANSI definitions and prototypes.
35810         * intl/dgettext.c: Likewise.
35811         * intl/dngettext.c: Likewise.
35812         * intl/plural-eval.c: Renamed to...
35813         * intl/eval-plural.h: ...this.
35814         * intl/explodename.c: Switch to gettext copyright.
35815         Use ANSI definitions and prototypes.
35816         (_nl_explode_name): Use strchr instead of __rawmemchr.
35817         * intl/finddomain.c: Switch to gettext copyright.
35818         Use ANSI definitions and prototypes.
35819         Use gl_* locking primitives rather than __libc_* ones.
35820         (_nl_find_domain): Use malloc rather than alloca for
35821         allocation of temporary locale name.
35822         * intl/gettext.c: Switch to gettext copyright.
35823         Use ANSI definitions and prototypes.
35824         * intl/gettextP.h: Switch to gettext copyright.
35825         Use ANSI definitions and prototypes.
35826         Use gl_* locking primitives rather than __libc_* ones.
35827         * intl/gmo.h: Switch to gettext copyright.
35828         (struct sysdep_string): Move struct segment_pair outside of
35829         struct definition.
35830         * intl/hash-string.c: Use ANSI definitions and prototypes.
35831         * intl/hash-string.h: Switch to gettext copyright.
35832         Use ANSI definitions and prototypes.
35833         * intl/l10nflist.c: Switch to gettext copyright.
35834         Use ANSI definitions and prototypes.
35835         (_nl_normalize_codeset): Avoid integer overflow.
35836         * intl/loadinfo.h: Switch to gettext copyright.
35837         Use ANSI definitions and prototypes.
35838         (LIBINTL_DLL_EXPORTED): New define.
35839         (PATH_SEPARATOR): New define.
35840         * intl/loadmsgcat.c: Switch to gettext copyright.
35841         * intl/localealias.c: Switch to gettext copyright.
35842         Use ANSI definitions and prototypes.
35843         (_nl_expand_alias): Use PATH_SEPARATOR.
35844         * intl/ngettext.c: Switch to gettext copyright.
35845         Use ANSI definitions and prototypes.
35846         * intl/plural-exp.c: Likewise.
35847         * intl/plural-exp.h: Switch to gettext copyright.
35848         Use ANSI definitions and prototypes.
35849         (struct expression): Move definition of enum operator outside
35850         of struct definition.
35851         * intl/plural.c: Regenerate.
35852         * intl/plural.y: Switch to gettext copyright.
35853         Use ANSI definitions and prototypes.
35854         Port to bison 3.0.
35855         * intl/textdomain.c: Switch to gettext copyright.
35856         Use ANSI definitions and prototypes.
35857         Use gl_* locking primitives rather than __libc_* ones.
35859 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
35861         * debug/warning-nop.c: Add used atrribute.
35863 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
35865         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
35867         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
35868         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
35869         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
35871 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
35872             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35874         [BZ #17634]
35875         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
35876         Undefine after defining function.  Define as weak alias of
35877         __wcschr.  Use libc_hidden_weak.
35878         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
35879         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
35880         (libc_hidden_def): Also define __GI___wcschr alias.
35881         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
35882         __wcschr and define as weak alias of __wcschr.
35883         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
35884         __wcschr.
35885         [!WCSCHR] (DEFAULT_WCSCHR): Define.
35886         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
35887         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
35888         libc_hidden_weak.  Do not use libc_hidden_def.
35889         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
35890         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
35891         __GI___wcschr alias.
35892         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
35893         [IS_IN (libc)] (wcschr): Define as macro expanding to
35894         __redirect_wcschr.
35895         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
35896         [IS_IN (libc)] (__wcschr_power6): Likewise.
35897         [IS_IN (libc)] (__wcschr_power7): Likewise.
35898         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
35899         instead of wcschr.
35900         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
35901         __libc_wcschr.
35902         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
35903         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
35904         __wcschr and define as weak alias of __wcschr.  Use
35905         libc_hidden_builtin_def.
35906         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
35907         as weak alias of __wcschr.  Use libc_hidden_weak.
35908         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
35909         wcschr.
35910         * time/era.c (_nl_init_era_entries): Likewise.
35911         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
35912         variable.
35913         (test-xfail-XPG3/time.h/linknamespace): Likewise.
35914         (test-xfail-XPG4/time.h/linknamespace): Likewise.
35916 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
35918         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
35919         format for long int variable.
35921 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
35923         [BZ #10672]
35924         * manual/search.texi: (Array Sort Function): Remove claim how to make
35925         qsort stable.
35927 2014-12-10  Andreas Schwab  <schwab@suse.de>
35929         [BZ #12847]
35930         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
35931         user-controlled locks.
35933 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
35935         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
35936         register.
35938 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
35940         * configure.ac (--disable-werror): New configure option.
35941         (enable_werror): New AC_SUBST.
35942         * configure: Regenerated.
35943         * config.make.in (enable-werror): New variable.
35944         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
35945         -Wno-error=undef.
35946         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
35947         * manual/install.texi (Configuring and compiling): Document
35948         --disable-werror.
35949         * INSTALL: Regenerated.
35950         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
35951         (CFLAGS-tst-chk2.c): Likewise.
35952         (CFLAGS-tst-chk3.c): Likewise.
35953         (CFLAGS-tst-chk4.cc): Likewise.
35954         (CFLAGS-tst-chk5.cc): Likewise.
35955         (CFLAGS-tst-chk6.cc): Likewise.
35956         (CFLAGS-tst-lfschk1.c): Likewise.
35957         (CFLAGS-tst-lfschk2.c): Likewise.
35958         (CFLAGS-tst-lfschk3.c): Likewise.
35959         (CFLAGS-tst-lfschk4.cc): Likewise.
35960         (CFLAGS-tst-lfschk5.cc): Likewise.
35961         (CFLAGS-tst-lfschk6.cc): Likewise.
35963         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
35964         (main): Disable -Wdeprecated-declarations around calls to
35965         register_printf_function.
35967         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
35968         (do_test): Disable -Wdiv-by-zero around some calls to
35969         fwrite_unlocked and fread_unlocked.
35971         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
35972         (DIAG_POP_NEEDS_COMMENT): Likewise.
35973         (_DIAG_STR1): Likewise.
35974         (_DIAG_STR): Likewise.
35975         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
35976         * stdio-common/bug21.c: Include <libc-internal.h>.
35977         (do_test): Disable -Wformat around call to sscanf.
35978         * stdio-common/scanf14.c: Include <libc-internal.h>.
35979         (main): Disable -Wformat around some calls to scanf functions.
35981 2014-12-09  Torvald Riegel  <triegel@redhat.com>
35983         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
35985 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35987         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
35988         stack variable alignment.
35990 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
35992         [BZ #17682]
35993         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
35994         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
35995         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
35996         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
35997         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
35998         __getrlimit instead of getrlimit.
35999         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
36000         __gettimeofday instead of gettimeofday.
36001         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
36002         Likewise.
36003         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
36004         Likewise.
36005         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
36006         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
36007         Remove variable.
36008         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
36009         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
36011 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36013         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
36014         for wide-character tests.
36016 2014-12-04  Roland McGrath  <roland@hack.frob.com>
36018         * io/openat64.c: #include <libc-internal.h>
36019         (__openat64): Prototypify.  Use ignore_value on MODE.
36020         * io/openat.c: Likewise.
36021         * misc/reboot.c: #include <libc-internal.h>
36022         (reboot): Prototypify.  Use ignore_value on HOWTO.
36023         * misc/ptrace.c: #include <libc-internal.h>
36024         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
36026 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
36028         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
36029         XPG4, UNIX98 and XOPEN2K.
36030         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
36031         Remove variable.
36032         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
36034 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36036         * libio/fileops.c: Use ISO C style for function definitions.
36037         * libio/iofopen.c: Likewise.
36038         * libio/wfileops.c: Likewise.
36040         [BZ #17653]
36041         * libio/fileops.c (_IO_new_file_underflow): Unset cached
36042         offset on EOF.
36043         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
36044         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
36045         (fgets_func): Function pointer to fgets and fgetws.
36046         (do_ftell_test): Add test to verify ftell value after read
36047         EOF.
36048         (do_test): Set fgets_func.
36050         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
36051         O_TRUNC flag for w and w+ modes.
36052         (do_rewind_test): Likewise.
36053         (do_ftell_test): Likewise.
36054         (do_write_test): Likewise.
36056         [BZ #17647]
36057         * libio/fileops.c (do_ftell): Seek only when there are
36058         unflushed writes.
36059         * libio/wfileops.c (do_ftell_wide): Likewise.
36060         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
36061         test case.
36062         (do_one_test): Call it.
36064 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
36066         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
36067         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
36068         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
36069         Remove variable.
36070         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
36071         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
36072         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
36074 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
36076         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
36077         Remove variable.
36078         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
36080         [BZ #17668]
36081         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
36082         as weak alias of __getifaddrs.  Use libc_hidden_weak.
36083         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
36084         __freeifaddrs.  Use libc_hidden_weak.
36085         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
36086         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
36087         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
36088         __freeifaddrs.  Use libc_hidden_weak.
36089         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
36090         __getifaddrs and define as weak alias of __getifaddrs.  Use
36091         libc_hidden_weak.
36092         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
36093         __freeifaddrs.  Use libc_hidden_weak.
36094         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
36095         Remove variable.
36096         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
36097         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
36099 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
36101         [BZ #17601]
36102         * sysdeps/mips/start.S (__start): Use indirect jump to call
36103         __libc_start_main.
36105 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
36107         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
36109         * nptl/tst-mutex1.c: Include <stdbool.h>.
36110         [!ATTR] (ATTR_NULL): New macro.
36111         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
36112         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
36113         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
36115         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
36116         to char *.
36118         [BZ #17665]
36119         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
36120         Change conditional to [__USE_MISC].
36122         [BZ #17664]
36123         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
36124         fgets_unlocked.
36125         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
36126         __fgets_unlocked.
36127         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
36128         fgets_unlocked.
36129         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
36130         Remove variable.
36131         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
36132         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
36133         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
36134         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
36135         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
36136         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
36137         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
36138         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
36139         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
36141         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
36143 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36145         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36146         Remove strpbrk objects.
36147         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36148         (__libc_ifunc_impl_list): Remove strpbrk implementation.
36149         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
36150         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
36151         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
36152         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
36154         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36155         Remove strcspn objects.
36156         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36157         (__libc_ifunc_impl_list): Remove strcspn implementation.
36158         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
36159         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
36160         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
36161         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
36163         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36164         Remove strspn objetcs.
36165         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36166         (__libc_ifunc_impl_list): Remove strspn implementation.
36167         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
36168         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
36169         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
36170         * sysdeps/powerpc/powerpc64/strspn.S: New file.
36172 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
36174         [BZ #17581]
36175         * malloc/hooks.c
36176         (mem2mem_check): Add a terminator to the chain of checking blocks.
36177         (malloc_check_get_size): Use it here.
36178         (mem2chunk_check): Ditto.
36180 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
36182         * sysdeps/powerpc/powerpc64/strtok.S: New file.
36183         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
36185 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
36187         * bits/ioctl-types.h: Indent preprocessor directives correctly.
36189         * nptl/nptl-init.c: Include libc-internal.h.
36190         (__pthread_initialize_minimal_internal): Use ROUND_UP.
36192         * elf/ldconfig.c (search_dir): Expand comment.
36194 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
36196         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
36197         variable.
36198         (linknamespace-symlist-stdlibs-tests): Likewise.
36199         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
36200         instead of $(objpfx)symlist-stdlibs.
36201         (linknamespace-libs-isoc): New variable.
36202         (linknamespace-libs): Use $(linknamespace-libs-isoc).
36203         (linknamespace-libs-ISO): New variable.
36204         (linknamespace-libs-ISO99): Likewise.
36205         (linknamespace-libs-ISO11): Likewise.
36206         (linknamespace-libs-XPG3): Likewise.
36207         (linknamespace-libs-XPG4): Likewise.
36208         (linknamespace-libs-POSIX): Likewise.
36209         (linknamespace-libs-UNIX98): Likewise.
36210         (linknamespace-libs-XOPEN2K): Likewise.
36211         (linknamespace-libs-POSIX2008): Likewise.
36212         (linknamespace-libs-XOPEN2K8): Likewise.
36213         ($(objpfx)symlist-stdlibs): Replace by
36214         $(linknamespace-symlist-stdlibs-tests).  Use
36215         $(linknamespace-libs-$*) as set of libraries.
36216         ($(linknamespace-header-tests)): Update dependencies.  Use
36217         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
36218         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
36219         * conform/linknamespace.pl: Remove comment about considering
36220         definitions of symbols from irrelevant libraries.
36222 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
36224         [BZ #13862]
36225         * elf/dl-tls.c: Include <atomic.h>.
36226         (oom): Remove #ifdef SHARED/#endif.
36227         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
36228         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
36229         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
36230         big enough.
36231         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
36232         * nptl/Makefile (tests): Add tst-stack4.
36233         (modules-names): Add tst-stack4mod.
36234         ($(objpfx)tst-stack4): New.
36235         (tst-stack4mod.sos): Likewise.
36236         ($(objpfx)tst-stack4.out): Likewise.
36237         ($(tst-stack4mod.sos)): Likewise.
36238         (clean): Likewise.
36239         * nptl/tst-stack4.c: New file.
36240         * nptl/tst-stack4mod.c: Likewise.
36242 2014-11-27  J. Brown  <jb999@gmx.de>
36244         * sysdeps/x86/bits/string.h: Add recent CPUs.
36246 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
36248         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
36249         sigblock.
36251         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
36252         feof.
36254         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
36255         variable.
36257 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
36259         * nscd/connections.c: Include libc-internal.h because of macro
36260         usage ignore_value.
36262 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36264         * string/bits/string3.h (__warn_memset_zero_len): Don't
36265         declare for gcc newer than 5.0.
36266         (memset): Don't test for zero-length __LEN for gcc newer than
36267         5.0.
36269 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
36271         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
36272         size_t for %zu format.
36274         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
36275         difference, not %ju.
36277 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
36279         * include/libc-internal.h (ignore_value): New macro.
36280         * nscd/connections.c (restart): Wrap calls to setuid and setgid
36281         with ignore_value.
36283         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
36284         definition.
36286         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
36287         pthread_cleanup_push to void *.
36289         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
36290         Undefine.
36292         [BZ #16619]
36293         [BZ #16740]
36294         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
36295         instead of 1L << 52.
36297         * libio/bug-rewind.c (do_test): Check fwscanf return values.
36298         * libio/bug-rewind2.c (do_test): Likewise.
36300         * debug/test-stpcpy_chk-ifunc.c: Remove file.
36301         * debug/test-strcpy_chk-ifunc.c: Likewise.
36302         * wcsmbs/test-wcschr-ifunc.c: Likewise.
36303         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
36304         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
36305         * wcsmbs/test-wcslen-ifunc.c: Likewise.
36306         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
36307         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
36308         * Rules [$(multi-arch) = no] (tests): Do not filter out
36309         $(tests-ifunc).
36310         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
36311         * debug/Makefile (tests-ifunc): Remove variable.
36312         (tests): Do not add $(tests-ifunc).
36313         * wcsmbs/Makefile (tests-ifunc): Remove variable.
36314         (tests): Do not add $(tests-ifunc).
36315         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
36316         [TEST_IFUNC]: Remove conditionals.
36317         * string/test-string.h (TEST_IFUNC): Remove macro.
36318         [TEST_IFUNC]: Remove conditionals.
36320         * string/test-strchr.c [!WIDE] (L): New macro.
36321         [WIDE] (L): Likewise.
36322         (check1): Use CHAR instead of char.  Use L on string and character
36323         constants.
36325 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
36327         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
36328         tests.
36329         * sysdeps/powerpc/bits/atomic.h
36330         (__arch_atomic_exchange_and_add_32_acq): Add definition.
36331         (__arch_atomic_exchange_and_add_32_rel): Likewise.
36332         (atomic_exchange_and_add_acq): Likewise.
36333         (atomic_exchange_and_add_rel): Likewise.
36334         * sysdeps/powerpc/powerpc32/bits/atomic.h
36335         (__arch_atomic_exchange_and_add_64_acq): Add definition.
36336         (__arch_atomic_exchange_and_add_64_rel): Likewise.
36337         * sysdeps/powerpc/powerpc64/bits/atomic.h
36338         (__arch_atomic_exchange_and_add_64_acq): Add definition.
36339         (__arch_atomic_exchange_and_add_64_rel): Likewise.
36341 2014-11-26  Torvald Riegel  <triegel@redhat.com>
36343         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
36344         Change synchronization of __sched_fifo_min_prio and
36345         __sched_fifo_max_prio.
36346         * nptl/pthread_mutexattr_getprioceiling.c
36347         (pthread_mutexattr_getprioceiling): Likewise.
36348         * nptl/pthread_mutexattr_setprioceiling.c
36349         (pthread_mutexattr_setprioceiling): Likewise.
36350         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
36351         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
36352         Likewise.
36354 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
36356         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
36357         void.
36359 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
36361         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
36362         third argument const.
36364 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
36366         fnmatch: work around GCC compiler warning bug with uninit var
36367         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
36368         This works around a bug with x86-64 GCC 4.9.2 and earlier
36369         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
36370         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
36371         used uninitialized in this function [-Wmaybe-uninitialized]".
36373 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
36375         * posix/bug-regex31.c (main): Return RES not 0.
36377 2014-11-25  Anton Blanchard <anton@samba.org>
36379         * sysdeps/powerpc/bits/atomic.h
36380         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
36382 2014-11-24  Sterling Augustine  <saugustine@google.com>
36384         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
36386 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
36388         [BZ #17608]
36389         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
36391 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
36393         [BZ #17633]
36394         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
36395         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
36396         variable.
36397         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
36398         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
36400 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
36402         * string/strncpy.c (strncpy): Improve performance by using memset.
36404 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
36406         * string/strcpy.c (strcpy):
36407         Improve performance by using strlen and memcpy.
36409 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
36411         * string/strcoll_l.c (get_next_seq): __always_inline.
36412         * string/strcoll_l.c (do_compare): __always_inline.
36414 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36416         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
36417         defined.
36418         * include/mqueue.h: Likewise.
36419         * include/stdlib.h: Likewise.
36421         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
36422         (get_null_defines): Adjust.
36423         * sunrpc/Makefile: Adjust comment.
36424         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
36425         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
36426         (CFLAGS-interp.c): Likewise.
36427         (CFLAGS-ldconfig.c): Likewise.
36428         (CPPFLAGS-.os): Likewise.
36429         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36430         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
36431         * extra-modules.mk (extra-modules.mk): Likewise.
36432         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
36433         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
36434         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
36435         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
36436         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
36437         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
36438         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
36439         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
36440         * iconvdata/Makefile (CPPFLAGS): Likewise.
36441         (cpp-srcs-left): Add libof for all iconvdata routines.
36442         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
36443         * include/assert.h: Likewise.
36444         * include/ctype.h: Likewise.
36445         * include/errno.h: Likewise.
36446         * include/libc-symbols.h: Likewise.
36447         * include/math.h: Likewise.
36448         * include/netdb.h: Likewise.
36449         * include/resolv.h: Likewise.
36450         * include/stdio.h: Likewise.
36451         * include/stdlib.h: Likewise.
36452         * include/string.h: Likewise.
36453         * include/sys/stat.h: Likewise.
36454         * include/wctype.h: Likewise.
36455         * intl/l10nflist.c: Likewise.
36456         * libidn/idn-stub.c: Likewise.
36457         * libio/libioP.h: Likewise.
36458         * nptl/libc_multiple_threads.c: Likewise.
36459         * nptl/pthreadP.h: Likewise.
36460         * posix/regex_internal.h: Likewise.
36461         * resolv/res_hconf.c: Likewise.
36462         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
36463         * sysdeps/arm/memmove.S: Likewise.
36464         * sysdeps/arm/sysdep.h: Likewise.
36465         * sysdeps/generic/_itoa.h: Likewise.
36466         * sysdeps/generic/symbol-hacks.h: Likewise.
36467         * sysdeps/gnu/errlist.awk: Likewise.
36468         * sysdeps/gnu/errlist.c: Likewise.
36469         * sysdeps/i386/i586/memcpy.S: Likewise.
36470         * sysdeps/i386/i586/memset.S: Likewise.
36471         * sysdeps/i386/i686/memcpy.S: Likewise.
36472         * sysdeps/i386/i686/memmove.S: Likewise.
36473         * sysdeps/i386/i686/mempcpy.S: Likewise.
36474         * sysdeps/i386/i686/memset.S: Likewise.
36475         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
36476         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36477         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
36478         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
36479         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36480         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
36481         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
36482         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36483         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
36484         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36485         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36486         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36487         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36488         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36489         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36490         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36491         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
36492         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
36493         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
36494         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36495         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36496         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36497         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36498         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36499         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36500         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36501         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
36502         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36503         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
36504         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
36505         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36506         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
36507         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
36508         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36509         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36510         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
36511         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36512         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36513         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
36514         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
36515         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36516         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36517         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
36518         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
36519         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36520         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36521         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
36522         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
36523         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36524         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
36525         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36526         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
36527         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
36528         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36529         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
36530         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
36531         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36532         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
36533         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
36534         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36535         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
36536         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36537         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
36538         * sysdeps/nptl/bits/libc-lock.h: Likewise.
36539         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
36540         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
36541         * sysdeps/posix/closedir.c: Likewise.
36542         * sysdeps/posix/opendir.c: Likewise.
36543         * sysdeps/posix/readdir.c: Likewise.
36544         * sysdeps/posix/rewinddir.c: Likewise.
36545         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
36546         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
36547         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
36548         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
36549         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
36550         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
36551         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
36552         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
36553         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
36554         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
36555         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
36556         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
36557         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
36558         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
36559         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
36560         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
36561         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
36562         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
36563         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
36564         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
36565         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
36566         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
36567         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
36568         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
36569         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
36570         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
36571         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
36572         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
36573         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
36574         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
36575         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
36576         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
36577         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
36578         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
36579         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
36580         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
36581         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
36582         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
36583         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
36584         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
36585         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
36586         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
36587         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
36588         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
36589         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
36590         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
36591         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
36592         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
36593         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
36594         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
36595         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
36596         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
36597         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
36598         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
36599         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
36600         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
36601         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
36602         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
36603         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
36604         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
36605         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
36606         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
36607         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
36608         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
36609         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
36610         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
36611         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
36612         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
36613         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
36614         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
36615         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
36616         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
36617         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
36618         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
36619         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
36620         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
36621         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
36622         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
36623         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
36624         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
36625         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
36626         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
36627         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
36628         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
36629         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
36630         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
36631         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
36632         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
36633         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
36634         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36635         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
36636         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
36637         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
36638         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
36639         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36640         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
36641         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
36642         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36643         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
36644         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
36645         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36646         * sysdeps/unix/alpha/sysdep.S: Likewise.
36647         * sysdeps/unix/alpha/sysdep.h: Likewise.
36648         * sysdeps/unix/make-syscalls.sh: Likewise.
36649         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
36650         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
36651         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
36652         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
36653         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
36654         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
36655         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
36656         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36657         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
36658         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
36659         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36660         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
36661         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36662         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
36663         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
36664         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
36665         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
36666         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
36667         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
36668         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
36669         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
36670         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36671         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
36672         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
36673         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
36674         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
36675         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
36677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
36678         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
36679         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36680         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
36681         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
36682         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36683         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
36684         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
36685         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
36686         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36687         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
36688         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
36689         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36690         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
36691         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
36692         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
36693         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36694         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
36695         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36696         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36697         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
36698         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36699         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36700         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
36701         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
36702         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
36703         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
36704         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36705         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
36706         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36707         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
36708         * sysdeps/x86_64/memcpy.S: Likewise.
36709         * sysdeps/x86_64/memmove.c: Likewise.
36710         * sysdeps/x86_64/memset.S: Likewise.
36711         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
36712         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
36713         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
36714         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
36715         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
36716         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36717         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36718         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
36719         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
36720         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
36721         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
36722         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
36723         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
36724         * sysdeps/x86_64/multiarch/memset.S: Likewise.
36725         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36726         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
36727         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
36728         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
36729         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
36730         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
36731         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
36732         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
36733         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
36734         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
36735         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
36736         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
36737         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36738         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
36739         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36740         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
36741         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
36742         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
36743         * sysdeps/x86_64/strcmp.S: Likewise.
36745         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
36747         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
36748         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
36749         * elf/rtld-Rules: Likewise.
36750         * elf/setup-vdso.h: Likewise.
36751         * include/assert.h: Likewise.
36752         * include/bits/stdlib-float.h: Likewise.
36753         * include/errno.h: Likewise.
36754         * include/sys/stat.h: Likewise.
36755         * include/unistd.h: Likewise.
36756         * sysdeps/aarch64/setjmp.S: Likewise.
36757         * sysdeps/alpha/setjmp.S: Likewise.
36758         * sysdeps/arm/__longjmp.S: Likewise.
36759         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
36760         * sysdeps/arm/setjmp.S: Likewise.
36761         * sysdeps/arm/sysdep.h: Likewise.
36762         * sysdeps/generic/_itoa.h: Likewise.
36763         * sysdeps/generic/dl-sysdep.h: Likewise.
36764         * sysdeps/generic/ldsodefs.h: Likewise.
36765         * sysdeps/i386/dl-tls.h: Likewise.
36766         * sysdeps/i386/setjmp.S: Likewise.
36767         * sysdeps/m68k/setjmp.c: Likewise.
36768         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
36769         * sysdeps/mach/hurd/opendir.c: Likewise.
36770         * sysdeps/posix/getcwd.c: Likewise.
36771         * sysdeps/posix/opendir.c: Likewise.
36772         * sysdeps/posix/profil.c: Likewise.
36773         * sysdeps/powerpc/dl-procinfo.h: Likewise.
36774         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36775         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36776         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
36777         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
36778         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
36779         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
36780         * sysdeps/s390/dl-tls.h: Likewise.
36781         * sysdeps/s390/s390-32/setjmp.S: Likewise.
36782         * sysdeps/s390/s390-64/setjmp.S: Likewise.
36783         * sysdeps/sh/sh3/setjmp.S: Likewise.
36784         * sysdeps/sh/sh4/setjmp.S: Likewise.
36785         * sysdeps/unix/alpha/sysdep.h: Likewise.
36786         * sysdeps/unix/arm/sysdep.S: Likewise.
36787         * sysdeps/unix/i386/sysdep.S: Likewise.
36788         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
36789         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
36790         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36791         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36792         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36793         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
36794         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
36795         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
36796         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
36797         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
36798         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
36799         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36800         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36803         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36804         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36805         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36806         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36807         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
36808         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36809         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36810         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36811         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36812         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
36813         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36814         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36815         * sysdeps/unix/x86_64/sysdep.S: Likewise.
36816         * sysdeps/x86_64/setjmp.S: Likewise.
36818         * include/math.h: Use IS_IN instead of IS_IN_libm.
36819         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
36820         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36821         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
36822         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
36823         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36824         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
36825         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
36826         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36827         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36828         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
36829         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
36830         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
36831         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
36832         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
36833         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
36834         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
36835         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
36836         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
36837         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
36838         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
36839         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
36840         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
36841         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
36842         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
36843         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
36844         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
36845         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
36846         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
36847         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
36848         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
36849         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
36850         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
36851         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
36852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
36853         Likewise.
36854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
36855         Likewise.
36856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
36857         Likewise.
36858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
36859         Likewise.
36860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
36861         Likewise.
36862         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
36863         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
36864         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
36865         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36866         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36867         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36868         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
36869         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
36870         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
36871         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
36872         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
36873         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
36874         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
36875         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
36876         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
36877         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
36878         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
36879         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
36880         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
36881         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
36882         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
36883         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
36884         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
36885         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
36886         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
36887         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36888         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
36890         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
36891         * nptl/pthreadP.h: Likewise.
36892         * nptl_db/structs.def: Likewise.
36893         * sysdeps/arm/sysdep.h: Likewise.
36894         * sysdeps/nptl/bits/libc-lock.h: Likewise.
36895         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
36896         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
36897         * sysdeps/unix/alpha/sysdep.h: Likewise.
36898         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
36899         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
36900         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
36901         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
36902         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
36903         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
36904         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36905         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
36906         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
36907         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
36908         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
36909         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
36910         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
36911         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
36912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
36913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
36914         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
36915         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
36916         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
36917         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
36918         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
36919         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
36920         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
36921         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
36922         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
36923         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
36925         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
36926         * nptl/pthreadP.h: Likewise.
36927         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
36928         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
36929         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
36930         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
36931         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
36932         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
36933         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
36934         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
36935         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
36936         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
36937         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
36938         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
36939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
36940         Likewise.
36941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
36942         Likewise.
36943         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
36944         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
36945         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
36946         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
36947         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
36948         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
36949         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
36950         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
36952         * dlfcn/dladdr.c: Use IS_IN.
36953         * dlfcn/dladdr1.c: Likewise.
36954         * dlfcn/dlclose.c: Likewise.
36955         * dlfcn/dlerror.c: Likewise.
36956         * dlfcn/dlinfo.c: Likewise.
36957         * dlfcn/dlmopen.c: Likewise.
36958         * dlfcn/dlopen.c: Likewise.
36959         * dlfcn/dlsym.c: Likewise.
36960         * dlfcn/dlvsym.c: Likewise.
36962         * include/ifaddrs.h: Use IS_IN.
36963         * inet/check_pf.c: Likewise.
36964         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
36965         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
36967         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
36968         IS_IN_ldconfig.
36969         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
36970         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
36972         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
36973         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
36974         IS_IN (libc).
36976         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
36978         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
36979         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36980         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
36981         * include/libc-symbols.h (IS_IN_LIB): New macro.
36982         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
36983         * include/netdb.h: Likewise.
36984         * include/stap-probe.h: Remove all uses of IN_LIB.
36986         * Makeconfig (module-cppflags-real): Define MODULE_NAME
36987         instead of IN_MODULE.
36988         * include/libc-symbols.h (IN_MODULE): Define using
36989         MODULE_NAME.
36990         (PASTE_NAME, PASTE_NAME1): New macros.
36991         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
36992         of IN_LIB.
36993         (STAP_PROBE_ASM): Likewise.
36995 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36997         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
36998         __mach_init in dlopened libc.
37000 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
37002         * sysdeps/arm/preconfigure.ac: Delete EABI check.
37003         * sysdeps/arm/preconfigure: Regenerate.
37005 2014-11-21  Roland McGrath  <roland@hack.frob.com>
37007         * nptl/pthread_create.c (__pthread_create_2_1): Set
37008         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
37009         when copying values from IATTR into PD.
37011 2014-11-21  Will Newton  <will.newton@linaro.org>
37012             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
37014         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
37015         Refactor inline-asm.  Also add comment.
37017         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
37018         ElfW macro instead of hardcoded Elf64 types.
37019         (la_aarch64_gnu_pltenter): Likewise.
37020         * sysdeps/aarch64/dl-machine.h
37021         (elf_machine_runtime_setup): Use ElfW(Addr).
37023         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
37024         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
37025         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
37026         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
37027         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
37028         (R_AARCH64_TLS_DTPMOD64): Rename to ..
37029         (R_AARCH64_TLS_DTPMOD): This.
37030         (R_AARCH64_TLS_DTPREL64): Rename to ...
37031         (R_AARCH64_TLS_DTPREL): This.
37032         (R_AARCH64_TLS_TPREL64): Rename to ...
37033         (R_AARCH64_TLS_TPREL): This.
37034         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
37035         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
37036         R_AARCH64_TLS_TPREL64.
37037         (elf_machine_rela): Likewise.
37039 2014-11-21  Torvald Riegel  <triegel@redhat.com>
37041         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
37042         by setting it to 0.  64b atomics are not supported currently.
37044 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37046         [BZ #16469]
37047         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
37048         search domain names.
37050 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37052         [BZ #16469]
37053         * NEWS: Update.
37054         * resolv/res_query.c (__libc_res_nquerydomain): Retain
37055         trailing dot.
37056         * posix/tst-getaddrinfo5.c: New.
37057         * posix/Makefile (tests): Add it.
37059 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37061         [BZ #14498]
37062         * NEWS: Fixed.
37063         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
37064         after parsing line but before break_if_match.
37065         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
37066         if there is a protocol mismatch.
37068 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
37070         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
37071         because the potential race is on the user-supplied stream.
37073 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37075         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
37076         string literal if not passed a buffer.
37077         * manual/job.texi (ctermid): Update reasoning, note deviation
37078         from posix, suggest mtasurace when not passed a buffer, for
37079         future non-preliminary safety notes.
37081 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37083         * manual/users.texi (cuserid): Fix MT-Safety note for the case
37084         of not passing it a buffer.
37085         Reported by Peng Haitao.
37087 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37089         * manual/Makefile ($(objpfx)stamp-summary): Require
37090         check-safety.sh to pass.
37091         * manual/check-safety.sh: Wish for verification that every
37092         @deftypefn and @deftypefun is followed by a @safety remark.
37094 2014-11-20  Roland McGrath  <roland@hack.frob.com>
37096         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
37098         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
37099         PTHREAD_CANCEL_ASYNCHRONOUS.
37100         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
37101         send SIGCANCEL.
37103         * nptl/default-sched.h: New file.
37104         * sysdeps/unix/sysv/linux/default-sched.h: New file.
37105         * nptl/pthread_create.c: Include it.
37106         (__pthread_create_2_1): Use collect_default_sched instead of making
37107         Linux syscalls here directly.
37109 2014-11-20  Torvald Riegel  <triegel@redhat.com>
37111         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
37112         __pthread_once): Use C11 atomics.
37114 2014-11-20  Torvald Riegel  <triegel@redhat.com>
37116         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
37118 2014-11-20  Torvald Riegel  <triegel@redhat.com>
37120         * include/atomic.h (__atomic_link_error, __atomic_check_size,
37121         atomic_thread_fence_acquire, atomic_thread_fence_release,
37122         atomic_thread_fence_seq_cst, atomic_load_relaxed,
37123         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
37124         atomic_compare_exchange_weak_relaxed,
37125         atomic_compare_exchange_weak_acquire,
37126         atomic_compare_exchange_weak_release,
37127         atomic_exchange_acquire, atomic_exchange_release,
37128         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
37129         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
37130         atomic_fetch_and_acquire,
37131         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
37133 2014-11-20  Torvald Riegel  <triegel@redhat.com>
37135         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
37136         USE_ATOMIC_COMPILER_BUILTINS): Define.
37137         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
37138         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37139         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
37140         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37141         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
37142         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37143         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
37144         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37145         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
37146         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37147         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
37148         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37149         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
37150         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37151         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
37152         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37153         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
37154         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37155         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
37156         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37157         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
37158         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37159         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
37160         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37161         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
37162         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37163         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
37164         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37165         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
37166         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37167         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
37168         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37169         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
37170         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37171         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
37172         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37173         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
37174         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37175         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
37176         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37178 2014-11-19  Roland McGrath  <roland@hack.frob.com>
37180         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
37181         the sched_priority value here.  It was already checked when the user
37182         called pthread_attr_setschedparam.
37184         * nptl/tst-bad-schedattr.c: New file.
37185         * nptl/Makefile (tests): Add it.
37187 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
37188             Florian Weimer  <fweimer@redhat.com>
37189             Joseph Myers  <joseph@codesourcery.com>
37190             Adam Conrad  <adconrad@0c3.net>
37191             Andreas Schwab  <schwab@suse.de>
37192             Brooks  <bmoses@google.com>
37194         [BZ #17625]
37195         * wordexp-test.c (__dso_handle): Add prototype.
37196         (__register_atfork): Likewise.
37197         (__app_register_atfork): New function.
37198         (registered_forks): New global.
37199         (register_fork): New function.
37200         (test_case): Add 3 new tests for WRDE_CMDSUB.
37201         (main): Call __app_register_atfork.
37202         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
37203         fork count is non-zero fail the test.
37204         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
37205         is set.
37206         (parse_dollars): Remove check for WRDE_NOCMD.
37207         (parse_dquote): Likewise.
37209 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37211         * Makeconfig (built-modules): List non-library modules to be
37212         built.
37213         (module-cppflags): Include libc-modules.h for
37214         everything except shlib-versions.v.i.
37215         (CPPFLAGS): Use it.
37216         (before-compile): Add libc-modules.h.
37217         ($(common-objpfx)libc-modules.h,
37218         $(common-objpfx)libc-modules.stmp): New targets.
37219         (common-generated): Add libc-modules.h and libc-modules.stmp.
37220         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
37221         * include/libc-symbols.h: Don't include libc-modules.h.
37222         * include/libc-modules.h: Remove file.
37223         * scripts/gen-libc-modules.awk: New script to generate
37224         libc-modules.h.
37225         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
37226         Depend on libc-modules.stmp.
37228         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
37230         * Makeconfig (in-module): Get value of libof set for the
37231         translation unit.
37232         (CPPFLAGS): Use $(in-module).
37233         * Makerules: Don't suffix routine names for nonlib.
37234         * include/libc-modules.h: New file.
37235         * include/libc-symbols.h: Include libc-modules.h
37236         (IS_IN): New macro to replace IS_IN_* macros.
37237         * elf/Makefile: Set libof-* for each routine.
37238         * elf/rtld-Rules: Likewise.
37239         * extra-modules.mk: Likewise.
37240         * iconv/Makefile: Likewise.
37241         * iconvdata/Makefile: Likewise.
37242         * locale/Makefile: Likewise.
37243         * malloc/Makefile: Likewise.
37244         * nss/Makefile: Likewise.
37245         * sysdeps/gnu/Makefile: Likewise.
37246         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
37247         * sysdeps/unix/sysv/linux/Makefile: Likewise.
37248         * sysdeps/s390/s390-64/Makefile: Likewise.
37249         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
37250         CPPFLAGS for nscd instead of nonlib.
37252 2014-11-18  Roland McGrath  <roland@hack.frob.com>
37254         * nptl/createthread.c: New file.
37256         * nptl/createthread.c: Moved ...
37257         * sysdeps/unix/sysv/linux/createthread.c: ... here.
37259         * nptl/createthread.c: Add proper top-line comment.
37260         (do_clone): Folded into ...
37261         (create_thread): ... here.  Take new arguments STOPPED_START and
37262         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
37263         increment __nptl_threads, do event-reporting logic, do
37264         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
37265         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
37266         resource cleanup if sched_setaffinity or sched_setscheduler fails,
37267         just send SIGCANCEL.
37268         * nptl/pthread_create.c: Forward-declare create_thread before
37269         including createthread.c.
37270         (start_thread): Use new macro START_THREAD_DEFN to replace defining
37271         declaration, and new macro START_THREAD_SELF to replace argument.
37272         Remove return statement.
37273         (report_thread_creation): New function.
37274         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
37275         synchronization logic, and __nptl_nthreads increment here, around
37276         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
37277         PD->parent_cancelhandling here, before create_thread.  When
37278         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
37279         __deallocate_stack, and ENOMEM translation here.
37281 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
37283         [BZ #17616]
37284         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
37285         (mptwo): Rename to __mptwo.
37286         (__inv): Use __mptwo instead of mptwo.
37287         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
37288         (mptwo): Rename to __mptwo.
37289         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
37290         of mpone and __mptwo instead of mptwo.
37291         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
37292         instead of mpone.
37293         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
37294         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
37295         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
37296         of mpone and __mptwo instead of mptwo.
37297         (__mpranred): Use __mpone instead of mpone.
37298         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
37299         variable.
37300         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
37301         (test-xfail-ISO99/math.h/linknamespace): Likewise.
37302         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
37303         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
37304         (test-xfail-ISO11/math.h/linknamespace): Likewise.
37305         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
37306         (test-xfail-XPG3/math.h/linknamespace): Likewise.
37307         (test-xfail-XPG4/math.h/linknamespace): Likewise.
37308         (test-xfail-POSIX/math.h/linknamespace): Likewise.
37309         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
37310         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
37311         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
37312         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
37313         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
37314         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
37315         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
37316         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
37317         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
37318         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
37320 2014-11-18  Tom de Vries  <tom@codesoucery.com>
37322         * manual/signal.texi (Primitives Interrupted by Signals): In section,
37323         replace BSD Handler xref with BSD Signal Handling.
37325 2014-11-17  Richard Henderson  <rth@redhat.com>
37327         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
37328         (_FP_PACK_RAW_2): Remove.
37329         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
37330         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
37331         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
37332         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
37333         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
37334         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
37335         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
37336         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
37337         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
37338         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
37339         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
37340         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
37341         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
37342         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
37343         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
37344         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
37346 2014-11-14  Roland McGrath  <roland@hack.frob.com>
37348         * signal/signal.h [__USE_MISC]
37349         (struct sigvec): Remove type.
37350         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
37351         (sigvec): Remove declaration.
37352         * sysdeps/posix/sigvec.c: Moved ...
37353         * signal/sigvec.c: ... here, replacing old file.
37354         (struct sigvec): New type, copied from old signal.h definition.
37355         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
37356         (__sigvec): Convert definition to prototype.
37357         (sigvec): Replace weak_alias with compat_symbol.
37358         * signal/Versions (libc: GLIBC_2.21): New version set.
37359         * include/signal.h: Remove __sigvec declaration.
37360         * sysdeps/unix/bsd/sigvec.c: Remove file.
37361         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
37362         * manual/signal.texi (BSD Handler): Remove subsection.
37363         Move siginterrupt up to ...
37364         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
37365         (Blocking in BSD): Fold subsection into its parent.
37366         * NEWS: Mention sigvec removal.
37368 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
37370         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
37371         (DLA_FMS): Make definition conditional only on [__FMA4__].
37372         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
37373         definition.
37375         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
37376         Make definition conditional only on [PROF].
37377         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
37378         definition.
37379         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
37380         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
37382         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
37383         !__GNUC__].
37384         * include/signal.h (__sigpause): Move declaration above call to
37385         libc_hidden_proto.
37386         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
37387         variable.
37388         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
37389         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
37391 2014-11-14  David S. Miller  <davem@davemloft.net>
37393         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
37394         Define before including <string/memcpy.c> and <string/mempcpy.c>.
37396 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
37398         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
37399         * configure: Regenerated.
37400         * manual/install.texi (Tools for Compilation): Document a
37401         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
37402         compiler verified to work.
37403         * INSTALL: Regenerated.
37405         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
37406         redeclare with asm name.
37407         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
37408         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
37409         including <string.h>.
37410         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
37411         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
37412         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
37413         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
37414         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
37415         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
37416         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
37418 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
37420         * stdlib/strtol.c (__strtol): Use prototype definition.
37422         [BZ #17594]
37423         * stdlib/strtol.c (SYM__): New macro.
37424         (SYM__1): Likewise.
37425         (__strtol): Likewise.
37426         (strtol): Rename to __strtol and define as weak alias of
37427         __strtol.  Use libc_hidden_weak.
37429 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
37431         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
37432         Use numbered labels in inline assembly.
37434 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
37436         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
37437         Add setjmp LIBC_PROBE.
37438         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
37439         Likewise.
37440         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
37441         Add longjmp, longjmp_target LIBC_PROBE.
37442         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
37443         Likewise.
37445 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
37447         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
37448         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
37449         to get rid of unused variable warning.
37451 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
37453         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
37454         Check for unwind_backtrace ==  NULL only in SHARED case.
37455         (__backchain_backtrace): Compile only in SHARED case.
37456         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
37457         Likewise.
37458         (__backchain_backtrace): Declare as static.
37460 2014-11-12  Roland McGrath  <roland@hack.frob.com>
37462         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
37463         (__libc_multiple_threads_ptr): Variable moved ...
37464         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
37466 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
37468         * conform/GlibcConform.pm: New file.
37469         * conform/conformtest.pl: Use GlibcConform module.
37470         * conform/linknamespace.pl: New file.
37471         * conform/list-header-symbols.pl: Likewise.
37472         * conform/Makefile (linknamespace-symlists-base): New variable.
37473         (linknamespace-symlists-tests): Likewise.
37474         (linknamespace-header-base): Likewise.
37475         (linknamespace-header-tests): Likewise.
37476         (tests-special): Add new tests.
37477         ($(linknamespace-symlists-tests)): New rule.
37478         (linknamespace-libs): New variable.
37479         ($(objpfx)symlist-stdlibs): New rule.
37480         ($(linknamespace-header-tests)): Likewise.
37481         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
37482         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
37483         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
37484         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
37485         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
37486         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
37487         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
37488         (test-xfail-ISO/math.h/linknamespace): Likewise.
37489         (test-xfail-ISO/signal.h/linknamespace): Likewise.
37490         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
37491         (test-xfail-ISO/time.h/linknamespace): Likewise.
37492         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
37493         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
37494         (test-xfail-ISO99/math.h/linknamespace): Likewise.
37495         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
37496         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
37497         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
37498         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
37499         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
37500         (test-xfail-ISO11/math.h/linknamespace): Likewise.
37501         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
37502         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
37503         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
37504         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
37505         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
37506         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
37507         (test-xfail-XPG3/math.h/linknamespace): Likewise.
37508         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
37509         (test-xfail-XPG3/search.h/linknamespace): Likewise.
37510         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
37511         (test-xfail-XPG3/time.h/linknamespace): Likewise.
37512         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
37513         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
37514         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
37515         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
37516         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
37517         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
37518         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
37519         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
37520         (test-xfail-XPG4/math.h/linknamespace): Likewise.
37521         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
37522         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
37523         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
37524         (test-xfail-XPG4/search.h/linknamespace): Likewise.
37525         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
37526         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
37527         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
37528         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
37529         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
37530         (test-xfail-XPG4/time.h/linknamespace): Likewise.
37531         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
37532         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
37533         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
37534         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
37535         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
37536         (test-xfail-POSIX/math.h/linknamespace): Likewise.
37537         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
37538         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
37539         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
37540         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
37541         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
37542         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
37543         (test-xfail-POSIX/time.h/linknamespace): Likewise.
37544         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
37545         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
37546         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
37547         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
37548         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
37549         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
37550         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
37551         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
37552         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
37553         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
37554         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
37555         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
37556         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
37557         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
37558         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
37559         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
37560         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
37561         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
37562         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
37563         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
37564         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
37565         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
37566         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
37567         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
37568         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
37569         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
37570         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
37571         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
37572         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
37573         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
37574         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
37575         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
37576         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
37577         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
37578         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
37579         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
37580         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
37581         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
37582         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
37583         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
37584         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
37585         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
37586         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
37587         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
37588         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
37589         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
37590         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
37591         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
37592         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
37593         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
37594         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
37595         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
37596         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
37597         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
37598         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
37599         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
37600         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
37601         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
37602         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
37603         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
37604         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
37605         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
37606         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
37607         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
37608         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
37609         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
37610         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
37611         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
37612         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
37613         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
37614         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
37615         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
37616         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
37617         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
37618         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
37619         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
37620         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
37621         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
37622         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
37623         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
37624         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
37625         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
37626         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
37627         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
37628         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
37629         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
37630         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
37631         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
37632         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
37633         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
37634         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
37635         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
37636         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
37637         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
37638         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
37639         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
37640         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
37641         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
37643         [BZ #17589]
37644         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
37645         of fgets_unlocked.
37647         [BZ #17585]
37648         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
37649         (memmem): Rename to __memmem and define as weak alias of
37650         __memmem.  Use libc_hidden_weak.
37651         (__memmem): Use libc_hidden_def.
37652         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
37653         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
37654         memmem.
37656         [BZ #17582]
37657         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
37658         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
37659         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
37660         and define as weak alias of __fgets_unlocked.  Use
37661         libc_hidden_weak.
37662         (__fgets_unlocked): Use libc_hidden_def.
37663         * include/stdio.h (__fgets_unlocked): Declare.  Use
37664         libc_hidden_proto.
37665         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
37666         __fgets_unlocked instead of fgets_unlocked.
37667         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
37668         (GET_NPROCS_CONF_PARSER): Likewise.
37669         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
37670         (GET_NPROCS_CONF_PARSER): Likewise.
37672         [BZ #17574]
37673         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
37674         weak alias of __wmemset.  Use libc_hidden_weak.
37675         (__wmemset): Use libc_hidden_def.
37676         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
37677         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
37678         of wmemset.
37680         [BZ #17573]
37681         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
37682         with asm name __mempcpy.
37683         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
37685         [BZ #17572]
37686         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
37687         and define as weak alias of __rawmemchr.
37688         (__rawmemchr): Do not define as strong alias of rawmemchr.
37690         [BZ #17571]
37691         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
37692         alias of __qsort_r.
37693         (qsort): Call __qsort_r instead of qsort_r.
37694         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
37695         (__qsort_r): Declare.  Call libc_hidden_proto.
37696         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
37697         instead of qsort_r.
37698         * nscd/gai.c (__qsort_r): Define to qsort_r.
37699         * posix/tst-rfc3484.c (__qsort_r): Likewise.
37700         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
37701         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
37703         [BZ #17570]
37704         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
37705         define as weak alias of __malloc_info.
37707         [BZ #17584]
37708         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
37709         as weak alias of __rewinddir.  Don't use libc_hidden_def.
37710         (__rewinddir): Use libc_hidden_def.
37711         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
37712         as weak alias of __rewinddir.  Don't use libc_hidden_def.
37713         (__rewinddir): Use libc_hidden_def.
37714         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
37715         weak alias of __rewinddir.  Don't use libc_hidden_def.
37716         (__rewinddir): Use libc_hidden_def.
37717         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
37718         (__rewinddir): Use libc_hidden_proto.
37719         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
37720         rewinddir.
37721         (__getcwd): Use __rewinddir instead of rewinddir.
37723         [BZ #17583]
37724         * libio/fileno.c (fileno): Rename to __fileno and define as weak
37725         alias of __fileno.  Use libc_hidden_weak.
37726         (__fileno): Use libc_hidden_def.
37727         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
37728         * libio/ftello.c (ftello): Rename to __ftello and define as weak
37729         alias of __ftello.
37730         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
37731         __ftello.
37732         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
37733         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
37734         libc_hidden_def.
37735         (fread_unlocked): Don't use libc_hidden_ver.
37736         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
37737         and define as weak alias of __fread_unlocked.  Don't use
37738         libc_hidden_def.
37739         (__fread_unlocked): Use libc_hidden_def.
37740         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
37741         (ftello): Don't use libc_hidden_proto.
37742         (__ftello): Declare.  Use libc_hidden_proto.
37743         (fread_unlocked): Don't use libc_hidden_proto.
37744         (__fread_unlocked): Declare.  Use libc_hidden_proto.
37745         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
37746         and __ftello instead of fileno, fread_unlocked and ftello.
37748 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37750         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
37751         GOT12.
37752         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
37753         Likewise.
37754         (_dl_start_user): Likewise.
37755         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
37757 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
37758             Siddhesh Poyarekar  <siddhesh@redhat.com>
37760         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
37761         Move argv and envp down instead of moving argc up.
37762         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
37764 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
37766         [BZ #17506]
37767         * test-skeleton.c (main): Return successful if one of
37768         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
37769         * string/tst-strcoll-overflow.c: Define expected status.
37771 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
37773         [BZ #17475]
37774         * locale/iso-639.def: Define Bhili and Tulu language codes.
37776 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
37778         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
37780 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
37782         [BZ #17555]
37783         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
37785 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
37787         * configure.ac: Updated check of minimal required version to
37788         2.22.
37789         * manual/install.texi (Tools for Compilation): Updated version
37790         number.
37791         * configure: Regenerated.
37792         * INSTALL: Likewise.
37794 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
37796         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
37797         __tls_get_addr.
37799 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
37801         * include/sys/wait.h (__libc_waitpid): Remove declaration.
37802         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
37803         (__waitpid): Don't define as alias.  Use libc_hidden_def not
37804         libc_hidden_weak.
37805         (waitpid): Define as alias of __waitpid.
37806         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
37807         __waitpid.
37808         (__waitpid): Don't define as alias.  Use libc_hidden_def not
37809         libc_hidden_weak.
37810         (waitpid): Define as alias of __waitpid.
37811         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
37812         __libc_waitpid alias.
37813         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
37814         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
37815         Likewise.
37816         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
37817         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
37818         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
37819         alias.
37820         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
37821         __waitpid.
37822         (__waitpid): Don't define as alias.  Use libc_hidden_def not
37823         libc_hidden_weak.
37824         (waitpid): Define as alias of __waitpid.
37826 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
37828         * manual/llio.texi: Add comment that write safety has been
37829         fixed in Linux.
37831         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
37832         (localplt-build-dso): Add elf/ld.so.
37833         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
37834         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
37835         and free for ld.so.
37836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
37837         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
37838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
37839         Likewise.
37840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
37841         Likewise.
37842         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
37843         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
37844         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
37845         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
37846         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
37847         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
37848         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
37849         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
37850         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
37851         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
37852         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
37854 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
37856         [BZ #14132]
37857         * include/libc-symbols.h (INTUSE): Remove macro.
37858         (INTDEF): Likewise.
37859         (INTVARDEF): Likewise.
37860         (_INTVARDEF): Likewise.
37861         (INTDEF2): Likewise.
37862         (INTVARDEF2): Likewise.
37863         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
37864         rtld_hidden_def instead of INTVARDEF.
37865         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
37866         (_dl_starting_up_internal): Remove declaration.
37867         (_dl_starting_up): Use rtld_hidden_proto.
37868         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
37869         declaration.
37870         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
37871         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
37872         _dl_starting_up.
37873         * elf/dl-writev.h (_dl_writev): Likewise.
37874         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
37875         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
37876         _dl_starting_up_internal.
37878 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37880         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
37881         test-skeleton.c.
37883 2014-11-05  Will Newton  <will.newton@linaro.org>
37885         * benchtests/Makefile: (bench-malloc): Add malloc thread
37886         scalability benchmark.
37887         * benchtests/bench-malloc-threads.c: New file.
37889 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
37891         * sysdeps/aarch64/strchrnul.S: New file.
37893 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37895         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
37896         definition.
37897         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
37898         Likewise.
37899         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
37900         Likewise.
37901         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
37902         Likewise.
37903         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
37904         Likewise.
37905         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
37906         Likewise.
37908 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
37910         * catgets/test-gencat.c: Use test-skeleton.c.
37911         * catgets/tst-catgets.c: Likewise.
37912         * csu/tst-empty.c: Likewise.
37913         * elf/tst-audit2.c: Likewise.
37914         * elf/tst-global1.c: Likewise.
37915         * elf/tst-pathopt.c: Likewise.
37916         * elf/tst-piemod1.c: Likewise.
37917         * elf/tst-tls10.c: Likewise.
37918         * elf/tst-tls11.c: Likewise.
37919         * elf/tst-tls12.c: Likewise.
37920         * gnulib/tst-gcc.c: Likewise.
37921         * iconvdata/tst-e2big.c: Likewise.
37922         * iconvdata/tst-loading.c: Likewise.
37923         * iconv/tst-iconv1.c: Likewise.
37924         * iconv/tst-iconv2.c: Likewise.
37925         * inet/test-inet6_opt.c: Likewise.
37926         * inet/tst-gethnm.c: Likewise.
37927         * inet/tst-network.c: Likewise.
37928         * inet/tst-ntoa.c: Likewise.
37929         * intl/tst-codeset.c: Likewise.
37930         * intl/tst-gettext2.c: Likewise.
37931         * intl/tst-gettext3.c: Likewise.
37932         * intl/tst-ngettext.c: Likewise.
37933         * intl/tst-translit.c: Likewise.
37934         * io/test-stat.c: Likewise.
37935         * libio/test-fmemopen.c: Likewise.
37936         * libio/tst-freopen.c: Likewise.
37937         * libio/tst-sscanf.c: Likewise.
37938         * libio/tst-ungetwc1.c: Likewise.
37939         * libio/tst-ungetwc2.c: Likewise.
37940         * libio/tst-widetext.c: Likewise.
37941         * localedata/tst-ctype.c: Likewise.
37942         * localedata/tst-digits.c: Likewise.
37943         * localedata/tst-leaks.c: Likewise.
37944         * localedata/tst-mbswcs1.c: Likewise.
37945         * localedata/tst-mbswcs2.c: Likewise.
37946         * localedata/tst-mbswcs3.c: Likewise.
37947         * localedata/tst-mbswcs4.c: Likewise.
37948         * localedata/tst-mbswcs5.c: Likewise.
37949         * localedata/tst-setlocale.c: Likewise.
37950         * localedata/tst-trans.c: Likewise.
37951         * localedata/tst-wctype.c: Likewise.
37952         * localedata/tst-xlocale1.c: Likewise.
37953         * login/tst-grantpt.c: Likewise.
37954         * malloc/tst-calloc.c: Likewise.
37955         * malloc/tst-malloc.c: Likewise.
37956         * malloc/tst-mallocstate.c: Likewise.
37957         * malloc/tst-mcheck.c: Likewise.
37958         * malloc/tst-mtrace.c: Likewise.
37959         * malloc/tst-obstack.c: Likewise.
37960         * math/atest-exp2.c: Likewise.
37961         * math/atest-exp.c: Likewise.
37962         * math/atest-sincos.c: Likewise.
37963         * math/test-matherr.c: Likewise.
37964         * math/test-misc.c: Likewise.
37965         * math/test-powl.c: Likewise.
37966         * math/tst-definitions.c: Likewise.
37967         * misc/tst-dirname.c: Likewise.
37968         * misc/tst-efgcvt.c: Likewise.
37969         * misc/tst-fdset.c: Likewise.
37970         * misc/tst-hsearch.c: Likewise.
37971         * misc/tst-mntent2.c: Likewise.
37972         * nptl/tst-sem7.c: Likewise.
37973         * nptl/tst-sem8.c: Likewise.
37974         * nptl/tst-sem9.c: Likewise.
37975         * nss/test-netdb.c: Likewise.
37976         * posix/tst-fnmatch.c: Likewise.
37977         * posix/tst-getlogin.c: Likewise.
37978         * posix/tst-gnuglob.c: Likewise.
37979         * posix/tst-mmap.c: Likewise.
37980         * pwd/tst-getpw.c: Likewise.
37981         * resolv/tst-inet_ntop.c: Likewise.
37982         * rt/tst-timer.c: Likewise.
37983         * stdio-common/test-fseek.c: Likewise.
37984         * stdio-common/test-popen.c: Likewise.
37985         * stdio-common/test-vfprintf.c: Likewise.
37986         * stdio-common/tst-cookie.c: Likewise.
37987         * stdio-common/tst-fileno.c: Likewise.
37988         * stdio-common/tst-gets.c: Likewise.
37989         * stdio-common/tst-obprintf.c: Likewise.
37990         * stdio-common/tst-perror.c: Likewise.
37991         * stdio-common/tst-sprintf2.c: Likewise.
37992         * stdio-common/tst-sprintf3.c: Likewise.
37993         * stdio-common/tst-sprintf.c: Likewise.
37994         * stdio-common/tst-swprintf.c: Likewise.
37995         * stdio-common/tst-tmpnam.c: Likewise.
37996         * stdio-common/tst-unbputc.c: Likewise.
37997         * stdio-common/tst-wc-printf.c: Likewise.
37998         * stdlib/tst-environ.c: Likewise.
37999         * stdlib/tst-fmtmsg.c: Likewise.
38000         * stdlib/tst-limits.c: Likewise.
38001         * stdlib/tst-rand48-2.c: Likewise.
38002         * stdlib/tst-rand48.c: Likewise.
38003         * stdlib/tst-random2.c: Likewise.
38004         * stdlib/tst-random.c: Likewise.
38005         * stdlib/tst-strtol.c: Likewise.
38006         * stdlib/tst-strtoll.c: Likewise.
38007         * stdlib/tst-tls-atexit.c: Likewise.
38008         * stdlib/tst-xpg-basename.c: Likewise.
38009         * string/test-ffs.c: Likewise.
38010         * string/tst-bswap.c: Likewise.
38011         * string/tst-inlcall.c: Likewise.
38012         * string/tst-strtok.c: Likewise.
38013         * string/tst-strxfrm.c: Likewise.
38014         * sysdeps/x86_64/tst-audit10.c: Likewise.
38015         * sysdeps/x86_64/tst-audit3.c: Likewise.
38016         * sysdeps/x86_64/tst-audit4.c: Likewise.
38017         * sysdeps/x86_64/tst-audit5.c: Likewise.
38018         * time/tst-ftime_l.c: Likewise.
38019         * time/tst-getdate.c: Likewise.
38020         * time/tst-mktime3.c: Likewise.
38021         * time/tst-mktime.c: Likewise.
38022         * time/tst-posixtz.c: Likewise.
38023         * time/tst-strptime2.c: Likewise.
38024         * time/tst-strptime3.c: Likewise.
38025         * wcsmbs/tst-btowc.c: Likewise.
38026         * wcsmbs/tst-mbrtowc.c: Likewise.
38027         * wcsmbs/tst-mbsrtowcs.c: Likewise.
38028         * wcsmbs/tst-wchar-h.c: Likewise.
38029         * wcsmbs/tst-wcpncpy.c: Likewise.
38030         * wcsmbs/tst-wcrtomb.c: Likewise.
38031         * wcsmbs/tst-wcsnlen.c: Likewise.
38032         * wcsmbs/tst-wcstof.c: Likewise.
38034 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
38036         [BZ #14132]
38037         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
38038         INTDEF.
38039         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
38040         declaration.
38041         (_dl_mcount): Use rtld_hidden_proto.
38042         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
38043         _dl_mcount.
38044         * elf/rtld.c (_rtld_global_ro): Likewise.
38046         [BZ #14132]
38047         * elf/dl-init.c (_dl_init): Don't use INTDEF.
38048         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
38049         of _dl_init_internal.
38050         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
38051         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
38052         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
38053         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
38054         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
38055         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
38056         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
38057         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
38058         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
38059         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
38060         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
38061         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
38062         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
38063         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
38064         * sysdeps/tile/dl-start.S (_start): Likewise.
38065         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
38066         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
38068         [BZ #14132]
38069         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
38070         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
38071         (rtld_progname): Make macro definition unconditional.
38072         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
38073         INTDEF.
38074         (dlmopen_doit): Do not use INTUSE with _dl_argv.
38075         (dl_main): Likewise.
38076         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
38077         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
38078         instead of _dl_argv_internal.
38079         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
38080         __GI__dl_argv instead of INTUSE(_dl_argv).
38081         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
38082         __GI__dl_argv instead of _dl_argv_internal.
38084         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
38085         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
38086         macro.
38087         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
38088         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
38089         New macro.
38090         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
38091         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
38092         macro.
38093         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
38094         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
38096 2014-11-04  Andreas Schwab  <schwab@suse.de>
38098         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
38100 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38102         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
38103         mtvsrd instruction in binary form.
38105 2014-11-03  Andreas Schwab  <schwab@suse.de>
38107         [BZ #17522]
38108         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
38109         for less than MB_LEN_MAX use a local buffer of that size.
38110         * libio/tst-fputws.c: New file.
38111         * libio/Makefile (tests): Add tst-fputws.
38113 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
38115         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
38116         the size of the fpu_fr.fpu_dregs[] array.
38118 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
38120         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
38121         (__nanosleep): Do not define as alias.
38122         (nanosleep): Define as alias of __nanosleep.
38123         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
38124         __libc_nanosleep name.
38126 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
38128         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
38129         install.texi in comment.
38131 2014-10-31  Torvald Riegel  <triegel@redhat.com>
38133         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
38134         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
38135         ... add here and use lwsync or sync ...
38136         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
38137         ... and add here using lwsync.
38139 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
38141         * elf/dl-machine-reject-phdr.h: New file.
38142         * elf/dl-load.c: #include that.
38143         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
38144         if that returned true.
38146 2014-10-31  Roland McGrath  <roland@hack.frob.com>
38148         [BZ #17496]
38149         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
38150         gen-as-const-headers chunk.  Add a big scare comment after the last
38151         safe place to touch before-compile.
38153 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
38155         * manual/install.texi (Tools for Compilation): Update autoconf
38156         version requirements.
38157         * INSTALL: Regenerated.
38159         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
38160         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
38161         (__libc_pselect): Likewise.
38163         [BZ #14138]
38164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
38165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
38166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
38167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
38169 2014-10-31  Torvald Riegel  <triegel@redhat.com>
38171         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
38172         correct barrier instruction.
38173         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
38174         Likewise.
38175         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
38176         Likewise.
38178 2014-10-30  Roland McGrath  <roland@hack.frob.com>
38180         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
38181         after defining inlines.  Instead, just use parens to defeat macro
38182         expansion of __isctype in its declaration.
38184 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
38186         * include/sys/uio.h (__libc_readv): Remove declaration.
38187         (__libc_writev): Likewise.
38188         * misc/readv.c (__libc_readv): Rename to __readv.
38189         (__readv): Do not define as alias.
38190         (readv): Define as alias of __readv.
38191         * misc/writev.c (__libc_writev): Rename to __writev.
38192         (__writev): Do not define as alias.
38193         (writev): Define as alias of __writev.
38194         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
38195         (__readv): Do not define as alias.
38196         (readv): Define unconditionally as alias of __readv.
38197         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
38198         (__writev): Do not define as alias.
38199         (writev): Define unconditionally as alias of __writev.
38200         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
38201         name.
38202         (writev): Do not define __libc_writev name.
38204 2014-10-30  Roland McGrath  <roland@hack.frob.com>
38206         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
38207         (convert_charseq): New function, broken out of ...
38208         (use_from_charmap): ... here.  Call it.
38209         (use_to_charmap): Use convert_charseq and free instead of duplicating
38210         its code with a variable-length stack struct.
38212 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
38214         * include/fcntl.h (__libc_creat): Remove declaration.
38215         * io/creat.c (__libc_creat): Rename to creat.
38216         (creat): Do not define as alias.
38217         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
38218         of creat instead of __libc_creat.
38219         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
38220         to creat.
38221         (creat): Do not define as alias.
38222         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
38223         __libc_creat.
38224         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
38225         __libc_creat name.
38226         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
38227         Likewise.
38229 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
38231         * manual/llio.texi: Add comments discussing why write() may be
38232         considered MT-unsafe on Linux.
38234 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
38236         * dl-load.c (local_strdup): Remove.
38237         (expand_dynamic_string_token): Use __strdup.
38238         (decompose_rpath): Likewise.
38239         (_dl_map_object): Likewise.
38241 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
38243         [BZ #14132]
38244         * sysdeps/generic/unwind-dw2-fde.c
38245         (__register_frame_info_bases_internal): Do not declare.
38246         (__register_frame_info_table_bases_internal): Likewise.
38247         (__deregister_frame_info_bases_internal): Likewise.
38248         (__register_frame_info_bases): Declare and use hidden_proto before
38249         definition.  Use hidden_def instead of INTDEF.
38250         (__register_frame_info_table_bases): Likewise.
38251         (__deregister_frame_info_bases): Likewise.
38252         (__register_frame_info): Do not use INTUSE.
38253         (__register_frame): Likewise.
38254         (__register_frame_info_table): Likewise.
38255         (__register_frame_table): Likewise.
38256         (__deregister_frame_info): Likewise.
38257         (__deregister_frame): Likewise.
38259 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
38261         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38262         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
38263         not undefine.
38264         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
38265         Likewise.
38266         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
38267         Likewise.
38269 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
38271         [BZ #14138]
38272         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
38273         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
38274         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
38275         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
38276         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
38277         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
38278         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
38279         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
38280         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
38281         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
38282         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
38283         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
38284         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
38285         syscall.
38286         (setfsuid): Likewise.
38287         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
38288         (setfsuid): Likewise.
38289         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
38290         (setfsuid): Likewise.
38291         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
38292         Likewise.
38293         (setfsuid): Likewise.
38294         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
38295         (setfsuid): Likewise.
38296         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
38297         Likewise.
38298         (setfsuid): Likewise.
38300 2014-10-27  Andreas Schwab  <schwab@suse.de>
38302         [BZ #17501]
38303         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
38304         check for Slow_SSE4_2 feature bit.
38305         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
38306         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
38307         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
38308         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
38310 2014-10-24  Roland McGrath  <roland@hack.frob.com>
38312         * configure.ac: Validate compiler version with a empirical test of
38313         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
38314         $CC -v output.
38315         * configure: Regenerated.
38317         * inet/htons.c (htons): Prototypify.
38318         * inet/htonl.c (htonl): Likewise.
38320 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38322         * string/strncat.c (strncat): Improve performance by using strlen.
38324 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38326         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
38328 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38330         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
38331         Call libc_fetestexcept_aarch64.
38333 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38335         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
38336         Call libc_feholdexcept_aarch64.
38338 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38340         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
38341         Call get_rounding_mode.
38343 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38345         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
38346         Simplify logic.
38348 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38350         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
38351         Simplify logic.
38353 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
38355         [BZ #14138]
38356         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
38357         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
38358         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
38359         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
38360         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
38361         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
38362         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
38363         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
38364         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
38365         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
38366         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
38367         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
38368         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
38369         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
38370         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
38371         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
38372         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
38373         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
38374         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
38375         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
38376         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
38377         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
38378         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
38379         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
38380         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
38381         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
38382         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
38383         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
38384         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
38385         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
38386         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
38387         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
38388         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
38389         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
38390         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
38391         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
38392         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
38393         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
38394         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
38395         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
38396         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
38397         syscall.
38398         (geteuid): Likewise.
38399         (getgid): Likewise.
38400         (getuid): Likewise.
38401         (getresgid): Likewise.
38402         (getresuid): Likewise.
38403         (getgroups): Likewise.
38404         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
38405         (geteuid): Likewise.
38406         (getgid): Likewise.
38407         (getuid): Likewise.
38408         (getresgid): Likewise.
38409         (getresuid): Likewise.
38410         (getgroups): Likewise.
38411         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
38412         (geteuid): Likewise.
38413         (getgid): Likewise.
38414         (getuid): Likewise.
38415         (getresgid): Likewise.
38416         (getresuid): Likewise.
38417         (getgroups): Likewise.
38418         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
38419         Likewise.
38420         (geteuid): Likewise.
38421         (getgid): Likewise.
38422         (getuid): Likewise.
38423         (getresgid): Likewise.
38424         (getresuid): Likewise.
38425         (getgroups): Likewise.
38426         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
38427         (geteuid): Likewise.
38428         (getgid): Likewise.
38429         (getuid): Likewise.
38430         (getresgid): Likewise.
38431         (getresuid): Likewise.
38432         (getgroups): Likewise.
38433         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
38434         Likewise.
38435         (geteuid): Likewise.
38436         (getgid): Likewise.
38437         (getuid): Likewise.
38438         (getgroups): Likewise.
38440         [BZ #14138]
38441         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
38442         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
38443         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
38444         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
38445         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
38446         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
38447         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
38448         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
38449         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
38450         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
38451         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
38452         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
38453         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
38454         __chown.
38455         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
38456         (lchown): Likewise.
38457         (fchown): Likewise.
38458         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
38459         Likewise.
38460         (lchown): Likewise.
38461         (fchown): Likewise.
38462         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
38463         (lchown): Likewise.
38464         (fchown): Likewise.
38465         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
38466         Likewise.
38467         (lchown): Likewise.
38468         (fchown): Likewise.
38470 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
38472         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
38473         Simplify logic.
38475 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
38477         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
38478         Cleanup logic.
38480 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
38482         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
38483         Remove unused include.
38485 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
38487         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
38488         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
38489         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
38490         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
38492 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
38493             Helge Deller <deller@gmx.de>
38495         [BZ #17508]
38496         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
38497         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
38498         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
38500 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
38502         [BZ #14132]
38503         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
38504         Remove macro definition.
38505         (__ashrdi3_v_glibc20): Likewise.
38506         (__lshrdi3_v_glibc20): Likewise.
38507         (__cmpdi2_v_glibc20): Likewise.
38508         (__ucmpdi2_v_glibc20): Likewise.
38509         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
38510         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
38511         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
38512         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
38513         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
38514         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
38516 2014-10-22  Roland McGrath  <roland@hack.frob.com>
38518         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
38519         old GNU extension [0] syntax.
38520         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
38521         alloca rather than an array member with variable length.
38522         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
38523         * nscd/nscd.c (invalidate_db): New function, broken out of ...
38524         (parse_opt): ... here.  Likewise use alloca there.
38525         Validate the -i argument before checking for rootness.
38526         (send_shutdown): New function, broken out of ...
38527         (parse_opt): ... here.
38529 2014-10-22  Roland McGrath  <roland@hack.frob.com>
38531         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
38532         macro to get at the _rt_local_ro field.
38533         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
38534         ([PIC] case) or _dl_hwcap ([!PIC] case).
38535         * sysdeps/arm/setjmp.S: Likewise.
38537         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
38538         * sysdeps/arm/configure.ac: New check to define it.
38539         * sysdeps/arm/configure: Regenerated.
38540         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
38541         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
38542         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
38543         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
38544         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
38545         Use move/movt pair instead of a load.
38546         (LDST_GLOBAL): Macro removed.
38547         (LDR_GLOBAL): New macro replaces it.
38548         (LDR_HIDDEN): New macro.
38549         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
38550         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
38552         * setjmp/tst-setjmp-static.c: New file.
38553         * setjmp/Makefile (tests): Add it.
38554         (tests-static): New variable.
38556 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
38558         [BZ #17485]
38559         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
38561 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
38563         [BZ #14132]
38564         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
38566 2014-10-21  Roland McGrath  <roland@hack.frob.com>
38568         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
38570 2014-10-20  Roland McGrath  <roland@hack.frob.com>
38572         * io/fts.c (dirent_not_directory): New function.
38573         (fts_build): Call it.
38575 2014-10-20  Roland McGrath  <roland@hack.frob.com>
38577         * nptl/version.c (__nptl_main): Use normal __write rather than
38578         INTERNAL_SYSCALL.
38579         (banner): Update copyright years.
38581         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
38582         gettimeofday.
38583         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
38584         * nptl/pthread_cond_timedwait.c: Likewise.
38585         * nptl/pthread_mutex_timedlock.c: Likewise.
38586         * nptl/sem_timedwait.c: Likewise.
38588         * sysdeps/nptl/bits/libc-lock.h
38589         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
38590         (__libc_lock_init_recursive): Return void, not 0.
38591         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
38592         (__libc_rwlock_init): Likewise.
38593         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
38595 2014-10-20  Torvald Riegel  <triegel@redhat.com>
38597         [BZ #15215]
38598         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
38599         (__pthread_once_slow): ... here.
38600         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
38601         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
38603 2014-10-20  Torvald Riegel  <triegel@redhat.com>
38605         [BZ #15215]
38606         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
38607         __PTHREAD_ONCE_FORK_GEN_INCR): New.
38608         * sysdeps/nptl/fork.c (__libc_fork): Use them.
38609         * nptl/pthread_once.c (__pthread_once): Likewise.
38610         Update comments.
38612 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
38614         [BZ #14138]
38615         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
38616         name.
38617         (writev): Use __libc_writev as strong name.
38618         * sysdeps/unix/sysv/linux/readv.c: Remove file.
38619         * sysdeps/unix/sysv/linux/writev.c: Likewise.
38621 2014-10-17  Roland McGrath  <roland@hack.frob.com>
38623         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
38625         * sysdeps/i386/nptl/tls.h
38626         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
38627         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
38628         New macros.
38629         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
38630         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
38631         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
38632         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
38633         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
38634         Call CHECK_THREAD_SYSINFO instead of doing an assert.
38636         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
38637         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
38638         on [__NR_futex].
38639         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
38640         broken out of ...
38641         (__pthread_mutex_init): ... here.  Call it.
38642         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
38643         Conditionalize PI cases on [__NR_futex].
38644         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
38645         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
38646         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
38648         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
38649         conditional on [SIGSETXID].
38650         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
38651         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
38652         is defined.  Likewise for SIGSETXID.
38653         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
38654         Conditionalize definitions on [SIGSETXID].
38655         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
38656         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
38657         unblocking on [SIGCANCEL].
38659         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
38660         [__NR_set_robust_list].
38662 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
38664         * string/strcoll_l.c (get_next_seq): Fix up formatting.
38665         (do_compare): Likewise.
38667 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
38669         [BZ #15884]
38670         * string/strcoll_l.c: Don't include stdio.h.
38671         (coll_seq): Remove members idxarr and rulearr.
38672         (get_next_seq_cached): Remove function.
38673         (get_next_seq): Likewise.
38674         (get_next_seq_nocache): Rename to get_next_seq.
38675         (do_compare): Remove function.
38676         (do_compare_nocache): Rename to do_compare.
38677         (STRCOLL): Remove weight and rules cache.
38679 2014-10-16  Roland McGrath  <roland@hack.frob.com>
38681         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
38682         * sysdeps/arm/sfp-machine.h: ... to here.
38683         * sysdeps/arm/Implies: Remove arm/soft-fp.
38685 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
38687         * conform/data/sys/utsname.h-data (*_t): Allow.
38688         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
38689         [POSIX] (WEXITED): Do not expect constant.
38690         [POSIX] (WSTOPPED): Likewise.
38691         [POSIX] (WNOHANG): Likewise.
38692         [POSIX] (WNOWAIT): Likewise.
38693         [POSIX] (siginfo_t): Do not expect type or elements.
38694         [POSIX] (pid_t): Do not expect type.
38695         [POSIX] (signal.h): Do not allow header.
38696         [POSIX] (sys/resource.h): Likewise.
38697         [POSIX] (si_*): Do not allow pattern.
38698         [POSIX] (W*): Likewise.
38699         [POSIX] (P_*): Likewise.
38700         [POSIX] (BUS_*): Likewise.
38701         [POSIX] (CLD_*): Likewise.
38702         [POSIX] (FPE_*): Likewise.
38703         [POSIX] (ILL_*): Likewise.
38704         [POSIX] (POLL_*): Likewise.
38705         [POSIX] (SEGV_*): Likewise.
38706         [POSIX] (SI_*): Likewise.
38707         [POSIX] (TRAP_*): Likewise.
38708         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
38709         variable.
38711 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
38713         [BZ #12926]
38714         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
38715         infinite loop when __recvmsg returns 0.
38717 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
38719         * CANCEL-FCT-WAIVE: Remove file.
38720         * CANCEL-FILE-WAIVE: Likewise.
38722         [BZ #14132]
38723         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
38724         instead of INTVARDEF.
38725         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
38726         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
38727         rtld_hidden_data_def instead of INTVARDEF.
38728         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
38729         * elf/dl-deps.c (expand_dst): Likewise.
38730         * elf/dl-load.c (_dl_dst_count): Likewise.
38731         (_dl_dst_substitute): Likewise.
38732         (decompose_rpath): Likewise.
38733         (_dl_init_paths): Likewise.
38734         (open_path): Likewise.
38735         (_dl_map_object): Likewise.
38736         * elf/rtld.c (dl_main): Likewise.
38737         (process_dl_audit): Likewise.
38738         (process_envvars): Likewise.
38739         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
38740         Remove declaration.
38741         (__libc_enable_secure): Use rtld_hidden_proto.
38743 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38745         * elf/dl-load.c
38746         (add_path): New function broken out of _dl_rtld_di_serinfo.
38747         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
38749 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
38751         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
38752         parentheses around macro arguments.
38753         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
38754         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
38755         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
38756         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
38757         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
38758         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
38759         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
38760         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
38761         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
38762         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
38763         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
38764         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
38765         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
38766         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
38767         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
38768         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
38769         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
38770         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
38771         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
38772         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
38773         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
38774         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
38775         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
38776         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
38777         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
38778         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
38779         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
38780         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
38781         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
38782         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
38783         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
38784         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
38785         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
38786         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
38787         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
38788         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
38789         Likewise.
38790         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
38791         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
38792         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
38793         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
38794         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
38795         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
38796         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
38797         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
38798         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
38799         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
38800         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
38801         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
38802         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
38803         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
38804         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
38805         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
38806         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
38807         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
38808         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
38809         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
38810         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
38811         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
38812         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
38813         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
38814         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
38815         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
38816         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
38817         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
38818         (_FP_FRAC_SRS_1): Likewise.
38819         (_FP_FRAC_CLZ_1): Likewise.
38820         (_FP_MUL_MEAT_1_imm): Likewise.
38821         (_FP_MUL_MEAT_1_wide): Likewise.
38822         (_FP_MUL_MEAT_1_hard): Likewise.
38823         (_FP_SQRT_MEAT_1): Likewise.
38824         (_FP_FRAC_ASSEMBLE_1): Likewise.
38825         (_FP_FRAC_DISASSEMBLE_1): Likewise.
38826         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
38827         (__FP_CLZ_2): Likewise.
38828         (_FP_MUL_MEAT_2_wide): Likewise.
38829         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
38830         (_FP_MUL_MEAT_2_gmp): Likewise.
38831         (_FP_MUL_MEAT_2_120_240_double): Likewise.
38832         (_FP_SQRT_MEAT_2): Likewise.
38833         (_FP_FRAC_ASSEMBLE_2): Likewise.
38834         (_FP_FRAC_DISASSEMBLE_2): Likewise.
38835         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
38836         (_FP_FRAC_CLZ_4): Likewise.
38837         (_FP_MUL_MEAT_4_wide): Likewise.
38838         (_FP_MUL_MEAT_4_gmp): Likewise.
38839         (_FP_SQRT_MEAT_4): Likewise.
38840         (_FP_FRAC_ASSEMBLE_4): Likewise.
38841         (_FP_FRAC_DISASSEMBLE_4): Likewise.
38842         * soft-fp/op-common.h (_FP_CMP): Likewise.
38843         (_FP_CMP_EQ): Likewise.
38844         (_FP_CMP_UNORD): Likewise.
38845         (_FP_TO_INT): Likewise.
38846         (_FP_FROM_INT): Likewise.
38847         [!__FP_CLZ] (__FP_CLZ): Likewise.
38848         (_FP_DIV_HELP_imm): Likewise.
38849         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
38850         Likewise.
38851         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
38852         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
38853         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
38854         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
38855         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
38856         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
38857         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
38858         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
38859         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
38860         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
38861         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
38862         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
38863         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
38864         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
38865         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
38866         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
38867         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
38868         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
38869         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
38870         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
38871         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
38872         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
38873         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
38874         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
38875         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
38876         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
38877         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
38878         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
38879         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
38880         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
38881         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
38882         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
38883         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
38884         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
38885         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
38886         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
38887         (FP_UNPACK_RAW_SP): Likewise.
38888         (FP_PACK_RAW_S): Likewise.
38889         (FP_PACK_RAW_SP): Likewise.
38890         (FP_UNPACK_S): Likewise.
38891         (FP_UNPACK_SP): Likewise.
38892         (FP_UNPACK_SEMIRAW_S): Likewise.
38893         (FP_UNPACK_SEMIRAW_SP): Likewise.
38894         (FP_PACK_S): Likewise.
38895         (FP_PACK_SP): Likewise.
38896         (FP_PACK_SEMIRAW_S): Likewise.
38897         (FP_PACK_SEMIRAW_SP): Likewise.
38898         (_FP_SQRT_MEAT_S): Likewise.
38899         (FP_CMP_S): Likewise.
38900         (FP_CMP_EQ_S): Likewise.
38901         (FP_CMP_UNORD_S): Likewise.
38902         (FP_TO_INT_S): Likewise.
38903         (FP_FROM_INT_S): Likewise.
38905         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
38907         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
38908         (FP_EX_INVALID_IMZ): Likewise.
38909         (FP_EX_INVALID_IMZ_FMA): Likewise.
38910         (FP_EX_INVALID_ISI): Likewise.
38911         (FP_EX_INVALID_ZDZ): Likewise.
38912         (FP_EX_INVALID_IDI): Likewise.
38913         (FP_EX_INVALID_SQRT): Likewise.
38914         (FP_EX_INVALID_CVI): Likewise.
38915         (FP_EX_INVALID_VC): Likewise.
38916         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
38917         "invalid" exceptions.
38918         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
38919         (_FP_ADD_INTERNAL): Likewise.
38920         (_FP_MUL): Likewise.
38921         (_FP_FMA): Likewise.
38922         (_FP_DIV): Likewise.
38923         (_FP_CMP_CHECK_NAN): Likewise.
38924         (_FP_SQRT): Likewise.
38925         (_FP_TO_INT): Likewise.
38926         (FP_EXTEND): Likewise.
38928 2014-10-09  Allan McRae  <allan@archlinux.org>
38930         * po/fr.po: Update French translation from translation project.
38932 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
38934         [BZ #14132]
38935         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
38936         of INTDEF.
38937         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
38938         (__cxa_atexit): Use libc_hidden_proto.
38939         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
38941         [BZ #14132]
38942         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
38943         declaration.
38944         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
38945         [!_ISOMAC] (__iswspace_l_internal): Likewise.
38946         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
38947         [!_ISOMAC] (__iswctype_internal): Likewise.
38948         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
38949         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
38950         alias.
38951         (fcntl): Remove __fcntl_internal alias.
38952         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
38953         __connect_internal alias.
38954         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
38955         Likewise.
38957         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
38958         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
38959         FP_DENORM_ZERO.
38960         (_FP_CHECK_FLUSH_ZERO): New macro.
38961         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
38962         (_FP_CMP): Likewise.
38963         (_FP_CMP_EQ): Likewise.
38964         (_FP_TO_INT): Do not set inexact for subnormal arguments if
38965         FP_DENORM_ZERO.
38966         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
38967         (FP_TRUNC): Likewise.
38969         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
38970         treated as invalid conversion, not as normal exponent.
38972         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
38973         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
38974         (_FP_CMP_EQ): Likewise.
38975         (_FP_CMP_UNORD): Likewise.
38976         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
38977         (FP_CMP_EQ_D): Likewise.
38978         (FP_CMP_UNORD_D): Likewise.
38979         * soft-fp/extended.h (FP_CMP_E): Likewise.
38980         (FP_CMP_EQ_E): Likewise.
38981         (FP_CMP_UNORD_E): Likewise.
38982         * soft-fp/quad.h (FP_CMP_Q): Likewise.
38983         (FP_CMP_EQ_Q): Likewise.
38984         (FP_CMP_UNORD_Q): Likewise.
38985         * soft-fp/single.h (FP_CMP_S): Likewise.
38986         (FP_CMP_EQ_S): Likewise.
38987         (FP_CMP_UNORD_S): Likewise.
38988         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
38989         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
38990         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
38991         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
38992         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
38993         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
38994         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
38995         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
38996         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
38997         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
38998         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
38999         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
39000         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
39001         to FP_CMP_Q.
39002         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
39003         FP_CMP_Q.
39004         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
39005         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
39006         FP_CMP_EQ_Q.
39007         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
39008         FP_CMP_Q.
39009         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
39010         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
39011         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
39012         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
39013         FP_CMP_EQ_Q.
39014         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
39015         FP_CMP_Q.
39016         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
39017         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
39018         FP_CMP_EQ_Q.
39019         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
39020         FP_CMP_Q.
39021         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
39022         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
39023         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
39024         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
39025         FP_CMP_EQ_Q.
39027         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
39028         a subnormal result, set the underflow exception if trapping on
39029         underflow is enabled.
39030         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
39031         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
39032         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
39033         redefine to 0.
39034         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
39035         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
39036         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
39037         * soft-fp/extendxftf2.c (__extendxftf2): Use
39038         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
39040         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
39041         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
39042         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
39043         FP_HANDLE_EXCEPTIONS.
39044         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
39045         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
39046         FP_HANDLE_EXCEPTIONS.
39047         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
39048         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
39049         FP_HANDLE_EXCEPTIONS.
39050         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
39051         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
39052         FP_HANDLE_EXCEPTIONS.
39054 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
39056         [BZ #14132]
39057         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
39058         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
39059         use INTUSE.
39060         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
39061         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
39062         Remove alias.
39063         (__adjtimex): Define using libc_hidden_ver.
39064         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
39065         Remove declaration.
39066         (ntp_gettime): Call __adjtimex directly.
39067         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
39068         Remove declaration.
39069         (ntp_gettimex): Call __adjtimex directly.
39070         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
39071         __adjtimex_internal alias.
39073 2014-10-08  Roland McGrath  <roland@hack.frob.com>
39075         [BZ #17460]
39076         * nscd/nscd.c (more_help): Rewrite list of tables collection
39077         using xstrdup and asprintf.
39079         * nscd/nscd_conf.c: Remove local xstrdup declaration.
39081 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39082             Roland McGrath  <roland@hack.frob.com>
39084         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
39085         (do_lookup_unique): ... local function 'enter' here; update callers.
39087 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
39089         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
39090         compat_symbol calls on [SHARED].
39091         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
39092         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
39093         Remove.
39094         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
39095         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
39096         (oldsetrlimit): Remove.
39097         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
39098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
39099         (lchown): New syscall entry.
39100         (oldsetrlimit): Remove.
39101         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
39102         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
39103         (oldsetrlimit): Remove.
39104         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
39106         [BZ #14138]
39107         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
39108         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
39109         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
39110         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
39111         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
39112         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
39113         (fchown): Likewise.
39114         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
39115         (fchown): Likewise.
39116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
39117         Likewise.
39119 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39121         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
39122         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
39123         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
39124         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
39125         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
39126         Likewise.
39127         (__old_sem_post): Likewise.
39129 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
39131         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
39132         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
39133         HAVE_CLOCK_GETTIME_VSYSCALL macros.
39134         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
39135         Use INLINE_VSYSCALL macro.
39136         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
39137         __vdso_clock_gettime.
39138         * sysdeps/unix/sysv/linux/tile/init-first.c
39139         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
39140         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
39141         __vdso_clock_gettime.
39143         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
39144         to set up frame more cleanly.
39146         * sysdeps/tile/memcmp.c: New file.
39148         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
39150         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
39151         * sysdeps/tile/tilegx/strcasestr.c: New file.
39152         * sysdeps/tile/tilegx/strnlen.c: New file.
39153         * sysdeps/tile/tilegx/strstr.c: New file.
39155         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
39157 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
39159         * nptl/tst-setuid3.c: Write errors to stdout.
39161 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39163         * elf/dl-deps.c
39164         (preload): New functions broken out of _dl_map_object_deps.
39165         (_dl_map_object_deps):  Remove a nested function. Update call sites.
39167 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
39169         [BZ #14138]
39170         * sysdeps/unix/sysv/linux/execve.c: Remove file.
39171         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
39173 2014-10-01  Steve Ellcey  <sellcey@mips.com>
39175         * sysdeps/mips/strcmp.S: New.
39177 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
39179         [BZ #14138]
39180         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
39181         (linkat): Likewise.
39182         (mkdirat): Likewise.
39183         (readlinkat): Likewise.
39184         (renameat): Likewise.
39185         (symlinkat): Likewise.
39186         (unlinkat): Likewise.
39187         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
39188         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
39189         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
39190         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
39191         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
39192         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
39193         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
39195 2014-09-30  Will Newton  <will.newton@linaro.org>
39197         * math/math.h: Define long double math functions if
39198         _LIBC_TEST is defined.
39199         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
39201         * localedata/Makefile: Move assignment to tests-special
39202         into an ifdef testing run-built-tests.
39203         * timezone/Makefile: Likewise.
39205 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
39207         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
39208         with $(BASH) not $(SHELL).
39210 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
39211             Matthew LeGendre  <legendre1@llnl.gov>
39213         [BZ #17411]
39214         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
39215         l_reloc_result.
39217 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39219         * stdio-common/printf_fp.c
39220         (hack_digit): New function, broken out of ...
39221         (__printf_fp): ... local function here.  Update call sites.
39222         hack_digit now takes an additional parameter that is a pointer
39223         to a struct of the referenced locals.  Those locals moved inside
39224         the struct and references updated.
39226 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
39228         * aclocal.m4: Require autoconf 2.69.
39229         * configure: Regenerated.
39230         * sysdeps/aarch64/configure: Likewise.
39231         * sysdeps/alpha/configure: Likewise.
39232         * sysdeps/arm/armv7/configure: Likewise.
39233         * sysdeps/arm/configure: Likewise.
39234         * sysdeps/ia64/configure: Likewise.
39235         * sysdeps/mach/configure: Likewise.
39236         * sysdeps/mips/configure: Likewise.
39237         * sysdeps/s390/configure: Likewise.
39238         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
39239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
39241         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
39242         file.
39243         * sysdeps/ia64/configure.ac: Likewise.
39245 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
39247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
39248         specify symbol version for ld.so.  Do not include entry for
39249         libpthread.
39250         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
39251         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
39252         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
39254         [BZ #14171]
39255         * Makeconfig [$(build-shared) = yes]
39256         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
39257         makefiles.
39258         [$(build-shared) = yes && $(soversions.mk-done) = t]
39259         ($(common-objpfx)gnu/lib-names.h): Remove rule.
39260         [$(build-shared) = yes && $(soversions.mk-done) = t]
39261         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
39262         to Makerules.
39263         [$(build-shared) = yes && $(soversions.mk-done) = t]
39264         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
39265         here.
39266         [$(build-shared) = yes && $(soversions.mk-done) = t]
39267         (common-generated): Don't append gnu/lib-names.h and
39268         gnu/lib-names.stmp here.
39269         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
39270         (lib-names-h-abi): New variable.
39271         [$(build-shared) = yes && $(soversions.mk-done) = t]
39272         (lib-names-stmp-abi): Likewise.
39273         [$(build-shared) = yes && $(soversions.mk-done) = t &&
39274         abi-variants] (before-compile): Append
39275         $(common-objpfx)$(lib-names-h-abi).
39276         [$(build-shared) = yes && $(soversions.mk-done) = t &&
39277         abi-variants] (common-generated): Append gnu/lib-names.h.
39278         [$(build-shared) = yes && $(soversions.mk-done) = t &&
39279         abi-variants] (install-others-nosubdir): Depend on
39280         $(inst_includedir)/$(lib-names-h-abi).
39281         [$(build-shared) = yes && $(soversions.mk-done) = t &&
39282         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
39283         [$(build-shared) = yes && $(soversions.mk-done) = t]
39284         ($(common-objpfx)$(lib-names-h-abi)): New rule.
39285         [$(build-shared) = yes && $(soversions.mk-done) = t]
39286         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
39287         [$(build-shared) = yes && $(soversions.mk-done) = t]
39288         (common-generated): Append $(lib-names-h-abi) and
39289         $(lib-names-stmp-abi).
39290         * scripts/lib-names.awk: Do not handle multi being set.
39291         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
39292         Remove variable.
39293         (abi-lp64_be-ld-soname): Likewise.
39294         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
39295         Likewise.
39296         (abi-hard-ld-soname): Likewise.
39297         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
39298         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
39299         Remove variable.
39300         (abi-o32_hard-ld-soname): Likewise.
39301         (abi-o32_soft_2008-ld-soname): Likewise.
39302         (abi-o32_hard_2008-ld-soname): Likewise.
39303         (abi-n32_soft-ld-soname): Likewise.
39304         (abi-n32_hard-ld-soname): Likewise.
39305         (abi-n32_soft_2008-ld-soname): Likewise.
39306         (abi-n32_hard_2008-ld-soname): Likewise.
39307         (abi-n64_soft-ld-soname): Likewise.
39308         (abi-n64_hard-ld-soname): Likewise.
39309         (abi-n64_soft_2008-ld-soname): Likewise.
39310         (abi-n64_hard_2008-ld-soname): Likewise.
39311         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
39312         Likewise.
39313         (abi-64-v2-ld-soname): Likewise.
39314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
39315         ld.so entries.
39316         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
39317         variable.
39318         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
39319         entry.
39320         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
39321         variable.
39322         (abi-64-ld-soname): Likewise.
39323         (abi-x32-ld-soname): Likewise.
39324         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
39325         entry.
39326         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
39328 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
39330         [BZ #14138]
39331         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
39332         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
39333         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
39334         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
39335         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
39336         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
39337         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
39338         syscall entry for GLIBC_2.2 symbol version.
39339         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
39340         Likewise.
39341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
39342         (setrlimit): Likewise.
39343         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
39344         Likewise.
39346 2014-09-23  Will Newton  <will.newton@linaro.org>
39348         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
39349         _LINUX_ARM_SYSDEP_H include guard too.
39350         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
39351         define.
39353 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
39355         * sysdeps/unix/sysv/linux/eventfd.c:
39356         Make first argument unsigned.
39357         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
39358         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
39360 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
39362         [BZ #16852]
39363         * socket/recvmmsg.c (recvmmsg): Drop const argument.
39364         * socket/sys/socket.h: Likewise.
39365         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
39367 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39369         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
39371 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
39373         * time/tst-ftime.c: New test.
39374         * time/Makefile (tests): Add tst-ftime.
39376 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
39378         * soft-fp/extended.h: Fix comment formatting.
39379         * soft-fp/op-1.h: Likewise.
39380         * soft-fp/op-2.h: Likewise.
39381         * soft-fp/op-4.h: Likewise.
39382         * soft-fp/op-8.h: Likewise.
39383         * soft-fp/op-common.h: Likewise.
39384         * soft-fp/soft-fp.h: Likewise.
39386         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
39388 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
39390         [BZ #6652]
39391         * Makeconfig (soversions-default-setname): Remove variable.
39392         ($(common-objpfx)soversions.i): Don't pass default_setname to
39393         soversions.awk.
39394         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
39395         oldest_abi to abi-versions.awk.
39396         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
39397         * config.make.in (oldest-abi): Remove variable.
39398         * configure.ac (--enable-oldest-abi): Remove configure option.
39399         * configure: Regenerated.
39400         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
39401         text.
39402         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
39403         * scripts/soversions.awk: Do not handle default_setname variable.
39404         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
39405         variable.
39406         * sysdeps/mach/hurd/configure: Regenerated.
39407         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
39408         variable.
39409         * sysdeps/unix/sysv/linux/configure: Regenerated.
39411 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39413         * elf/Makefile (CFLAGS-interp.c): Remove.
39414         ($(elf-objpfx)runtime-linker.h): Generate header with linker
39415         path string.
39416         * elf/interp.c: Include generated runtime-linker.h
39418         * Makerules (lib%.so): Don't include $(+interp) in
39419         prerequisites.
39420         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
39421         * dlfcn/eval.c: Remove file.
39423         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
39424         macros.
39426         [BZ #17266]
39427         * misc/sys/cdefs.h: Define __extern_always_inline for clang
39428         4.2 and newer.
39430         [BZ #17370]
39431         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
39433 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39434             Jakub Jelinek  <jakub@redhat.com>
39436         [BZ #17266]
39437         * libio/stdio.h: Check definition of __fortify_function
39438         instead of __extern_always_inline to include bits/stdio2.h.
39439         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
39440         check if __extern_always_inline is defined.
39441         [__USE_MISC || __USE_XOPEN]: Likewise.
39442         [__USE_ISOC99] Likewise.
39443         * misc/sys/cdefs.h (__fortify_function): Define only if
39444         __extern_always_inline is defined.
39445         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
39446         __extern_always_inline and __extern_inline only for g++-4.3
39447         and newer or a compatible gcc.
39449 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
39451         [BZ #17371]
39452         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
39453         last change to handle zero prefix length.
39455 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39457         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
39458         _SC_REGEX_VERSION.
39460         * posix/getconf.c (vars): Add _POSIX_IPV6 and
39461         _POSIX_RAW_SOCKETS.
39463 2014-09-13  Allan McRae  <allan@archlinux.org>
39465         * po/ru.po: Update Russian translation from translation project.
39467 2014-09-12  Roland McGrath  <roland@hack.frob.com>
39469         * locale/programs/locale.c (show_locale_vars): Inline local function
39470         into its sole call site.  Clean up some style nits.
39471         (print_item): New function, broken out of ...
39472         (show_info): ... local function here.  Clean up style nits.
39474         * locale/programs/ld-ctype.c (set_one_default): New function, broken
39475         out of ...
39476         (set_class_defaults): ... local function set_default here.
39477         Define set_default as a macro locally to pass constant parameters.
39478         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
39479         rather than a shared local.
39481         * stdlib/rpmatch.c (try): New function, broken out of ...
39482         (rpmatch): ... local function here.  Also, prototypify definition.
39484 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
39486         * scripts/soversions.awk: Do not handle configuration names.
39487         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
39488         vendor and os variables to soversions.awk.
39489         * configure.ac: Do not modify gnu-* host_os.
39490         * configure: Regenerated
39491         * shlib-versions: Remove first column with configuration names.
39492         * nptl/shlib-versions: Likewise.
39493         * nptl_db/shlib-versions: Likewise.
39494         * sysdeps/hppa/shlib-versions: Likewise.
39495         * sysdeps/m68k/shlib-versions: Likewise.
39496         * sysdeps/mach/hurd/shlib-versions: Likewise.
39497         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
39498         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
39499         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
39500         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
39501         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
39502         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
39503         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
39504         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
39505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
39506         Likewise.
39507         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
39508         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
39509         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
39510         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
39511         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
39512         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
39513         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
39514         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
39516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
39517         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
39518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
39519         Regenerated.
39520         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
39521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
39522         Condition symbol version definitions on [HAVE_ELFV2_ABI].
39524         * shlib-versions: Remove OS-specific entries.  Moved to files in
39525         sysdeps.
39526         * sysdeps/mach/hurd/shlib-versions: New file.
39527         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
39529         * nptl/shlib-versions: Remove architecture-specific entries.
39530         Moved to files in sysdeps.
39531         * shlib-versions: Likewise.
39532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
39533         file.
39534         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
39535         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
39536         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
39537         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
39539         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
39540         (UDP_NO_CHECK6_RX): Likewise.
39542 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39544         * sysdeps/posix/sysconf.c (__sysconf): Spell
39545         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
39547 2014-08-12  Florian Weimer  <fweimer@redhat.com>
39549         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
39550         loading.
39551         * iconv/Versions (__gconv_transliterate): Export for use from
39552         gconv modules.
39553         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
39554         (struct __gconv_trans_data, __gconv_trans_fct,
39555         __gconv_trans_context_fct, __gconv_trans_query_fct,
39556         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
39557         definitions.
39558         (struct __gconv_step_data): Remove __trans member.
39559         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
39560         longer hidden.  Remove unused trans_data argument.
39561         * iconv/gconv_int.h (struct trans_struct): Remove definition.
39562         (__gconv_translit_find): Remove declaration.
39563         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
39564         prototype.
39565         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
39566         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
39567         trans_data argument.  Add hidden definition.
39568         (__gconv_translit_find): Remove.
39569         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
39570         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
39571         * iconv/skeleton.c: Remove transliteration initialization.
39572         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
39573         __gconv_step_data initialization.
39574         * libio/iofwide.c (__libio_translit_): Remove.
39575         (_IO_fwide): Adjust struct __gconv_step_data initialization.
39576         * wcsmbs/btowc.c (__btowc): Likewise.
39577         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
39578         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
39579         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
39580         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
39581         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
39582         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
39583         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
39584         * wcsmbs/wctob.c (wctob): Likewise.
39586 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39588         [BZ #16194]
39589         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
39590         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
39591         register usage.
39592         * sysdeps/x86/Makefile: Adjust.
39594 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39595             Roland McGrath  <roland@hack.frob.com>
39597         * locale/weight.h: Add include guard.
39598         (findidx): Make static rather than auto; take new parameters
39599         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
39600         * locale/weightwc.h: Likewise.
39601         * posix/fnmatch_loop.c
39602         (FCT): Change type of EXTRA from int32_t to wint_t.
39603         Don't include either header inside the function.
39604         Call FINDIDX rather than findidx, and pass new arguments.
39605         #undef FINDIDX at the end of the file.
39606         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
39607         FINDIDX before including fnmatch_loop.c for the non-wide version.
39608         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
39609         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
39610         for the wide version.
39611         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
39612         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
39613         Pass new arguments to findidx.
39614         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
39615         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
39616         Don't #include it inside the function.  Pass new arguments to findidx.
39617         * posix/regex_internal.h
39618         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
39619         (re_string_elem_size_at): Don't #include it inside the function.
39620         Pass new arguments to findidx.
39621         * string/strcoll_l.c: #include WEIGHT_H at top level.
39622         (get_next_seq): Don't #include it inside the function.
39623         Pass new arguments to findidx.
39624         (get_next_seq_nocache): Likewise.
39625         * string/strxfrm_l.c: #include WEIGHT_H at top level.
39626         (STRXFRM): Don't #include it inside the function.
39627         Pass new arguments to findidx.
39629 2014-09-11  Florian Weimer  <fweimer@redhat.com>
39631         [BZ #17344]
39632         * malloc/malloc.c (unlink): Turn asserts into a call to
39633         malloc_printerr.
39635 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
39637         [BZ #17370]
39638         * libio/wfileops (do_ftell_wide): Free OUT.
39640 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
39642         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
39644 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39646         [BZ #17363]
39647         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
39648         group if the current group is empty.
39650 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39652         * benchtests/bench-memset.c (test_main): Add more test from size
39653         from 32 to 512 bytes.
39654         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39655         Add POWER8 memset object.
39656         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39657         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
39658         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
39659         implementation.
39660         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
39661         Likewise.
39662         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
39663         multiarch POWER8 memset optimization.
39664         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
39665         POWER8 memset optimization.
39667         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39668         Remove bzero multiarch objects.
39669         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
39670         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
39671         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
39672         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
39673         Remove define.
39674         [__bzero]: Redefine to specific name.
39675         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
39676         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
39677         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
39678         define.
39679         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
39680         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
39682 2014-09-10  Florian Weimer  <fweimer@redhat.com>
39684         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
39685         warnings into errors.
39687         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
39688         __cxa_thread_atexit_impl prototype.
39690 2014-09-09  Steve Ellcey  <sellcey@mips.com>
39692         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
39693         Fix capitalization of error message.
39695 2014-09-09  Steve Ellcey  <sellcey@mips.com>
39697         * sysdeps/mips/preconfigure: Modify ABI tests.
39699 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
39701         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
39703 2014-09-07  Roland McGrath  <roland@hack.frob.com>
39704             Carlos O'Donell  <carlos@systemhalted.org>
39706         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
39707         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
39708         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
39709         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
39710         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
39711         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
39712         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
39713         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
39714         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
39715         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
39716         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
39717         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
39718         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
39719         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
39720         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
39721         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
39722         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
39723         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
39724         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
39725         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
39726         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
39727         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
39728         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
39729         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
39730         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
39731         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
39732         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
39733         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
39734         Deconditionalize the code that was previously under [RESET_PID].
39735         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
39736         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
39737         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
39738         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
39739         include sysdep.h.
39741 2014-09-08  Allan McRae  <allan@archlinux.org>
39743         * version.h (RELEASE): Set to "development".
39744         (VERSION): Set to "2.20.90"
39746 2014-09-07  Allan McRae  <allan@archlinux.org
39748         * version.h (RELEASE): Set to "stable".
39749         (VERSION): Set to "2.20"
39750         * include/features.h (__GLIBC_MINOR__): Set to 20.
39752         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
39753         Liebler.
39755         * po/ko.po: Update Korean translation from translation project.
39757 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
39759         [BZ #17354]
39760         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
39761         macro for handling signed relocations.
39763 2014-09-03  Florian Weimer  <fweimer@redhat.com>
39765         [BZ #17325]
39766         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
39767         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
39768         assert.
39769         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
39770         * iconvdata/ibm935.c (BODY): Likewise.
39771         * iconvdata/ibm937.c (BODY): Likewise.
39772         * iconvdata/ibm939.c (BODY): Likewise.
39773         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
39774         assert.
39775         * iconvdata/Makefile (iconv-test.out): Pass module list to test
39776         script.
39777         * iconvdata/run-iconv-test.sh: New test loop for checking for
39778         decoder crashers.
39780 2014-09-02  Khem Raj  <raj.khem@gmail.com>
39782         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
39783         libm_hidden_ver.
39785 2014-09-01  Allan McRae  <allan@archlinux.org>
39787         * po/eo.po: Update Esperanto translation from translation project.
39789         * po/ca.po: Update Catalan translation from translation project.
39791 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39793         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
39794         __proc_dostop call.
39796 2014-08-27  Mark Wielaard  <mjw@redhat.com>
39798         [BZ #17319]
39799         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
39800         to call set_thread_area instead of hand written asm.
39801         (__NR_set_thread_area): Removed define.
39802         (TLS_FLAG_WRITABLE): Likewise.
39803         (__ASSUME_SET_THREAD_AREA): Remove check.
39804         (TLS_EBX_ARG): Remove define.
39805         (TLS_LOAD_EBX): Likewise.
39807 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39809         Simplify atomicity of socket creation in bind.
39811         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
39812         looking up the name after linking the file.
39814 2014-08-27  Allan McRae  <allan@archlinux.org>
39816         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39818 2014-08-26  Florian Weimer  <fweimer@redhat.com>
39820         [BZ #17187]
39821         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
39822         trans_compare, open_translit, __gconv_translit_find):
39823         Remove module loading code.
39825 2014-08-26  Allan McRae  <allan@archlinux.org>
39827         * po/vi.po: Update Vietnamese translation from translation project.
39829         * po/uk.po: Update Ukrainian translation from translation project.
39831         * po/fr.po: Update French translation from translation project.
39833         * po/ru.po: Update Russian translation from translation project.
39835         * po/pl.po: Update Polish translation from translation project.
39837         * po/cs.po: Update Czech translation from translation project.
39839         * po/de.po: Update German translation from translation project.
39841         * po/bg.po: Update Bulgarian translation from translation project.
39843         * po/sv.po: Update Sweedish translation from translation project.
39845         * po/nl.po: Update Dutch translation from translation project.
39847         * po/es.po: Update Spanish translation from translation project.
39849 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39851         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
39853         * catgets/Makefile (CPPFLAGS-gencat): Remove.
39854         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
39855         (CPPFLAGS-iconvconfig): Likewise.
39856         * timezone/Makefile (CPPFLAGS-zic): Likewise.
39858         * include/libc-symbols.h: Remove unnecessary check for
39859         NOT_IN_libc.
39860         * nptl/pthreadP.h: Likewise.
39861         * sysdeps/aarch64/setjmp.S: Likewise.
39862         * sysdeps/alpha/setjmp.S: Likewise.
39863         * sysdeps/arm/sysdep.h: Likewise.
39864         * sysdeps/i386/setjmp.S: Likewise.
39865         * sysdeps/m68k/setjmp.c: Likewise.
39866         * sysdeps/posix/getcwd.c: Likewise.
39867         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
39868         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
39869         * sysdeps/s390/s390-32/setjmp.S: Likewise.
39870         * sysdeps/s390/s390-64/setjmp.S: Likewise.
39871         * sysdeps/sh/sh3/setjmp.S: Likewise.
39872         * sysdeps/sh/sh4/setjmp.S: Likewise.
39873         * sysdeps/unix/alpha/sysdep.h: Likewise.
39874         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
39875         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39876         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
39877         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
39878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
39879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39880         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39881         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39882         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39883         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39884         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39885         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
39886         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39887         * sysdeps/x86_64/setjmp.S: Likewise.
39889 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
39891         [BZ #17263]
39892         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
39893         <stdint.h>.
39894         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
39895         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
39897 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
39899         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
39901         [BZ #17262]
39902         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
39903         and __x86_64__ when disabling x87 inline functions.
39905 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
39907         [BZ #17259]
39908         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
39909         asm statement with __cpuid_count.
39911 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
39913         * configure.ac: Change __ehdr_start code to dereference the struct.
39914         Run readelf on the output to look for relocations.
39915         * configure: Regenerated.
39917 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
39919         [BZ #17261]
39920         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
39921         value to 0.
39922         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
39924 2014-08-12  Roland McGrath  <roland@hack.frob.com>
39926         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
39928 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
39930         [BZ #16892]
39931         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
39932         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
39934 2014-08-12  Sean Anderson  <seanga2@gmail.com>
39936         * malloc/malloc.c: Fix typo in comment.
39938 2014-08-09  Allan McRae  <allan@archlinux.org>
39940         * Regenerate libc.po.
39942 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
39944         * intl/tst-gettext2.sh: Check every lang file for creation.
39946 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
39948         * sysdeps/aarch64/fpu/math_private.h
39949         (libc_feholdsetround_noex_aarch64_ctx): New function.
39951 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
39953         * sysdeps/arm/armv6/strcpy.S (strcpy):
39954         Fix performance issue in misaligned cases.
39956 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39958         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
39959         Move definition from termios.h.
39960         (struct termio): Likewise.
39961         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
39962         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
39963         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
39964         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
39965         Likewise.
39966         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
39967         Move definition to ioctl-types.h
39968         (struct termio): Likewise.
39969         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
39970         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
39971         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
39972         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
39973         Likewise.
39975 2014-08-05  Richard Henderson  <rth@redhat.com>
39977         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
39978         exceptions.
39979         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
39980         Add fraiseexcpt.
39981         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
39982         Use __feraiseexcept.
39983         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
39984         Protect libm symbols with IS_IN_libm.
39986         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
39988 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
39990         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
39992 2014-08-04  Will Newton  <will.newton@linaro.org>
39994         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
39995         file.
39997 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
39999         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
40000         variants for each function.
40002 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40004         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
40005         appended ...
40006         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
40007         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
40008         appended ...
40009         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
40010         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
40011         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
40012         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
40013         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
40014         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
40015         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
40016         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
40017         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
40018         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
40019         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
40020         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
40021         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
40022         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
40023         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
40024         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
40025         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
40026         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
40027         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
40028         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
40029         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
40030         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
40031         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
40032         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
40033         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
40034         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
40035         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
40036         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
40037         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
40038         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
40039         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
40040         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
40041         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
40042         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
40043         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
40044         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
40045         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
40046         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
40047         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
40048         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
40049         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
40050         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
40051         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
40052         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
40053         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
40054         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
40055         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
40056         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
40057         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
40058         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
40059         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
40060         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
40061         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
40062         Update #include.
40063         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
40064         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
40066 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40068         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
40069         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
40070         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
40071         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
40072         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
40073         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
40075 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40077         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
40078         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
40079         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40080         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
40082 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40084         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
40085         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
40086         (__libc_vfork): Define function under this name.
40087         (__vfork): Define as an alias.
40088         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
40089         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
40091 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40093         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
40094         that was previously under [RESET_PID].
40095         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
40097 2014-08-04  Andreas Schwab  <schwab@suse.de>
40099         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
40101 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
40103         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
40104         (main): Likewise.
40106 2014-08-01  Roland McGrath  <roland@hack.frob.com>
40108         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
40110 2014-08-01  Richard Henderon  <rth@redhat.com>
40112         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
40113         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
40114         typo in exact zero test.
40115         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40116         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40117         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40119 2014-08-01  Roland McGrath  <roland@hack.frob.com>
40121         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
40122         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
40123         * sysdeps/arm/sysdep.h: ... here.
40124         [!__ASSEMBLER__]: Include <stdint.h>.
40126 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
40128         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
40129         (HAVE_WCTYPE_H): Likewise.
40130         (HAVE_ISWCTYPE): Likewise.
40131         (ENABLE_NLS): Likewise.
40132         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
40133         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
40135         * posix/regex_internal.c: Check if DEBUG is defined and is
40136         set.
40138         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
40139         (HAVE_MBSRTOWCS): Likewise.
40140         * posix/fnmatch.c: Include string.h unconditionally.
40142 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
40144         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
40145         reversal.
40147 2014-07-31  Roland McGrath  <roland@hack.frob.com>
40149         * sysdeps/generic/safe-fatal.h: New file.
40150         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
40151         * nptl/forward.c: Include it.
40152         (__pthread_unwind): Use __safe_fatal as default action, rather
40153         than a bogus use of INTERNAL_SYSCALL that could never work.
40155         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
40156         * configure.ac (libc_cv_builtin_trap): New test.
40157         * configure: Regenerated.
40158         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
40159         (ABORT_INSTRUCTION): Define using __builtin_trap.
40161         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
40162         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
40163         * sysdeps/nptl/nptl-signals.h: New file.
40164         * nptl/pthreadP.h: Include <nptl-signals.h>.
40166 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
40168         * sysdeps/s390/s390-64/utf16-utf32-z9.c
40169         (ONE_DIRECTION): Define.
40170         * sysdeps/s390/s390-64/utf8-utf16-z9.c
40171         (ONE_DIRECTION): Define.
40172         * sysdeps/s390/s390-64/utf8-utf32-z9.c
40173         (ONE_DIRECTION): Define.
40175 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
40177         * sysdeps/s390/Makefile: Delete file.
40178         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
40179         * sysdeps/s390/__longjmp.c: Delete file.
40180         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
40181         Remove fields __flags and __reserved.
40182         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
40183         and add versioning.
40184         * sysdeps/s390/rtld-__longjmp.c: Delete file.
40185         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
40186         * sysdeps/s390/rtld-setjmp.S: Likewise.
40187         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
40188         * sysdeps/s390/s390-32/__longjmp.c: ... here.
40189         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
40190         * sysdeps/s390/s390-32/setjmp.S: ... here.
40191         Add versioning.
40192         (__sigsetjmp): Remove setting __flags field.
40193         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
40194         * sysdeps/s390/s390-64/__longjmp.c: ... here.
40195         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
40196         * sysdeps/s390/s390-64/setjmp.S: ... here.
40197         Add versioning.
40198         (__sigsetjmp): Remove setting __flags field.
40199         * sysdeps/s390/setjmp.S: Delete file.
40200         * sysdeps/s390/sigjmp.c: Likewise.
40201         * sysdeps/s390/v1-longjmp.c: Likewise.
40202         * sysdeps/s390/v1-setjmp.h: Likewise.
40203         * sysdeps/s390/v1-sigjmp.c: Likewise.
40204         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
40205         Remove v1-longjmp_chk.
40206         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
40207         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
40208         Include debug/longjmp_chk.c and add versioning.
40209         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
40210         Include nptl/pt-longjmp.c and add versioning.
40211         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
40212         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
40213         Include __longjmp.c.
40214         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
40215         Move to ...
40216         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
40217         (__getcontext): Remove setting __flags field.
40218         Add versioning.
40219         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
40220         Don't restore upper high grps.
40221         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
40222         Likewise.
40223         (__swapcontext): Remove setting uc_flags field.
40224         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
40225         Delete file.
40226         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
40227         Include __longjmp.c.
40228         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
40229         Move to ...
40230         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
40231         (__getcontext): Remove setting __flags field.
40232         Add versioning.
40233         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
40234         (__swapcontext): Remove setting uc_flags field.
40235         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
40236         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
40237         Remove fields uc_high_gprs and __reserved.
40238         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
40239         New file with reverted content.
40240         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
40241         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
40242         Regenerated.
40243         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
40244         Regenerated.
40246 2014-07-31  Andreas Schwab  <schwab@suse.de>
40248         * config.h.in (HAVE_IFUNC): Define to 0.
40249         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
40250         definedness.
40252 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
40254         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40255         memmove-avx-unaligned, memcpy-avx-unaligned and
40256         mempcpy-avx-unaligned.
40257         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
40258         Add tests for AVX memcpy functions.
40259         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
40260         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
40261         memcpy_chk.
40262         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
40263         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
40264         memmove_chk.
40265         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
40266         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
40267         mempcpy_chk.
40268         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
40269         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
40270         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
40272 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40274         [BZ #17213]
40275         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
40276         powerpc64le.
40278 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
40280         [BZ #16839]
40281         * manual/llio.texi: Add section about open file description locks.
40282         * manual/examples/ofdlocks.c: Example of open file description
40283         lock usage.
40284         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
40285         F_OFD_SETLK, and F_OFD_SETLKW.
40287 2014-07-23  Allan McRae  <allan@archlinux.org>
40289         * po/es.po: Update Spanish translation from translation project.
40291 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
40293         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
40295 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
40297         [BZ #17078]
40298         * sysdeps/arm/dl-machine.h (elf_machine_rela)
40299         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
40300         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
40302 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
40304         [BZ #17088]
40305         * math/fesetenv.c (__fesetenv)
40306         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
40307         * math/feupdateenv.c (__feupdateenv)
40308         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
40310         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
40311         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
40312         (__ASSUME_SOCKETCALL): Do not define.
40314         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
40315         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
40316         (__ASSUME_SOCKETCALL): Do not define.
40317         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
40318         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
40319         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
40320         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
40321         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
40322         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
40323         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
40324         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40326         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
40327         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
40328         (__ASSUME_SOCKETCALL): Do not define.
40329         (__ASSUME_IPC64): Define unconditionally.
40330         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
40331         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
40332         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
40333         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
40334         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
40335         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
40336         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
40337         Likewise.
40339         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
40340         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
40341         (__ASSUME_SOCKETCALL): Do not define.
40342         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
40343         (__ASSUME_FUTEX_LOCK_PI): Likewise.
40344         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
40345         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
40346         (__ASSUME_REQUEUE_PI): Define unconditionally.
40347         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
40348         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
40349         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40350         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
40351         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
40352         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40354         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
40355         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
40356         (__ASSUME_SOCKETCALL): Do not define.
40357         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
40358         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
40359         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40360         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
40361         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
40362         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40364         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
40365         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
40366         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
40367         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
40368         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
40369         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
40370         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
40371         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
40372         (__ASSUME_GETCPU_SYSCALL): Likewise.
40374         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
40375         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
40376         cases for individual architectures.
40377         * sysdeps/gnu/configure: Regenerated.
40378         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
40379         LIBC_SLIBDIR_RTLDDIR.
40380         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
40381         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
40382         LIBC_SLIBDIR_RTLDDIR.
40383         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
40384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
40385         LIBC_SLIBDIR_RTLDDIR.
40386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
40387         Regenerated.
40388         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
40389         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
40390         file.
40391         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
40392         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
40393         file.
40394         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
40395         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
40396         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
40397         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
40399         * sysdeps/aarch64/shlib-versions: Move to ...
40400         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
40401         * sysdeps/alpha/shlib-versions: Move to ...
40402         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
40403         * sysdeps/arm/shlib-versions: Move to ...
40404         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
40405         * sysdeps/hppa/shlib-versions: Move all contents except for
40406         libgcc_s entry to ...
40407         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
40408         entry from ...
40409         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
40410         * sysdeps/ia64/shlib-versions: Move to ...
40411         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
40412         entry from ...
40413         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
40414         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
40415         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
40416         * sysdeps/microblaze/shlib-versions: Move to ...
40417         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
40418         * sysdeps/mips/shlib-versions: Move to ...
40419         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
40420         entry from ...
40421         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
40422         * sysdeps/tile/shlib-versions: Move to ...
40423         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
40424         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
40425         from ...
40426         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
40427         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
40428         entry from ...
40429         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
40431 2014-07-17  Will Newton  <will.newton@linaro.org>
40433         * sysdeps/arm/bits/atomic.h
40434         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
40435         (__arch_compare_and_exchange_bool_16_int): Likewise.
40436         (__arch_compare_and_exchange_bool_64_int): Likewise.
40438         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
40439         into an #else block.
40441 2014-07-16  Roland McGrath  <roland@hack.frob.com>
40443         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
40444         just Linux configurations.  Test empirically that the compiler sets
40445         __ARM_EABI__, rather than using the tuple to decide.
40446         * sysdeps/arm/preconfigure: Regenerated.
40447         * sysdeps/unix/sysv/linux/arm/configure: File removed.
40448         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
40449         contents appended ...
40450         * sysdeps/arm/configure.ac: ... here.
40451         * sysdeps/arm/configure: Regenerated.
40453 2014-07-15  Roland McGrath  <roland@hack.frob.com>
40455         * nptl/pthread_kill.c: New file.
40456         * nptl/pthread_sigmask.c: New file.
40457         * nptl/pthread_sigqueue.c: New file.
40459         * sysdeps/nptl/lowlevellock.h: New file.
40460         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
40461         * sysdeps/nptl/lowlevellock-futex.h: New file.
40463         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
40464         Remove dead declarations.
40466 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
40468         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
40469         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
40470         config-cflags-avx2.
40471         * sysdeps/x86_64/configure.ac: Likewise.
40472         * sysdeps/i386/configure: Regenerated.
40473         * sysdeps/x86_64/configure: Likewise.
40474         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40475         memset-avx2 only if config-cflags-avx2 is yes.
40476         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
40477         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
40478         defined.
40479         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
40480         only if HAVE_AVX2_SUPPORT is defined.
40481         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
40483 2014-07-14  Alan Modra  <amodra@gmail.com>
40485         [BZ #17153]
40486         * elf/elf.h (DT_PPC64_NUM): Correct value.
40487         * NEWS: Add to fixed bug list.
40489 2014-07-13  Jim Meyering  <meyering@fb.com>
40491         [BZ 17150]
40492         regex: don't deref NULL upon heap allocation failure
40493         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
40494         failure in one more place.
40495         To trigger the segfault, configure grep -with-included-regex,
40496         build it, and run these commands:
40497         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
40499 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
40501         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
40503 2014-07-11  Richard Henderson  <rth@redhat.com>
40505         * sysdeps/aarch64/libm-test-ulps: Update.
40507 2014-07-10  Florian Weimer  <fweimer@redhat.com>
40509         [BZ #17135]
40510         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
40511         * nptl/allocatestack.c (__nptl_setxid_error): New function.
40512         (__nptl_setxid): Initialize error member.  Call
40513         __nptl_setxid_error.
40514         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
40515         * nptl/descr.h (struct xid_command): Add error member.
40516         * nptl/tst-setuid3.c: New file.
40517         * nptl/Makefile (tests): Add it.
40519 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40521         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
40522         New define.
40523         (__lll_trylock): Use __lll_base_trylock.
40524         (__lll_cond_trylock): Likewise.
40526 2014-07-10  Roland McGrath  <roland@hack.frob.com>
40528         * nptl/pthread_create.c (start_thread): Use atomic_or and
40529         lll_futex_wake directly rather than lll_robust_dead.
40530         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
40531         (lll_robust_dead): Macro removed.
40532         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
40533         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
40534         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
40535         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
40536         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
40537         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
40538         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
40539         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
40540         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
40541         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
40542         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
40543         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
40544         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
40545         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
40546         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
40548         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
40549         Use atomic_compare_and_exchange_val_acq directly rather than
40550         lll_robust_trylock.
40551         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
40552         (__lll_robust_trylock, lll_robust_trylock): Removed.
40553         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
40554         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
40555         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
40556         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
40557         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
40558         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
40559         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
40560         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
40561         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
40562         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
40563         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
40564         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
40565         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
40566         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
40568 2014-07-02  Florian Weimer  <fweimer@redhat.com>
40570         * manual/locale.texi (Locale Names): New section documenting
40571         locale name syntax.  Adjust menu and node chaining accordingly.
40572         (Choosing Locale): Reference Locale Names, Locale Categories.
40573         Mention setting LC_ALL=C.  Reflect that name syntax is now
40574         documented.
40575         (Locale Categories): New section title.  Reference Locale Names.
40576         LC_ALL is an environment variable, but not a category.
40577         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
40578         description, now in Locale Name.  Reference that section.  Locale
40579         name syntax is now documented.
40581 2014-07-02  Florian Weimer  <fweimer@redhat.com>
40583         [BZ #17137]
40584         * locale/findlocale.c (name_present, valid_locale_name): New
40585         functions.
40586         (_nl_find_locale): Use the loc_name variable to store name
40587         candidates.  Call name_present and valid_locale_name to check and
40588         validate locale names.  Return an error if the locale is invalid.
40590 2014-07-02  Florian Weimer  <fweimer@redhat.com>
40592         * locale/setlocale.c (setlocale): Use strdup for allocating
40593         composite name copy.
40595 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40597         Sync up with gnulib.
40598         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
40599         [!_LIBC && ENABLE_NLS]: Include gettext.h.
40600         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
40601         and _GL_ARG_NONNULL.
40602         [USE_UNLOCKED_IO]: Include unlocked-io.h.
40603         [!_LIBC]: Include code for Windows and Cygwin.
40604         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
40605         Include prototype for int strerror_r.
40606         [!_LIBC] (is_open): New function.
40607         (flush_stdout): New function.
40608         (print_errno_message): Use it.
40609         (error): Likewise.
40610         (error_at_line): Likewise.
40611         (error_tail) Add function attribute macros.  Use
40612         __builtin_expect.
40614         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
40616         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
40618         * io/ftw.c: Include sys/param.h unconditionally.
40620         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
40622         [BZ #17125]
40623         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
40624         libc_freeres_ptr.
40625         (freecache): New function to free CACHE on exit.
40627         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
40628         initialization.
40630 2014-07-09  David S. Miller  <davem@davemloft.net>
40632         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40634         * sysdeps/sparc/nptl/internaltypes.h: Delete.
40635         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
40636         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
40637         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
40638         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
40639         * sysdeps/sparc/nptl/sem_init.c: Likewise.
40640         * sysdeps/sparc/nptl/sem_post.c: Likewise.
40641         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
40642         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
40643         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
40644         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
40645         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
40646         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
40648 2014-07-09  Andreas Schwab  <schwab@suse.de>
40650         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
40651         output.
40652         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
40653         (do_test): Likewise.
40655         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40657 2014-07-09  Will Newton  <will.newton@linaro.org>
40659         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
40660         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
40661         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
40662         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
40663         * sysdeps/hppa/start.S (_start): Likewise.
40665 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
40667         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
40669         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
40670         defined.
40672 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
40674         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
40675         after checking that it is non-NULL.
40677         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
40679 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40681         * sysdeps/powerpc/memmove.c: Remove file.
40682         * sysdeps/powerpc/powerpc32/power4/memcopy.h
40683         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
40684         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
40685         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
40686         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
40687         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
40688         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
40689         string memmove instead of removed powerpc one.
40691         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
40692         [weak_alias]: Fix compiler warning due trailing data.
40693         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
40694         [weak_alias]: Likewise.
40695         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
40696         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
40698         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40699         (__libc_ifunc_impl_list): Add memmove functions.
40701 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
40703         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
40704         Remove code.
40705         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
40706         Likewise.
40707         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
40708         Likewise.
40709         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
40710         Likewise.
40711         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
40712         Likewise.
40713         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
40714         Likewise.
40715         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
40716         Likewise.
40717         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
40718         Likewise.
40719         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
40720         Likewise.
40721         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
40722         Likewise.
40723         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
40724         Likewise.
40725         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
40726         Likewise.
40727         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
40728         Likewise.
40729         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
40730         Likewise.
40731         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
40732         Likewise.
40733         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
40734         Likewise.
40735         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
40736         Likewise.
40738 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40740         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
40741         to avoid alignment traps in non-cacheable memory.
40742         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
40744         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
40745         multiarch objects.
40746         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
40747         file: multiarch power7 memmove.
40748         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
40749         multiarch default memmove.
40750         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
40751         multiarch memove for powerpc32/power4.
40753         * string/bcopy.c: Use full path to include memmove.c.
40754         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
40755         multiarch objects.
40756         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
40757         bcopy for powerpc64.
40758         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
40759         bcopy for powerpc64.
40760         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
40761         and memmove implementations.
40762         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
40763         optimized multiarch memmove for POWER7/powerpc64.
40764         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
40765         default multiarch memmove for powerpc64.
40766         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
40767         multiarch for powerpc64.
40768         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
40769         for POWER7/powerpc64.
40770         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
40771         memmove for POWER7/powerpc64.
40773         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
40774         glibc default one.
40776         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
40777         __ELF_NATIVE_CLASS equal to 64.
40779 2014-07-07  Roland McGrath  <roland@hack.frob.com>
40781         * sysdeps/nptl/lowlevellock.h: File removed.
40783         * NEWS: NPTL is no longer an add-on!
40784         * nptl/internaltypes.h: Moved ...
40785         * sysdeps/nptl/internaltypes.h: ... here.
40786         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
40787         * sysdeps/nptl/fork.c: Likewise.
40788         * sysdeps/nptl/gai_misc.h: Likewise.
40789         * sysdeps/nptl/librt-cancellation.c: Likewise.
40790         * sysdeps/nptl/jmp-unwind.c: Likewise.
40791         * sysdeps/nptl/setxid.h: Likewise.
40792         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
40793         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
40794         * sysdeps/unix/sysv/linux/arm/Implies: New file.
40795         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
40796         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
40797         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
40798         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
40799         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
40800         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
40801         * sysdeps/unix/sysv/linux/mips/Implies: New file.
40802         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
40803         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
40804         * sysdeps/unix/sysv/linux/sh/Implies: New file.
40805         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
40806         * sysdeps/unix/sysv/linux/tile/Implies: New file.
40807         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
40808         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
40809         * nptl/Makeconfig: Moved ...
40810         * sysdeps/nptl/Makeconfig: ... here.
40811         * nptl/configure: File removed.
40812         * nptl/ANNOUNCE: File removed.
40813         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
40814         * sysdeps/unix/sysv/linux/configure: Regenerated.
40816         * nptl/Makefile (routines): Add libc_pthread_init,
40817         libc_multiple_threads, register-atfork and unregister-atfork.
40818         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
40819         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
40820         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
40821         pthread-pi-defines.sym, structsem.sym.
40822         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
40823         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
40824         [$(subdir) = nptl] (tests): Add tst-setgetname.
40825         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
40826         * sysdeps/unix/sysv/linux/sigaction.c: Just include
40827         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
40828         [!LIBC_SIGACTION]: Remove aliases.
40829         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
40830         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
40831         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
40832         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
40833         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
40834         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
40835         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
40836         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
40837         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
40838         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
40839         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
40840         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
40841         __libc_allocate_rtsig_private.
40842         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
40843         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
40844         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
40845         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
40846         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
40847         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
40848         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
40849         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
40850         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
40851         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
40852         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
40853         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
40854         * nptl/internaltypes.h: ... here.
40855         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
40856         * sysdeps/nptl/jmp-unwind.c: ... here.
40857         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
40858         * nptl/libc-lowlevellock.c: ... here.
40859         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
40860         * nptl/libc_multiple_threads.c: ... here.
40861         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
40862         * nptl/libc_pthread_init.c: ... here.
40863         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
40864         * nptl/lowlevelbarrier.sym: ... here.
40865         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
40866         * nptl/lowlevelcond.sym: ... here.
40867         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
40868         * nptl/lowlevellock.c: ... here.
40869         * nptl/lowlevellock.h: Moved ...
40870         * sysdeps/nptl/lowlevellock.h: ... here.
40871         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
40872         * nptl/lowlevelrobustlock.c: ... here.
40873         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
40874         * nptl/lowlevelrobustlock.sym: ... here.
40875         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
40876         * nptl/lowlevelrwlock.sym: ... here.
40877         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
40878         * nptl/pt-fork.c: ... here.
40879         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
40880         * nptl/pthread-pi-defines.sym: ... here.
40881         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
40882         * nptl/pthread_attr_getaffinity.c: ... here.
40883         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
40884         * nptl/pthread_attr_setaffinity.c: ... here.
40885         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
40886         * nptl/pthread_mutex_cond_lock.c: ... here.
40887         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
40888         Update #include.
40889         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
40890         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
40891         * nptl/pthread_once.c: ... here, replacing old file.
40892         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
40893         * nptl/pthread_yield.c: ... here.
40894         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
40895         * nptl/register-atfork.c: ... here.
40896         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
40897         * nptl/sem_post.c: ... here.
40898         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
40899         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
40900         * nptl/sem_timedwait.c: ... here.
40901         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
40902         * nptl/sem_trywait.c: ... here.
40903         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
40904         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
40905         * nptl/sem_wait.c: ... here.
40906         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
40907         * nptl/structsem.sym: ... here.
40908         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
40909         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
40910         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
40911         * nptl/unregister-atfork.c: ... here.
40912         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
40913         * nptl/unwindbuf.sym: ... here.
40914         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
40915         * sysdeps/nptl/fork.c: ... here.
40916         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
40917         * sysdeps/nptl/fork.h: ... here.
40918         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
40919         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
40920         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
40921         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
40922         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
40923         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
40924         * sysdeps/unix/sysv/linux/getpid.c: ... here.
40925         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
40926         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
40927         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
40928         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
40929         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
40930         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
40931         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
40932         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
40933         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
40934         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
40935         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
40936         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
40937         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
40938         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
40939         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
40940         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
40941         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
40942         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
40943         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
40944         * sysdeps/unix/sysv/linux/raise.c: ... here.
40945         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
40946         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
40947         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
40948         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
40949         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
40950         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
40951         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
40952         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
40953         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
40954         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
40955         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
40956         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
40957         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
40958         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
40959         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
40961 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40963         * sysdeps/generic/memcopy.h: Add comment for
40964         MEMCPY_OK_FOR_FWD_MEMMOVE.
40966 2014-07-04  Will Newton  <will.newton@linaro.org>
40968         * string/memchr.c: Merge from gnulib.
40969         [_LIBC]: Remove conditionals.
40970         (__ptr_t): Remove define.
40971         (LONG_MAX_32_BITS): Likewise.
40972         (LONG_MAX): Likewise.
40973         (MEMCHR): Use ANSI prototype and optimize algorithm.
40975         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
40977 2014-07-03  Roland McGrath  <roland@hack.frob.com>
40979         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
40980         (lll_futex_timed_wait_bitset): Fix syscall argument count.
40982         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
40983         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
40984         in a bare environment with no <stdlib.h> installed.
40985         * sysdeps/nptl/configure: Regenerated.
40987         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
40989         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
40990         AC_EGREP_CPP for kernel header checks, so they only succeed if
40991         including <linux/version.h> actually works right.
40992         * sysdeps/unix/sysv/linux/configure: Regenerated.
40994         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
40995         value so it's not diagnosed as unused.
40997         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
40998         thing) with "ifeq ($(subdir),rt)".
41000 2014-07-03  Richard Henderson  <rth@redhat.com>
41002         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
41003         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
41004         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
41006         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
41007         (math_force_eval): New.
41009         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
41010         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
41012         * sysdeps/alpha/fpu/s_round.c: Remove file.
41013         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
41015         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
41016         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
41017         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
41018         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
41019         (_dl_start, print_statistics): Likewise.
41020         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
41021         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
41023         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41024         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41025         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41026         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41027         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
41028         (HP_SMALL_TIMING_AVAIL): Define.
41029         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41030         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
41031         (HP_SMALL_TIMING_AVAIL): Define.
41032         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41033         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41035         * sysdeps/aarch64/hp-timing.h: New file.
41037         * sysdeps/generic/hp-timing.h: Remove dead comment.
41038         * sysdeps/generic/hp-timing-common.h: New file.
41039         * sysdeps/alpha/hp-timing.h: Include it.
41040         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
41041         * sysdeps/i386/i686/hp-timing.h: Likewise.
41042         * sysdeps/ia64/hp-timing.h: Likewise.
41043         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41044         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41045         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
41046         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
41047         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
41048         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
41049         (hp_timing_t): New.
41051         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
41052         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
41053         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
41054         * elf/rtld.c (_dl_start_final): Likewise.
41055         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
41056         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41057         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41058         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41059         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41060         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
41061         (HP_TIMING_DIFF_INIT): Remove.
41062         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41063         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
41064         (HP_TIMING_DIFF_INIT): Remove.
41065         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41066         * sysdeps/i386/i686/hp-timing.c: Remove file.
41067         * sysdeps/x86_64/hp-timing.c: Remove file.
41068         * sysdeps/ia64/hp-timing.c: Remove file.
41069         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
41070         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
41071         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
41072         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
41074         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
41075         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
41076         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
41077         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
41078         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
41079         (HP_TIMING_ACCUM): Remove.
41080         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
41081         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
41082         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
41084         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
41085         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
41086         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
41087         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
41088         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
41089         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
41090         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
41091         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
41093         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
41095 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
41097         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
41099 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41101         Sync up with gettext.
41102         * intl/loadmsgcat.c: Define O_BINARY if not defined.
41103         [_MSC_VER]: Include malloc.h
41104         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
41105         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
41106         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
41107         TEMP_FAILURE_RETRY.  Cast return of alloca.
41108         [!_LIBC] Call gl_rwlock_init.
41109         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
41111 2014-07-02  Roland McGrath  <roland@hack.frob.com>
41113         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
41114         before checking its value.
41116 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41118         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
41120         * debug/memcpy_chk.c: Don't include pagecopy.h.
41121         * debug/mempcpy_chk.c: Likewise.
41122         * string/memcpy.c: Likewise.
41123         * string/memmove.c: Likewise.
41124         * sysdeps/powerpc/memmove.c: Likewise.
41125         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
41126         definition of PAGE_COPY_FWD_MAYBE here...
41127         * sysdeps/generic/pagecopy.h: ... from here.
41128         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
41130 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41131             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41133         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
41134         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
41135         optimizations.
41136         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41137         (__libc_ifunc_impl_list): Likewise.
41138         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
41139         multiarch strcat for PPC64.
41140         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
41141         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
41143 2014-07-02  Roland McGrath  <roland@hack.frob.com>
41145         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
41147 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41149         * intl/loadmsgcat.c: Remove declaration of
41150         get_sysdep_segment_value.
41151         (get_sysdep_segment_value): Use ISO C style.
41152         (_nl_load_domain): Use ISO C style.  Get rid of redundant
41153         semicolon.  Fix typo and formatting in comment.
41154         (_nl_unload_domain): Use ISO C style.
41156         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
41158 2014-07-02  Will Newton  <will.newton@linaro.org>
41160         * malloc/obstack.c: Merge from gnulib master.
41161         [HAVE_CONFIG_H]: Remove conditional code.
41162         [!_LIBC]: Include config.h.
41163         [!ELIDE_CODE]: Don't include inttypes.h, include
41164         stdint.h unconditionally.
41165         (print_and_abort): Mark as _Noreturn.
41166         (_obstack_allocated_p): Mark as __attribute_pure__.
41167         (obstack_free): Rename to __obstack_free.
41168         [!__attribute__]: Remove conditional code.
41169         * malloc/obstack.h: Merge from gnulib master.
41170         [__cplusplus]: Move conditional down.
41171         [!__attribute_pure__]: Define __attribute_pure__ here
41172         if it is not already defined.
41173         (_obstack_memory_used): Mark as __attribute_pure__.
41174         [!__obstack_free]: Define as obstack_free.
41175         [__GNUC__]: Remove check for ancient NeXT gcc.
41177 2014-07-02  Will Newton  <will.newton@linaro.org>
41178             Paul Eggert  <eggert@cs.ucla.edu>
41180         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
41182 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41184         * resolv/gethnamaddr.c: Add comment warning that the file is
41185         not maintained.
41187 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
41189         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
41190         entries.
41192         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
41193         entry for aio_cancel and aio_cancel64.
41194         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
41195         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
41196         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
41197         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
41198         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
41199         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
41200         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
41201         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
41202         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
41203         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
41204         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
41205         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
41206         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
41208 2014-07-01  Roland McGrath  <roland@hack.frob.com>
41210         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
41211         * nptl/pthread_mutex_lock.c: Likewise.
41212         * nptl/pthread_mutex_timedlock.c: Likewise.
41213         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
41215 2014-07-01  Richard henderson  <rth@redhat.com>
41217         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
41218         (__isnan, __isnanl): Remove.
41219         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
41221         * sysdeps/alpha/fpu/libm-test-ulps: Update.
41223 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
41225         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
41227 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
41229         * resolv/nss_dns/dns-host.c (getanswer_r)
41230         [MULTI_PTRS_ARE_ALIASES]: Remove code.
41232 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
41234         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41235         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
41236         undefine.
41237         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
41238         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
41240 2014-07-01  Roland McGrath <roland@hack.frob.com>
41242         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
41243         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
41245         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
41246         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
41248         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
41249         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
41250         ... here.
41251         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
41252         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
41254         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
41255         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
41256         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
41257         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
41259         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
41260         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
41261         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
41262         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
41263         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
41264         Moved ...
41265         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
41266         ... here.
41267         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
41268         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
41269         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
41270         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
41271         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
41272         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
41273         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
41274         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
41275         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
41276         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
41277         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
41278         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
41279         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
41280         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
41281         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
41282         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
41283         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
41284         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
41285         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
41286         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
41287         ... here.
41288         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
41289         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
41290         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
41291         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
41292         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
41293         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
41294         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
41295         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
41297 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
41299         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
41300         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
41301         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
41302         Add sysdep.
41304 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41306         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41308 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
41310         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
41311         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
41313         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
41315         * sysdeps/arm/libm-test-ulps: Regenerated.
41317 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
41318             Roland McGrath <roland@hack.frob.com>
41320         * test-skeleton.c (signal_handler): Kill the whole process group
41321         before killing the child individually.
41322         (main): Report any failure on `setpgid'.
41324 2014-06-30  Roland McGrath  <roland@hack.frob.com>
41326         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
41327         from _TLS_H to _ARM_NPTL_TLS_H.
41328         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
41329         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
41331 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
41333         [BZ #16539]
41334         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
41335         (__expm1l): Return argument unchanged when small but not
41336         subnormal.
41338         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
41339         include macro name.
41340         (_FP_UNPACK_RAW_1_P): Likewise.
41341         (_FP_PACK_RAW_1): Likewise.
41342         (_FP_PACK_RAW_1_P): Likewise.
41343         (_FP_MUL_MEAT_1_wide): Likewise.
41344         (_FP_MUL_MEAT_DW_1_hard): Likewise.
41345         (_FP_MUL_MEAT_1_hard): Likewise.
41346         (_FP_DIV_MEAT_1_imm): Likewise.
41347         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
41348         (_FP_DIV_MEAT_1_udiv): Likewise.
41349         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
41350         (_FP_UNPACK_RAW_2): Likewise.
41351         (_FP_UNPACK_RAW_2_P): Likewise.
41352         (_FP_PACK_RAW_2): Likewise.
41353         (_FP_PACK_RAW_2_P): Likewise.
41354         (_FP_MUL_MEAT_DW_2_wide): Likewise.
41355         (_FP_MUL_MEAT_2_wide): Likewise.
41356         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
41357         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
41358         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
41359         (_FP_MUL_MEAT_2_gmp): Likewise.
41360         (_FP_DIV_MEAT_2_udiv): Likewise.
41361         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
41362         (_FP_FRAC_SRL_4): Likewise.
41363         (_FP_FRAC_SRST_4): Likewise.
41364         (_FP_FRAC_SRS_4): Likewise.
41365         (_FP_UNPACK_RAW_4): Likewise.
41366         (_FP_UNPACK_RAW_4_P): Likewise.
41367         (_FP_PACK_RAW_4): Likewise.
41368         (_FP_PACK_RAW_4_P): Likewise.
41369         (_FP_MUL_MEAT_DW_4_wide): Likewise.
41370         (_FP_MUL_MEAT_4_wide): Likewise.
41371         (_FP_MUL_MEAT_4_gmp): Likewise.
41372         (umul_ppppmnnn): Likewise.
41373         (_FP_DIV_MEAT_4_udiv): Likewise.
41374         (__FP_FRAC_ADD_4): Likewise.
41375         (__FP_FRAC_SUB_3): Likewise.
41376         (__FP_FRAC_SUB_4): Likewise.
41377         (__FP_FRAC_DEC_3): Likewise.
41378         (__FP_FRAC_DEC_4): Likewise.
41379         (__FP_FRAC_ADDI_4): Likewise.
41380         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
41381         (_FP_FRAC_SRL_8): Likewise.
41382         (_FP_FRAC_SRS_8): Likewise.
41384         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
41385         include macro name.
41386         (FP_UNPACK_RAW_EP): Likewise.
41387         (FP_PACK_RAW_E): Likewise.
41388         (FP_PACK_RAW_EP): Likewise.
41389         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
41390         (_FP_ISSIGNAN): Likewise.
41391         (_FP_ADD_INTERNAL): Likewise.
41392         (_FP_FMA): Likewise.
41393         (_FP_CMP): Likewise.
41394         (_FP_SQRT): Likewise.
41395         (_FP_TO_INT): Likewise.
41396         (_FP_FROM_INT): Likewise.
41397         (FP_EXTEND): Likewise.
41398         (_FP_DIV_MEAT_N_loop): Likewise.
41400 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
41402         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
41403         throughout.
41405 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
41407         [BZ #17097]
41408         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
41409         result with correct sign in case of exponents that produce
41410         overflow except for X very close to 1.
41412 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
41414         mktime: merge #if/#ifdef usage from glibc
41415         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
41416         as that works with both Glibc's and Gnulib's style.
41417         See thread starting at Siddhesh Poyarekar's bug report at:
41418         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
41420 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41422         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
41423         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
41424         * sysdeps/tile/tilegx/memmove.c: Remove file.
41426 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
41428         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
41429         abi-name definition.
41430         * scripts/soversions.awk: Do not handle or generate ABI lines.
41431         * shlib-versions: Remove ABI entries.
41432         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
41433         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
41435 2014-06-27  Roland McGrath  <roland@hack.frob.com>
41437         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
41438         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
41439         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
41440         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
41441         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
41442         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
41443         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
41444         Moved ...
41445         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
41446         ... here.
41447         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
41448         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
41449         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
41450         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
41451         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
41452         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
41453         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
41454         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
41455         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
41456         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
41457         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
41458         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
41459         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
41460         Moved ...
41461         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
41462         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
41463         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
41464         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
41465         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
41466         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
41467         Moved ...
41468         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
41469         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
41470         Moved ...
41471         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
41472         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
41473         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
41474         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
41475         Moved ...
41476         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
41477         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
41478         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
41479         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
41480         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
41481         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
41482         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
41483         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
41484         Moved ...
41485         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
41486         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
41487         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
41488         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
41489         Moved ...
41490         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
41491         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
41492         Moved ...
41493         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
41494         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
41495         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
41496         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
41497         Moved ...
41498         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
41499         ... here.
41500         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
41501         Identical file removed.
41502         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
41503         Moved ...
41504         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
41505         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
41506         Identical file removed.
41507         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
41508         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
41509         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
41510         Moved ...
41511         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
41512         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
41513         Identical file removed.
41514         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
41515         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
41516         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
41517         Identical file removed.
41518         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
41519         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
41520         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
41521         Identical file removed.
41522         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
41523         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
41524         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
41525         Identical file removed.
41526         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
41527         Moved ...
41528         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
41529         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
41530         Identical file removed.
41531         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
41532         Moved ...
41533         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
41534         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
41535         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
41536         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
41537         Identical file removed.
41538         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
41539         Moved ...
41540         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
41541         ... here.
41542         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
41543         Identical file removed.
41544         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
41545         Moved ...
41546         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
41547         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
41548         Identical file removed.
41549         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
41550         Moved ...
41551         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
41552         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
41553         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
41554         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
41555         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
41556         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
41557         Moved ...
41558         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
41559         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
41560         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
41562         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
41563         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
41564         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
41565         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
41566         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
41568 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
41570         [BZ #17092]
41571         * nscd/nscd.c (monitor_child): Return exit status of child
41572         instead of return value from wait syscall.
41574 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
41576         * configure.ac (libc_commonpagesize): Remove variable.
41577         (libc_relro_required): Likewise.
41578         (libc_cv_z_relro): Remove configure test.
41579         * configure: Regenerated.
41580         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
41581         variable.
41582         (libc_relro_required): Likewise.
41583         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
41584         (libc_relro_required): Likewise.
41585         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
41586         (libc_relro_required): Likewise.
41587         * sysdeps/arm/preconfigure: Regenerated.
41588         * sysdeps/ia64/preconfigure: Remove file.
41589         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
41590         variable.
41591         (libc_relro_required): Likewise.
41593         [BZ #16561]
41594         [BZ #16562]
41595         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
41596         (__ieee754_yn): Set FE_TONEAREST mode internally and then
41597         recompute overflowing results in original rounding mode.
41598         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
41599         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
41600         recompute overflowing results in original rounding mode.
41601         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
41602         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
41603         recompute overflowing results in original rounding mode.
41604         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
41605         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
41606         recompute overflowing results in original rounding mode.
41607         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
41608         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
41609         recompute overflowing results in original rounding mode.
41610         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
41611         (libc_feholdsetround_ctx): New macro.
41612         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
41613         * sysdeps/i386/fpu/libm-test-ulps: Update.
41614         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
41616 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
41618         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
41619         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
41620         corresponding .cpsetup call.
41622 2014-06-26  Roland McGrath  <roland@hack.frob.com>
41624         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
41625         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
41626         * sysdeps/arm/Makefile [$(subdir) = csu]
41627         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
41628         (static-only-routines): Add aeabi_read_tp here.
41629         (shared-only-routines): Add libc-aeabi_read_tp here.
41630         (CFLAGS-libc-start.c): Add -fexceptions here.
41631         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
41632         (sysdep_routines, static-only-routines, shared-only-routines):
41633         Don't add to these here.
41634         (CFLAGS-libc-start.c): Likewise.
41636         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
41637         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
41638         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
41639         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
41640         * sysdeps/arm/Makefile [$(subdir) = rt]
41641         (librt-sysdep_routines, librt-shared-only-routines):
41642         Append rt-aeabi_unwind_cpp_pr1 here.
41643         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
41644         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
41645         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
41646         (libpthread-sysdep_routines, libpthread-shared-only-routines):
41647         Append nptl-aeabi_unwind_cpp_pr1 here.
41648         (tests): Filter out tst-cleanupx4 here.
41649         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
41650         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
41651         Don't do those here.
41653 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
41655         * scripts/list-sources.sh: Do not handle ports specially.
41657 2014-06-26  Roland McGrath  <roland@hack.frob.com>
41659         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
41660         * sysdeps/arm/feupdateenv.c: Likewise.
41662         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
41664 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
41666         * manual/texinfo.tex: Update to version 2014-05-05.10 with
41667         trailing whitespace removed.
41668         * scripts/config.guess: Update to version 2014-03-23.
41669         * scripts/config.sub: Update to version 2014-05-01
41670         * scripts/install-sh: Update to version 2013-12-25.23.
41671         * scripts/move-if-change: Update from gnulib.
41673 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41675         * debug/memmove_chk.c: Remove pagecopy.h include.
41677 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
41679         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
41680         identical to gnulib mktime.
41682 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
41684         * configure.ac: Do not test for machine being rs6000.  Do not test
41685         for powerpc*-*soft.
41686         * configure: Regenerated.
41688         [BZ #11505]
41689         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
41690         test.
41691         * configure: Regenerated.
41692         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
41693         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
41694         Remove configure test.
41695         * sysdeps/arm/configure: Regenerated.
41696         * sysdeps/nptl/configure.ac: Do not check
41697         libc_cv_asm_cfi_directives.
41698         * sysdeps/nptl/configure: Regenerated.
41699         * sysdeps/x86_64/nptl/configure.ac: Remove file.
41700         * sysdeps/x86_64/nptl/configure: Remove generated file.
41701         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
41702         unconditional.
41703         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
41705 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41707         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
41708         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
41709         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
41710         it is defined.
41712         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
41713         instead of whether it is defined.
41714         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
41715         * sysdeps/hppa/dl-machine.h: Likewise.
41716         * sysdeps/ia64/dl-machine.h: Likewise.
41717         * sysdeps/m68k/dl-machine.h: Likewise.
41718         * sysdeps/microblaze/dl-machine.h: Likewise.
41719         * sysdeps/mips/dl-machine.: Likewise.
41720         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
41721         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41722         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
41723         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
41724         * sysdeps/sh/dl-machine.h: Likewise.
41725         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41726         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41727         * sysdeps/tile/dl-machine.h: Likewise.
41728         * sysdeps/x86_64/dl-machine.h: Likewise.
41730         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
41731         code.
41732         (verify_persistent_db): Likewise.
41734 2014-06-26  Roland McGrath  <roland@hack.frob.com>
41736         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
41737         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
41738         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
41739         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
41740         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
41741         Moved ...
41742         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
41743         ... here.
41744         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
41745         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
41746         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
41747         Identical file removed.
41748         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
41749         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
41750         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
41751         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
41752         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
41753         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
41754         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
41755         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
41756         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
41757         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
41758         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41759         Moved ...
41760         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
41761         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
41762         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
41763         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
41764         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
41765         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
41766         Moved ...
41767         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
41768         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
41769         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
41770         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
41771         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
41772         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
41773         Identical file removed.
41774         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
41775         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
41776         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
41777         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
41778         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
41779         Moved ...
41780         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
41781         ... here.
41782         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
41783         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
41784         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
41785         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
41786         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
41787         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
41788         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
41789         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
41790         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
41791         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
41792         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41793         Moved ...
41794         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
41795         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
41796         Moved ...
41797         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
41798         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
41799         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
41800         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
41801         Moved ...
41802         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
41803         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
41804         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
41806         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
41807         folded into ...
41808         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
41809         * sysdeps/unix/sysv/linux/s390/Versions
41810         (libpthread: GLIBC_2.19): New version set.
41811         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
41812         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
41813         (librt: GLIBC_2.3.3): New version set.
41814         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
41815         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
41816         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
41817         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
41818         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
41819         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
41820         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
41821         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
41822         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
41823         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
41824         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
41825         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
41826         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
41827         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
41828         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
41829         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
41830         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
41831         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
41832         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
41833         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
41834         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
41835         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
41836         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
41837         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
41838         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
41839         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
41840         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
41841         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
41842         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
41843         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
41844         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
41845         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
41846         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
41847         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
41848         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
41849         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
41850         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
41851         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
41852         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
41853         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
41854         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
41855         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
41856         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
41857         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
41858         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
41860         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
41861         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
41862         (__libc_vfork): Define the function under this name.
41863         [!NOT_IN_libc] (__vfork): Make this an alias.
41864         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
41865         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
41866         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
41867         (__libc_vfork): Define the function under this name.
41868         [!NOT_IN_libc] (__vfork): Make this an alias.
41869         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
41870         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
41871         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
41872         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
41873         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
41874         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
41876         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
41877         code that was previously under [RESET_PID].
41878         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
41879         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
41880         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
41882         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
41883         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
41884         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
41885         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
41886         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
41887         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
41888         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
41889         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
41890         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
41891         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
41892         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
41893         Moved ...
41894         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
41895         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
41896         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
41897         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
41898         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
41899         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
41900         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
41901         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
41902         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
41903         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
41904         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
41905         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
41906         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
41907         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
41908         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
41909         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
41910         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
41911         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
41912         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
41913         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
41914         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
41915         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
41916         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
41917         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
41918         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
41919         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
41920         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
41921         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
41922         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
41924 2014-06-25  Roland McGrath  <roland@hack.frob.com>
41926         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
41927         that was previously under [RESET_PID].
41928         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
41930 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
41932         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
41933         not undefine and redefine.
41934         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
41935         [O_CLOEXEC]: Make code unconditional.
41936         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
41937         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
41938         <kernel-features.h>.
41939         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
41940         conditional variable definition.
41941         (shm_open) [O_CLOEXEC]: Make code unconditional.
41942         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
41943         code.
41945         * configure.ac (USE_REGPARMS): Don't define here.
41946         * configure: Regenerated.
41947         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
41948         * sysdeps/i386/configure: Regenerated.
41950         * nptl/createthread.c: Don't include kernel-features.h.
41951         * nptl/pthread_cancel.c: Likewise.
41952         * nptl/pthread_condattr_setclock.c: Likewise.
41953         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
41954         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
41955         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
41956         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
41957         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
41958         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
41959         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
41960         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
41961         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
41962         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
41963         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
41964         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
41965         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
41966         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
41967         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
41968         * nscd/gai.c: Likewise.
41969         * nss/nss_db/db-open.c: Likewise.
41970         * sysdeps/generic/ldsodefs.h: Likewise.
41971         * sysdeps/sh/nptl/tls.h: Likewise.
41972         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
41973         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
41974         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
41975         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
41976         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
41977         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
41978         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
41979         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
41980         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
41981         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
41982         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
41983         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
41984         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
41985         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
41986         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
41987         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
41988         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
41989         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
41990         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
41991         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
41992         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
41993         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
41994         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
41995         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
41996         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
41997         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
41998         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
41999         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
42000         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
42001         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
42002         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
42003         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
42004         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
42005         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
42006         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
42007         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
42008         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
42009         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
42010         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
42011         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
42012         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
42013         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
42014         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
42015         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
42016         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
42017         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
42018         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
42019         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
42020         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
42021         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
42022         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
42023         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
42024         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
42025         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
42026         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
42027         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
42028         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
42029         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
42030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
42031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
42032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
42033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
42034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
42035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
42036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
42037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
42038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
42039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
42040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
42041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
42042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
42043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
42044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
42045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
42046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
42050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
42051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
42052         * sysdeps/unix/sysv/linux/pread.c: Likewise.
42053         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
42054         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
42055         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
42056         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
42057         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
42058         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
42059         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
42060         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
42061         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
42062         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
42063         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
42064         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
42065         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
42066         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
42067         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
42068         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
42069         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
42070         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
42071         * sysdeps/unix/sysv/linux/system.c: Likewise.
42072         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
42073         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
42074         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
42075         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
42076         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
42077         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
42078         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
42080         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
42081         * configure: Regenerated.
42082         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
42084         * configure.ac (base_machine): Do not set specially for particular
42085         machines here.
42086         * configure: Regenerated.
42087         * sysdeps/powerpc/preconfigure: Move machine and base_machine
42088         settings from configure.ac.
42089         * sysdeps/i386/preconfigure: New file.
42090         * sysdeps/s390/preconfigure: Likewise.
42091         * sysdeps/sh/preconfigure: Likewise.
42092         * sysdeps/sparc/preconfigure: Likewise.
42094 2014-06-25  Roland McGrath  <roland@hack.frob.com>
42096         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
42097         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
42098         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
42099         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
42100         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
42101         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
42102         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
42103         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
42104         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
42105         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
42106         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
42107         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
42108         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
42109         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
42110         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
42111         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
42112         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
42113         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
42114         * sysdeps/sparc/sparc64/Makefile: ... appended here.
42116         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
42117         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
42118         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
42119         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
42120         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
42121         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
42122         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
42123         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
42124         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
42125         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
42126         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
42127         * sysdeps/sparc/sparc32/sem_post.c: ... here.
42128         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
42129         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
42130         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
42131         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
42132         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
42133         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
42134         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
42135         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
42136         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
42137         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
42138         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
42139         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
42140         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
42141         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
42142         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
42143         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
42144         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
42145         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
42146         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
42147         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
42148         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
42149         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
42150         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
42151         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
42152         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
42153         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
42155         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
42156         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
42157         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
42158         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
42159         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
42160         Moved ...
42161         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
42162         ... here.
42163         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
42164         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
42165         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
42166         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
42167         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
42168         Moved ...
42169         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
42170         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
42171         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
42172         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
42173         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
42174         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
42175         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
42176         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
42177         Moved ...
42178         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
42179         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
42180         Moved ...
42181         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
42182         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
42183         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
42184         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
42185         Moved ...
42186         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
42187         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
42188         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
42189         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
42190         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
42191         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
42192         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
42193         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
42194         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
42195         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
42196         Moved ...
42197         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
42198         ... here.
42199         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
42200         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
42201         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
42202         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
42203         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
42204         Moved ...
42205         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
42206         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
42207         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
42208         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
42209         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
42210         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
42211         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
42212         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
42213         Moved ...
42214         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
42215         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
42216         Moved ...
42217         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
42218         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
42219         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
42220         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
42221         Moved ...
42222         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
42223         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
42224         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
42225         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
42226         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
42228 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
42230         * timezone/checktab.awk: Update from tzcode 2014e.
42231         * timezone/private.h: Likewise.
42232         * timezone/tzfile.h: Likewise.
42233         * timezone/zdump.c: Likewise.
42234         * timezone/zic.c: Likewise.
42236         * sysdeps/unix/sysv/linux/kernel-features.h
42237         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
42238         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
42239         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
42240         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
42241         Remove conditional code.
42243 2014-06-25  Will Newton  <will.newton@linaro.org>
42245         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
42246         (_dl_arm_cap_flags): Add HWCAP2 values.
42247         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
42248         (_DL_HWCAP_COUNT): Increase to 37.
42249         (_DL_HWCAP_LAST): New define.
42250         (_DL_HWCAP2_LAST): New define.
42251         (_dl_procinfo): Add support for printing
42252         AT_HWCAP2 entries.
42253         (_dl_string_hwcap): Use _dl_hwcap_string.
42255 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42257         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42259 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
42261         * README: Do not mention ports directory.
42263         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
42264         Remove macro.
42265         * sysdeps/unix/sysv/linux/futimes.c: Do not include
42266         <kernel-features.h>.
42267         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
42268         conditional variable definition.
42269         (__futimes): Update comment.
42270         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
42271         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
42273         [BZ #16560]
42274         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
42275         arguments close to 0.
42276         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
42277         Likewise.
42278         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
42279         Likewise.
42280         * math/auto-libm-test-in: Add more tests of exp10.
42281         * math/auto-libm-test-out: Regenerated.
42282         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42284         * sysdeps/unix/sysv/linux/kernel-features.h
42285         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
42286         * sysdeps/unix/sysv/linux/readv.c: Do not include
42287         <kernel-features.h>.
42288         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
42289         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
42290         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
42291         unconditional.
42292         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
42293         conditional code.
42294         * sysdeps/unix/sysv/linux/writev.c: Do not include
42295         <kernel-features.h>.
42296         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
42297         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
42298         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
42299         unconditional.
42300         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
42301         conditional code.
42303 2014-06-25  Will Newton  <will.newton@linaro.org>
42305         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
42306         comment changes throughout the file.  Remove checks
42307         for HAVE_*_H definitions that are not required.
42308         (__gen_tempname): Call abort if an unknown kind value is
42309         passed.
42311 2014-06-25  Andreas Schwab  <schwab@suse.de>
42313         [BZ #17086]
42314         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
42315         scalbln, scalblnf, scalblnl in libc.
42317 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42319         [BZ #17086]
42320         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
42321         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
42322         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
42324 2014-06-24  Roland McGrath  <roland@hack.frob.com>
42326         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
42327         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
42328         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
42329         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
42330         Update #include.
42331         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
42332         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
42333         Update #include.
42334         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
42335         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
42336         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
42337         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
42338         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
42339         * sysdeps/x86/bits/pthreadtypes.h: ... here.
42340         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
42341         * sysdeps/x86/bits/semaphore.h: ... here.
42342         * sysdeps/x86/nptl/elide.h: Moved ...
42343         * sysdeps/x86/elide.h: ... here.
42344         * sysdeps/x86_64/nptl/Implies: File removed.
42345         * sysdeps/i386/nptl/Implies: File removed.
42347 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
42349         [BZ #16539]
42350         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
42351         return the argument for normal arguments with exponent below -64.
42352         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
42353         Likewise.
42354         * math/auto-libm-test-in: Add another test of expm1.
42355         * math/auto-libm-test-out: Regenerated.
42357         [BZ #16287]
42358         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
42359         calling __erfcl for arguments at least 16.
42360         * math/auto-libm-test-in: Add more tests of erf.
42361         * math/auto-libm-test-out: Regenerated.
42363         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
42364         individual architectures.
42365         * sysdeps/unix/sysv/linux/configure: Regenerated.
42366         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
42367         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
42368         * sysdeps/unix/sysv/linux/powerpc/configure.ac
42369         (ldd_rewrite_script): Define variable.
42370         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
42371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
42372         file.
42373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
42374         generated file.
42375         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
42376         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
42377         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
42378         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
42379         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
42380         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
42381         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
42382         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
42384 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42386         [BZ #17084]
42387         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
42388         Rename member __data.d to __data.__elision_data.
42390 2014-06-24  Wilco  <wdijkstr@arm.com>
42392         * NEWS: Add 16918 to fixed bug list.
42394 2014-06-24  Wilco  <wdijkstr@arm.com>
42396         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
42398 2014-06-24  Wilco  <wdijkstr@arm.com>
42400         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
42401         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
42402         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
42403         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
42404         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
42405         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
42406         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
42407         Use _FPU_MASK_RM.
42409 2014-06-24  Wilco  <wdijkstr@arm.com>
42411         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
42413 2014-06-24  Wilco  <wdijkstr@arm.com>
42415         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
42416         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
42417         * sysdeps/arm/fesetround.c (fesetround): Remove space.
42418         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
42420 2014-06-24  Wilco  <wdijkstr@arm.com>
42422         [BZ #16918]
42423         * sysdeps/arm/feupdateenv.c (feupdateenv):
42424         Rewrite to reduce FPSCR accesses and fix return value.
42426 2014-06-24  Wilco  <wdijkstr@arm.com>
42428         * sysdeps/arm/fclrexcpt.c (feclearexcept):
42429         Optimize to avoid unnecessary FPSCR writes.
42430         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
42431         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
42432         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
42433         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
42435 2014-06-24  Wilco  <wdijkstr@arm.com>
42437         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
42438         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
42439         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
42440         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
42441         Call libc_fetestexcept_vfp.
42442         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
42443         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
42444         __SOFTFP__ ifdef so that they can be built for softfp.
42446 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42448         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
42449         argument type signed char.
42451         * Makerules (check-abi): Dump diff of symlist if the test
42452         fails.
42454 2014-06-23  Roland McGrath  <roland@hack.frob.com>
42456         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
42457         using abort.
42459         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
42460         Remove unused variable ST.
42462 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
42464         [BZ #16354]
42465         [BZ #17061]
42466         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
42467         small arguments before calling __expm1.
42468         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
42469         small arguments before calling __expm1f.
42470         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
42471         small arguments before calling __expm1l.
42472         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
42473         Likewise.
42474         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
42475         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
42476         spurious underflow for some cosh tests.
42477         * math/auto-libm-test-out: Regenerated.
42478         * sysdeps/i386/fpu/libm-test-ulps: Update.
42480         [BZ #17050]
42481         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
42482         (__ieee754_y1): Set errno if return value overflows.
42483         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
42484         (__ieee754_y1f): Set errno if return value overflows.
42485         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
42486         (__ieee754_y1l): Set errno if return value overflows.
42487         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
42488         (__ieee754_y1l): Set errno if return value overflows.
42489         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
42490         * math/auto-libm-test-out: Regenerated.
42492         * math/gen-auto-libm-tests.c: Document use of
42493         ignore-zero-inf-sign.
42494         (input_flag_type): Add value flag_ignore_zero_inf_sign.
42495         (input_flags): Add ignore-zero-inf-sign.
42496         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
42497         * math/gen-libm-test.pl (generate_testfile): Handle
42498         ignore-zero-inf-sign.
42499         * math/auto-libm-test-in: Mark some cpow tests with
42500         ignore-zero-inf-sign and some with xfail-rounding.
42501         * math/auto-libm-test-out: Regenerated.
42502         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
42503         * sysdeps/i386/fpu/libm-test-ulps: Update.
42504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42506         [BZ #16315]
42507         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
42508         overflowing or underflowing operations take place with sign of
42509         result.
42510         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
42511         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
42512         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
42513         (__ieee754_pow): Recompute overflowing and underflowing results in
42514         original rounding mode.
42515         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
42516         (__powl_helper): Allow negative argument X and scale negated value
42517         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
42518         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
42519         overflowing or underflowing operations take place with sign of
42520         result.
42521         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
42522         Include <math.h>.
42523         * math/auto-libm-test-in: Add more tests of pow.
42524         * math/auto-libm-test-out: Regenerated.
42525         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
42526         (pow_tonearest_test_data): Remove.
42527         (pow_test_tonearest): Likewise.
42528         (pow_towardzero_test_data): Likewise.
42529         (pow_test_towardzero): Likewise.
42530         (pow_downward_test_data): Likewise.
42531         (pow_test_downward): Likewise.
42532         (pow_upward_test_data): Likewise.
42533         (pow_test_upward): Likewise.
42534         (main): Don't call removed functions.
42535         * sysdeps/i386/fpu/libm-test-ulps: Update.
42536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42538 2014-06-23  Roland McGrath  <roland@hack.frob.com>
42540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
42541         Moved ...
42542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
42543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42544         Moved ...
42545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
42546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
42547         Moved ...
42548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
42549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
42550         Moved ...
42551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
42552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
42553         File removed.
42554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
42555         File removed.
42556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
42557         File removed.
42558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
42559         File removed.
42560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
42561         File removed.
42562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
42563         File removed.
42564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
42565         File removed.
42566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
42567         File removed.
42568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
42569         File removed.
42570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
42571         File removed.
42572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
42573         File removed.
42574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
42575         File removed.
42576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
42577         Moved ...
42578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
42579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
42580         Moved ...
42581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
42582         ... here.
42583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
42584         Moved ...
42585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
42586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
42587         Moved ...
42588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
42589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
42590         Moved ...
42591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
42592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
42593         Moved ...
42594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
42595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
42596         Moved ...
42597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
42598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
42599         Moved ...
42600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
42601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
42602         Moved ...
42603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
42604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
42605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
42606         ... here.
42607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
42608         Moved ...
42609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
42610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
42611         Moved ...
42612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
42613         ... here.
42614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
42615         Moved ...
42616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
42617         ... here.
42618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
42619         Moved ...
42620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
42621         ... here.
42622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
42623         Moved ...
42624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
42625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
42626         Moved ...
42627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
42628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
42629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
42630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
42631         Moved ...
42632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
42633         ... here.
42634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
42635         Moved ...
42636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
42637         ... here.
42638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
42639         Moved ...
42640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
42641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
42642         Moved ...
42643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
42644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
42645         Moved ...
42646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
42647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42648         Moved ...
42649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
42650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
42651         Moved ...
42652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
42653         ... here.
42654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
42655         Moved ...
42656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
42657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
42658         Moved ...
42659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
42660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
42661         Moved ...
42662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
42663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
42664         Moved ...
42665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
42666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
42667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
42668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
42669         Moved ...
42670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
42671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
42672         Moved ...
42673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
42674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
42675         Moved ...
42676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
42677         ... here.
42678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42679         Moved ...
42680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
42681         ... here.
42682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
42683         Moved ...
42684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
42685         ... here.
42686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
42687         Moved ...
42688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
42689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
42690         Moved ...
42691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
42692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
42693         Moved ...
42694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
42695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
42696         Moved ...
42697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
42698         ... here.
42699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
42700         Moved ...
42701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
42702         ... here.
42703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
42704         Moved ...
42705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
42706         ... here.
42707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
42708         Moved ...
42709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
42710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
42711         Moved ...
42712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
42714 2014-06-23  Will Newton  <will.newton@linaro.org>
42715             Wilco  <wdijkstr@arm.com>
42717         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
42718         implementation.  Include get-rounding-mode.h.
42719         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
42720         [!libc_feholdsetround_noex_ctx]: Define
42721         libc_feholdsetround_noex_ctx.
42722         [!libc_feholdsetround_noexf_ctx]: Define
42723         libc_feholdsetround_noexf_ctx.
42724         [!libc_feholdsetround_noexl_ctx]: Define
42725         libc_feholdsetround_noexl_ctx.
42726         (libc_feholdsetround_ctx): New function.
42727         (libc_feresetround_ctx): New function.
42728         (libc_feholdsetround_noex_ctx): New function.
42729         (libc_feresetround_noex_ctx): New function.
42731 2014-06-23  Roland McGrath  <roland@hack.frob.com>
42733         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
42734         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
42735         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
42736         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
42737         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
42738         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
42740         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
42741         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
42742         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
42743         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
42744         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
42745         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
42746         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
42747         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
42748         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
42749         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
42750         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
42751         Moved ...
42752         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
42753         ... here.
42754         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
42755         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
42756         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
42757         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
42758         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
42759         Moved ...
42760         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
42761         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
42762         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
42763         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
42764         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
42765         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
42766         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
42767         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
42768         Moved ...
42769         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
42770         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
42771         Moved ...
42772         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
42773         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
42774         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
42775         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
42776         Moved ...
42777         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
42778         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
42779         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
42780         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
42781         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
42782         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
42783         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
42784         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
42785         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
42786         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
42787         Moved ...
42788         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
42789         ... here.
42790         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
42791         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
42792         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
42793         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
42794         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
42795         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
42796         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
42797         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
42798         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
42799         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
42800         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
42801         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
42802         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
42803         Moved ...
42804         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
42805         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
42806         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
42807         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
42808         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
42809         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
42810         Moved ...
42811         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
42812         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
42813         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
42814         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
42815         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
42817         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
42818         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
42819         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
42820         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
42821         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
42822         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
42823         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
42824         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
42825         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
42826         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
42827         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
42828         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
42829         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
42830         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
42831         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
42832         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
42833         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
42834         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
42835         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
42836         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
42837         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
42838         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
42839         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
42840         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
42841         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
42842         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
42843         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
42844         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
42846 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
42848         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
42849         (FALLOC_FL_COLLAPSE_RANGE): New macro.
42850         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
42851         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
42852         (IPV6_PMTUDISC_INTERFACE): Likewise.
42853         (IPV6_PMTUDISC_OMIT): Likewise.
42855 2014-06-23  Andreas Schwab  <schwab@suse.de>
42857         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
42858         Remove unused errout label.
42860 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42862         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
42863         macro: hardware supports Vector Crypto instructions.
42865 2014-06-23  Will Newton  <will.newton@linaro.org>
42867         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
42868         rather than __builtin_expect.
42870         * elf/dl-lookup.c (undefined_msg): Remove variable.
42871         (_dl_lookup_symbol_x): Replace undefined_msg with string
42872         literal.
42874         * elf/dl-lookup.c (do_lookup_unique): New function.
42875         (do_lookup_x): Move STB_GNU_UNIQUE handling code
42876         to a separate function.
42878 2014-06-23  Andreas Schwab  <schwab@suse.de>
42880         [BZ #17079]
42881         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
42882         before reading the next line.
42884 2014-06-23  Will Newton  <will.newton@linaro.org>
42886         * test-skeleton.c (signal_handler): Use printf and %m
42887         rather than perror.  Use printf rather than fprintf to
42888         stderr.  Use puts rather than fputs to stderr.
42889         (main): Likewise.
42891 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
42893         * nscd/nscd.c (thread_info_t): Remove typedef.
42894         (thread_info): Remove variable.
42896 2014-06-21  Allan McRae  <allan@archlinux.org>
42898         * NEWS: Mention CVE-2014-4043.
42900 2014-06-20  Roland McGrath  <roland@hack.frob.com>
42902         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
42903         * nptl/smp.h: ... here.
42905         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
42907         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
42908         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
42909         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
42910         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
42912         * nptl/allocatestack.c: Include <stack-aliasing.h>.
42913         * nptl/stack-aliasing.h: New file.
42914         * sysdeps/i386/i686/stack-aliasing.h: New file.
42915         * sysdeps/i386/i686/nptl/Makefile: File removed.
42916         * sysdeps/x86_64/stack-aliasing.h: New file.
42917         * sysdeps/x86_64/nptl/Makefile
42918         (CFLAGS-pthread_create.c): Variable removed.
42920         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
42921         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
42922         old file.
42923         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
42924         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
42925         old file.
42927 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
42929         * sysdeps/unix/sysv/linux/arm/kernel-features.h
42930         (__ASSUME_SIGFRAME_V2): Remove macro.
42931         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
42932         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
42933         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
42934         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
42935         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
42936         Declare as function.  Remove conditional macro definitions.
42937         (__default_rt_sa_restorer): Likewise.
42938         (__default_sa_restorer_v1): Remove declaration.
42939         (__default_sa_restorer_v2): Likewise.
42940         (__default_rt_sa_restorer_v1): Likewise.
42941         (__default_rt_sa_restorer_v2): Likewise.
42942         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
42943         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
42944         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
42946 2014-06-20  Roland McGrath  <roland@hack.frob.com>
42948         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
42949         (libpthread-routines): Add sysdep.
42950         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
42951         * sysdeps/unix/sysv/linux/sparc/Versions
42952         (libpthread: GLIBC_2.3.3): New version set.
42953         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
42954         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
42955         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
42956         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
42957         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
42958         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
42959         Moved ...
42960         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
42961         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
42962         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
42963         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
42964         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
42965         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
42966         * sysdeps/sparc/nptl/sem_init.c: ... here.
42967         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
42968         * sysdeps/sparc/nptl/sem_post.c: ... here.
42969         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
42970         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
42971         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
42972         * sysdeps/sparc/nptl/sem_wait.c: ... here.
42973         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
42974         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
42975         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
42976         (libpthread-routines): Add cpu_relax.
42977         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
42978         File removed.
42979         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
42980         (librt: GLIBC_2.3.3): New version set.
42981         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
42982         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
42983         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
42984         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
42985         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
42986         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
42987         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
42988         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
42989         Moved ...
42990         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
42991         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
42992         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
42993         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
42994         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
42995         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
42996         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
42997         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
42998         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
42999         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
43000         Moved ...
43001         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
43002         Update #include.
43003         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
43004         Moved ...
43005         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
43006         Update #include.
43007         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
43008         Moved ...
43009         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
43010         Update #include.
43011         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
43012         Moved ...
43013         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
43014         Update #include.
43015         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
43016         Moved ...
43017         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
43018         Update #include.
43019         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
43020         Moved ...
43021         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
43022         Update #include.
43023         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
43024         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
43025         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
43026         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
43027         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
43028         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
43029         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
43030         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
43031         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
43032         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
43033         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
43034         Moved ...
43035         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
43036         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
43037         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
43038         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
43039         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
43041 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
43043         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
43044         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
43045         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
43046         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
43047         * nscd/nscd.c: Likewise.
43048         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
43049         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
43050         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
43051         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
43053         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
43054         <kernel-features.h>.
43055         (init_mq_netlink): Remove conditional have_sock_cloexec
43056         definitions.  Remove code conditional on have_sock_cloexec < 0.
43057         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
43058         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
43059         * sysdeps/unix/sysv/linux/opensock.c: Do not include
43060         <kernel-features.h>.
43061         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
43062         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
43064 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
43066         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43067         Add tests for memset_chk and memset.
43069         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
43070         with AVX2_Usable.
43072 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
43074         [BZ #16046]
43075         * elf/tst-dl-iter-static.c: New file.
43076         * elf/Makefile (tests-static): Add tst-dl-iter-static.
43078         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
43079         error.
43081 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
43083         * sysdeps/unix/sysv/linux/kernel-features.h
43084         (__ASSUME_F_GETOWN_EX): Remove macro.
43085         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
43086         <kernel-features.h>.
43087         (miss_F_GETOWN_EX): Remove variable or macro.
43088         (do_fcntl): Do not check miss_F_GETOWN_EX.
43089         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
43091         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
43092         Remove macro.
43093         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
43094         [!__ASSUME_AT_RANDOM]: Remove conditional code.
43095         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
43097         * sysdeps/unix/sysv/linux/kernel-features.h
43098         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
43099         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
43100         [ADJ_OFFSET_SS_READ]: Make code unconditional.
43101         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
43103 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
43105         [BZ #17075]
43106         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
43107         Fix calculation of the symbol's value.
43108         * sysdeps/arm/tst-armtlsdescloc.c: New file.
43109         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
43110         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
43111         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
43112         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
43113         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
43114         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
43115         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
43116         (modules-names): Add `tst-armtlsdescmod',
43117         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
43118         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
43119         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
43120         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
43121         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
43122         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
43123         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
43124         ($(objpfx)tst-armtlsdescloc): New dependency.
43125         ($(objpfx)tst-armtlsdescextnow): Likewise.
43126         ($(objpfx)tst-armtlsdescextlazy): Likewise.
43127         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
43128         TLS scheme support.
43129         * sysdeps/arm/configure: Regenerate.
43131 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
43133         * include/fcntl.h (__atfct_seterrno): Remove prototype.
43134         (__atfct_seterrno_2): Likewise.
43135         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
43136         <kernel-features.h>.
43137         (__ASSUME_ATFCTS): Do not undefine and redefine.
43138         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
43139         (__have_atfcts): Remove conditional definition.
43140         (__fxstatat([__NR_fstatat64]: Make code unconditional.
43141         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
43142         unreachable if [__ASSUME_ATFCTS].
43143         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
43144         not undefine and redefine.
43145         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
43146         <kernel-features.h>.
43147         (faccessat) [__NR_faccessat]: Make code unconditional.
43148         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
43149         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
43150         <kernel-features.h>.
43151         (fchmodat) [__NR_fchmodat]: Make code unconditional.
43152         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
43153         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
43154         <kernel-features.h>.
43155         (fchownat) [__NR_fchownat]: Make code unconditional.
43156         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
43157         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
43158         <kernel-features.h>.
43159         (futimesat) [__NR_futimesat]: Make code unconditional.
43160         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
43161         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
43162         <kernel-features.h>.
43163         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
43164         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
43165         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
43166         <kernel-features.h>.
43167         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
43168         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
43169         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
43170         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
43171         <kernel-features.h>.
43172         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
43173         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
43174         * sysdeps/unix/sysv/linux/linkat.c: Do not include
43175         <kernel-features.h>.
43176         (linkat) [__NR_linkat]: Make code unconditional.
43177         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
43178         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
43179         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
43180         <kernel-features.h>.
43181         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
43182         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
43183         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
43184         <kernel-features.h>.
43185         (mkdirat) [__NR_mkdirat]: Make code unconditional.
43186         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
43187         * sysdeps/unix/sysv/linux/openat.c: Do not include
43188         <kernel-features.h>.
43189         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
43190         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
43191         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
43192         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
43193         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
43194         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
43195         <kernel-features.h>.
43196         (readlinkat) [__NR_readlinkat]: Make code unconditional.
43197         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
43198         result of INLINE_SYSCALL directly, not via int variable.
43199         * sysdeps/unix/sysv/linux/renameat.c: Do not include
43200         <kernel-features.h>.
43201         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
43202         (renameat) [__NR_renameat]: Make code unconditional.
43203         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
43204         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
43205         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
43206         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
43207         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
43208         (__ASSUME_ATFCTS): Do not undefine and redefine.
43209         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
43210         <kernel-features.h>.
43211         (symlinkat) [__NR_symlinkat]: Make code unconditional.
43212         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
43213         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
43214         <kernel-features.h>.
43215         (unlinkat) [__NR_unlinkat]: Make code unconditional.
43216         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
43217         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
43218         (__ASSUME_ATFCTS): Do not undefine and redefine.
43219         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
43220         <kernel-features.h>.
43221         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
43222         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
43223         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
43224         <kernel-features.h>.
43225         (__xmknodat) [__NR_mknodat]: Make code unconditional.
43226         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
43228 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
43230         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
43232 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
43234         [BZ #17069]
43235         * posix/regcomp.c (parse_reg_exp): Deallocate partially
43236         constructed tree before returning error.
43237         * posix/bug-regexp36.c: Expand test case.
43239 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
43241         [BZ #6803]
43242         * math/libm-test.inc (scalbln_test_date):
43243         Add errno expectations.
43244         * math/w_scalblnf.c: New File.
43245         Add wrapper which checks for setting errno to ERANGE.
43246         Add weak_alias for corresponding scalbln function.
43247         * math/w_scalbln.c: Likewise.
43248         * math/w_scalblnl.c: Likewise.
43249         * math/Makefile (libm-calls): Add w_scalbln.
43250         * sysdeps/ieee754/flt-32/s_scalblnf.c:
43251         Remove weak_alias for corresponding scalbln function.
43252         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
43253         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
43254         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43255         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43256         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
43257         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
43258         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
43259         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
43260         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
43261         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
43262         Remove long_double_symbol for scalblnl function in libm, libc.
43263         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
43264         Add wrapper which checks for setting errno to ERANGE.
43265         Add long_double_symbol for scalblnl function in libm, libc.
43266         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
43267         Remove long_double_symbol for scalblnl in libm.
43268         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
43269         Add wrapper which checks for setting errno to ERANGE.
43270         Add long_double_symbol for scalblnl function in libm.
43271         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
43272         Do not use wrapper because of own implementation.
43274 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
43276         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
43277         3 bytes for __pad1 for x32.
43278         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
43280 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
43281             H.J. Lu  <hongjiu.lu@intel.com>
43283         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
43284         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
43285         * sysdeps/x86_64/multiarch/memset.S: Likewise.
43286         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43287         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
43289 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
43291         [BZ #17069]
43292         * posix/regcomp.c (parse_expression): Deallocate partially
43293         constructed tree before returning error.
43294         * posix/Makefile.c (tests): Add bug-regex36.
43295         (generated): Add bug-regex36.mtrace.
43296         (tests-special): Add $(objpfx)bug-regex36-mem.out
43297         (bug-regex36-ENV): New variable.
43298         ($(objpfx)bug-regex36-mem.out): New rule.
43299         * posix/bug-regex36.c: New file.
43301 2014-06-19  Will Newton  <will.newton@linaro.org>
43303         * malloc/malloc.c (systrim): If extra is zero then return
43304         early.
43306 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43308         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
43310 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
43312         * sysdeps/aarch64/strchr.S: New file.
43314 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
43316         [BZ #17022]
43317         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
43318         from arguments -2 or below.
43319         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
43320         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
43322 2014-06-18  Andreas Schwab  <schwab@suse.de>
43324         [BZ #17062]
43325         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
43326         of a bracket expr not to run off the end of the string.
43327         * posix/Makefile (tests): Add tst-fnmatch3.
43328         * posix/tst-fnmatch3.c: New file.
43330 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
43332         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
43333         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
43334         [$(cross-compiling) = no]: Likewise.
43335         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
43336         [$(cross-compiling) = no]: Likewise.
43338 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
43340         [BZ #17031]
43341         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
43342         double, adjusted for any remainder from the high double.
43343         * math/libm-test.inc (nearbyint): Add tests.
43344         (rint): Likewise.
43346 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43348         * nptl/sysdeps/powerpc/Makefile: Moved ...
43349         * sysdeps/powerpc/nptl/Makefile: ... here.
43350         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
43351         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
43352         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
43353         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
43354         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
43355         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
43356         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
43357         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
43358         * nptl/sysdeps/powerpc/tls.h: Moved ...
43359         * sysdeps/powerpc/nptl/tls.h: ... here.
43361 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
43363         [BZ #16681]
43364         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
43365         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
43366         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
43367         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
43368         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
43369         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
43370         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
43371         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
43372         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
43374 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
43376         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
43378 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
43380         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
43381         defined operator.
43383         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
43384         $TIMEOUTFACTOR.
43386 2014-06-16  Florian Weimer  <fweimer@redhat.com>
43388         [BZ #17058]
43389         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
43390         non-executed part of the test.
43392 2014-06-16  Andreas Schwab  <schwab@suse.de>
43394         * string/bits/string2.h (strdup, strndup): Update feature guard.
43396 2014-06-14  David S. Miller  <davem@davemloft.net>
43398         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43400 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
43402         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
43403         that was previously under [RESET_PID].
43404         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
43406         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
43407         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
43408         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
43409         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
43410         (__libc_vfork): New strong alias.
43411         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
43413 2014-06-14 Andi Kleen  <ak@linux.intel.com>
43415         * sysdeps/generic/elide.h: New file.
43417 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
43419         * Makefile (installed-headers): Adjust path of pthread.h header.
43421 2014-06-13  Roland McGrath  <roland@hack.frob.com>
43423         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
43424         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
43425         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
43426         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
43428         * nptl/sysdeps/s390/Makefile: Moved ...
43429         * sysdeps/s390/nptl/Makefile: ... here.
43430         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
43431         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
43432         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
43433         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
43434         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
43435         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
43436         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
43437         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
43438         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
43439         * sysdeps/s390/nptl/pthreaddef.h: ... here.
43440         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
43441         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
43442         * nptl/sysdeps/s390/tls.h: Moved ...
43443         * sysdeps/s390/nptl/tls.h: ... here.
43445         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
43446         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
43448 2014-06-13  David S. Miller  <davem@davemloft.net>
43450         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
43451         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
43452         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
43453         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
43454         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
43455         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
43456         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
43457         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
43458         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
43459         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
43460         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
43461         Remove RESET_PID cpp guards.
43462         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
43463         Remove RESET_PID cpp guards.
43464         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
43466 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
43468         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
43469         __sp to uintptr_t.
43471 2014-06-13  Andi Kleen  <ak@linux.intel.com>
43473         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
43474         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
43475         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
43476         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
43477         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
43478         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
43479         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
43480         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
43481         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
43482         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
43483         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
43484         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
43485         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
43486         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
43487         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
43488         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
43489         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
43490         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
43491         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
43492         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
43494         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
43495         (pthread_rwlock_rdlock): Add elision.
43496         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
43497         (pthread_rwlock_wrlock): Add elision.
43498         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
43499         (pthread_rwlock_trywrlock): Add elision.
43500         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
43501         (pthread_rwlock_tryrdlock): Add elision.
43502         * nptl/pthread_rwlock_unlock.c: Include elide.h.
43503         (pthread_rwlock_tryrdlock): Add elision unlock.
43504         * nptl/sysdeps/pthread/pthread.h:
43505         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
43506         (PTHREAD_RWLOCK_INITIALIZER,
43507         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
43508         Handle new elision field.
43509         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
43510         * sysdeps/arm/nptl/bits/pthreadtypes.h
43511         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43512         * sysdeps/sh/nptl/bits/pthreadtypes.h
43513         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43514         * sysdeps/tile/nptl/bits/pthreadtypes.h
43515         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43516         * sysdeps/a/nptl/bits/pthreadtypes.h
43517         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43518         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
43519         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43520         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
43521         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43522         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
43523         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43524         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
43525         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43526         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
43527         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43528         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
43529         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43530         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
43531         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43532         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
43533         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43534         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
43535         (elision_init): Set try_xbegin to zero when no RTM.
43536         * sysdeps/x86/nptl/bits/pthreadtypes.h
43537         (pthread_rwlock_t): Change __pad1 to __rwelision.
43538         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43540 2014-06-13  Andi Kleen  <ak@linux.intel.com>
43542         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
43543         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
43544         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
43545         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
43547 2014-06-13  Meador Inge  <meadori@codesourcery.com>
43549         [BZ #16996]
43550         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
43551         that the cached result has been set before returning it.
43553 2014-06-12  Roland McGrath  <roland@hack.frob.com>
43555         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
43556         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
43557         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
43558         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
43559         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
43560         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
43562         * nptl/sysdeps/sparc/Makefile: Moved ...
43563         * sysdeps/sparc/nptl/Makefile: ... here.
43564         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
43565         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
43566         * nptl/sysdeps/sparc/tls.h: Moved ...
43567         * sysdeps/sparc/nptl/tls.h: ... here.
43568         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
43569         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
43570         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
43571         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
43572         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
43573         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
43574         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
43575         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
43576         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
43577         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
43578         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
43579         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
43580         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
43581         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
43582         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
43583         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
43584         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
43585         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
43586         Update #include.
43587         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
43588         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
43589         Update #include.
43590         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
43591         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
43592         Update #include.
43593         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
43594         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
43595         Update #include.
43597         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
43599         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
43600         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
43602         * sysdeps/pthread/posix-timer.h: Include <list.h>.
43603         (struct list_links): Type removed.
43604         (struct thread_node, struct timer_node): Replace struct list_links
43605         with struct list_head.
43606         (list_unlink_ip): Likewise.
43607         * sysdeps/pthread/timer_routines.c
43608         (timer_free_list, thread_free_list, thread_active_list): Likewise.
43609         (list_append, list_insbefore): Likewise.
43610         (list_init): Function removed.
43611         (thread_init, init_module): Use INIT_LIST_HEAD instead.
43612         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
43613         * sysdeps/pthread/Makefile: ... here, new file.
43615         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
43616         * sysdeps/nptl/Implies: ... here.
43617         * sysdeps/unix/sysv/linux/Implies: Add nptl.
43618         * nptl/sysdeps/pthread/list.h: Moved ...
43619         * include/list.h: ... here.
43620         * nptl/sysdeps/pthread/createthread.c: Moved ...
43621         * nptl/createthread.c: ... here.
43622         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
43623         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
43624         * nptl/pt-longjmp.c: ... here.
43625         * nptl/sysdeps/pthread/Makefile: Moved ...
43626         * sysdeps/nptl/Makefile: ... here.
43627         * nptl/sysdeps/pthread/Subdirs: Moved ...
43628         * sysdeps/nptl/Subdirs: ... here.
43629         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
43630         * sysdeps/nptl/aio_misc.h: ... here.
43631         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
43632         * sysdeps/nptl/bits/libc-lock.h: ... here.
43633         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
43634         * sysdeps/nptl/bits/libc-lockP.h: ... here.
43635         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
43636         * sysdeps/nptl/bits/stdio-lock.h: ... here.
43637         * nptl/sysdeps/pthread/configure: Moved ...
43638         * sysdeps/nptl/configure: ... here.
43639         * nptl/sysdeps/pthread/configure.ac: Moved ...
43640         * sysdeps/nptl/configure.ac: ... here.
43641         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
43642         * sysdeps/nptl/gai_misc.h: ... here.
43643         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
43644         * sysdeps/nptl/librt-cancellation.c: ... here.
43645         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
43646         * sysdeps/nptl/malloc-machine.h: ... here.
43647         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
43648         * sysdeps/nptl/pthread-functions.h: ... here.
43649         * nptl/sysdeps/pthread/pthread.h: Moved ...
43650         * sysdeps/nptl/pthread.h: ... here.
43651         * nptl/sysdeps/pthread/setxid.h: Moved ...
43652         * sysdeps/nptl/setxid.h: ... here.
43653         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
43654         * sysdeps/nptl/sigfillset.c: ... here.
43655         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
43656         * sysdeps/nptl/tcb-offsets.h: ... here.
43657         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
43658         * sysdeps/nptl/tst-mqueue8x.c: ... here.
43659         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
43660         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
43661         * nptl/sysdeps/pthread/allocalim.h: Moved ...
43662         * sysdeps/pthread/allocalim.h: ... here.
43663         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
43664         * sysdeps/pthread/bits/sigthread.h: ... here.
43665         * nptl/sysdeps/pthread/flockfile.c: Moved ...
43666         * sysdeps/pthread/flockfile.c: ... here.
43667         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
43668         * sysdeps/pthread/ftrylockfile.c: ... here.
43669         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
43670         * sysdeps/pthread/funlockfile.c: ... here.
43671         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
43672         * sysdeps/pthread/posix-timer.h: ... here.
43673         * nptl/sysdeps/pthread/timer_create.c: Moved ...
43674         * sysdeps/pthread/timer_create.c: ... here.
43675         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
43676         * sysdeps/pthread/timer_delete.c: ... here.
43677         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
43678         * sysdeps/pthread/timer_getoverr.c: ... here.
43679         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
43680         * sysdeps/pthread/timer_gettime.c: ... here.
43681         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
43682         * sysdeps/pthread/timer_routines.c: ... here.
43683         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
43684         * sysdeps/pthread/timer_settime.c: ... here.
43685         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
43686         * sysdeps/pthread/tst-timer.c: ... here.
43687         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
43688         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
43690         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
43691         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
43693         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
43694         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
43695         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
43696         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
43697         Update #include target.
43698         * nptl/sysdeps/i386/i686/Makefile: Moved ...
43699         * sysdeps/i386/i686/nptl/Makefile: ... here.
43700         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
43701         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
43702         Update #include target.
43703         * nptl/sysdeps/i386/i686/tls.h: Moved ...
43704         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
43705         * nptl/sysdeps/i386/Makefile: Moved ...
43706         * sysdeps/i386/nptl/Makefile: ... here.
43707         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
43708         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
43709         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
43710         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
43711         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
43712         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
43713         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
43714         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
43715         * sysdeps/i386/nptl/pthreaddef.h: ... here.
43716         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
43717         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
43718         * nptl/sysdeps/i386/tls.h: Moved ...
43719         * sysdeps/i386/nptl/tls.h: ... here.
43721         * sysdeps/sh/Makefile [$(subdir) = csu]
43722         (gen-as-const-headers): Add tcb-offsets.sym.
43723         * nptl/sysdeps/sh/Makefile: File removed.
43724         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
43725         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
43726         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
43727         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
43728         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
43729         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
43730         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
43731         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
43732         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
43733         * sysdeps/sh/nptl/pthreaddef.h: ... here.
43734         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
43735         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
43736         * nptl/sysdeps/sh/tls.h: Moved ...
43737         * sysdeps/sh/nptl/tls.h: ... here.
43738         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
43739         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
43740         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
43741         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
43742         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
43743         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
43744         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
43745         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
43746         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
43747         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
43748         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
43749         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
43750         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
43751         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
43752         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
43753         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
43754         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
43755         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
43756         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
43757         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
43758         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
43759         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
43760         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
43761         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
43762         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
43763         Moved ...
43764         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
43765         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
43766         Moved ...
43767         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
43768         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
43769         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
43770         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
43771         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
43772         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
43773         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
43774         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
43775         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
43776         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
43777         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
43778         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
43779         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
43780         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
43781         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
43782         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
43783         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
43784         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
43785         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
43787 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
43789         * posix/spawn_faction_addopen.c: Include string.h.
43791 2014-06-11  Roland McGrath  <roland@hack.frob.com>
43793         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
43794         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
43795         * nptl/sysdeps/x86_64/Makefile: Moved ...
43796         * sysdeps/x86_64/nptl/Makefile: ... here.
43797         * nptl/sysdeps/x86_64/configure: Moved ...
43798         * sysdeps/x86_64/nptl/configure: ... here.
43799         * nptl/sysdeps/x86_64/configure.ac: Moved ...
43800         * sysdeps/x86_64/nptl/configure.ac: ... here.
43801         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
43802         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
43803         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
43804         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
43805         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
43806         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
43807         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
43808         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
43809         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
43810         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
43811         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
43812         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
43813         * nptl/sysdeps/x86_64/tls.h: Moved ...
43814         * sysdeps/x86_64/nptl/tls.h: ... here.
43815         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
43816         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
43817         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
43818         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
43820         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
43822 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43824         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43826 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
43828         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
43829         type.
43830         [POSIX] (off_t): Likewise.
43831         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
43832         [POSIX] (S_ISBLK): Require macro.
43833         [POSIX] (S_ISCHR): Likewise.
43834         [POSIX] (S_ISDIR): Likewise.
43835         [POSIX] (S_ISFIFO): Likewise.
43836         [POSIX] (S_ISREG): Likewise.
43837         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
43838         optional-macro.
43839         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
43840         type.
43841         [POSIX] (time_t): Likewise.
43842         [POSIX] (timer_t): Likewise.
43844 2014-06-11  Florian Weimer  <fweimer@redhat.com>
43846         [BZ #17048]
43847         * posix/spawn_int.h (struct __spawn_action): Make the path string
43848         non-const to support deallocation.
43849         * posix/spawn_faction_addopen.c
43850         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
43851         * posix/spawn_faction_destroy.c
43852         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
43853         path in all spawn_do_open actions.
43854         * posix/tst-spawn.c (do_test): Exercise the copy operation in
43855         posix_spawn_file_actions_addopen.
43857 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
43859         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
43860         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
43861         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
43862         conditional code always true.
43863         (__libc_vfork): New alias.
43865 2014-06-11  Roland McGrath  <roland@hack.frob.com>
43867         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43868         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
43870         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
43872         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43873         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
43875         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
43876         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
43878         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43879         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
43881 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
43883         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
43884         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
43885         multiarch strcmp for PPC64.
43886         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
43887         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
43888         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
43889         multiarch optimizations.
43890         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43891         (__libc_ifunc_impl_list): Likewise.
43893 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43895         * benchtests/scripts/validate_benchout.py: New script.
43896         * benchtests/Makefile (bench-func): Call it.
43897         * benchtests/scripts/benchout.schema.json: New file.
43899 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
43901         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
43902         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
43903         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
43904         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
43905         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
43906         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
43907         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
43908         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
43909         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
43910         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
43911         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
43912         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
43913         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
43914         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
43915         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
43916         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
43917         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
43918         Moved ...
43919         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
43920         ... here.
43921         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
43922         Moved ...
43923         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
43924         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
43925         Moved ...
43926         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
43927         ... here.
43928         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
43929         Moved ...
43930         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
43931         ... here.
43932         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
43933         Moved ...
43934         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
43935         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
43936         Moved ...
43937         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
43938         ... here.
43939         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
43940         Moved ...
43941         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
43942         ... here.
43943         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
43944         Moved ...
43945         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
43946         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
43947         Moved ...
43948         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
43949         ... here.
43950         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
43951         Moved ...
43952         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
43953         ... here.
43954         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
43955         Moved ...
43956         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
43957         ... here.
43958         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
43959         Moved ...
43960         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
43961         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
43962         Moved ...
43963         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
43964         ... here.
43965         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
43966         Moved ...
43967         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
43968         ... here.
43969         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
43970         Moved ...
43971         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
43972         ... here.
43973         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
43974         Moved ...
43975         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
43976         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
43977         Moved ...
43978         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
43979         ... here.
43980         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
43981         Moved ...
43982         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
43983         ... here.
43984         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
43985         Moved ...
43986         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
43987         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
43988         Moved ...
43989         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
43990         ... here.
43991         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
43992         Moved ...
43993         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
43994         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
43995         Moved ...
43996         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
43997         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
43998         Moved ...
43999         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
44000         ... here.
44001         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
44002         Moved ...
44003         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
44004         ... here.
44005         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
44006         Moved ...
44007         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
44008         ... here.
44009         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
44010         Moved ...
44011         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
44012         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
44013         Moved ...
44014         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
44015         ... here.
44016         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
44017         Moved ...
44018         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
44019         ... here.
44020         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
44021         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
44022         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
44023         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
44024         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
44025         Moved ...
44026         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
44027         ... here.
44028         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
44029         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
44030         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
44031         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
44032         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
44033         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
44034         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
44035         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
44036         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
44037         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
44038         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
44039         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
44040         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
44041         Moved ...
44042         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
44043         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
44044         Moved ...
44045         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
44046         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
44047         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
44048         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
44049         Moved ...
44050         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
44051         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
44052         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
44053         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
44054         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
44055         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
44056         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
44058 2014-06-10  Wilco  <wdijkstr@arm.com>
44060         * math/test-fenv-return.c: New file.
44061         * math/Makefile: Add new test test-fenv-return.
44063 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
44065         [BZ #17042]
44066         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
44067         when x - 1 is zero.
44068         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
44069         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
44070         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
44071         0.0L for an argument of 1.0L.
44072         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
44073         Likewise.
44074         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
44075         value when x - 1 is zero.
44076         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
44077         * sysdeps/i386/fpu/libm-test-ulps: Update.
44078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44080 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
44082         [BZ #15119]
44083         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
44085 2014-06-09  Roland McGrath  <roland@hack.frob.com>
44087         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
44088         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
44090 2014-06-09  Roland McGrath  <roland@hack.frob.com>
44092         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44093         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
44095         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44096         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
44098         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44099         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
44101         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44102         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
44104         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
44105         if not already defined.
44106         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
44107         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
44108         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
44109         (TLS_INIT_TP): Use it.
44110         (TLS_DEFINE_INIT_TP): New macro.
44111         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
44113 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
44115         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
44116         constant.
44117         [POSIX] (IXANY): Likewise.
44118         [POSIX] (OLCUC): Likewise.
44119         [POSIX || POSIX2008] (CBAUD): Do not allow.
44120         [POSIX || POSIX2008] (DEFECHO): Likewise.
44121         [POSIX || POSIX2008] (ECHOCTL): Likewise.
44122         [POSIX || POSIX2008] (ECHOKE): Likewise.
44123         [POSIX || POSIX2008] (ECHOPRT): Likewise.
44124         [POSIX || POSIX2008] (EXTA): Likewise.
44125         [POSIX || POSIX2008] (EXTB): Likewise.
44126         [POSIX || POSIX2008] (FLUSHO): Likewise.
44127         [POSIX || POSIX2008] (LOBLK): Likewise.
44128         [POSIX || POSIX2008] (PENDIN): Likewise.
44129         [POSIX || POSIX2008] (SWTCH): Likewise.
44130         [POSIX || POSIX2008] (VDISCARD): Likewise.
44131         [POSIX || POSIX2008] (VDSUSP): Likewise.
44132         [POSIX || POSIX2008] (VLNEXT): Likewise.
44133         [POSIX || POSIX2008] (VREPRINT): Likewise.
44134         [POSIX || POSIX2008] (VSTATUS): Likewise.
44135         [POSIX || POSIX2008] (VWERASE): Likewise.
44136         (B*): Change to B[0123456789]*.
44137         * conform/data/time.h-data [POSIX || UNIX98]
44138         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
44139         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
44140         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
44141         [POSIX] (tm_*): Do not allow.
44143 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
44145         * Makefile (install): Don't set LANGUAGE.
44146         * Makefile.in (install): Likewise.
44147         * assert/Makefile (test-assert-ENV): Remove variable.
44148         (test-assert-perr-ENV): Likewise.
44149         * elf/Makefile (neededtest4-ENV): Likewise.
44150         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
44151         [$(cross-compiling) = no]: Don't set LANGUAGE.
44152         * io/ftwtest-sh (LANG): Remove variable.
44153         * libio/Makefile (tst-widetext-ENV): Likewise.
44154         * manual/install.texi (Running make install): Don't refer to
44155         environment settings for make install.
44156         * INSTALL: Regenerated.
44157         * nptl/tst-tls6.sh: Don't set LANG.
44158         * posix/globtest.sh (LANG): Remove variable.
44159         * string/Makefile (tester-ENV): Likewise.
44160         (inl-tester-ENV): Likewise.
44161         (noinl-tester-ENV): Likewise.
44162         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
44163         [$(cross-compiling) = no]: Don't set LANGUAGE.
44164         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
44165         without explicit environment settings.
44167 2014-06-06  Roland McGrath  <roland@hack.frob.com>
44169         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
44170         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
44171         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
44172         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
44174 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
44176         * crypt/crypt-private.h [DOS]: Add some includes taken from the
44177         other files in the crypt directory.
44178         * crypt/crypt.c: Remove duplicate includes.
44179         * crypt/crypt-entry.c: Likewise.
44180         * crypt/crypt_util.c: Likewise.
44182 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
44184         * Makeconfig (run-program-env): New variable.
44185         (run-program-prefix-before-env): Likewise.
44186         (run-program-prefix-after-env): Likewise.
44187         (run-program-prefix): Define in terms of new variables.
44188         (built-program-cmd-before-env): New variable.
44189         (built-program-cmd-after-env): Likewise.
44190         (built-program-cmd): Define in terms of new variables.
44191         (test-program-prefix-before-env): New variable.
44192         (test-program-prefix-after-env): Likewise.
44193         (test-program-prefix): Define in terms of new variables.
44194         (test-program-cmd-before-env): New variable.
44195         (test-program-cmd-after-env): Likewise.
44196         (test-program-cmd): Define in terms of new variables.
44197         * Rules (make-test-out): Use $(run-program-env).
44198         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
44199         (help): Do not mention environment variables.  Mention
44200         --timeoutfactor option.
44201         (timeoutfactor): New variable.
44202         (blacklist_exports): Remove function.
44203         (exports): Remove variable.
44204         (command): Do not include ${exports}.
44205         * manual/install.texi (Configuring and compiling): Do not mention
44206         test wrappers preserving environment variables.  Mention that last
44207         assignment to a variable must take precedence.
44208         * INSTALL: Regenerated.
44209         * benchtests/Makefile (run-bench): Use $(run-program-env).
44210         * catgets/Makefile ($(objpfx)test1.cat): Use
44211         $(built-program-cmd-before-env), $(run-program-env) and
44212         $(built-program-cmd-after-env).
44213         ($(objpfx)test2.cat): Do not specify environment variables
44214         explicitly.
44215         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
44216         $(run-program-env) and $(built-program-cmd-after-env).
44217         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
44218         $(run-program-env) and $(test-program-cmd-after-env).
44219         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
44220         explicitly.
44221         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
44222         run_program_env and test_program_cmd_after_env arguments.
44223         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
44224         * elf/tst-pathopt.sh: Use run_program_env argument.
44225         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
44226         $(test-wrapper-env) and $(run-program-env).
44227         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
44228         run_program_env arguments.
44229         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
44230         * intl/Makefile ($(objpfx)tst-gettext.out): Use
44231         $(test-program-prefix-before-env), $(run-program-env) and
44232         $(test-program-prefix-after-env).
44233         ($(objpfx)tst-gettext2.out): Likewise.
44234         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
44235         run_program_env and test_program_prefix_after_env arguments.
44236         * intl/tst-gettext2.sh: Likewise.
44237         * intl/tst-gettext4.sh: Do not set environment variables
44238         explicitly.
44239         * intl/tst-gettext6.sh: Likewise.
44240         * intl/tst-translit.sh: Likewise.
44241         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
44242         $(test-program-prefix-before-env), $(run-program-env) and
44243         $(test-program-prefix-after-env).
44244         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
44245         run_program_env and test_program_prefix_after_env arguments.
44246         * math/Makefile (run-regen-ulps): Use $(run-program-env).
44247         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
44248         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
44249         explicitly with each use of ${test_wrapper_env}.
44250         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
44251         $(test-program-prefix-before-env), $(run-program-env) and
44252         $(test-program-prefix-after-env).
44253         * posix/tst-getconf.sh: Do not set environment variables
44254         explicitly.
44255         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
44256         run_program_env and test_program_prefix_after_env arguments.
44257         * stdio-common/tst-printf.sh: Do not set environment variables
44258         explicitly.
44259         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
44260         $(test-program-prefix-before-env), $(run-program-env) and
44261         $(test-program-prefix-after-env).
44262         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
44263         run_program_env and test_program_prefix_after_env arguments.
44264         Split $test calls into $test_pre and $test.
44265         * timezone/Makefile (build-testdata): Use
44266         $(built-program-cmd-before-env), $(run-program-env) and
44267         $(built-program-cmd-after-env).
44269 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44271         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
44272         strlen for non SHARED builds.
44274 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44276         * nptl/allocatestack.c (check_list): Inlined function...
44277         (__reclaim_stacks): ... here.
44279 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
44281         [BZ #15698]
44282         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
44283         memory overrun.
44285 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
44287         * Rules (make-test-out): Include
44288         LOCPATH=$(common-objpfx)localedata in default environment.
44289         * debug/Makefile (tst-chk1-ENV): Remove variable.
44290         (tst-chk2-ENV): Likewise.
44291         (tst-chk3-ENV): Likewise.
44292         (tst-chk4-ENV): Likewise.
44293         (tst-chk5-ENV): Likewise.
44294         (tst-chk6-ENV): Likewise.
44295         (tst-lfschk1-ENV): Likewise.
44296         (tst-lfschk2-ENV): Likewise.
44297         (tst-lfschk3-ENV): Likewise.
44298         (tst-lfschk4-ENV): Likewise.
44299         (tst-lfschk5-ENV): Likewise.
44300         (tst-lfschk6-ENV): Likewise.
44301         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
44302         (tst-iconv7-ENV): Likewise.
44303         * intl/Makefile (LOCPATH-ENV): Likewise.
44304         (tst-codeset-ENV): Likewise.
44305         (tst-gettext3-ENV): Likewise.
44306         (tst-gettext5-ENV): Likewise.
44307         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
44308         (tst-fopenloc-ENV): Likewise.
44309         (tst-fgetws-ENV): Remove variable.
44310         (tst-ungetwc1-ENV): Likewise.
44311         (tst-ungetwc2-ENV): Likewise.
44312         (bug-ungetwc2-ENV): Likewise.
44313         (tst-swscanf-ENV): Likewise.
44314         (bug-ftell-ENV): Likewise.
44315         (tst-fgetwc-ENV): Likewise.
44316         (tst-fseek-ENV): Likewise.
44317         (tst-ftell-partial-wide-ENV): Likewise.
44318         (tst-ftell-active-handler-ENV): Likewise.
44319         (tst-ftell-append-ENV): Likewise.
44320         * posix/Makefile (tst-fnmatch-ENV): Likewise.
44321         (tst-regexloc-ENV): Likewise.
44322         (bug-regex1-ENV): Likewise.
44323         (tst-regex-ENV): Likewise.
44324         (tst-regex2-ENV): Likewise.
44325         (bug-regex5-ENV): Likewise.
44326         (bug-regex6-ENV): Likewise.
44327         (bug-regex17-ENV): Likewise.
44328         (bug-regex18-ENV): Likewise.
44329         (bug-regex19-ENV): Likewise.
44330         (bug-regex20-ENV): Likewise.
44331         (bug-regex22-ENV): Likewise.
44332         (bug-regex23-ENV): Likewise.
44333         (bug-regex25-ENV): Likewise.
44334         (bug-regex26-ENV): Likewise.
44335         (bug-regex30-ENV): Likewise.
44336         (bug-regex32-ENV): Likewise.
44337         (bug-regex33-ENV): Likewise.
44338         (bug-regex34-ENV): Likewise.
44339         (bug-regex35-ENV): Likewise.
44340         (tst-rxspencer-ENV): Likewise.
44341         (tst-rxspencer-no-utf8-ENV): Likewise.
44342         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
44343         (tst-sscanf-ENV): Likewise.
44344         (tst-swprintf-ENV): Likewise.
44345         (tst-swscanf-ENV): Likewise.
44346         (test-vfprintf-ENV): Likewise.
44347         (scanf13-ENV): Likewise.
44348         (bug14-ENV): Likewise.
44349         (tst-grouping-ENV): Likewise.
44350         * stdlib/Makefile (tst-strtod-ENV): Likewise.
44351         (tst-strtod3-ENV): Likewise.
44352         (tst-strtod4-ENV): Likewise.
44353         (tst-strtod5-ENV): Likewise.
44354         (testmb2-ENV): Likewise./
44355         * string/Makefile (tst-strxfrm-ENV): Likewise.
44356         (tst-strxfrm2-ENV): Likewise.
44357         (bug-strcoll1-ENV): Likewise.
44358         (test-strcasecmp-ENV): Likewise.
44359         (test-strncasecmp-ENV): Likewise.
44360         * time/Makefile (tst-strptime-ENV): Likewise.
44361         (tst-ftime_l-ENV): Likewise.
44362         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
44363         (tst-mbrtowc-ENV): Likewise.
44364         (tst-wcrtomb-ENV): Likewise.
44365         (tst-mbrtowc2-ENV): Likewise.
44366         (tst-c16c32-1-ENV): Likewise.
44367         (tst-mbsnrtowcs-ENV): Likewise.
44369 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
44371         * manual/resource.texi (How to get information about the memory
44372         subsystem?): Fix typo.
44373         Reported by Peon de la Parra Ivan <peon@keba.com>
44375 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
44377         [BZ #16882]
44378         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
44379         (pthread_spin_lock): Branch out of spin loop to proper location.
44380         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
44381         (pthread_spin_lock): Likewise.
44383         * nptl/tst-spin4.c: New test.
44384         * nptl/Makefile (tests): Add tst-spin4.
44386 2014-06-03  Andreas Schwab  <schwab@suse.de>
44388         [BZ #15946]
44389         * resolv/res_send.c (send_dg): Reload file descriptor after
44390         calling reopen.
44392 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
44394         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
44396 2014-06-03  Richard Henderson  <rth@redhat.com>
44398         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
44399         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
44400         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
44401         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
44402         in the SAVE_PID block.
44403         (__libc_vfork): New alias.
44404         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
44406         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
44407         child in registers, not on the stack.  Remove RESET_PID conditionals.
44408         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
44410 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
44412         * sysdeps/aarch64/libm-test-ulps: Regenerate.
44414 2014-06-03  Wilco  <wdijkstr@arm.com>
44416         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
44417         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
44418         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
44419         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
44420         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
44421         Likewise.
44423 2014-06-03  Wilco  <wdijkstr@arm.com>
44425         * sysdeps/aarch64/fpu/math_private.h
44426         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
44427         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
44428         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
44429         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
44430         Fix declarations.
44432 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
44434         * crypt/crypt-private.h: Include ufc-crypt.h.
44435         (__b64_from_24bit): Declare extern.
44436         * crypt/crypt_util.c(__b64_from_24bit): New function.
44437         (b64t): New static const variable.
44438         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
44439         (b64t): Remove variable.
44440         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
44441         * crypt/sha256-crypt.c: Include crypt-private.h.
44442         (b64t): Remove variable.
44443         (__sha256_crypt_r): Remove b64_from_24bit and replace
44444         with __b64_from_24bit.
44445         * crypt/sha512-crypt.c: Likewise.
44447 2014-06-02  Roland McGrath  <roland@hack.frob.com>
44449         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
44450         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
44451         Label the code __libc_vfork rather than __vfork.
44452         [!NOT_IN_libc] (vfork): Define as weak alias.
44453         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
44454         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
44455         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
44457 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44459         * malloc/malloc.c (malloc_info): Fix format specifier for
44460         n_mmaps.
44462 2014-06-02  Wilco  <wdijkstr@arm.com>
44464         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
44465         FPCR write.
44467 2014-06-02  Wilco  <wdijkstr@arm.com>
44469         [BZ #17009]
44470         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
44471         Rewrite to reduce FPCR/FPSR accesses.
44473 2014-06-01  David S. Miller  <davem@davemloft.net>
44475         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44477 2014-05-31  David S. Miller  <davem@davemloft.net>
44479         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
44480         to occur in round to nearest mode when |x| >= 2.0
44482 2014-05-30  Richard Henderson  <rth@twiddle.net>
44484         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
44485         (PSEUDO_RET_NOERRNO): Remove.
44486         (ret): Don't redefine.
44487         (ret_NOERRNO): Define in terms of ret.
44488         (ret_ERRVAL): Likewise.
44490         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
44491         use of PSEUDO_RET; perform the error check directly.
44493 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
44495         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
44496         with __int128_t.
44498 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44500         * malloc/malloc (malloc_info): Fix formatting.
44502 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44503             Roland McGrath  <roland@hack.frob.com>
44505         * malloc/malloc (malloc_info): Also print mmapped statistics.
44507 2014-05-30  Roland McGrath  <roland@hack.frob.com>
44509         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
44510         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
44512 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
44514         * malloc/malloc.c (malloc_info): Inline mi_arena.
44516 2014-05-29  Richard Henderson  <rth@twiddle.net>
44518         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
44519         Remove comma before expanding ASM_ARGS_##nr.
44520         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
44521         Make _x0 a strict output; make _x8 a strict input; adjust expansion
44522         of ASM_ARGS_##nr.
44523         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
44524         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
44525         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
44526         (ASM_ARGS_1): Add leading comma.
44528         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
44529         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
44530         to __errno_location.
44531         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
44532         Remove the expected plt for __errno_location.
44534         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
44535         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
44536         call to __read_tp.
44538         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
44539         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
44540         it and break it down.
44541         (DOCARGS_0, DOCARGS_1): Do nothing.
44542         (DOCARGS_2): Update to store into the new stack frame.
44543         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
44544         (UNDOCARGS_1): Update to restore from the new stack frame.
44545         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
44546         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
44548         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
44549         (SINGLE_THREAD_P): New parameter for result regno.
44550         (PSEUDO): Update to match; use cbz instead of beq.
44552         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
44553         Use ENTRY to define the _nocancel entry point.  Share the syscall
44554         and syscall error check paths with the cancel path.
44555         (PSEUDO_END): New.
44557         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
44558         whitespace; tabs before and after asm mnemonics.
44560 2014-05-29  Eric Wong  <normalperson@yhbt.net>
44562         [BZ #15132]
44563         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44564         Call fstat64 or stat64 internally, depending on arguments passed.
44565         Replace stat buffer argument with file descriptor argument.
44566         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
44567         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
44568         Pass fd to __internal_statvfs instead of calling fstat64.
44569         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
44570         Pass fd to __internal_statvfs64 instead of calling fstat64.
44571         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
44572         Pass -1 to __internal_statvfs instead of calling stat64.
44573         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
44574         Pass -1 to __internal_statvfs64 instead of calling stat64.
44576 2014-05-28  Roland McGrath  <roland@hack.frob.com>
44578         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
44579         that was previously under [RESET_PID].
44580         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
44582         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
44583         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
44585 2014-05-27  Roland McGrath  <roland@hack.frob.com>
44587         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
44589         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
44590         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
44592 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
44594         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
44596 2014-05-27  Andreas Schwab  <schwab@suse.de>
44598         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
44599         TLS_INIT_TP macro.
44600         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
44601         * elf/rtld.c (init_tls, dl_main): Likewise.
44602         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
44603         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
44604         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
44605         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
44606         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
44607         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
44608         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
44609         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
44610         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
44611         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
44612         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
44613         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
44614         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
44615         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
44616         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
44617         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
44618         * sysdeps/generic/tls.h: Update description.
44620 2014-05-27  Will Newton  <will.newton@linaro.org>
44622         [BZ #16990]
44623         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
44624         and restore r2 rather than just restoring.
44626 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
44628         [BZ #16724]
44629         * libio/tst-ftell-append.c: New test case.
44630         * libio/Makefile (tests): Add test case.
44631         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
44632         append mode.
44633         * libio/wfileops.c (do_ftell_wide): Likewise.
44635 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44637         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44639         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
44640         ...
44641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
44642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
44643         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
44644         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
44645         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
44646         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
44647         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
44648         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
44649         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
44650         Moved ...
44651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
44652         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
44653         Moved ...
44654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
44655         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
44656         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
44657         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
44658         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
44659         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
44660         ...
44661         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
44662         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
44663         Moved ...
44664         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
44665         here.
44666         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
44667         ...
44668         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
44669         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
44670         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
44672         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
44673         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
44674         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
44675         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
44677         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
44678         merge into ...
44679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
44680         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
44681         ...
44682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
44683         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
44684         ...
44685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
44686         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
44687         Moved ...
44688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
44689         here.
44690         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
44691         Moved ...
44692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
44693         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
44694         Moved ...
44695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
44697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
44698         conditional [RESET_PID].
44699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
44700         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
44701         removed.
44702         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
44703         removed.
44705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
44706         <tcb-offsets.h>.
44707         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
44708         (__libc_vfork): New strong alias.
44709         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
44710         removed.
44711         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
44712         Removed.
44714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
44715         <tcb-offsets.h>.
44716         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
44717         (__libc_vfork): New strong alias.
44718         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
44719         removed.
44720         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
44721         removed.
44723 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
44725         * malloc/malloc.c (mi_arena): New function.
44726         (malloc_info): Remove nested function mi_arena. Call non-nosted
44727         function mi_arena.
44729 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44731         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
44732         by insrwi.
44733         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
44734         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
44735         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
44736         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
44737         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
44738         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
44739         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
44741 2014-05-26  Andreas Schwab  <schwab@suse.de>
44743         [BZ #16984]
44744         * locale/programs/repertoire.c (repertoire_read): Add slash
44745         between I18NPATH element and file name.
44746         * locale/programs/locfile.c (locfile_read): Likewise.
44748 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
44750         * nptl/pthread_mutexattr_settype.c
44751         (__pthread_mutexattr_settype):
44752         Disable lock elision for PTHREAD_MUTEX_NORMAL.
44754 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
44756         * nptl/tst-mutex5 (do_test):
44757         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
44759 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44761         * benchtests/README: Document 'init' directive.
44762         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
44763         BENCH_INIT.
44764         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
44765         (parse_file): Recognize 'init' directive.
44767 2014-05-26  Kyle McMartin  <kyle@redhat.com>
44769         [BZ #16796]
44770         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
44771         alignment of struct pthread.
44773 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44775         [BZ #16878]
44776         * nscd/netgroupcache.c (addgetnetgrentX): Look for
44777         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
44778         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
44779         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
44781 2014-05-25  Richard Henderson  <rth@twiddle.net>
44783         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
44784         (SINGLE_THREAD_P_PIC): Remove.
44785         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
44786         (SINGLE_THREAD_P_PIC): Remove.
44788         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
44789         branch to syscall error ...
44790         (PSEUDO): ... here.
44791         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
44792         from __local_syscall_error to .Lsyscall_error.
44793         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
44794         (SYSCALL_ERROR): Update label name.
44796         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
44797         Do not use DOARGS/UNDOARGS.
44798         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
44799         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
44800         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
44801         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
44802         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
44804         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
44805         block comment.
44807         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
44808         define if !NOT_IN_libc.
44809         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
44810         define with non-default symbol versions.
44812 2014-05-23  Richard Henderson  <rth@twiddle.net>
44814         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
44815         (vfork, __vfork): Define via compat_symbol.
44817         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
44818         [!HAVE_IFUNC] (vfork_compat): Remove.
44819         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
44821 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
44823         [BZ #16978]
44824         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
44825         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
44826         variable.
44828 2014-05-23  Richard Henderson  <rth@twiddle.net>
44830         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
44831         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
44832         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
44833         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
44835         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
44836         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
44837         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
44838         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
44839         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
44840         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
44841         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
44842         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
44843         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
44844         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
44845         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
44846         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
44847         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
44848         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
44849         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
44850         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
44851         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
44852         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
44853         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
44854         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
44855         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
44856         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
44857         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
44858         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
44859         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
44860         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
44861         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
44862         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
44863         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
44864         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
44865         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
44866         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
44867         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
44868         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
44869         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
44870         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
44871         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
44872         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
44873         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
44874         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
44875         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
44876         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
44877         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
44878         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
44879         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
44880         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
44881         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
44882         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
44883         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
44884         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
44885         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
44886         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
44887         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
44888         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
44889         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
44890         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
44892         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
44893         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
44894         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
44895         before exiting on error.
44896         (__libc_vfork): New strong alias.
44897         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
44898         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
44900         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
44901         that was previously under [RESET_PID].
44902         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
44904         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
44906 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
44908         [BZ #16977]
44909         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
44910         value when x - 1 is zero.
44911         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
44912         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
44913         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
44914         0.0L for an argument of 1.0L.
44915         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
44916         Likewise.
44917         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
44918         value when x - 1 is zero.
44919         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
44920         * sysdeps/i386/fpu/libm-test-ulps: Update.
44921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44923 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
44925         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
44926         alphasort and versionsort.
44928 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44930         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
44931         macro.
44932         [copysignf]: Likewise.
44934 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
44936         * crypt/md5-crypt.c: Fix formatting.
44938 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
44940         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
44941         (b64_from_24bit): New function.
44943 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44945         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
44946         libc_hidden_builtin_def to ifunc.
44947         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
44948         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
44950 2014-05-21  Roland McGrath  <roland@hack.frob.com>
44952         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
44953         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
44955 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
44957         * nscd/Depend (linuxthreads): Remove.
44958         (nptl): Add.
44959         * resolv/Depend (linuxthreads): Remove.
44960         * rt/Depend (linuxthreads): Remove.
44962         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
44963         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
44964         $(common-objpfx)elf/.
44965         (link-libc-before-gnulib): Likewise.
44966         (elfobjdir): Remove variable.
44967         * Makefile (install): Use $(elf-objpfx) instead of
44968         $(common-objpfx)elf/.
44969         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
44970         $(elfobjdir)/.
44971         (link-libc-deps): Likewise.
44972         ($(common-objpfx)libc.so): Likewise.
44973         ($(common-objpfx)linkobj/libc.so): Likewise.
44974         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
44975         instead of $(common-objpfx)elf/.
44976         (symbolic-link-list): Likewise.
44977         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
44978         [$(cross-compiling) = no]: Likewise.
44979         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
44980         $(elfobjdir)/.
44981         (static-gnulib-arch): Likewise.
44982         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
44983         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
44984         $(common-objpfx)elf/.
44986 2014-05-21  Richard Henderson  <rth@redhat.com>
44988         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
44989         (SINGLE_THREAD_P): Use the correct width load.  Fold
44990         into the ldr offset.
44992         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
44993         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
44995 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
44997         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
44998         (libgcc_s_resume): Use __attribute_used__.
44999         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
45000         Likewise.
45002 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45004         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
45005         optimization when used with float constants.
45007         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45009 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
45011         [BZ #16915]
45012         * locale/nl_langinfo_l.c: Make direct reference to every
45013         _nl_current_CATEGORY symbol.
45014         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
45015         (tests-static): Add tst-langinfo-static.
45016         (tests-special): Add tst-langinfo-static.out.
45017         ($(objpfx)tst-langinfo.out): Redirect output.
45018         ($(objpfx)tst-langinfo-static.out): New.
45019         * localedata/tst-langinfo.sh: Send output to stdout.
45020         * localedata/tst-langinfo-static.c: New file.
45022         [BZ #16965]
45023         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
45024         when the shift amount is modulo the limb size.
45026 2014-05-20  Richard Henderson  <rth@redhat.com>
45028         [BZ #16967]
45029         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
45030         Change type of sa_flags from unsigned int to int.
45032         [BZ #16966]
45033         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
45035         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
45037 2014-05-20  Will Newton  <will.newton@linaro.org>
45039         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
45040         Test the return value of the system call in the nocancel case.
45042 2014-05-20  Will Newton  <will.newton@linaro.org>
45043             Yvan Roux  <yvan.roux@linaro.org>
45045         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
45046         #include of asm/ptrace.h.
45047         (PTRACE_GET_THREAD_AREA): Remove #undef.
45048         (PTRACE_GETHBPREGS): Likewise.
45049         (PTRACE_SETHBPREGS): Likewise.
45050         (struct user_regs_struct): New structure.
45051         (struct user_fpsimd_struct): New structure.
45052         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
45053         #include of asm/ptrace.h and second #include of sys/user.h.
45054         (PTRACE_GET_THREAD_AREA): Remove #undef.
45055         (PTRACE_GETHBPREGS): Likewise.
45056         (PTRACE_SETHBPREGS): Likewise.
45057         (ELF_NGREG): Use new struct user_regs_struct.
45058         (elf_fpregset_t): Use new struct user_fpsimd_struct.
45060 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45062         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
45063         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
45065 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
45067         [BZ #16958]
45068         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
45069         membar to avoid block loads/stores to overlap previous stores.
45071 2014-05-17  Richard Henderson  <rth@redhat.com>
45073         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
45074         Create the __##syscall_name##_nocancel entry point.
45075         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
45076         Remove; let the sysdep-cancel.h code create it.
45078 2014-05-17  David S. Miller  <davem@davemloft.net>
45080         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
45081         Protect with __USE_GNU.
45082         (TIOCSET_TEMPT): Likewise.
45083         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
45084         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
45085         these are already provided in bits/ioctl-types.h
45087 2014-05-16  Roland McGrath  <roland@hack.frob.com>
45089         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
45090         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
45092         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
45093         Use wait4 regardless of [__NR_waitpid].
45095 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
45097         PR libgcc/60166
45098         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
45099         (_FP_NANSIGN_Q): Set the quiet bit.
45101 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
45103         * benchtests/Makefile
45104         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
45105         not $(common-objpfx)math/libm.so.
45106         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
45107         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
45108         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
45109         $(common-objpfx)dlfcn/libdl.so.
45110         ($(objpfx)tst-audit8): Depend on $(libm), not
45111         $(common-objpfx)math/libm.so.
45112         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
45113         not $(common-objpfx)dlfcn/libdl.so.
45114         * math/Makefile
45115         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
45116         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
45117         [$(build-shared) = yes].
45118         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
45119         $(common-objpfx)nptl/libpthread.so.
45120         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
45121         $(common-objpfx)math/libm.so$(libm.so-version) or
45122         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
45123         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
45124         $(common-objpfx)dlfcn/libdl.so.
45125         * setjmp/Makefile (link-libm): Remove variable.
45126         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
45127         * stdio-common/Makefile (link-libm): Remove variable.
45128         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
45129         * stdlib/Makefile (link-libm): Remove variable.
45130         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
45131         ($(objpfx)tst-strtod-round): Likewise.
45132         ($(objpfx)tst-tininess): Likewise.
45133         ($(objpfx)tst-strtod-underflow): Likewise.
45134         ($(objpfx)tst-strtod6): Likewise.
45135         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
45136         $(libdl), not $(common-objpfx)nptl/libpthread.so and
45137         $(common-objpfx)dlfcn/libdl.so.
45139 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45141         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
45142         BSD terminal modes definitions.
45144 2014-05-16  Roland McGrath  <roland@hack.frob.com>
45146         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
45147         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
45149         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
45150         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
45151         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
45152         Don't do #include_next.
45153         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
45154         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
45155         Don't do #include_next.
45156         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
45157         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
45158         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
45159         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
45161 2014-05-16  Allan McRae  <allan@archlinux.org>
45163         * po/sv.po: Update Swedish translation from translation project.
45165         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
45166         in sed expression.
45168 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
45170         [BZ #16917]
45171         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
45172         errno if the TIOCGPTN ioctl fails with an error different than
45173         EINVAL.
45174         * login/tst-ptsname.c: New file.
45175         * login/Makefile (tests): Add tst-ptsname.
45177         [BZ #16943]
45178         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
45179         and prlimit64.
45181 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45183         [BZ #16849]
45184         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
45185         herrno to return EAI_AGAIN.
45187 2014-05-14  Roland McGrath  <roland@hack.frob.com>
45189         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
45190         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
45191         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
45192         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
45193         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
45194         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
45195         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
45196         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
45197         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
45198         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
45199         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
45200         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
45201         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
45202         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
45203         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
45204         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
45205         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
45206         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
45207         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
45208         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
45209         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
45210         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
45211         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
45212         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
45213         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
45214         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
45215         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
45216         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
45217         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
45218         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
45219         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
45220         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
45221         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
45222         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
45223         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
45224         Moved ...
45225         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
45226         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
45227         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
45228         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
45229         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
45230         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
45231         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
45232         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
45233         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
45234         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
45235         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
45236         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
45237         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
45238         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
45239         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
45240         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
45241         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
45242         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
45243         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
45244         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
45245         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
45246         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
45247         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
45248         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
45249         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
45250         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
45251         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
45252         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
45253         Moved ...
45254         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
45255         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
45256         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
45257         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
45258         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
45259         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
45260         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
45261         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
45262         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
45263         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
45264         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
45265         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
45266         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
45267         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
45268         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
45269         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
45270         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
45271         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
45272         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
45273         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
45274         Moved ...
45275         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
45276         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
45277         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
45279         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
45280         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
45281         (libpthread-sysdep_routines): Add elision-related stuff here instead.
45282         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
45283         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
45284         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
45285         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
45286         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
45287         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
45288         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
45289         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
45290         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
45291         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
45292         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
45293         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
45294         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
45295         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
45296         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
45297         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
45298         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
45299         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
45300         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
45301         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
45302         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
45303         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
45304         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
45305         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
45306         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
45307         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
45308         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
45309         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
45311         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
45312         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
45314         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
45315         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
45316         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
45317         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
45318         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
45319         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
45320         Moved ...
45321         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
45322         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
45323         Moved ...
45324         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
45325         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
45326         Moved ...
45327         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
45328         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
45329         Moved ...
45330         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
45331         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
45332         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
45333         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
45334         Moved ...
45335         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
45336         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
45337         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
45338         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
45339         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
45340         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
45341         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
45342         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
45343         Moved ...
45344         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
45345         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
45346         Moved ...
45347         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
45348         ... here.
45349         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
45350         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
45351         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
45352         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
45353         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
45354         Moved ...
45355         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
45356         ... here.
45357         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
45358         Moved ...
45359         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
45360         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
45361         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
45362         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
45363         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
45364         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
45365         Moved ...
45366         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
45367         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
45368         Moved ...
45369         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
45370         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
45371         Moved ...
45372         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
45373         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
45374         Moved ...
45375         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
45376         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
45377         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
45378         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
45379         Moved ...
45380         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
45381         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
45382         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
45383         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
45384         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
45385         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
45386         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
45387         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
45388         Moved ...
45389         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
45390         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
45391         Moved ...
45392         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
45393         ... here.
45394         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
45395         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
45396         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
45397         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
45398         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
45399         Moved ...
45400         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
45401         ... here.
45402         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
45403         Moved ...
45404         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
45405         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
45406         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
45407         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
45408         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
45409         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
45410         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
45411         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
45412         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
45413         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
45414         Moved ...
45415         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
45416         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
45417         Moved ...
45418         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
45419         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
45420         Moved ...
45421         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
45422         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
45423         Moved ...
45424         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
45425         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
45426         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
45427         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
45428         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
45429         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
45430         Moved ...
45431         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
45432         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
45433         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
45434         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
45435         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
45436         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
45437         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
45438         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
45439         Moved ...
45440         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
45441         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
45442         Moved ...
45443         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
45444         ... here.
45445         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
45446         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
45447         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
45448         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
45449         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
45450         Moved ...
45451         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
45452         ... here.
45453         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
45454         Moved ...
45455         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
45456         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
45457         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
45458         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
45459         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
45460         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
45461         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
45462         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
45463         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
45464         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
45465         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
45467         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
45468         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
45470         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
45471         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
45473         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
45474         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
45475         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
45476         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
45477         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
45478         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
45479         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
45480         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
45481         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
45482         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
45483         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
45484         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
45485         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
45486         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
45487         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
45488         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
45489         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
45490         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
45491         Moved ...
45492         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
45493         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
45494         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
45495         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
45496         Moved ...
45497         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
45498         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
45499         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
45500         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
45501         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
45502         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
45503         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
45504         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
45505         Moved ...
45506         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
45507         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
45508         Moved ...
45509         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
45510         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
45511         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
45512         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
45513         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
45514         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
45515         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
45516         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
45517         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
45518         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
45519         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
45520         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
45521         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
45522         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
45523         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
45524         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
45525         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
45527         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
45528         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
45529         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
45530         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
45531         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
45533         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
45534         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
45535         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
45536         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
45537         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
45538         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
45539         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
45540         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
45541         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
45542         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
45544         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
45545         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
45547         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
45548         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
45549         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
45550         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
45551         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
45552         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
45553         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
45554         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
45555         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
45556         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
45557         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
45558         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
45559         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
45560         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
45561         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
45562         Update #include.
45563         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
45564         Likewise.
45565         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
45566         Likewise.
45567         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
45568         Likewise.
45569         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
45570         Likewise.
45571         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
45572         Likewise.
45573         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
45574         Likewise.
45575         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
45576         Likewise.
45577         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
45578         Likewise.
45579         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
45580         Likewise.
45581         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
45582         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
45583         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
45584         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
45585         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
45586         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
45587         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
45588         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
45589         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
45590         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
45591         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
45592         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
45593         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
45594         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
45595         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
45597         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
45598         that was previously under [RESET_PID].
45599         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
45600         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
45601         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
45603         * sysdeps/i386/nptl/Implies: New file.
45604         * sysdeps/x86_64/nptl/Implies: New file.
45605         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
45606         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
45607         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
45608         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
45610         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
45611         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
45612         (__libc_vfork): New strong alias.
45613         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
45614         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
45616         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
45617         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
45618         (__libc_vfork): New strong alias.
45619         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
45620         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
45622         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
45623         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
45624         (__libc_vfork): New strong alias.
45625         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
45626         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
45627         * nptl/pt-vfork.c: New file.
45628         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
45629         (libpthread: GLIBC_2.20): New version set (empty).
45631 2014-05-14  Will Newton  <will.newton@linaro.org>
45633         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
45634         rather than #if.
45636 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
45638         [BZ #16564]
45639         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
45640         arguments with exponent 65 or above.
45641         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
45642         arguments 0x1p113L or above.
45643         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
45644         to arguments 0x1p107L or above.
45645         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
45646         positive arguments with exponent 65 or above.
45647         * math/auto-libm-test-in: Add more tests of log1p.
45648         * math/auto-libm-test-out: Regenerated.
45650         [BZ #16928]
45651         * math/s_cacos.c (__cacos): Ensure zero real part of result from
45652         non-finite arguments is +0.
45653         * math/s_cacosf.c (__cacosf): Likewise.
45654         * math/s_cacosl.c (__cacosl): Likewise.
45655         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
45656         * sysdeps/i386/fpu/libm-test-ulps: Update.
45657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45659         [BZ #16927]
45660         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
45661         value.
45662         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
45663         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
45664         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
45665         for explicit high bit of mantissa when testing for argument equal
45666         to 1.
45667         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
45668         * sysdeps/i386/fpu/libm-test-ulps: Update.
45669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45671         [BZ #16516]
45672         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
45673         (__erf): Scale by 16 instead of 8 in potentially underflowing
45674         case.  Ensure exception if result actually underflows.
45675         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
45676         (__erff): Scale by 16 instead of 8 in potentially underflowing
45677         case.  Ensure exception if result actually underflows.
45678         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
45679         (efx8): Remove variable.
45680         (__erfl): Scale by 16 instead of 8 in potentially underflowing
45681         case.  Ensure exception if result actually underflows.
45682         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
45683         (efx8): Remove variable.
45684         (__erfl): Scale by 16 instead of 8 in potentially underflowing
45685         case.  Ensure exception if result actually underflows.
45686         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
45687         (efx8): Remove variable.
45688         (__erfl): Scale by 16 instead of 8 in potentially underflowing
45689         case.  Ensure exception if result actually underflows.
45690         * math/auto-libm-test-in: Add more tests of erf.
45691         * math/auto-libm-test-out: Regenerated.
45693 2014-05-14  Andreas Schwab  <schwab@suse.de>
45695         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
45696         Remove code conditionalized on USE___THREAD.
45698         * config.h.in (HAVE_PT_CHOWN): Define as 0.
45699         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
45700         not definedness.
45702 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
45704         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
45705         Define unconditionally.
45706         (__ASSUME_O_CLOEXEC): Likewise.
45707         (__ASSUME_SOCK_CLOEXEC): Likewise.
45708         (__ASSUME_IN_NONBLOCK): Likewise.
45709         (__ASSUME_PIPE2): Likewise.
45710         (__ASSUME_EVENTFD2): Likewise.
45711         (__ASSUME_SIGNALFD4): Likewise.
45712         (__ASSUME_DUP3): Likewise.
45713         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45714         (__ASSUME_DUP3): Do not define.
45715         (__ASSUME_EVENTFD2): Likewise.
45716         (__ASSUME_IN_NONBLOCK): Likewise.
45717         (__ASSUME_O_CLOEXEC): Likewise.
45718         (__ASSUME_PIPE2): Likewise.
45719         (__ASSUME_SIGNALFD4): Likewise.
45720         (__ASSUME_SOCK_CLOEXEC): Likewise.
45721         (__ASSUME_UTIMES): Undefine.
45722         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45723         (__ASSUME_UTIMES): Do not define.
45724         (__ASSUME_O_CLOEXEC): Likewise.
45725         (__ASSUME_SOCK_CLOEXEC): Likewise.
45726         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
45727         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
45728         0x020621].
45729         (__ASSUME_PIPE2): Likewise.
45730         (__ASSUME_EVENTFD2): Likewise.
45731         (__ASSUME_SIGNALFD4): Likewise.
45732         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
45733         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
45734         Do not define.
45735         (__ASSUME_EVENTFD2): Likewise.
45736         (__ASSUME_SIGNALFD4): Likewise.
45737         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
45738         (__ASSUME_32BITUIDS): Likewise.
45739         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
45740         (__ASSUME_IPC64): Likewise.
45741         (__ASSUME_ST_INO_64_BIT): Likewise.
45742         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
45743         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
45744         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45745         (__ASSUME_UTIMES): Do not define.
45746         (__ASSUME_PSELECT): Likewise.
45747         (__ASSUME_PPOLL): Likewise.
45748         (__ASSUME_O_CLOEXEC): Likewise.
45749         (__ASSUME_SOCK_CLOEXEC): Likewise.
45750         (__ASSUME_IN_NONBLOCK): Likewise.
45751         (__ASSUME_PIPE2): Likewise.
45752         (__ASSUME_EVENTFD2): Likewise.
45753         (__ASSUME_SIGNALFD4): Likewise.
45754         (__ASSUME_DUP3): Likewise.
45755         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
45756         (__ASSUME_UTIMES): Likewise.
45757         (__ASSUME_O_CLOEXEC): Likewise.
45758         (__ASSUME_SOCK_CLOEXEC): Likewise.
45759         (__ASSUME_IN_NONBLOCK): Likewise.
45760         (__ASSUME_PIPE2): Likewise.
45761         (__ASSUME_EVENTFD2): Likewise.
45762         (__ASSUME_SIGNALFD4): Likewise.
45763         (__ASSUME_DUP3): Likewise.
45764         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45765         (__ASSUME_UTIMES): Likewise.
45766         (__ASSUME_O_CLOEXEC): Likewise.
45767         (__ASSUME_SOCK_CLOEXEC): Likewise.
45768         (__ASSUME_IN_NONBLOCK): Likewise.
45769         (__ASSUME_PIPE2): Likewise.
45770         (__ASSUME_EVENTFD2): Likewise.
45771         (__ASSUME_SIGNALFD4): Likewise.
45772         (__ASSUME_DUP3): Likewise.
45773         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
45774         Likewise.
45775         (__ASSUME_UTIMES): Likewise.
45776         (__ASSUME_EVENTFD2): Likewise.
45777         (__ASSUME_SIGNALFD4): Likewise.
45778         * sysdeps/unix/sysv/linux/tile/kernel-features.h
45779         (__ASSUME_O_CLOEXEC): Likewise.
45780         (__ASSUME_SOCK_CLOEXEC): Likewise.
45781         (__ASSUME_IN_NONBLOCK): Likewise.
45782         (__ASSUME_PIPE2): Likewise.
45783         (__ASSUME_EVENTFD2): Likewise.
45784         (__ASSUME_SIGNALFD4): Likewise.
45785         (__ASSUME_DUP3): Likewise.
45786         (__ASSUME_UTIMES): Undefine.
45788         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
45789         feclearexcept.  Remove symbol versioning code.
45790         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
45791         symbol versioning code.
45792         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
45793         symbol versioning code.
45794         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
45795         feupdateenv.  Remove symbol versioning code.
45796         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
45797         fegetexceptflag.  Remove symbol versioning code.
45798         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
45799         fesetexceptflag.  Remove symbol versioning code.
45800         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
45801         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
45802         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
45803         (__posix_fadvise64_l32): Remove prototype.
45804         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
45805         code.
45807 2014-05-13  Roland McGrath  <roland@hack.frob.com>
45809         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
45810         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
45811         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
45812         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
45814 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
45816         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
45817         current working directory
45819 2014-05-13  Roland McGrath  <roland@hack.frob.com>
45821         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
45822         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
45823         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
45824         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
45825         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
45826         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
45827         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
45828         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
45829         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
45830         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
45831         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
45832         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
45833         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
45834         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
45835         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
45836         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
45837         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
45838         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
45839         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
45840         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
45841         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
45842         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
45843         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
45844         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
45845         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
45846         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
45847         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
45848         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
45849         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
45850         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
45851         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
45852         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
45853         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
45854         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
45855         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
45856         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
45857         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
45858         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
45859         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
45860         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
45861         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
45862         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
45864         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
45865         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
45867         * sysdeps/unix/sysv/linux/arm/Makefile
45868         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
45869         Add rt-aeabi_unwind_cpp_pr1.
45870         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
45871         Add nptl-aeabi_unwind_cpp_pr1.
45872         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
45873         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
45874         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
45875         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
45876         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
45877         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
45879         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
45880         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
45881         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
45882         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
45884         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
45885         Deconditionalize the code that was previously under [RESET_PID].
45886         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
45888         * sysdeps/generic/exit-thread.h: New file.
45889         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
45890         * include/unistd.h (__exit_thread): Remove declaration.
45891         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
45892         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
45893         * csu/libc-start.c: Include <exit-thread.h>.
45894         (LIBC_START_MAIN): Pass no argument to __exit_thread.
45895         * nptl/pthread_create.c: Include <exit-thread.h>.
45896         (start_thread): Call __exit_thread in place of __exit_thread_inline.
45897         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
45898         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
45899         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
45900         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
45901         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
45902         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
45903         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
45904         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
45905         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
45906         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
45907         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
45908         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
45909         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
45910         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
45911         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
45912         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
45914 2014-05-13  Andreas Schwab  <schwab@suse.de>
45916         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
45918 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
45920         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
45921         (__ASSUME_UTIMES): Do not condition on kernel version.
45922         (__ASSUME_PSELECT): Define unconditionally.
45923         (__ASSUME_PPOLL): Likewise.
45924         (__ASSUME_ATFCTS): Likewise.
45925         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
45926         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
45927         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
45928         (__ASSUME_UTIMENSAT): Define unconditionally.
45929         (__ASSUME_PRIVATE_FUTEX): Likewise.
45930         (__ASSUME_FALLOCATE): Likewise.
45931         (__ASSUME_O_CLOEXEC): Likewise.
45932         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
45933         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
45934         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
45935         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
45936         (__ASSUME_IN_NONBLOCK): Likewise.
45937         (__ASSUME_PIPE2): Likewise.
45938         (__ASSUME_EVENTFD2): Likewise.
45939         (__ASSUME_SIGNALFD4): Likewise.
45940         (__ASSUME_DUP3): Likewise.
45941         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
45942         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
45943         (__ASSUME_AT_RANDOM): Likewise.
45944         (__ASSUME_PREADV): Likewise.
45945         (__ASSUME_PWRITEV): Likewise.
45946         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
45947         (__ASSUME_F_GETOWN_EX): Define unconditionally.
45948         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
45949         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
45950         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
45951         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45952         (__ASSUME_O_CLOEXEC): Define unconditionally.
45953         (__ASSUME_PSELECT): Do not undefine conditionally.
45954         (__ASSUME_PPOLL): Likewise.
45955         (__ASSUME_ATFCTS): Likewise.
45956         (__ASSUME_SET_ROBUST_LIST): Likewise.
45957         (__ASSUME_UTIMENSAT): Likewise.
45958         (__ASSUME_FDATASYNC): Define unconditionally.
45959         * sysdeps/unix/sysv/linux/arm/kernel-features.h
45960         (__ASSUME_SIGFRAME_V2): Likewise.
45961         )__ASSUME_EVENTFD2): Likewise.
45962         (__ASSUME_SIGNALFD4): Likewise.
45963         (__ASSUME_PSELECT): Do not undefine conditionally.
45964         (__ASSUME_PPOLL): Likewise.
45965         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45966         (__ASSUME_PSELECT): Define unconditionally.
45967         (__ASSUME_PPOLL): Likewise.
45968         (__ASSUME_O_CLOEXEC): Likewise.
45969         (__ASSUME_SOCK_CLOEXEC): Likewise.
45970         (__ASSUME_IN_NONBLOCK): Likewise.
45971         (__ASSUME_PIPE2): Likewise.
45972         (__ASSUME_EVENTFD2): Likewise.
45973         (__ASSUME_SIGNALFD4): Likewise.
45974         (__ASSUME_DUP3): Likewise.
45975         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
45976         (__ASSUME_O_CLOEXEC): Likewise.
45977         (__ASSUME_SOCK_CLOEXEC): Likewise.
45978         (__ASSUME_IN_NONBLOCK): Likewise.
45979         (__ASSUME_PIPE2): Likewise.
45980         (__ASSUME_EVENTFD2): Likewise.
45981         (__ASSUME_SIGNALFD4): Likewise.
45982         (__ASSUME_DUP3): Likewise.
45983         * sysdeps/unix/sysv/linux/mips/kernel-features.h
45984         (__ASSUME_EVENTFD2): Likewise.
45985         (__ASSUME_SIGNALFD4): Likewise.
45986         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
45988 2014-05-12  Andreas Schwab  <schwab@suse.de>
45990         [BZ #16932]
45991         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
45992         (_nss_nis_gethostbyname4_r): Return error if item length is larger
45993         than maximum RPC packet size.
45994         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
45995         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
45996         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
45997         (_nss_nis_getservbyport_r): Likewise.
45999 2014-05-12  Will Newton  <will.newton@linaro.org>
46001         * malloc/Makefile (tests): Add tst-mallopt.
46002         * malloc/tst-mallopt.c: New file.
46004 2014-05-09  Roland McGrath  <roland@hack.frob.com>
46006         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
46007         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
46009 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46011         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
46012         (tst-tlsmod6.so): Likewise.
46014 2014-05-09  Roland McGrath  <roland@hack.frob.com>
46016         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
46018 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
46020         [BZ #16064]
46021         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
46022         and <dl-procinfo.h>.
46023         (__fegetenv): Save SSE state in envp->__eip if supported.
46024         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
46025         envp->__eip if supported.
46026         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
46027         and <dl-procinfo.h>.
46028         (__fesetenv): Always set __eip, __cs_selector, __opcode,
46029         __data_offset and __data_selector in environment to 0.  Set SSE
46030         state if supported.
46031         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
46032         test-fenv-sse.
46033         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
46034         -mfpmath=sse.
46035         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
46037 2014-05-09  Will Newton  <will.newton@linaro.org>
46039         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
46040         and libc_relro_required for ARM.
46041         * sysdeps/arm/preconfigure: Regenerate.
46043 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
46044             Stefan Liebler  <stli@linux.vnet.ibm.com>
46046         * config.make.in (enable-lock-elision): New Makefile variable.
46047         * configure.ac: Likewise.
46048         * configure: Regenerate.
46049         * sysdeps/s390/configure.ac:
46050         Add check for gcc transactions support.
46051         * sysdeps/s390/configure: Regenerate.
46052         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
46053         Build elision files if enabled.
46054         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
46055         Add lock elision support for s390.
46056         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
46057         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
46058         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
46059         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
46060         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
46061         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
46062         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
46063         Likewise.
46064         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
46065         Likewise.
46066         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
46067         Likewise.
46068         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
46069         Likewise.
46070         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
46071         (__lll_timedlock_elision, __lll_lock_elision)
46072         (__lll_unlock_elision, __lll_trylock_elision)
46073         (lll_timedlock_elision, lll_lock_elision)
46074         (lll_unlock_elision, lll_trylock_elision): Add.
46075         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
46076         (pthread_mutex_t): Add lock elision support for s390.
46078 2014-05-14  Wilco  <wdijkstr@arm.com>
46080         * sysdeps/arm/fclrexcpt.c: Cleanup.
46081         * sysdeps/arm/fedisblxcpt.c: Cleanup.
46082         * sysdeps/arm/feenablxcpt.c: Cleanup.
46083         * sysdeps/arm/fegetenv.c: Cleanup.
46084         * sysdeps/arm/fegetexcept.c: Cleanup.
46085         * sysdeps/arm/fegetround.c: Cleanup.
46086         * sysdeps/arm/feholdexcpt.c: Cleanup.
46087         * sysdeps/arm/fesetenv.c: Cleanup.
46088         * sysdeps/arm/fesetround.c: Cleanup.
46089         * sysdeps/arm/feupdateenv.c: Cleanup.
46090         * sysdeps/arm/fgetexcptflg.c: Cleanup.
46091         * sysdeps/arm/fraiseexcpt.c: Cleanup.
46092         * sysdeps/arm/fsetexcptflg.c: Cleanup.
46093         * sysdeps/arm/ftestexcept.c: Cleanup.
46094         * sysdeps/arm/get-rounding-mode.h: Cleanup.
46095         * sysdeps/arm/setfpucw.c: Cleanup.
46097 2014-05-09  Will Newton  <will.newton@linaro.org>
46099         * sysdeps/arm/armv7/strcmp.S: New file.
46100         * NEWS: Mention addition of ARMv7 optimized strcmp.
46102 2014-05-08  Roland McGrath  <roland@hack.frob.com>
46104         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
46105         look for %.ac rather than %.in.
46107         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
46108         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
46109         * sysdeps/mach/hurd/configure: Regenerated.
46110         * sysdeps/unix/sysv/linux/configure: Regenerated.
46112         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
46114 2014-05-07  Steve Ellcey  <sellcey@mips.com>
46116         [BZ #16922]
46117         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
46118         (LONG_SUB): Ditto.
46119         (PTR_SUB): Ditto.
46121 2014-05-07  Andreas Schwab  <schwab@suse.de>
46123         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
46124         when skipping over non-matching result from nscd.
46126 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
46128         [BZ #16876]
46129         * nptl/sockperf.c (client): Check socket return value.
46131         [BZ #16877]
46132         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
46133         nscd security class.
46135 2014-05-06  Roland McGrath  <roland@hack.frob.com>
46137         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
46138         * sysdeps/arm/unwind.h: ... here.
46140 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
46142         [BZ #16916]
46143         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
46144         Define.
46146 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
46148         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
46149         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
46150         multiarch strncpy for PPC64.
46151         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
46152         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
46153         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
46154         multiarch optimizations.
46155         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46156         (__libc_ifunc_impl_list): Likewise.
46157         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
46158         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
46159         multiarch stpncpy for PPC64.
46160         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
46161         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
46163 2014-05-06  Andreas Schwab  <schwab@suse.de>
46165         [BZ #16912]
46166         * gmon/mcount.c (_MCOUNT_DECL): Use
46167         atomic_compare_and_exchange_bool_acq instead of
46168         catomic_compare_and_exchange_bool_acq.
46170 2014-05-05  Roland McGrath  <roland@hack.frob.com>
46172         * elf/Makefile (others, install-bin): Remove pldd.
46173         (pldd-modules): Variable removed.
46174         ($(objpfx)pldd): Target removed.
46175         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
46176         (others, install-bin): Append pldd here.
46177         ($(objpfx)pldd): New target.
46179         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
46180         to 0, so the first #if test emitted later doesn't see it undefined.
46181         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
46182         * sysdeps/gnu/errlist.c: Regenerated.
46184 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46186         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
46187         [libc_hidden_builtin_def]: Define to empty value.
46188         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
46189         [libc_hidden_builtin_def]: Likewise.
46190         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
46191         [libc_hidden_builtin_def]: Likewise.
46192         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
46193         [libc_hidden_builtin_def]: Likewise.
46194         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
46195         __redirect_memcpy and define ifunc as default hidden symbol.
46196         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
46197         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
46199 2014-05-04  Adam Conrad  <adconrad@0c3.net>
46201         * locale/iso-4217.def: Reintroduce XDR currency.
46203 2014-05-04  Allan McRae  <allan@archlinux.org>
46205         * po/eo.po: Update Esperanto translation from translation project.
46207 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
46209         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
46210         and FEATURE_INDEX_MAX to 1.
46211         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
46213 2014-05-01  Steve Ellcey  <sellcey@mips.com>
46215         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
46216         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
46217         * iconvdata/big5.c (ONE_DIRECTION): Define.
46218         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
46219         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
46220         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
46221         * iconvdata/cp932.c (ONE_DIRECTION): Define.
46222         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
46223         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
46224         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
46225         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
46226         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
46227         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
46228         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
46229         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
46230         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
46231         * iconvdata/gbk.c (ONE_DIRECTION): Define.
46232         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
46233         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
46234         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
46235         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
46236         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
46237         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
46238         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
46239         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
46240         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
46241         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
46242         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
46243         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
46244         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
46245         * iconvdata/iso646.c (ONE_DIRECTION): Define.
46246         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
46247         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
46248         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
46249         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
46250         * iconvdata/johab.c (ONE_DIRECTION): Define.
46251         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
46252         * iconvdata/sjis.c (ONE_DIRECTION): Define.
46253         * iconvdata/t.61.c (ONE_DIRECTION): Define.
46254         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
46255         * iconvdata/tscii.c (ONE_DIRECTION): Define.
46256         * iconvdata/uhc.c (ONE_DIRECTION): Define.
46257         * iconvdata/unicode.c (ONE_DIRECTION): Define.
46258         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
46259         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
46260         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
46262 2014-05-01  Roland McGrath  <roland@hack.frob.com>
46264         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
46265         (_IO_JUMPS_OFFSET): Define to 0.
46267         * nptl/sysdeps/pthread/bits/libc-lock.h
46268         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
46269         (__libc_lock_define_initialized_recursive): Always define using
46270         initializer.  Modern compilers treat uninitialized (implicit zero) and
46271         explicit zero initializers the same (i.e. put the datum in bss).
46273 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
46275         * nscd/nscd-client.h: Include <string.h>.
46277 2014-05-01  David S. Miller  <davem@davemloft.net>
46279         [BZ #16885]
46280         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
46281         multiple zero bytes exist at the end of a string.
46282         Reported by Aurelien Jarno <aurelien@aurel32.net>
46284         * string/test-strcmp.c (check): Add explicit test for situations where
46285         there are multiple zero bytes after the first.
46287 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
46289         [BZ #16890]
46290         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
46291         when compiling wprintf.
46292         * stdio-common/tstdiomisc.c (t3): New function.
46293         (main): Call it.
46295 2014-05-01  Steve Ellcey  <sellcey@mips.com>
46297         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
46298         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
46299         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
46300         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
46302 2014-05-01  Steve Ellcey  <sellcey@mips.com>
46304         * stdlib/longlong.h: Updated from GCC.
46306 2014-05-01  Will Newton  <will.newton@linaro.org>
46307             Bernard Ogden  <bernie.ogden@linaro.org>
46309         * NEWS: Update fixed bug list.
46311         [BZ #15119]
46312         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
46314 2014-04-30  David S. Miller  <davem@davemloft.net>
46316         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
46317         (libc_feholdexcept_setround_sparc_ctx): New function.
46318         (libc_fesetenv_sparc_ctx): Likewise.
46319         (libc_feupdateenv_sparc_ctx): Likewise.
46320         (libc_feholdsetround_sparc_ctx): Likewise.
46321         (libc_feholdexcept_setround_ctx): Define.
46322         (libc_feholdexcept_setroundf_ctx): Likewise.
46323         (libc_feholdexcept_setroundl_ctx): Likewise.
46324         (libc_fesetenv_ctx): Likewise.
46325         (libc_fesetenvf_ctx): Likewise.
46326         (libc_fesetenvl_ctx): Likewise.
46327         (libc_feupdateenv_ctx): Likewise.
46328         (libc_feupdateenvf_ctx): Likewise.
46329         (libc_feupdateenvl_ctx): Likewise.
46330         (libc_feresetround_ctx): Likewise.
46331         (libc_feresetroundf_ctx): Likewise.
46332         (libc_feresetroundl_ctx): Likewise.
46333         (libc_feholdsetround_ctx): Likewise.
46334         (libc_feholdsetroundf_ctx): Likewise.
46335         (libc_feholdsetroundl_ctx): Likewise.
46337         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
46338         with __USE_GNU instead of XOPEN cpp guards.
46340         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
46341         0.
46343         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
46344         with XOPEN cpp guards.
46346 2014-04-30  Julian Brown  <julian@codesourcery.com>
46348         [BZ #16888]
46349         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
46350         handling.
46352 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
46354         [BZ #9894]
46355         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
46356         Change to 2.6.32.
46357         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
46358         * sysdeps/unix/sysv/linux/configure: Regenerated.
46359         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
46360         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
46361         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
46362         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
46363         * README: Update reference to required Linux kernel version.
46364         * manual/install.texi (Linux): Update reference to required Linux
46365         kernel headers version.
46366         * INSTALL: Regenerated.
46368         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
46369         header inclusion.
46370         [POSIX] (limits.h): Likewise.
46371         [POSIX] (math.h): Likewise.
46372         [POSIX] (sys/wait.h): Likewise.
46373         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
46374         function.
46375         [POSIX] (stddef.h): Do not allow header inclusion.
46377 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46379         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
46381 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
46383         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
46384         Return immediately after lll_futex_wake.
46386 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46388         [BZ #16791]
46389         * nscd/nscd-client.h (datahead_init_common): Initialize entire
46390         structure.
46391         (datahead_init_pos): Call datahead_init_common early.
46392         (datahead_init_neg): Likewise.
46394         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
46395         datahead_init_neg): New functions.
46396         * nscd/aicache.c (addhstaiX): Use them.
46397         * nscd/grpcache.c (cache_addgr): Likewise.
46398         * nscd/hstcache.c (cache_addhst): Likewise.
46399         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46400         * nscd/netgroupcache.c (do_notfound): Likewise.
46401         (addgetnetgrentX): Likewise.
46402         (addinnetgrX): Likewise.
46403         * nscd/pwdcache.c (cache_addpw): Likewise.
46404         * nscd/servicescache.c (cache_addserv): Likewise.
46406 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46407             Atsushi Onoe  <atsushi@onoe.org>
46409         [BZ #14308]
46410         [BZ #12994]
46411         [BZ #13651]
46412         * resolv/res_query.c (__libc_res_nsearch): Return if at least
46413         one response is valid.
46414         * resolv/res_send.c (send_dg): Check for validity of other
46415         response if the current response is a referral.
46417 2014-04-29  Steve Ellcey  <sellcey@mips.com>
46419         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
46421 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
46423         [BZ #16823]
46424         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
46425         Always divide by positive zero when computing -Inf result.
46426         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
46427         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
46429 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46431         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
46432         FPSCR if value do not change.
46433         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
46434         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
46435         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
46436         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
46437         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
46438         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
46439         function.
46441 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
46443         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
46444         * sysdeps/unix/sysv/linux/hppa: Move directory from
46445         ports/systeps/unix/sysv/linux/hppa.
46446         * README: Update listing for hppa-*-linux-gnu.
46448 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
46450         [BZ #16754]
46451         * manual/stdio.texi (Hook functions): Fix types of stream hook
46452         functions.
46453         [BZ #16854]
46454         * socket/sys/socket.h: Fix typo in comment.
46456 2014-04-28  Wilco  <wdijkstr@arm.com>
46458         * sysdeps/arm/fenv_private.h: New file.
46459         * sysdeps/arm/math_private.h: New file.
46460         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
46462 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
46464         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
46465         with __int128_t.
46466         (La_x86_64_retval): Likewise.
46468 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
46470         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
46471         fpsr if value didn't change.
46472         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
46473         to fpcr if value didn't change.
46474         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
46475         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
46476         fpsr or fpcr if value didn't change.
46477         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
46478         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
46479         fpcr if value didn't change.
46480         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
46481         to fpsr if value didn't change.
46483 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
46485         * nptl/tst-sem3.c: Use test-skeleton.c
46486         (main): Rename to do_test.  Use return instead of
46487         exit.
46488         * nptl/tst-sem4.c: Use test-skeleton.c
46489         (main): Rename to do_test.
46491 2014-04-22  David S. Miller  <davem@davemloft.net>
46493         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
46494         (struct sigaction): New struct member __glibc_reserved0, change
46495         type of sa_flags to int.
46497 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
46499         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
46500         (COUNT_LEADING_ZEROS_0): Define for AArch64.
46502 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
46504         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
46505         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
46507 2014-04-22  Will Newton  <will.newton@linaro.org>
46508             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
46510         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
46511         (__longjmp): Add longjmp and longjmp_target SystemTap
46512         probes.
46513         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
46514         (__sigsetjmp): Add setjmp SystemTap probe.
46516 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
46518         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
46519         match manual order.
46521 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46523         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
46525         * sysdeps/powerpc/fpu/fenv_private.h
46526         (libc_feholdexcept_setroundl_ctx): Define to
46527         libc_feholdexcept_setround_ppc_ctx.
46528         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
46529         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
46530         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
46531         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
46533 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
46535         * sysdeps/aarch64/math-tests.h: New file.
46537 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
46539         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
46540         New.
46541         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46542         Check and set bit_AVX2_Usable.
46543         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
46544         macro.
46545         (bit_AVX2): Likewise.
46546         (index_AVX2_Usable): Likewise.
46547         (CPUID_AVX2): Likewise.
46548         (HAS_AVX2): Likewise.
46550 2014-04-17  Will Newton  <will.newton@linaro.org>
46552         * manual/setjmp.texi (System V contexts): Add note that
46553         calling setcontext on a context created by a call to a
46554         signal handler is undefined.  Update text to note that
46555         setcontext from a signal handler is possible but not
46556         recommended.
46558         [BZ #16629]
46559         * stdlib/tst-setcontext.c: Include signal.h.
46560         (main): Check that the signal stack before and
46561         after swapcontext is the same.
46563         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
46564         Re-implement to restore registers in user code and avoid
46565         rt_sigreturn system call.
46567 2014-04-17  Wilco  <wdijkstr@arm.com>
46569         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
46570         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
46571         * math/test-fenv.c: Skip exception trap tests on targets which only
46572         support non-stop mode.
46574 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
46575             Wilco Dijkstra  <wilco.dijkstra@arm.com>
46577         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
46578         (libc_feholdsetround_aarch64_ctx)
46579         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
46580         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
46581         (libc_feresetround_ctx, libc_feresetroundf_ctx)
46582         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
46583         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
46584         (libc_feresetround_noexl_ctx): Define.
46586 2014-04-16  Richard Henderson  <rth@redhat.com>
46588         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
46590         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
46591         unwind tables.
46593         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
46594         const from the non-libc, non-ldso copy.
46596         * sysdeps/alpha/libm-test-ulps: Regenerate.
46598 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
46599             Wilco Dijkstra  <wilco.dijkstra@arm.com>
46601         * sysdeps/aarch64/fpu/math_private.h: New file.
46603 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
46605         * sysdeps/aarch64/libm-test-ulps: Regenerate.
46607 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
46609         [BZ #16275]
46610         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
46611         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
46612         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
46613         Intel MPX bound registers before _dl_profile_fixup.
46614         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
46615         registers after _dl_profile_fixup.  Save and restore bound
46616         registers bnd0/bnd1 when calling _dl_call_pltexit.
46617         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
46618         (LR_BND_OFFSET): Likewise.
46619         (LRV_BND0_OFFSET): Likewise.
46620         (LRV_BND1_OFFSET): Likewise.
46622 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46624         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
46625         to...
46626         * sysdeps/mach/hurd/i386/tls.h: ... here.
46627         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
46628         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
46629         fields.
46631 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46633         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
46635 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
46637         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
46639 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
46641         [BZ #14770]
46642         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
46643         * sysdeps/s390/configure: Regenerate.
46645         [BZ #16824]
46646         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
46647         Set round-to-nearest internally to reduce error accumulation.
46649 2014-04-16  Alan Modra  <amodra@gmail.com>
46651         [BZ #16740]
46652         [BZ #16619]
46653         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
46654         * math/libm-test.inc (frexp_test_data): Add tests.
46655         * NEWS: Update fixed bug list.
46657 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46659         * benchtests/Makefile: Depend on libraries in build directory.
46660         (bench-math): Separate out math tests.
46661         (bench-pthread): Separate out pthread tests.
46662         (bench): Include math and pthread tests.
46664 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
46666         [BZ #16831]
46667         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
46668         _dl_debug_initialize.
46670         * configure.ac: Remove SELinux header check.
46671         * configure: Regenerate.
46672         * nscd/selinux.c (perms): Array of const char* to permission names.
46673         (nscd_request_avc_has_perm): Call security_deny_unknown to find
46674         default policy. Call string_to_security_class and string_to_av_perm to
46675         translate strings. Enforce default policy and call avs_has_perm with
46676         results of translated strings.
46678 2014-04-13  David S. Miller  <davem@davemloft.net>
46680         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46682 2014-04-12  Allan McRae  <allan@archlinux.org>
46684         [BZ #16838]
46685         * manual/string.texi (Collation Functions): Fix qsort argument
46686         order in example.
46687         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
46689 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
46691         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
46692         Make the test a no-op if there are no exceptions defined.
46694 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
46696         * elf/Makefile (tests): make tst-dlopen-aout conditional on
46697         enable-hardcoded-path-in-tests
46699 2014-04-11  Will Newton  <will.newton@linaro.org>
46701         * benchtests/Makefile (extra-objs): Add json-lib.o.
46702         (bench-func): Tidy up JSON output.
46703         * benchtests/bench-skeleton.c: Include json-lib.h.
46704         (main): Use JSON library functions to do output of
46705         benchmark results.
46706         * benchtests/bench-timing-type.c (main): Output the
46707         timing type simply, leaving formatting to the user.
46708         * benchtests/json-lib.c: New file.
46709         * benchtests/json-lib.h: Likewise.
46711 2014-04-11  Torvald Riegel  <triegel@redhat.com>
46713         [BZ #15215]
46714         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
46715         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
46716         memory barriers.  Add comments.
46717         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
46718         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
46719         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
46720         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
46721         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
46722         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
46724 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
46726         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
46727         * sysdeps/s390/s390-64/configure.ac: ... this ...
46728         * sysdeps/s390/configure.ac: ... to here.
46729         * sysdeps/s390/s390-32/configure: Delete file.
46730         * sysdeps/s390/s390-64/configure: Delete file.
46731         * sysdeps/s390/configure: Regenerate.
46733 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
46735         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
46737 2014-04-11  Will Newton  <will.newton@linaro.org>
46739         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
46740         to zero if it is not defined elsewhere.  (mtrim): Test
46741         the value of MALLOC_DEBUG with #if rather than #ifdef.
46743 2014-04-10 Torvald Riegel  <triegel@redhat.com>
46745         * benchtests/pthread_once-inputs: New file.
46746         * benchtests/pthread_once-source.c: New file.
46747         * benchtests/README: Update documentation.
46749 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
46750             H.J. Lu  <hongjiu.lu@intel.com>
46752         [BZ #16275]
46753         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
46754         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
46755         * sysdeps/x86_64/configure: Regenerated.
46756         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
46757         macro.
46758         (REGISTER_SAVE_RAX): Likewise.
46759         (REGISTER_SAVE_RCX): Likewise.
46760         (REGISTER_SAVE_RDX): Likewise.
46761         (REGISTER_SAVE_RSI): Likewise.
46762         (REGISTER_SAVE_RDI): Likewise.
46763         (REGISTER_SAVE_R8): Likewise.
46764         (REGISTER_SAVE_R9): Likewise.
46765         (REGISTER_SAVE_BND0): Likewise.
46766         (REGISTER_SAVE_BND1): Likewise.
46767         (REGISTER_SAVE_BND2): Likewise.
46768         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
46769         bound registers when calling _dl_fixup.
46771 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46773         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
46774         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
46775         of its definition.
46776         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
46777         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
46778         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
46779         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
46780         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
46781         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
46782         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
46784 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
46786         [BZ #15514]
46787         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
46788         pathconf(_PC_NAME_MAX).
46790 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46792         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
46793         Remove macro usage.
46794         (__PTHREAD_SPINS): Move definition to ...
46795         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
46796         (__PTHREAD_SPINS): ... here.
46797         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
46798         (__PTHREAD_SPIN): Likewise.
46799         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
46800         (__PTHREAD_SPIN): Likewise.
46801         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
46802         (__PTHREAD_SPIN): Likewise.
46803         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
46804         (__PTHREAD_SPIN): Likewise.
46805         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
46806         (__PTHREAD_SPIN): Likewise.
46807         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
46808         (__PTHREAD_SPIN): Likewise.
46809         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
46810         (__PTHREAD_SPIN): Likewise.
46811         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
46812         (__PTHREAD_SPIN): Likewise.
46813         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
46814         (__PTHREAD_SPIN): Likewise.
46815         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
46816         (__PTHREAD_SPIN): Likewise.
46817         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
46818         (__PTHREAD_SPIN): Likewise.
46819         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
46820         (__PTHREAD_SPIN): Likewise.
46822         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
46823         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
46824         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
46825         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
46826         imply folder.
46827         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
46828         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
46829         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
46830         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
46831         correct imply path.
46832         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
46833         strlen symbol for non multi-arch builds.
46834         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
46835         missing hidden_def and weak_alias.
46837 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
46839         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
46841 2014-04-07  Will Newton  <will.newton@linaro.org>
46843         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
46844         and contents.  [!_LIBC] Remove #ifndef and contents.
46845         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
46846         * string/memccpy.c (__memccpy): Use ANSI prototype.
46847         * string/memfrob.c (memfrob): Likewise.
46848         * string/strcoll.c (STRCOLL): Likewise.
46849         * string/strlen.c (strlen): Likewise.
46850         * string/strtok.c (STRTOK): Likewise.
46851         * string/strcat.c: Remove unused #include of memcopy.h.
46852         (strcat): Use ANSI prototype.
46853         * string/strchr.c: Remove unused #include of memcopy.h.
46854         (strchr): Use ANSI prototype.
46855         * string/strcmp.c: Remove unused #include of memcopy.h.
46856         (strcmp): Use ANSI prototype.
46857         * string/strcpy.c: Remove unused #include of memcopy.h.
46858         (strcpy): Use ANSI prototype.
46860 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46862         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
46863         * config.make.in (config-extra-cppflags): Set it from
46864         libc_extra_cppflags.
46865         * configure.ac (libc_extra_cflags): Make it accumulate over
46866         configure fragments.
46867         (libc_extra_cppflags): New flag.
46868         * configure. Regenerate.
46869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
46870         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
46871         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
46872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
46874         [BZ #16815]
46875         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
46876         result for FE_DOWNWARD rounding mode.
46877         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
46878         Likewise.
46879         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46881 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
46883         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
46884         in function argument name.
46886 2014-04-03  David Svoboda  <svoboda@cert.org>
46888         [BZ #5666]
46889         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
46890         explicitly.
46892 2014-04-03  Roland McGrath  <roland@hack.frob.com>
46894         * elf/dl-unmap-segments.h: New file.
46895         * sysdeps/generic/ldsodefs.h
46896         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
46897         * elf/dl-close.c: Include <dl-unmap-segments.h>.
46898         * elf/dl-fptr.c: Likewise.
46899         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
46900         * sysdeps/aarch64/tlsdesc.c: Likewise.
46901         * sysdeps/arm/tlsdesc.c: Likewise.
46902         * sysdeps/i386/tlsdesc.c: Likewise.
46903         * sysdeps/tile/dl-runtime.c: Likewise.
46904         * sysdeps/x86_64/tlsdesc.c: Likewise.
46905         * elf/dl-load.h: New file.
46906         * elf/dl-load.c: Include it.
46907         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
46908         Macros moved to dl-load.h.
46909         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
46910         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
46911         Use _dl_unmap_segments in place of __munmap.
46912         Break out segment-mapping loop into ...
46913         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
46915 2014-04-03  Will Newton  <will.newton@linaro.org>
46917         * elf/dl-lookup.c (do_lookup_x): Remove comment
46918         referring to nested function and move variable
46919         declarations down to before first use.
46921 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
46923         [BZ #16799]
46924         [BZ #16800]
46925         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
46926         with 0 numerator.
46927         * math/s_catanf.c (__catanf): Likewise.
46928         * math/s_catanh.c (__catanh): Likewise.
46929         * math/s_catanhf.c (__catanhf): Likewise.
46930         * math/s_catanhl.c (__catanhl): Likewise.
46931         * math/s_catanl.c (__catanl): Likewise.
46932         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
46933         by positive zero when computing -Inf result.
46934         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
46935         (catanh_test): Likewise.
46936         * sysdeps/i386/fpu/libm-test-ulps: Update.
46937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46939         [BZ #16789]
46940         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
46941         instead of using underflowing value in computing result.
46942         * math/s_clog10.c (__clog10): Likewise.
46943         * math/s_clog10f.c (__clog10f): Likewise.
46944         * math/s_clog10l.c (__clog10l): Likewise.
46945         * math/s_clogf.c (__clogf): Likewise.
46946         * math/s_clogl.c (__clogl): Likewise.
46947         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
46948         (clog10_test): Likewise.
46949         * sysdeps/i386/fpu/libm-test-ulps: Update.
46950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46952 2014-04-02  Alan Modra  <amodra@gmail.com>
46954         [BZ #16739]
46955         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
46956         output when value is near a power of two.  Use int64_t for lx and
46957         remove casts.  Use decimal rather than hex exponent constants.
46958         Don't use long double multiplication when double will suffice.
46959         * math/libm-test.inc (nextafter_test_data): Add tests.
46960         * NEWS: Add 16739 and 16786 to bug list.
46962         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
46964         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
46966 2014-04-01  Will Newton  <will.newton@linaro.org>
46968         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
46969         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
46971 2014-04-01  Florian Weimer  <fweimer@redhat.com>
46973         [BZ #13347]
46974         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
46975         * nptl/tst-setuid2.c: New file.
46976         * nptl/Makefile (xtests): Add tst-setuid2.
46978 2014-04-01  Alan Modra  <amodra@gmail.com>
46980         [BZ #16786]
46981         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
46983 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
46985         [BZ #6803]
46986         [BZ #6804]
46987         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
46988         set errno as appropriate.
46989         * math/w_scalbf.c (__scalbf): Likewise.
46990         * math/w_scalbl.c (__scalbl): Likewise.
46991         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
46992         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
46993         * math/libm-test.inc (scalb_test_data): Add errno expectations.
46994         Add more NaN tests.
46996         [BZ #16349]
46997         * math/w_atan2.c: Include <errno.h>.
46998         (__atan2): Set errno for result underflowing to zero.
46999         * math/w_atan2f.c: Include <errno.h>.
47000         (__atan2f): Set errno for result underflowing to zero.
47001         * math/w_atan2l.c: Include <errno.h>.
47002         (__atan2l): Set errno for result underflowing to zero.
47003         * math/auto-libm-test-in: Don't allow missing errno for some atan2
47004         tests.
47005         * math/auto-libm-test-out: Regenerated.
47007 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47009         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
47010         Encode instruction correctly in little endian.
47011         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
47012         Likewise.
47013         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
47014         Likewise.
47015         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
47016         Likewise.
47017         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
47018         Likewise.
47020 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
47022         [BZ #9894]
47023         * sysdeps/unix/sysv/linux/kernel-features.h
47024         [__sparc__ && !__arch64__ && !__sparc_v9__]
47025         (__ASSUME_SET_ROBUST_LIST): Do not define.
47026         [__sparc__ && !__arch64__ && !__sparc_v9__]
47027         (__ASSUME_FUTEX_LOCK_PI): Likewise.
47028         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
47029         Likewise.
47030         * sysdeps/unix/sysv/linux/arm/kernel-features.h
47031         (__ASSUME_FUTEX_LOCK_PI): Undefine.
47032         (__ASSUME_REQUEUE_PI): Likewise.
47033         (__ASSUME_SET_ROBUST_LIST): Likewise.
47034         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
47035         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
47036         Undefine.
47037         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47038         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
47039         Likewise.
47040         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
47041         Likewise.
47042         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
47043         Likewise.
47044         * sysdeps/unix/sysv/linux/mips/kernel-features.h
47045         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
47046         Undefine.
47047         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
47048         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
47049         Likewise.
47051         [BZ #16648]
47052         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47053         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
47054         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
47056 2014-03-31  Will Newton  <will.newton@linaro.org>
47058         * benchtests/Makefile (bench): Add ffs and ffsll to list
47059         of tests.
47060         * benchtests/ffs-inputs: New file.
47061         * benchtests/ffsll-inputs: Likewise.
47063 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
47065         [BZ #16770]
47066         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
47067         too large before casting to int.
47068         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
47069         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
47070         * math/libm-test.inc (scalb_test_data): Add more tests.
47072 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47074         * benchtests/Makefile (DETAILED_OPT): New make option.
47075         (bench-func): Run benchmark program with -d if DETAILED_OPT is
47076         set.
47077         * benchtests/bench-skeleton.c: Include stdbool.h.
47078         (main): Store and print timings per input.
47079         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
47080         member to each argument value.
47081         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
47082         (_print_arg_data): Initialize per-input timing to 0.
47084         * benchtests/Makefile (timing-type): New binary.
47085         (bench-clean): Also remove bench-timing-type.
47086         (bench): New target for timing-type.
47087         (bench-func): Print output in JSON format.
47088         * benchtests/bench-skeleton.c (main): Print output in JSON
47089         format.
47090         * benchtests/bench-timing-type.c: New file.
47091         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
47092         (TIMING_PRINT_STATS): Remove.
47093         * benchtests/scripts/bench.py (_print_arg_data): Store variant
47094         name separately.
47096         * benchtests/bench-modf.c: Remove.
47097         * benchtests/modf-inputs: New inputs file.
47099 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
47101         [BZ #16362]
47102         * math/s_clog10.c (M_PI_LOG10E): New macro.
47103         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
47104         imaginary parts are 0.
47105         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
47106         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
47107         imaginary parts are 0.
47108         * math/s_clog10l.c (M_PI_LOG10El): New macro.
47109         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
47110         imaginary parts are 0.
47111         * math/libm-test.inc (clog10_test_data): Update expected results
47112         for when real and imaginary parts are 0.
47114 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
47116         * elf/dl-load.c: Finish conversion of __builtin_expect into
47117         __glibc_{un}likely.
47119 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
47121         [BZ #16348]
47122         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
47123         1+x for argument with exponent below -67.
47124         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
47125         Likewise.
47126         * math/auto-libm-test-in: Add more tests of exp.
47127         * math/auto-libm-test-out: Regenerated.
47129 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47131         [BZ #16759]
47132         * inet/getnetgrent_r.c (get_nonempty_val): New function.
47133         (nscd_getnetgrent): Use it.
47135         [BZ #16760]
47136         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
47137         of stpcpy.
47139 2014-03-27  Andi Kleen  <ak@linux.intel.com>
47141         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
47142         (lll_robust_lock, lll_cond_lock, lll_timedlock)
47143         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
47144         (lll_robust_unlock): Remove out of line section. Use cfi
47145         intrinsics.
47146         (LLL_STUB_UNWIND_INFO*): Remove.
47147         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
47148         (lll_robust_lock, lll_cond_lock, lll_timedlock)
47149         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
47150         (lll_robust_unlock): Remove out of line section. Use cfi
47151         intrinsics.
47152         (LLL_STUB_UNWIND_INFO*): Remove.
47154 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47156         [BZ #16758]
47157         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
47158         blank values.
47160 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
47162         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
47164 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
47166         [BZ #16198]
47167         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
47168         fnstenv.
47169         * math/test-fenv-preserve.c: New file.
47170         * math/Makefile (tests): Add test-fenv-preserve.
47172 2014-03-26  Will Newton <will.newton@linaro.org>
47174         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
47176 2014-03-25  Roland McGrath  <roland@hack.frob.com>
47178         * scripts/versionlist.awk: Partition the version sets and emit all
47179         GLIBC_* (sorted) before all others (sorted).
47181 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
47183         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
47184         GLIBC_2.2.5 version.
47186 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47188         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
47189         calls.
47191         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
47192         previous change.
47194         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47196 2014-03-25  Andreas Schwab  <schwab@suse.de>
47198         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
47199         label to be used after in6ailist is initialized.
47201 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47203         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
47204         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
47206 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
47208         [BZ #16357]
47209         [BZ #16599]
47210         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
47211         min_plus_half.
47212         (fp_formats): Update initializers.
47213         (init_fp_formats): Initialize new field.
47214         (output_for_one_input_case): Allow underflow for results up to
47215         min_plus_half.
47216         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
47217         * math/auto-libm-test-in: Don't mark some underflows from asin and
47218         atanh as spurious.
47219         * math/auto-libm-test-out: Regenerated.
47220         * sysdeps/i386/fpu/libm-test-ulps: Update.
47221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47223 2014-03-25  Andreas Schwab  <schwab@suse.de>
47225         * libio/Makefile (tst-ftell-partial-wide-ENV)
47226         (tst-ftell-active-handler-ENV): Define.
47228 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
47230         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
47232 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
47234         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
47236 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
47238         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
47239         * sysdeps/x86_64/fpu/multiarch/e_exp.c
47240         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
47242 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
47244         [BZ #16634]
47245         * elf/dl-load.c (open_verify): Add mode parameter.
47246         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
47247         (open_path): Change from boolean 'secure' to complete flag 'mode'
47248         (_dl_map_object): Adjust.
47249         * elf/Makefile (tests): Add tst-dlopen-aout.
47250         * elf/tst-dlopen-aout.c: New test.
47252 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
47254         [BZ #16714]
47255         * sysdeps/unix/sysv/linux/s390/bits/stat.h
47256         (struct stat): Rename member pad0 to __glibc_reserved0.
47258         [BZ #16712]
47259         * sysdeps/s390/s390-32/bits/wordsize.h
47260         (__WORDSIZE32_SIZE_ULONG): New define.
47261         * sysdeps/s390/s390-64/bits/wordsize.h
47262         (__WORDSIZE32_SIZE_ULONG): Likewise.
47263         * sysdeps/generic/stdint.h (SIZE_MAX):
47264         Define as UL if __WORDSIZE32_SIZE_ULONG.
47266         [BZ #16713]
47267         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
47268         (__glibc_reserved0): New variable.
47269         (sa_flags): Change type to int.
47271         * posix/Makefile (before-compile): Use += before-compile instead
47272         of a :=.
47274         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
47275         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
47277 2014-03-20  Andreas Schwab  <schwab@suse.de>
47279         [BZ #16743]
47280         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
47281         non-matching result from nscd.
47283 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47285         * scripts/bench.py: Moved to ...
47286         * benchtests/scripts/bench.py: ... here.
47287         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
47289 2014-03-24  Andreas Schwab  <schwab@suse.de>
47291         [BZ #16002]
47292         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
47293         alloca_account and account alloca use for struct in6ailist.
47295 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
47297         [BZ #16284]
47298         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
47299         rounding mode to recompute results that overflow to infinity or
47300         underflow to zero.
47301         * math/auto-libm-test-in: Don't mark tests as expected to fail for
47302         bug 16284.
47303         * math/auto-libm-test-out: Regenerated.
47304         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
47305         (ccosh_test): Likewise.
47306         (csin_test_data): Use plus_oflow.
47307         (csin_test): Use ALL_RM_TEST.
47308         (csinh_test_data): Use plus_oflow.
47309         (csinh_test): Use ALL_RM_TEST.
47310         * sysdeps/i386/fpu/libm-test-ulps: Update.
47311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47313 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
47315         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
47316         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
47317         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
47319         [BZ #16731]
47320         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
47321         when x - 1 is zero.
47322         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
47323         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
47324         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
47325         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
47326         argument is 1.
47327         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
47328         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
47329         zero.
47330         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
47331         * sysdeps/i386/fpu/libm-test-ulps: Update.
47332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47334 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47336         * scripts/bench.pl: Remove file.
47337         * scripts/bench.py: New benchmark script.
47338         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
47339         * benchtests/README: Mention python dependency.
47340         * scripts/pylintrc: New file.
47341         * scripts/pylint: New file.
47343         * bits/mathdef.h: Use #ifdef instead of #if.
47344         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
47345         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
47346         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
47347         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
47348         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
47349         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
47351 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47352             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
47354         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
47355         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
47356         and strpbrk-ppc64 objects.
47357         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47358         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
47359         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
47360         multiarch strpbrk for POWER7.
47361         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
47362         multiarch strpbrk for PPC64.
47363         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
47364         ifunc selector.
47365         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
47366         strpbrk for POWER7.
47368 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
47370         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
47371         (atan_test): Likewise.
47372         (atanh_test_data): Use NO_TEST_INLINE for two tests.
47373         (atanh_test): Use ALL_RM_TEST.
47374         (atan2_test_data): Likewise.
47375         (cabs_test): Likewise.
47376         (cacosh_test): Likewise.
47377         (carg_test): Likewise.
47378         (casin_test): Likewise.
47379         (casinh_test): Likewise.
47380         (cbrt_test): Likewise.
47381         (csqrt_test): Likewise.
47382         (erf_test): Likewise.
47383         (erfc_test): Likewise.
47384         (pow10_test): Likewise.
47385         (exp2_test): Likewise.
47386         (hypot_test): Likewise.
47387         (j0_test): Likewise.
47388         (j1_test): Likewise.
47389         (lgamma_test): Likewise.
47390         (gamma_test): Likewise.
47391         (sincos_test): Likewise.
47392         (tanh_test): Likewise.
47393         (y0_test): Likewise.
47394         (y1_test): Likewise.
47395         * sysdeps/i386/fpu/libm-test-ulps: Update.
47396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47398 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47400         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
47401         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
47402         and strcspn-ppc64 objects.
47403         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47404         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
47405         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
47406         multiarch strcspn for POWER7.
47407         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
47408         multiarch strcspn for PPC64.
47409         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
47410         ifunc selector.
47411         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
47412         strcspn for POWER7.
47414 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
47416         * math/gen-libm-test.pl (generate_testfile): Expect only function
47417         name as argument to AUTO_TESTS_* and pass results for all rounding
47418         modes to parse_args.
47419         (parse_auto_input): Separate inputs of automatic tests from
47420         outputs before storing in %auto_tests.
47421         * math/libm-test.inc (acos_test_data): Update call to
47422         AUTO_TESTS_f_f.
47423         (acos_test): Use ALL_RM_TEST.
47424         (acos_tonearest_test_data): Remove.
47425         (acos_test_tonearest): Likewise.
47426         (acos_towardzero_test_data): Likewise.
47427         (acos_test_towardzero): Likewise.
47428         (acos_downward_test_data): Likewise.
47429         (acos_test_downward): Likewise.
47430         (acos_upward_test_data): Likewise.
47431         (acos_test_upward): Likewise.
47432         (acosh_test_data): Update call to AUTO_TESTS_f_f.
47433         (asin_test_data): Likewise.
47434         (asin_test): Use ALL_RM_TEST.
47435         (asin_tonearest_test_data): Remove.
47436         (asin_test_tonearest): Likewise.
47437         (asin_towardzero_test_data): Likewise.
47438         (asin_test_towardzero): Likewise.
47439         (asin_downward_test_data): Likewise.
47440         (asin_test_downward): Likewise.
47441         (asin_upward_test_data): Likewise.
47442         (asin_test_upward): Likewise.
47443         (asinh_test_data): Update call to AUTO_TESTS_f_f.
47444         (atan_test_data): Likewise.
47445         (atanh_test_data): Likewise.
47446         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
47447         (cabs_test_data): Update call to AUTO_TESTS_c_f.
47448         (carg_test_data): Likewise.
47449         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
47450         (ccos_test_data): Update call to AUTO_TESTS_c_c.
47451         (ccosh_test_data): Likewise.
47452         (cexp_test_data): Likewise.
47453         (clog_test_data): Likewise.
47454         (clog10_test_data): Likewise.
47455         (cos_test_data): Update call to AUTO_TESTS_f_f.
47456         (cos_test): Use ALL_RM_TEST.
47457         (cos_tonearest_test_data): Remove.
47458         (cos_test_tonearest): Likewise.
47459         (cos_towardzero_test_data): Likewise.
47460         (cos_test_towardzero): Likewise.
47461         (cos_downward_test_data): Likewise.
47462         (cos_test_downward): Likewise.
47463         (cos_upward_test_data): Likewise.
47464         (cos_test_upward): Likewise.
47465         (cosh_test_data): Update call to AUTO_TESTS_f_f.
47466         (cosh_test): Use ALL_RM_TEST.
47467         (cosh_tonearest_test_data): Remove.
47468         (cosh_test_tonearest): Likewise.
47469         (cosh_towardzero_test_data): Likewise.
47470         (cosh_test_towardzero): Likewise.
47471         (cosh_downward_test_data): Likewise.
47472         (cosh_test_downward): Likewise.
47473         (cosh_upward_test_data): Likewise.
47474         (cosh_test_upward): Likewise.
47475         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
47476         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
47477         (ctan_test_data): Likewise.
47478         (ctan_test): Use ALL_RM_TEST.
47479         (ctan_tonearest_test_data): Remove.
47480         (ctan_test_tonearest): Likewise.
47481         (ctan_towardzero_test_data): Likewise.
47482         (ctan_test_towardzero): Likewise.
47483         (ctan_downward_test_data): Likewise.
47484         (ctan_test_downward): Likewise.
47485         (ctan_upward_test_data): Likewise.
47486         (ctan_test_upward): Likewise.
47487         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
47488         (ctanh_test): Use ALL_RM_TEST.
47489         (ctanh_tonearest_test_data): Remove.
47490         (ctanh_test_tonearest): Likewise.
47491         (ctanh_towardzero_test_data): Likewise.
47492         (ctanh_test_towardzero): Likewise.
47493         (ctanh_downward_test_data): Likewise.
47494         (ctanh_test_downward): Likewise.
47495         (ctanh_upward_test_data): Likewise.
47496         (ctanh_test_upward): Likewise.
47497         (erf_test_data): Update call to AUTO_TESTS_f_f.
47498         (erfc_test_data): Likewise.
47499         (exp_test_data): Likewise.
47500         (exp_test): Use ALL_RM_TEST.
47501         (exp_tonearest_test_data): Remove.
47502         (exp_test_tonearest): Likewise.
47503         (exp_towardzero_test_data): Likewise.
47504         (exp_test_towardzero): Likewise.
47505         (exp_downward_test_data): Likewise.
47506         (exp_test_downward): Likewise.
47507         (exp_upward_test_data): Likewise.
47508         (exp_test_upward): Likewise.
47509         (exp10_test_data): Update call to AUTO_TESTS_f_f.
47510         (exp10_test): Use ALL_RM_TEST.
47511         (exp10_tonearest_test_data): Remove.
47512         (exp10_test_tonearest): Likewise.
47513         (exp10_towardzero_test_data): Likewise.
47514         (exp10_test_towardzero): Likewise.
47515         (exp10_downward_test_data): Likewise.
47516         (exp10_test_downward): Likewise.
47517         (exp10_upward_test_data): Likewise.
47518         (exp10_test_upward): Likewise.
47519         (exp2_test_data): Update call to AUTO_TESTS_f_f.
47520         (expm1_test_data): Likewise.
47521         (expm1_test): Use ALL_RM_TEST.
47522         (expm1_tonearest_test_data): Remove.
47523         (expm1_test_tonearest): Likewise.
47524         (expm1_towardzero_test_data): Likewise.
47525         (expm1_test_towardzero): Likewise.
47526         (expm1_downward_test_data): Likewise.
47527         (expm1_test_downward): Likewise.
47528         (expm1_upward_test_data): Likewise.
47529         (expm1_test_upward): Likewise.
47530         (fma_test_data): Update call to AUTO_TESTS_fff_f.
47531         (fma_test): Use ALL_RM_TEST.
47532         (fma_towardzero_test_data): Remove.
47533         (fma_test_towardzero): Likewise.
47534         (fma_downward_test_data): Likewise.
47535         (fma_test_downward): Likewise.
47536         (fma_upward_test_data): Likewise.
47537         (fma_test_upward): Likewise.
47538         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
47539         (j0_test_data): Update call to AUTO_TESTS_f_f.
47540         (j1_test_data): Likewise.
47541         (jn_test_data): Update call to AUTO_TESTS_if_f.
47542         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
47543         (log_test_data): Update call to AUTO_TESTS_f_f.
47544         (log10_test_data): Likewise.
47545         (log1p_test_data): Likewise.
47546         (log2_test_data): Likewise.
47547         (pow_test_data): Update call to AUTO_TESTS_ff_f.
47548         (pow_tonearest_test_data): Likewise.
47549         (sin_test_data): Update call to AUTO_TESTS_f_f.
47550         (sin_test): Use ALL_RM_TEST.
47551         (sin_tonearest_test_data): Remove.
47552         (sin_test_tonearest): Likewise.
47553         (sin_towardzero_test_data): Likewise.
47554         (sin_test_towardzero): Likewise.
47555         (sin_downward_test_data): Likewise.
47556         (sin_test_downward): Likewise.
47557         (sin_upward_test_data): Likewise.
47558         (sin_test_upward): Likewise.
47559         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
47560         (sinh_test_data): Update call to AUTO_TESTS_f_f.
47561         (sinh_test): Use ALL_RM_TEST.
47562         (sinh_tonearest_test_data): Remove.
47563         (sinh_test_tonearest): Likewise.
47564         (sinh_towardzero_test_data): Likewise.
47565         (sinh_test_towardzero): Likewise.
47566         (sinh_downward_test_data): Likewise.
47567         (sinh_test_downward): Likewise.
47568         (sinh_upward_test_data): Likewise.
47569         (sinh_test_upward): Likewise.
47570         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
47571         (sqrt_test): Use ALL_RM_TEST.
47572         (sqrt_tonearest_test_data): Remove.
47573         (sqrt_test_tonearest): Likewise.
47574         (sqrt_towardzero_test_data): Likewise.
47575         (sqrt_test_towardzero): Likewise.
47576         (sqrt_downward_test_data): Likewise.
47577         (sqrt_test_downward): Likewise.
47578         (sqrt_upward_test_data): Likewise.
47579         (sqrt_test_upward): Likewise.
47580         (tan_test_data): Update call to AUTO_TESTS_f_f.
47581         (tan_test): Use ALL_RM_TEST.
47582         (tan_tonearest_test_data): Remove.
47583         (tan_test_tonearest): Likewise.
47584         (tan_towardzero_test_data): Likewise.
47585         (tan_test_towardzero): Likewise.
47586         (tan_downward_test_data): Likewise.
47587         (tan_test_downward): Likewise.
47588         (tan_upward_test_data): Likewise.
47589         (tan_test_upward): Likewise.
47590         (tanh_test_data): Update call to AUTO_TESTS_f_f.
47591         (tgamma_test_data): Likewise.
47592         (y0_test_data): Likewise.
47593         (y1_test_data): Likewise.
47594         (yn_test_data): Update call to AUTO_TESTS_if_f.
47595         (main): Do not call removed functions.
47597 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
47599         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
47600         (ldexp_test_data): Remove.
47601         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
47602         scalbn_test_data.
47603         (scalb_test): Use ALL_RM_TEST.
47605 2014-03-19  Andreas Schwab  <schwab@suse.de>
47607         * nscd/nscd.service: Also invalidate netgroup cache on reload.
47609 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
47611         [BZ #16649]
47612         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
47613         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
47614         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
47615         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47616         (__ASSUME_PREADV): Undefine.
47617         (__ASSUME_PWRITEV): Likewise.
47619 2014-03-18  Roland McGrath  <roland@hack.frob.com>
47621         * bits/mman-linux.h: Add comment about non-Linux use.
47622         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
47623         bits/mman-linux.h resting place.
47625         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
47626         * bits/mman-linux.h: ... here.
47628 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47630         * conform/conformtest.pl: Add standard definition when calling C
47631         preprocessor on data files.
47632         (checknamespace): Remove unused variable.
47634 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
47636         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
47637         minus_oflow, plus_uflow and minus_uflow in expected results.
47638         * math/libm-test.inc (scalbn_test_data): Add more tests of
47639         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
47640         minus_uflow.
47641         (scalbn_test): Use ALL_RM_TEST.
47642         (scalbln_test_data): Add more tests of negative arguments.  Use
47643         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
47644         (scalbln_test): Use ALL_RM_TEST.
47646 2014-03-18  Roland McGrath  <roland@hack.frob.com>
47648         * scripts/abilist.awk: Ignore symbols marked with .hidden.
47650 2014-03-18  Will Newton  <will.newton@linaro.org>
47652         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
47653         inaccurate comment.
47655 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
47657         * Makerules [!subdir] (check-abi): Exit with error status if a
47658         test failed.
47660 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
47662         * math/libm-test.inc (nearbyint_test_data): Include all tests used
47663         for rint.  Include results for all rounding modes.
47664         (nearbyint_test): Use ALL_RM_TEST.
47665         (rint_test_data): Include all tests used for nearbyint.
47667 2014-03-17  Will Newton  <will.newton@linaro.org>
47669         * nptl/sysdeps/pthread/pthread.h: Revert previous
47670         change.
47672         * sysdeps/generic/ldsodefs.h: Revert previous
47673         change.
47675         * libio/genops.c: Revert previous change.
47676         * libio/libioP.h: Likewise.
47677         * stdio-common/vfprintf.c: Likewise.
47679         * sysdeps/generic/math_private.h: Revert previous
47680         change.
47682         * sysdeps/generic/math_private.h: Check whether
47683         HAVE_RM_CTX is defined with #ifdef rather
47684         than #if.
47686         * argp/argp-fmtstream.h: Check whether
47687         __STRICT_ANSI__ is defined with #ifdef rather
47688         than #if.
47689         * argp/argp.h: Likewise.
47691         * libio/genops.c: Check whether
47692         _IO_JUMPS_OFFSET is defined with #ifdef rather
47693         than #if.
47694         * libio/libioP.h: Likewise.
47695         * stdio-common/vfprintf.c: Likewise.
47697         * sysdeps/generic/ldsodefs.h: Check whether
47698         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
47699         than #if.
47701         * nptl/sysdeps/pthread/pthread.h: Check
47702         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
47703         its value.
47705 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
47707         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
47708         setting O_APPEND.
47709         * libio/tst-ftell-active-handler.c (do_append_test): Add a
47710         test case.
47712         [BZ #16680]
47713         * libio/fileops.c (_IO_file_open): Seek to end of file but
47714         don't cache the offset.
47715         (get_file_offset): Remove function.
47716         (do_ftell): Use cached offset when available.
47717         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
47718         don't cache the offset.
47719         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
47720         case.
47721         (do_one_test): Call it.
47722         (do_ftell_test): Fix up expected old offset for a+ mode.
47723         * libio/wfileops.c (do_ftell_wide): Used cached offset when
47724         available.
47726         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
47727         up test status with function return status.
47728         (do_write_test): Likewise.
47729         (do_append_test): Likewise.
47731         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
47732         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
47733         Remove.
47735 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
47737         * math/gen-libm-test.pl (parse_args): Handle results specified for
47738         each rounding mode separately.
47739         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
47740         tests and results from lrint_tonearest_test_data,
47741         lrint_towardzero_test_data, lrint_downward_test_data and
47742         lrint_upward_test_data.
47743         (lrint_test): Use ALL_RM_TEST.
47744         (lrint_tonearest_test_data): Remove.
47745         (lrint_test_tonearest): Likewise.
47746         (lrint_towardzero_test_data): Likewise.
47747         (lrint_test_towardzero): Likewise.
47748         (lrint_downward_test_data): Likewise.
47749         (lrint_test_downward): Likewise.
47750         (lrint_upward_test_data): Likewise.
47751         (lrint_test_upward): Likewise.
47752         (llrint_test_data): Merge in per-rounding-mode tests and results
47753         from llrint_tonearest_test_data, llrint_towardzero_test_data,
47754         llrint_downward_test_data and llrint_upward_test_data.
47755         (llrint_test): Use ALL_RM_TEST.
47756         (llrint_tonearest_test_data): Remove.
47757         (llrint_test_tonearest): Likewise.
47758         (llrint_towardzero_test_data): Likewise.
47759         (llrint_test_towardzero): Likewise.
47760         (llrint_downward_test_data): Likewise.
47761         (llrint_test_downward): Likewise.
47762         (llrint_upward_test_data): Likewise.
47763         (llrint_test_upward): Likewise.
47764         (rint_test_data): Merge in per-rounding-mode tests and results
47765         from rint_tonearest_test_data, rint_towardzero_test_data,
47766         rint_downward_test_data and rint_upward_test_data.  Add
47767         per-rounding-mode results for tests not in those arrays.
47768         (rint_test): Use ALL_RM_TEST.
47769         (rint_tonearest_test_data): Remove.
47770         (rint_test_tonearest): Likewise.
47771         (rint_towardzero_test_data): Likewise.
47772         (rint_test_towardzero): Likewise.
47773         (rint_downward_test_data): Likewise.
47774         (rint_test_downward): Likewise.
47775         (rint_upward_test_data): Likewise.
47776         (rint_test_upward): Likewise.
47777         (main): Don't call removed functions.
47779 2014-03-14  Roland McGrath  <roland@hack.frob.com>
47781         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
47782         "Compiled on ..." crapola.  It is anti-useful.
47784 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
47786         * scripts/evaluate-test.sh: Handle fourth argument to determine
47787         whether test run should stop on failure.
47788         * Makeconfig (stop-on-test-failure): New variable.
47789         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
47790         $(stop-on-test-failure).
47791         * Makefile (tests): Give a summary of results from testing and
47792         exit with failure status if they include an ERROR or FAIL.
47793         (xtests): Likewise.
47794         * manual/install.texi (Configuring and compiling): Mention
47795         stop-on-test-failure=y.
47796         * INSTALL: Regenerated.
47798 2014-03-14  Roland McGrath  <roland@hack.frob.com>
47800         * scripts/versionlist.awk: New file.
47801         * Makerules [$(build-shared) = yes]
47802         (postclean-generated): Add Versions.def, not Versions.def.v and
47803         Versions.def.v.i.
47804         ($(common-objpfx)Versions.def.v.i): Target removed.
47805         ($(common-objpfx)Versions.def): New target.
47806         ($(common-objpfx)Versions.all): Depend on that rather that
47807         $(common-objpfx)Versions.def.v.
47808         * Versions.def: File removed.
47810         * Makeconfig (+gccwarn): Add -Wundef.
47811         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
47812         a dl-sysdep.h breaking its contract.
47813         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
47814         * include/stackinfo.h: New file.
47815         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
47816         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
47817         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
47818         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
47819         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
47820         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
47821         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47822         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47823         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47824         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47825         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47826         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
47827         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47828         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47829         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47831 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47833         [BZ #16707]
47834         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
47835         implementation.
47836         * math/libm-test.inc (round_test_data): Add more tests.
47838         [BZ #16706]
47839         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
47840         implementation.
47841         * math/libm-test.inc (nearbyint_test_data): Add more tests.
47843         [BZ #16701]
47844         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
47845         implementation.
47846         * math/libm-test.inc (ceil_test_data): Add more tests.
47848         * math/libm-test.inc (trunc_test_data): Add more tests related to
47849         BZ#16414.
47851 2014-03-14  Roland McGrath  <roland@hack.frob.com>
47853         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
47854         with #if rather than #ifdef.
47855         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
47857 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
47859         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
47860         first.  Disable AVX-512 GCC support if assembler doesn't support
47861         it.
47862         * sysdeps/x86_64/configure: Regenerated.
47864 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
47866         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
47867         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
47868         (__old_pthread_attr_setstack): Likewise.
47869         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
47870         [!_STACK_GROWS_DOWN]: Likewise.
47872 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
47874         * config.make.in (have-bash2): Delete.
47875         * configure.ac (libc_cv_have_bash2): Delete.
47876         * configure: Regenerate.
47877         * elf/Makefile (common-ldd-rewrite): Rename to ...
47878         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
47879         (sh-ldd-rewrite): Delete.
47880         (bash-ldd-rewrite): Delete.
47881         (have-bash2): Delete checks.
47882         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
47883         ldd-rewrite.
47885         * config.make.in (have-ksh): Delete.
47886         (KSH): Delete.
47887         * configure.ac (libc_cv_have_ksh): Delete.
47888         * configure: Regenerate.
47890         * elf/Makefile: Delete $(have-ksh) check.
47891         ($(objpfx)sotruss): Change KSH to BASH.
47892         * elf/sotruss.ksh: Rename to ...
47893         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
47894         function style to match POSIX.  Drop ksh vim mode setting.
47896         * manual/time.texi (Specifying the Time Zone with TZ): Change
47897         Tuesday to Thursday.
47899         * debug/tst-longjmp_chk2.c: Update header comment.
47900         (stackoverflow_handler): Add comment.  Call assert on pass value.
47902 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
47904         [BZ #16194]
47905         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
47906         (HAVE_AVX512_ASM_SUPPORT): Likewise.
47907         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
47908         (La_x86_64_vector): Add zmm.
47909         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
47910         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
47911         ($(objpfx)tst-audit10): New target.
47912         ($(objpfx)tst-audit10.out): Likewise.
47913         (tst-audit10-ENV): New.
47914         (AVX512-CFLAGS): Likewise.
47915         (CFLAGS-tst-audit10.c): Likewise.
47916         (CFLAGS-tst-auditmod10a.c): Likewise.
47917         (CFLAGS-tst-auditmod10b.c): Likewise.
47918         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
47919         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
47920         * sysdeps/x86_64/configure: Regenerated.
47921         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
47922         AVX-512 zmm register support.
47923         (_dl_x86_64_save_sse): Likewise.
47924         (_dl_x86_64_restore_sse): Likewise.
47925         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
47926         size vector registers.
47927         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
47928         (ZMM_SIZE): Likewise.
47929         * sysdeps/x86_64/tst-audit10.c: New file.
47930         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
47931         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
47933 2014-03-13  Roland McGrath  <roland@hack.frob.com>
47935         * configure.ac (HAVE_EHDR_START): New check.
47936         * configure: Regenerated.
47937         * config.h.in (HAVE_EHDR_START): New #undef.
47938         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
47939         assuming the lowest-addressed segment maps the start of the file.
47941 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
47943         * INSTALL: Regenerated.
47945 2014-03-13  Will Newton  <will.newton@linaro.org>
47947         * manual/setjmp.texi (System V contexts): Improve
47948         clarity and grammar of documentation.
47950 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
47952         [BZ #16381]
47953         * elf/Makefile (tests): Add tst-pie2.
47954         (tests-pie): Add tst-pie2.
47955         * elf/tst-pie2.c: New file.
47956         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
47957         for ET_EXEC.
47958         * elf/rtld.c (map_doit): Load executable as lt_executable.
47959         (dl_main): Likewise.
47961 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
47963         [BZ #16642]
47964         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47965         (__ASSUME_PSELECT): Undefine.
47967 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47969         [BZ #16689]
47970         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
47971         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
47972         static build.
47973         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
47974         selector for static builds.
47976 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
47978         [BZ #16695]
47979         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
47980         key in the buffer.
47982 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47984         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
47985         IFUNC selector for static builds.
47987 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
47989         * sysdeps/mips/math_private.h [__mips_hard_float]
47990         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
47991         libc_feresetround_mips_ctx.
47992         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
47993         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
47994         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
47996         [BZ #16677]
47997         * math/s_nextafter.c (__nextafter): Do not return value from
47998         overflowing computation.
47999         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
48000         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
48001         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
48002         Likewise.
48003         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
48004         Likewise.
48005         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
48006         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
48008 2014-03-11  Roland McGrath  <roland@hack.frob.com>
48010         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
48011         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
48012         Move sfi_sp use from the load-multiple (that no longer sets sp) to
48013         the new mov targetting sp.
48015 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48017         [BZ #16683]
48018         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
48019         Define it for static builds as well.
48020         (NO_BZERO_IMPL): Likewise.
48022 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
48024         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
48025         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
48026         multiarch strspn for PPC64.
48027         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
48028         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
48029         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48030         (__libc_ifunc_impl_list): Likewise.
48031         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
48032         multiarch optimizations
48033         * string/strspn.c (strspn): Using macro to redefine symbol name.
48035 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
48036             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48038         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
48039         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
48040         multiarch strncat for PPC64.
48041         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
48042         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
48043         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48044         (__libc_ifunc_impl_list): Likewise.
48045         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
48046         multiarch optimizations
48048 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48050         [BZ #16639]
48051         * nscd/nscd.service: Make service type forking.
48053 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48055         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
48056         sign in non default rounding modes.
48057         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
48059 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
48061         * math/libm-test.inc (ALL_RM_TEST): New macro.
48062         (ceil_test): Use ALL_RM_TEST.
48063         (cimag_test): Likewise.
48064         (conj_test): Likewise.
48065         (copysign_test): Likewise.
48066         (cproj_test): Likewise.
48067         (creal_test): Likewise.
48068         (fabs_test): Likewise.
48069         (floor_test): Likewise.
48070         (fmax_test): Likewise.
48071         (fmin_test): Likewise.
48072         (fmod_test): Likewise.
48073         (fpclassify_test): Likewise.
48074         (frexp_test): Likewise.
48075         (ilogb_test): Likewise.
48076         (isfinite_test): Likewise.
48077         (finite_test): Likewise.
48078         (isgreater_test): Likewise.
48079         (isgreaterequal_test): Likewise.
48080         (isinf_test): Likewise.
48081         (isless_test): Likewise.
48082         (islessequal_test): Likewise.
48083         (islessgreater_test): Likewise.
48084         (isnan_test): Likewise.
48085         (isnormal_test): Likewise.
48086         (issignaling_test): Likewise.
48087         (isunordered_test): Likewise.
48088         (logb_test): Likewise.
48089         (logb_downward_test_data): Remove.
48090         (logb_test_downward): Likewise.
48091         (lround_test): Use ALL_RM_TEST.
48092         (llround_test): Likewise.
48093         (modf_test): Likewise.
48094         (nexttoward_test): Likewise.
48095         (remainder_test): Likewise.
48096         (drem_test): Likewise.
48097         (remainder_tonearest_test_data): Likewise.
48098         (remainder_test_tonearest): Likewise.
48099         (drem_test_tonearest): Likewise.
48100         (remainder_towardzero_test_data): Likewise.
48101         (remainder_test_towardzero): Likewise.
48102         (drem_test_towardzero): Likewise.
48103         (remainder_downward_test_data): Likewise.
48104         (remainder_test_downward): Likewise.
48105         (drem_test_downward): Likewise.
48106         (remainder_upward_test_data): Likewise.
48107         (remainder_test_upward): Likewise.
48108         (drem_test_upward): Likewise.
48109         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
48110         (round_test): Use ALL_RM_TEST.
48111         (signbit_test): Likewise.
48112         (trunc_test): Likewise.
48113         (significand_test): Likewise.
48114         (main): Don't call removed functions.
48116 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
48118         [BZ #16674]
48119         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
48120         || __USE_XOPEN2K8].
48121         (ILL_ILLOPN): Likewise.
48122         (ILL_ILLADR): Likewise.
48123         (ILL_ILLTRP): Likewise.
48124         (ILL_PRVOPC): Likewise.
48125         (ILL_PRVREG): Likewise.
48126         (ILL_COPROC): Likewise.
48127         (ILL_BADSTK): Likewise.
48128         (FPE_INTDIV): Likewise.
48129         (FPE_INTOVF): Likewise.
48130         (FPE_FLTDIV): Likewise.
48131         (FPE_FLTOVF): Likewise.
48132         (FPE_FLTUND): Likewise.
48133         (FPE_FLTRES): Likewise.
48134         (FPE_FLTINV): Likewise.
48135         (FPE_FLTSUB): Likewise.
48136         (SEGV_MAPERR): Likewise.
48137         (SEGV_ACCERR): Likewise.
48138         (BUS_ADRALN): Likewise.
48139         (BUS_ADRERR): Likewise.
48140         (BUS_OBJERR): Likewise.
48141         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48142         (TRAP_TRACE): Likewise.
48143         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48144         __USE_XOPEN2K8].
48145         (CLD_KILLED): Likewise.
48146         (CLD_DUMPED): Likewise.
48147         (CLD_TRAPPED): Likewise.
48148         (CLD_STOPPED): Likewise.
48149         (CLD_CONTINUED): Likewise.
48150         (POLL_IN): Likewise.
48151         (POLL_OUT): Likewise.
48152         (POLL_MSG): Likewise.
48153         (POLL_ERR): Likewise.
48154         (POLL_PRI): Likewise.
48155         (POLL_HUP): Likewise.
48156         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
48157         Likewise.
48158         (ILL_ILLOPN): Likewise.
48159         (ILL_ILLADR): Likewise.
48160         (ILL_ILLTRP): Likewise.
48161         (ILL_PRVOPC): Likewise.
48162         (ILL_PRVREG): Likewise.
48163         (ILL_COPROC): Likewise.
48164         (ILL_BADSTK): Likewise.
48165         (FPE_INTDIV): Likewise.
48166         (FPE_INTOVF): Likewise.
48167         (FPE_FLTDIV): Likewise.
48168         (FPE_FLTOVF): Likewise.
48169         (FPE_FLTUND): Likewise.
48170         (FPE_FLTRES): Likewise.
48171         (FPE_FLTINV): Likewise.
48172         (FPE_FLTSUB): Likewise.
48173         (SEGV_MAPERR): Likewise.
48174         (SEGV_ACCERR): Likewise.
48175         (BUS_ADRALN): Likewise.
48176         (BUS_ADRERR): Likewise.
48177         (BUS_OBJERR): Likewise.
48178         (BUS_MCEERR_AR): Likewise.
48179         (BUS_MCEERR_AO): Likewise.
48180         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48181         (TRAP_TRACE): Likewise.
48182         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48183         __USE_XOPEN2K8].
48184         (CLD_KILLED): Likewise.
48185         (CLD_DUMPED): Likewise.
48186         (CLD_TRAPPED): Likewise.
48187         (CLD_STOPPED): Likewise.
48188         (CLD_CONTINUED): Likewise.
48189         (POLL_IN): Likewise.
48190         (POLL_OUT): Likewise.
48191         (POLL_MSG): Likewise.
48192         (POLL_ERR): Likewise.
48193         (POLL_PRI): Likewise.
48194         (POLL_HUP): Likewise.
48195         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
48196         (ILL_ILLOPN): Likewise.
48197         (ILL_ILLADR): Likewise.
48198         (ILL_ILLTRP): Likewise.
48199         (ILL_PRVOPC): Likewise.
48200         (ILL_PRVREG): Likewise.
48201         (ILL_COPROC): Likewise.
48202         (ILL_BADSTK): Likewise.
48203         (FPE_INTDIV): Likewise.
48204         (FPE_INTOVF): Likewise.
48205         (FPE_FLTDIV): Likewise.
48206         (FPE_FLTOVF): Likewise.
48207         (FPE_FLTUND): Likewise.
48208         (FPE_FLTRES): Likewise.
48209         (FPE_FLTINV): Likewise.
48210         (FPE_FLTSUB): Likewise.
48211         (SEGV_MAPERR): Likewise.
48212         (SEGV_ACCERR): Likewise.
48213         (BUS_ADRALN): Likewise.
48214         (BUS_ADRERR): Likewise.
48215         (BUS_OBJERR): Likewise.
48216         (BUS_MCEERR_AR): Likewise.
48217         (BUS_MCEERR_AO): Likewise.
48218         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48219         (TRAP_TRACE): Likewise.
48220         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48221         __USE_XOPEN2K8].
48222         (CLD_KILLED): Likewise.
48223         (CLD_DUMPED): Likewise.
48224         (CLD_TRAPPED): Likewise.
48225         (CLD_STOPPED): Likewise.
48226         (CLD_CONTINUED): Likewise.
48227         (POLL_IN): Likewise.
48228         (POLL_OUT): Likewise.
48229         (POLL_MSG): Likewise.
48230         (POLL_ERR): Likewise.
48231         (POLL_PRI): Likewise.
48232         (POLL_HUP): Likewise.
48233         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
48234         Likewise.
48235         (ILL_ILLOPN): Likewise.
48236         (ILL_ILLADR): Likewise.
48237         (ILL_ILLTRP): Likewise.
48238         (ILL_PRVOPC): Likewise.
48239         (ILL_PRVREG): Likewise.
48240         (ILL_COPROC): Likewise.
48241         (ILL_BADSTK): Likewise.
48242         (ILL_BADIADDR): Likewise.
48243         (ILL_BREAK): Likewise.
48244         (FPE_INTDIV): Likewise.
48245         (FPE_INTOVF): Likewise.
48246         (FPE_FLTDIV): Likewise.
48247         (FPE_FLTOVF): Likewise.
48248         (FPE_FLTUND): Likewise.
48249         (FPE_FLTRES): Likewise.
48250         (FPE_FLTINV): Likewise.
48251         (FPE_FLTSUB): Likewise.
48252         (FPE_DECOVF): Likewise.
48253         (FPE_DECDIV): Likewise.
48254         (FPE_DECERR): Likewise.
48255         (FPE_INVASC): Likewise.
48256         (FPE_INVDEC): Likewise.
48257         (SEGV_MAPERR): Likewise.
48258         (SEGV_ACCERR): Likewise.
48259         (SEGV_PSTKOVF): Likewise.
48260         (BUS_ADRALN): Likewise.
48261         (BUS_ADRERR): Likewise.
48262         (BUS_OBJERR): Likewise.
48263         (BUS_MCEERR_AR): Likewise.
48264         (BUS_MCEERR_AO): Likewise.
48265         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48266         (TRAP_TRACE): Likewise.
48267         (TRAP_BRANCH): Likewise.
48268         (TRAP_HWBKPT): Likewise.
48269         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48270         __USE_XOPEN2K8].
48271         (CLD_KILLED): Likewise.
48272         (CLD_DUMPED): Likewise.
48273         (CLD_TRAPPED): Likewise.
48274         (CLD_STOPPED): Likewise.
48275         (CLD_CONTINUED): Likewise.
48276         (POLL_IN): Likewise.
48277         (POLL_OUT): Likewise.
48278         (POLL_MSG): Likewise.
48279         (POLL_ERR): Likewise.
48280         (POLL_PRI): Likewise.
48281         (POLL_HUP): Likewise.
48282         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
48283         (ILL_ILLOPN): Likewise.
48284         (ILL_ILLADR): Likewise.
48285         (ILL_ILLTRP): Likewise.
48286         (ILL_PRVOPC): Likewise.
48287         (ILL_PRVREG): Likewise.
48288         (ILL_COPROC): Likewise.
48289         (ILL_BADSTK): Likewise.
48290         (FPE_INTDIV): Likewise.
48291         (FPE_INTOVF): Likewise.
48292         (FPE_FLTDIV): Likewise.
48293         (FPE_FLTOVF): Likewise.
48294         (FPE_FLTUND): Likewise.
48295         (FPE_FLTRES): Likewise.
48296         (FPE_FLTINV): Likewise.
48297         (FPE_FLTSUB): Likewise.
48298         (SEGV_MAPERR): Likewise.
48299         (SEGV_ACCERR): Likewise.
48300         (BUS_ADRALN): Likewise.
48301         (BUS_ADRERR): Likewise.
48302         (BUS_OBJERR): Likewise.
48303         (BUS_MCEERR_AR): Likewise.
48304         (BUS_MCEERR_AO): Likewise.
48305         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48306         (TRAP_TRACE): Likewise.
48307         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48308         __USE_XOPEN2K8].
48309         (CLD_KILLED): Likewise.
48310         (CLD_DUMPED): Likewise.
48311         (CLD_TRAPPED): Likewise.
48312         (CLD_STOPPED): Likewise.
48313         (CLD_CONTINUED): Likewise.
48314         (POLL_IN): Likewise.
48315         (POLL_OUT): Likewise.
48316         (POLL_MSG): Likewise.
48317         (POLL_ERR): Likewise.
48318         (POLL_PRI): Likewise.
48319         (POLL_HUP): Likewise.
48320         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
48321         (ILL_ILLOPN): Likewise.
48322         (ILL_ILLADR): Likewise.
48323         (ILL_ILLTRP): Likewise.
48324         (ILL_PRVOPC): Likewise.
48325         (ILL_PRVREG): Likewise.
48326         (ILL_COPROC): Likewise.
48327         (ILL_BADSTK): Likewise.
48328         (FPE_INTDIV): Likewise.
48329         (FPE_INTOVF): Likewise.
48330         (FPE_FLTDIV): Likewise.
48331         (FPE_FLTOVF): Likewise.
48332         (FPE_FLTUND): Likewise.
48333         (FPE_FLTRES): Likewise.
48334         (FPE_FLTINV): Likewise.
48335         (FPE_FLTSUB): Likewise.
48336         (SEGV_MAPERR): Likewise.
48337         (SEGV_ACCERR): Likewise.
48338         (BUS_ADRALN): Likewise.
48339         (BUS_ADRERR): Likewise.
48340         (BUS_OBJERR): Likewise.
48341         (BUS_MCEERR_AR): Likewise.
48342         (BUS_MCEERR_AO): Likewise.
48343         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48344         (TRAP_TRACE): Likewise.
48345         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48346         __USE_XOPEN2K8].
48347         (CLD_KILLED): Likewise.
48348         (CLD_DUMPED): Likewise.
48349         (CLD_TRAPPED): Likewise.
48350         (CLD_STOPPED): Likewise.
48351         (CLD_CONTINUED): Likewise.
48352         (POLL_IN): Likewise.
48353         (POLL_OUT): Likewise.
48354         (POLL_MSG): Likewise.
48355         (POLL_ERR): Likewise.
48356         (POLL_PRI): Likewise.
48357         (POLL_HUP): Likewise.
48358         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
48359         (ILL_ILLOPN): Likewise.
48360         (ILL_ILLADR): Likewise.
48361         (ILL_ILLTRP): Likewise.
48362         (ILL_PRVOPC): Likewise.
48363         (ILL_PRVREG): Likewise.
48364         (ILL_COPROC): Likewise.
48365         (ILL_BADSTK): Likewise.
48366         (FPE_INTDIV): Likewise.
48367         (FPE_INTOVF): Likewise.
48368         (FPE_FLTDIV): Likewise.
48369         (FPE_FLTOVF): Likewise.
48370         (FPE_FLTUND): Likewise.
48371         (FPE_FLTRES): Likewise.
48372         (FPE_FLTINV): Likewise.
48373         (FPE_FLTSUB): Likewise.
48374         (SEGV_MAPERR): Likewise.
48375         (SEGV_ACCERR): Likewise.
48376         (BUS_ADRALN): Likewise.
48377         (BUS_ADRERR): Likewise.
48378         (BUS_OBJERR): Likewise.
48379         (BUS_MCEERR_AR): Likewise.
48380         (BUS_MCEERR_AO): Likewise.
48381         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48382         (TRAP_TRACE): Likewise.
48383         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48384         __USE_XOPEN2K8].
48385         (CLD_KILLED): Likewise.
48386         (CLD_DUMPED): Likewise.
48387         (CLD_TRAPPED): Likewise.
48388         (CLD_STOPPED): Likewise.
48389         (CLD_CONTINUED): Likewise.
48390         (POLL_IN): Likewise.
48391         (POLL_OUT): Likewise.
48392         (POLL_MSG): Likewise.
48393         (POLL_ERR): Likewise.
48394         (POLL_PRI): Likewise.
48395         (POLL_HUP): Likewise.
48396         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
48397         (ILL_ILLOPN): Likewise.
48398         (ILL_ILLADR): Likewise.
48399         (ILL_ILLTRP): Likewise.
48400         (ILL_PRVOPC): Likewise.
48401         (ILL_PRVREG): Likewise.
48402         (ILL_COPROC): Likewise.
48403         (ILL_BADSTK): Likewise.
48404         (ILL_DBLFLT): Likewise.
48405         (ILL_HARDWALL): Likewise.
48406         (FPE_INTDIV): Likewise.
48407         (FPE_INTOVF): Likewise.
48408         (FPE_FLTDIV): Likewise.
48409         (FPE_FLTOVF): Likewise.
48410         (FPE_FLTUND): Likewise.
48411         (FPE_FLTRES): Likewise.
48412         (FPE_FLTINV): Likewise.
48413         (FPE_FLTSUB): Likewise.
48414         (SEGV_MAPERR): Likewise.
48415         (SEGV_ACCERR): Likewise.
48416         (BUS_ADRALN): Likewise.
48417         (BUS_ADRERR): Likewise.
48418         (BUS_OBJERR): Likewise.
48419         (BUS_MCEERR_AR): Likewise.
48420         (BUS_MCEERR_AO): Likewise.
48421         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48422         (TRAP_TRACE): Likewise.
48423         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48424         __USE_XOPEN2K8].
48425         (CLD_KILLED): Likewise.
48426         (CLD_DUMPED): Likewise.
48427         (CLD_TRAPPED): Likewise.
48428         (CLD_STOPPED): Likewise.
48429         (CLD_CONTINUED): Likewise.
48430         (POLL_IN): Likewise.
48431         (POLL_OUT): Likewise.
48432         (POLL_MSG): Likewise.
48433         (POLL_ERR): Likewise.
48434         (POLL_PRI): Likewise.
48435         (POLL_HUP): Likewise.
48436         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
48437         (ILL_ILLOPN): Likewise.
48438         (ILL_ILLADR): Likewise.
48439         (ILL_ILLTRP): Likewise.
48440         (ILL_PRVOPC): Likewise.
48441         (ILL_PRVREG): Likewise.
48442         (ILL_COPROC): Likewise.
48443         (ILL_BADSTK): Likewise.
48444         (FPE_INTDIV): Likewise.
48445         (FPE_INTOVF): Likewise.
48446         (FPE_FLTDIV): Likewise.
48447         (FPE_FLTOVF): Likewise.
48448         (FPE_FLTUND): Likewise.
48449         (FPE_FLTRES): Likewise.
48450         (FPE_FLTINV): Likewise.
48451         (FPE_FLTSUB): Likewise.
48452         (SEGV_MAPERR): Likewise.
48453         (SEGV_ACCERR): Likewise.
48454         (BUS_ADRALN): Likewise.
48455         (BUS_ADRERR): Likewise.
48456         (BUS_OBJERR): Likewise.
48457         (BUS_MCEERR_AR): Likewise.
48458         (BUS_MCEERR_AO): Likewise.
48459         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48460         (TRAP_TRACE): Likewise.
48461         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48462         __USE_XOPEN2K8].
48463         (CLD_KILLED): Likewise.
48464         (CLD_DUMPED): Likewise.
48465         (CLD_TRAPPED): Likewise.
48466         (CLD_STOPPED): Likewise.
48467         (CLD_CONTINUED): Likewise.
48468         (POLL_IN): Likewise.
48469         (POLL_OUT): Likewise.
48470         (POLL_MSG): Likewise.
48471         (POLL_ERR): Likewise.
48472         (POLL_PRI): Likewise.
48473         (POLL_HUP): Likewise.
48474         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
48475         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
48477         [BZ #16670]
48478         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
48479         before #include of <time.h>.
48480         [!__USE_XOPEN2K] (__need_timespec): Likewise.
48481         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
48482         (test-xfail-UNIX98/sched.h/conform): Likewise.
48484 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
48486         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
48487         error absence of trapping exception support.
48488         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
48490 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
48492         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
48493         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
48494         * timezone/Makefile (testdata): Move definition above include of
48495         Rules.
48496         (test-zones): New variable.
48497         (tests-special): Add zone files.
48498         (build-testdata): Use $(evaluate-test).
48500         * elf/Makefile (tests-special): Rename tests to end with .out.
48501         ($(objpfx)noload-mem): Likewise.
48502         ($(objpfx)tst-leaks1-mem): Likewise.
48503         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
48504         * iconv/Makefile (xtests-special): Change test-iconvconfig to
48505         $(objpfx)test-iconvconfig.out.
48506         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
48507         set -e inside subshell and redirect output to file.
48508         * iconvdata/Makefile (generated): Rename tests to end with .out.
48509         Correct type.
48510         (tests-special): Rename tests to end with .out.
48511         ($(objpfx)mtrace-tst-loading): Likewise.
48512         * intl/Makefile (generated): Likewise.
48513         (tests-special): Likewise.
48514         ($(objpfx)mtrace-tst-gettext): Likewise.
48515         * misc/Makefile (generated): Likewise.
48516         (tests-special): Likewise.
48517         ($(objpfx)tst-error1-mem): Likewise.
48518         * nptl/Makefile (tests-special): Likewise.
48519         ($(objpfx)tst-stack3-mem): Likewise.
48520         (generated): Likewise.
48521         * posix/Makefile (generated): Likewise.
48522         (tests-special): Likewise.
48523         (xtests-special): Likewise.
48524         ($(objpfx)tst-fnmatch-mem): Likewise.
48525         ($(objpfx)bug-regex2-mem): Likewise.
48526         ($(objpfx)bug-regex14-mem): Likewise.
48527         ($(objpfx)bug-regex21-mem): Likewise.
48528         ($(objpfx)bug-regex31-mem): Likewise.
48529         ($(objpfx)tst-vfork3-mem): Likewise.
48530         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
48531         ($(objpfx)tst-pcre-mem): Likewise.
48532         ($(objpfx)tst-boost-mem): Likewise.
48533         ($(objpfx)bug-ga2-mem): Likewise.
48534         ($(objpfx)bug-glob2-mem): Likewise.
48535         * resolv/Makefile (generate): Likewise.
48536         (tests-special): Likewise.
48537         (xtests-special): Likewise.
48538         (generated): Likewise.
48539         ($(objpfx)mtrace-tst-leaks): Likewise.
48540         ($(objpfx)mtrace-tst-leaks2): Likewise.
48542         * scripts/merge-test-results.sh: New file.
48543         * Makefile (tests-special-notdir): New variable.
48544         (tests): Run merge-test-results.sh.
48545         (xtests): Likewise.
48546         * Rules (tests-special-notdir): New variable.
48547         (xtests-special-notdir): Likewise.
48548         (tests): Run merge-test-results.sh
48549         (xtests): Likewise.
48551         * Makeconfig (test-xfail-name): New variable.
48552         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
48553         compute variable name for expected failures.
48554         * conform/Makefile (conformtest-headers-data): New variable.
48555         (conformtest-standards): Likewise.
48556         (conformtest-headers-ISO): Likewise.
48557         (conformtest-headers-ISO99): Likewise.
48558         (conformtest-headers-ISO11): Likewise.
48559         (conformtest-headers-POSIX): Likewise.
48560         (conformtest-headers-XPG3): Likewise.
48561         (conformtest-headers-XPG4): Likewise.
48562         (conformtest-headers-UNIX98): Likewise.
48563         (conformtest-headers-XOPEN2K): Likewise.
48564         (conformtest-headers-POSIX2008): Likewise.
48565         (conformtest-headers-XOPEN2K8): Likewise.
48566         (conformtest-header-list-base): Likewise.
48567         (conformtest-header-list-tests): Likewise.
48568         (conformtest-header-base): Likewise.
48569         (conformtest-header-tests): Likewise.
48570         (tests-special): Add $(conformtest-header-list-tests).  If
48571         [$(fast-check) && !$(cross-compiling)], add
48572         $(conformtest-header-tests) instead of
48573         $(objpfx)run-conformtest.out.
48574         (generated): Add $(conformtest-header-list-base).  If
48575         [$(fast-check) && !$(cross-compiling)], add
48576         $(conformtest-header-base).  Remove previous setting.
48577         ($(conformtest-header-list-tests)): New target.
48578         (test-xfail-run-conformtest): Remove variable.
48579         ($(objpfx)run-conformtest.out): Remove target.
48580         (test-xfail-ISO11/complex.h/conform): New variable.
48581         (test-xfail-ISO11/stdalign.h/conform): Likewise.
48582         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
48583         (test-xfail-XPG3/varargs.h/conform): Likewise.
48584         (test-xfail-XPG4/varargs.h/conform): Likewise.
48585         (test-xfail-UNIX98/varargs.h/conform): Likewise.
48586         (test-xfail-XPG4/ndbm.h/conform): Likewise.
48587         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
48588         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
48589         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
48590         (test-xfail-XPG3/fcntl.h/conform): Likewise.
48591         (test-xfail-XPG3/ftw.h/conform): Likewise.
48592         (test-xfail-XPG3/grp.h/conform): Likewise.
48593         (test-xfail-XPG3/langinfo.h/conform): Likewise.
48594         (test-xfail-XPG3/limits.h/conform): Likewise.
48595         (test-xfail-XPG3/pwd.h/conform): Likewise.
48596         (test-xfail-XPG3/search.h/conform): Likewise.
48597         (test-xfail-XPG3/signal.h/conform): Likewise.
48598         (test-xfail-XPG3/stdio.h/conform): Likewise.
48599         (test-xfail-XPG3/stdlib.h/conform): Likewise.
48600         (test-xfail-XPG3/string.h/conform): Likewise.
48601         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
48602         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
48603         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
48604         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
48605         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
48606         (test-xfail-XPG3/sys/types.h/conform): Likewise.
48607         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
48608         (test-xfail-XPG3/termios.h/conform): Likewise.
48609         (test-xfail-XPG3/time.h/conform): Likewise.
48610         (test-xfail-XPG3/unistd.h/conform): Likewise.
48611         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
48612         (test-xfail-XPG4/fcntl.h/conform): Likewise.
48613         (test-xfail-XPG4/langinfo.h/conform): Likewise.
48614         (test-xfail-XPG4/netdb.h/conform): Likewise.
48615         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
48616         (test-xfail-XPG4/signal.h/conform): Likewise.
48617         (test-xfail-XPG4/stdio.h/conform): Likewise.
48618         (test-xfail-XPG4/stdlib.h/conform): Likewise.
48619         (test-xfail-XPG4/stropts.h/conform): Likewise.
48620         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
48621         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
48622         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
48623         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
48624         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
48625         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
48626         (test-xfail-XPG4/sys/time.h/conform): Likewise.
48627         (test-xfail-XPG4/sys/types.h/conform): Likewise.
48628         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
48629         (test-xfail-XPG4/termios.h/conform): Likewise.
48630         (test-xfail-XPG4/ucontext.h/conform): Likewise.
48631         (test-xfail-XPG4/unistd.h/conform): Likewise.
48632         (test-xfail-XPG4/utmpx.h/conform): Likewise.
48633         (test-xfail-POSIX/sched.h/conform): Likewise.
48634         (test-xfail-POSIX/signal.h/conform): Likewise.
48635         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
48636         (test-xfail-POSIX/tar.h/conform): Likewise.
48637         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
48638         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
48639         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
48640         (test-xfail-UNIX98/netdb.h/conform): Likewise.
48641         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
48642         (test-xfail-UNIX98/sched.h/conform): Likewise.
48643         (test-xfail-UNIX98/signal.h/conform): Likewise.
48644         (test-xfail-UNIX98/stdio.h/conform): Likewise.
48645         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
48646         (test-xfail-UNIX98/stropts.h/conform): Likewise.
48647         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
48648         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
48649         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
48650         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
48651         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
48652         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
48653         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
48654         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
48655         (test-xfail-UNIX98/unistd.h/conform): Likewise.
48656         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
48657         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
48658         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
48659         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
48660         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
48661         (test-xfail-XOPEN2K/math.h/conform): Likewise.
48662         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
48663         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
48664         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
48665         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
48666         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
48667         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
48668         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
48669         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
48670         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
48671         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
48672         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
48673         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
48674         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
48675         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
48676         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
48677         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
48678         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
48679         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
48680         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
48681         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
48682         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
48683         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
48684         (test-xfail-POSIX2008/signal.h/conform): Likewise.
48685         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
48686         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
48687         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
48688         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
48689         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
48690         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
48691         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
48692         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
48693         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
48694         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
48695         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
48696         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
48697         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
48698         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
48699         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
48700         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
48701         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
48702         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
48703         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
48704         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
48705         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
48706         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
48707         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
48708         (conformtest-cc-flags): Likewise.
48709         ($(conformtest-header-tests): New target.
48710         * conform/check-header-lists.sh: New file.
48711         * conform/run-conformtest.sh: Remove.
48713         * conform/conformtest.pl: Allow ' and \ in values given for
48714         constants.
48715         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
48716         inclusion.
48717         [POSIX] (sys/types.h): Likewise.
48718         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
48719         inclusion.
48720         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
48721         inclusion.
48722         * conform/data/signal.h-data (SIGIO): Remove expectation.
48723         [XPG3] (SIGBUS): Do not expect.
48724         [POSIX || XPG3] (SIGPOLL): Likewise.
48725         [POSIX || XPG3] (SIGPROF): Likewise.
48726         [POSIX || XPG3] (SIGSYS): Likewise.
48727         [XPG3] (SIGTRAP): Likewise.
48728         [POSIX || XPG3] (SIGURG): Likewise.
48729         [POSIX || XPG3] (SIGVTALRM): Likewise.
48730         [POSIX || XPG3] (SIGXCPU): Likewise.
48731         [POSIX || XPG3] (SIGXFSZ): Likewise.
48732         [POSIX] (SA_SIGINFO): Expect.
48733         [XPG3] (siginfo_t): Do not expect type or contents.
48734         [POSIX] (si_pid): Do not expect element.
48735         [POSIX] (si_uid): Likewise.
48736         [POSIX] (si_addr): Likewise.
48737         [POSIX] (si_status): Likewise.
48738         [POSIX] (si_band): Likewise.
48739         [XPG4] (si_value): Likewise.
48740         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
48741         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
48742         [POSIX || XPG3] (ILL_ILLADR): Likewise.
48743         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
48744         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
48745         [POSIX || XPG3] (ILL_PRVREG): Likewise.
48746         [POSIX || XPG3] (ILL_COPROC): Likewise.
48747         [POSIX || XPG3] (ILL_BADSTK): Likewise.
48748         [POSIX || XPG3] (FPE_INTDIV): Likewise.
48749         [POSIX || XPG3] (FPE_INTOVF): Likewise.
48750         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
48751         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
48752         [POSIX || XPG3] (FPE_FLTUND): Likewise.
48753         [POSIX || XPG3] (FPE_FLTRES): Likewise.
48754         [POSIX || XPG3] (FPE_FLTINV): Likewise.
48755         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
48756         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
48757         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
48758         [POSIX || XPG3] (BUS_ADRALN): Likewise.
48759         [POSIX || XPG3] (BUS_ADRERR): Likewise.
48760         [POSIX || XPG3] (BUS_OBJERR): Likewise.
48761         [POSIX || XPG3] (CLD_EXITED): Likewise.
48762         [POSIX || XPG3] (CLD_KILLED): Likewise.
48763         [POSIX || XPG3] (CLD_DUMPED): Likewise.
48764         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
48765         [POSIX || XPG3] (CLD_STOPPED): Likewise.
48766         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
48767         [POSIX || XPG3] (POLL_IN): Likewise.
48768         [POSIX || XPG3] (POLL_OUT): Likewise.
48769         [POSIX || XPG3] (POLL_MSG): Likewise.
48770         [POSIX || XPG3] (POLL_ERR): Likewise.
48771         [POSIX || XPG3] (POLL_PRI): Likewise.
48772         [POSIX || XPG3] (POLL_HUP): Likewise.
48773         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
48774         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
48775         (SIG*): Do not allow.
48776         [XPG3] (si_*): Likewise.
48777         [XPG3] (SI_*): Likewise.
48778         [XPG3 || XPG4] (sigev_*): Likewise.
48779         [XPG3 || XPG4] (SIGEV_*): Likewise.
48780         [XPG3 || XPG4] (sival_*): Likewise.
48781         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
48782         [POSIX || XPG3] (BUS_*): Likewise.
48783         [POSIX || XPG3] (CLD_*): Likewise.
48784         [POSIX || XPG3] (FPE_*): Likewise.
48785         [POSIX || XPG3] (ILL_*): Likewise.
48786         [POSIX || XPG3] (POLL_*): Likewise.
48787         [POSIX || XPG3] (SEGV_*): Likewise.
48788         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
48789         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
48790         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
48791         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
48792         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
48793         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
48794         Specify type and value.
48795         (TVERSLEN): Likewise.
48796         (REGTYPE): Likewise.
48797         (AREGTYPE): Likewise.
48798         (LNKTYPE): Likewise.
48799         (SYMTYPE): Likewise.
48800         (CHRTYPE): Likewise.
48801         (BLKTYPE): Likewise.
48802         (DIRTYPE): Likewise.
48803         (FIFOTYPE): Likewise.
48804         (CONTTYPE): Likewise.
48805         (TSUID): Likewise.
48806         (TSGID): Likewise.
48807         (TSVTX): Likewise.
48808         (TUREAD): Likewise.
48809         (TUWRITE): Likewise.
48810         (TUEXEC): Likewise.
48811         (TGREAD): Likewise.
48812         (TGWRITE): Likewise.
48813         (TGEXEC): Likewise.
48814         (TOREAD): Likewise.
48815         (TOWRITE): Likewise.
48816         (TOEXEC): Likewise.
48817         [POSIX] (TSVTX): Expect constant.
48819 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
48821         * Makefile (tests): Change dependencies to ....
48822         (tests-special): ... additions to this variable.
48823         (tests): Depend on $(tests-special).
48824         * Makerules (check-abi-list): New variable.
48825         (check-abi): Depend on $(check-abi-list).
48826         [$(subdir) = elf] (tests-special): Add
48827         $(objpfx)check-abi-libc.out.
48828         [$(build-shared) = yes && subdir] (tests-special): Add
48829         $(check-abi-list).
48830         [$(build-shared) = yes && subdir] (tests): Do not depend on
48831         check-abi.
48832         * Rules (tests): Depend on $(tests-special).
48833         (xtests): Depend on $(xtests-special).
48834         * catgets/Makefile (tests): Change dependencies to ....
48835         (tests-special): ... additions to this variable.
48836         * conform/Makefile (tests): Change dependencies to ....
48837         (tests-special): ... additions to this variable.
48838         * elf/Makefile (tests): Change dependencies to ....
48839         (tests-special): ... additions to this variable.
48840         * grp/Makefile (tests): Change dependencies to ....
48841         (tests-special): ... additions to this variable.
48842         * iconv/Makefile (xtests): Change dependencies to ....
48843         (xtests-special): ... additions to this variable.
48844         * iconvdata/Makefile (tests): Change dependencies to ....
48845         (tests-special): ... additions to this variable.
48846         * intl/Makefile (tests): Change dependencies to ....
48847         (tests-special): ... additions to this variable.  Also add
48848         $(objpfx)tst-gettext.out.
48849         * io/Makefile (tests): Change dependencies to ....
48850         (tests-special): ... additions to this variable.
48851         * libio/Makefile (tests): Change dependencies to ....
48852         (tests-special): ... additions to this variable.
48853         * malloc/Makefile (tests): Change dependencies to ....
48854         (tests-special): ... additions to this variable.
48855         * misc/Makefile (tests): Change dependencies to ....
48856         (tests-special): ... additions to this variable.
48857         * nptl/Makefile (tests): Change dependencies to ....
48858         (tests-special): ... additions to this variable.
48859         * nptl_db/Makefile (tests): Change dependencies to ....
48860         (tests-special): ... additions to this variable.
48861         * posix/Makefile (tests): Change dependencies to ....
48862         (tests-special): ... additions to this variable.
48863         (xtests): Change dependencies to ....
48864         (xtests-special): ... additions to this variable.
48865         * resolv/Makefile (tests): Change dependencies to ....
48866         (tests-special): ... additions to this variable.
48867         (xtests): Change dependencies to ....
48868         (xtests-special): ... additions to this variable.
48869         * stdio-common/Makefile (tests): Change dependencies to ....
48870         (tests-special): ... additions to this variable.
48871         (do-tst-unbputc): Remove target.
48872         (do-tst-printf): Likewise.
48873         * stdlib/Makefile (tests): Change dependencies to ....
48874         (tests-special): ... additions to this variable.
48875         * string/Makefile (tests): Change dependencies to ....
48876         (tests-special): ... additions to this variable.
48877         * sysdeps/x86/Makefile (tests): Change dependencies to ....
48878         (tests-special): ... additions to this variable.
48880         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
48881         whole file.
48882         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
48883         whole file.
48884         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
48885         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
48887         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
48888         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
48889         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
48890         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
48891         * conform/data/libgen.h-data [XPG3]: Likewise.
48892         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
48893         * conform/data/ndbm.h-data [XPG3]: Likewise.
48894         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
48895         * conform/data/netdb.h-data [XPG3]: Likewise.
48896         * conform/data/netinet/in.h-data [XPG3]: Likewise.
48897         * conform/data/poll.h-data [XPG3]: Likewise.
48898         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
48899         * conform/data/strings.h-data [XPG3]: Likewise.
48900         * conform/data/stropts.h-data [XPG3]: Likewise.
48901         * conform/data/sys/mman.h-data [XPG3]: Likewise.
48902         * conform/data/sys/resource.h-data [XPG3]: Likewise.
48903         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
48904         Likewise.
48905         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
48906         * conform/data/sys/time.h-data [XPG3]: Likewise.
48907         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
48908         * conform/data/sys/uio.h-data [XPG3]: Likewise.
48909         * conform/data/sys/un.h-data [XPG3]: Likewise.
48910         * conform/data/syslog.h-data [XPG3]: Likewise.
48911         * conform/data/ucontext.h-data [XPG3]: Likewise.
48912         * conform/data/utmpx.h-data [XPG3]: Likewise.
48913         * conform/data/varargs.h-data [UNIX98]: Enable file.
48915         * manual/Makefile (INSTALL_INFO): Remove variable setting.
48917         * math/libm-test.inc (struct test_f_f_data): Move expected results
48918         into structure for each rounding mode.
48919         (struct test_ff_f_data): Likewise.
48920         (struct test_ff_f_data_nexttoward): Likewise.
48921         (struct test_fi_f_data): Likewise.
48922         (struct test_fl_f_data): Likewise.
48923         (struct test_if_f_data): Likewise.
48924         (struct test_fff_f_data): Likewise.
48925         (struct test_c_f_data): Likewise.
48926         (struct test_f_f1_data): Likewise.
48927         (struct test_fF_f1_data): Likewise.
48928         (struct test_ffI_f1_data): Likewise.
48929         (struct test_c_c_data): Likewise.
48930         (struct test_cc_c_data): Likewise.
48931         (struct test_f_i_data): Likewise.
48932         (struct test_ff_i_data): Likewise.
48933         (struct test_f_l_data): Likewise.
48934         (struct test_f_L_data): Likewise.
48935         (struct test_fFF_11_data): Likewise.
48936         (RM_): New macro.
48937         (RM_FE_DOWNWARD): Likewise.
48938         (RM_FE_TONEAREST): Likewise.
48939         (RM_FE_TOWARDZERO): Likewise.
48940         (RM_FE_UPWARD): Likewise.
48941         (RUN_TEST_LOOP_f_f): Update references to expected results.
48942         (RUN_TEST_LOOP_2_f): Likewise.
48943         (RUN_TEST_LOOP_fff_f): Likewise.
48944         (RUN_TEST_LOOP_c_f): Likewise.
48945         (RUN_TEST_LOOP_f_f1): Likewise.
48946         (RUN_TEST_LOOP_fF_f1): Likewise.
48947         (RUN_TEST_LOOP_fI_f1): Likewise.
48948         (RUN_TEST_LOOP_ffI_f1): Likewise.
48949         (RUN_TEST_LOOP_c_c): Likewise.
48950         (RUN_TEST_LOOP_cc_c): Likewise.
48951         (RUN_TEST_LOOP_f_i): Likewise.
48952         (RUN_TEST_LOOP_f_i_tg): Likewise.
48953         (RUN_TEST_LOOP_ff_i_tg): Likewise.
48954         (RUN_TEST_LOOP_f_b): Likewise.
48955         (RUN_TEST_LOOP_f_b_tg): Likewise.
48956         (RUN_TEST_LOOP_f_l): Likewise.
48957         (RUN_TEST_LOOP_f_L): Likewise.
48958         (RUN_TEST_LOOP_fFF_11): Likewise.
48959         * math/gen-libm-test.pl (parse_args): Output four copies of
48960         expected results for each test.
48962         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
48963         (__ASSUME_UTIMES): Remove.
48964         * sysdeps/unix/sysv/linux/tile/kernel-features.h
48965         (__ASSUME_UTIMES): Likewise.
48967         * math/gen-auto-libm-tests.c: Update comment on output format.
48968         (output_for_one_input_case): Generate before-rounding and
48969         after-rounding information as conditions on output flags not
48970         floating-point format.
48971         * math/auto-libm-test-out: Regenerated.
48972         * math/gen-libm-test.pl (cond_value): New function.
48973         (or_cond_value): Use cond_value.
48974         (generate_testfile): Handle conditional exceptions.
48976 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
48978         * math/libm-test.inc (max_valid_error): New variable.
48979         (init_max_error): Take new argument specifying whether function
48980         results are exactly determined.  Set max_valid_error and bound
48981         other variables for errors based on this argument.
48982         (set_max_error): Do not record results above max_valid_error.
48983         (check_float_internal): Only accept errors of up to 0.5ulps if
48984         also at most max_valid_error.
48985         (START): Take new argument EXACT and pass it to init_max_error.
48986         (acos_test): Update call to START.
48987         (acos_test_tonearest): Likewise.
48988         (acos_test_towardzero): Likewise.
48989         (acos_test_downward): Likewise.
48990         (acos_test_upward): Likewise.
48991         (acosh_test): Likewise.
48992         (asin_test): Likewise.
48993         (asin_test_tonearest): Likewise.
48994         (asin_test_towardzero): Likewise.
48995         (asin_test_downward): Likewise.
48996         (asin_test_upward): Likewise.
48997         (asinh_test): Likewise.
48998         (atan_test): Likewise.
48999         (atanh_test): Likewise.
49000         (atan2_test): Likewise.
49001         (cabs_test): Likewise.
49002         (cacos_test): Likewise.
49003         (cacosh_test): Likewise.
49004         (carg_test): Likewise.
49005         (casin_test): Likewise.
49006         (casinh_test): Likewise.
49007         (catan_test): Likewise.
49008         (catanh_test): Likewise.
49009         (cbrt_test): Likewise.
49010         (ccos_test): Likewise.
49011         (ccosh_test): Likewise.
49012         (ceil_test): Likewise.
49013         (cexp_test): Likewise.
49014         (cimag_test): Likewise.
49015         (clog_test): Likewise.
49016         (clog10_test): Likewise.
49017         (conj_test): Likewise.
49018         (copysign_test): Likewise.
49019         (cos_test): Likewise.
49020         (cos_test_tonearest): Likewise.
49021         (cos_test_towardzero): Likewise.
49022         (cos_test_downward): Likewise.
49023         (cos_test_upward): Likewise.
49024         (cosh_test): Likewise.
49025         (cosh_test_tonearest): Likewise.
49026         (cosh_test_towardzero): Likewise.
49027         (cosh_test_downward): Likewise.
49028         (cosh_test_upward): Likewise.
49029         (cpow_test): Likewise.
49030         (cproj_test): Likewise.
49031         (creal_test): Likewise.
49032         (csin_test): Likewise.
49033         (csinh_test): Likewise.
49034         (csqrt_test): Likewise.
49035         (ctan_test): Likewise.
49036         (ctan_test_tonearest): Likewise.
49037         (ctan_test_towardzero): Likewise.
49038         (ctan_test_downward): Likewise.
49039         (ctan_test_upward): Likewise.
49040         (ctanh_test): Likewise.
49041         (ctanh_test_tonearest): Likewise.
49042         (ctanh_test_towardzero): Likewise.
49043         (ctanh_test_downward): Likewise.
49044         (ctanh_test_upward): Likewise.
49045         (erf_test): Likewise.
49046         (erfc_test): Likewise.
49047         (exp_test): Likewise.
49048         (exp_test_tonearest): Likewise.
49049         (exp_test_towardzero): Likewise.
49050         (exp_test_downward): Likewise.
49051         (exp_test_upward): Likewise.
49052         (exp10_test): Likewise.
49053         (exp10_test_tonearest): Likewise.
49054         (exp10_test_towardzero): Likewise.
49055         (exp10_test_downward): Likewise.
49056         (exp10_test_upward): Likewise.
49057         (pow10_test): Likewise.
49058         (exp2_test): Likewise.
49059         (expm1_test): Likewise.
49060         (expm1_test_tonearest): Likewise.
49061         (expm1_test_towardzero): Likewise.
49062         (expm1_test_downward): Likewise.
49063         (expm1_test_upward): Likewise.
49064         (fabs_test): Likewise.
49065         (fdim_test): Likewise.
49066         (floor_test): Likewise.
49067         (fma_test): Likewise.
49068         (fma_test_towardzero): Likewise.
49069         (fma_test_downward): Likewise.
49070         (fma_test_upward): Likewise.
49071         (fmax_test): Likewise.
49072         (fmin_test): Likewise.
49073         (fmod_test): Likewise.
49074         (fpclassify_test): Likewise.
49075         (frexp_test): Likewise.
49076         (hypot_test): Likewise.
49077         (ilogb_test): Likewise.
49078         (isfinite_test): Likewise.
49079         (finite_test): Likewise.
49080         (isgreater_test): Likewise.
49081         (isgreaterequal_test): Likewise.
49082         (isinf_test): Likewise.
49083         (isless_test): Likewise.
49084         (islessequal_test): Likewise.
49085         (islessgreater_test): Likewise.
49086         (isnan_test): Likewise.
49087         (isnormal_test): Likewise.
49088         (issignaling_test): Likewise.
49089         (isunordered_test): Likewise.
49090         (j0_test): Likewise.
49091         (j1_test): Likewise.
49092         (jn_test): Likewise.
49093         (ldexp_test): Likewise.
49094         (lgamma_test): Likewise.
49095         (gamma_test): Likewise.
49096         (lrint_test): Likewise.
49097         (lrint_test_tonearest): Likewise.
49098         (lrint_test_towardzero): Likewise.
49099         (lrint_test_downward): Likewise.
49100         (lrint_test_upward): Likewise.
49101         (llrint_test): Likewise.
49102         (llrint_test_tonearest): Likewise.
49103         (llrint_test_towardzero): Likewise.
49104         (llrint_test_downward): Likewise.
49105         (llrint_test_upward): Likewise.
49106         (log_test): Likewise.
49107         (log10_test): Likewise.
49108         (log1p_test): Likewise.
49109         (log2_test): Likewise.
49110         (logb_test): Likewise.
49111         (logb_test_downward): Likewise.
49112         (lround_test): Likewise.
49113         (llround_test): Likewise.
49114         (modf_test): Likewise.
49115         (nearbyint_test): Likewise.
49116         (nextafter_test): Likewise.
49117         (nexttoward_test): Likewise.
49118         (pow_test): Likewise.
49119         (pow_test_tonearest): Likewise.
49120         (pow_test_towardzero): Likewise.
49121         (pow_test_downward): Likewise.
49122         (pow_test_upward): Likewise.
49123         (remainder_test): Likewise.
49124         (drem_test): Likewise.
49125         (remainder_test_tonearest): Likewise.
49126         (drem_test_tonearest): Likewise.
49127         (remainder_test_towardzero): Likewise.
49128         (drem_test_towardzero): Likewise.
49129         (remainder_test_downward): Likewise.
49130         (drem_test_downward): Likewise.
49131         (remainder_test_upward): Likewise.
49132         (drem_test_upward): Likewise.
49133         (remquo_test): Likewise.
49134         (rint_test): Likewise.
49135         (rint_test_tonearest): Likewise.
49136         (rint_test_towardzero): Likewise.
49137         (rint_test_downward): Likewise.
49138         (rint_test_upward): Likewise.
49139         (round_test): Likewise.
49140         (scalb_test): Likewise.
49141         (scalbn_test): Likewise.
49142         (scalbln_test): Likewise.
49143         (signbit_test): Likewise.
49144         (sin_test): Likewise.
49145         (sin_test_tonearest): Likewise.
49146         (sin_test_towardzero): Likewise.
49147         (sin_test_downward): Likewise.
49148         (sin_test_upward): Likewise.
49149         (sincos_test): Likewise.
49150         (sinh_test): Likewise.
49151         (sinh_test_tonearest): Likewise.
49152         (sinh_test_towardzero): Likewise.
49153         (sinh_test_downward): Likewise.
49154         (sinh_test_upward): Likewise.
49155         (sqrt_test): Likewise.
49156         (sqrt_test_tonearest): Likewise.
49157         (sqrt_test_towardzero): Likewise.
49158         (sqrt_test_downward): Likewise.
49159         (sqrt_test_upward): Likewise.
49160         (tan_test): Likewise.
49161         (tan_test_tonearest): Likewise.
49162         (tan_test_towardzero): Likewise.
49163         (tan_test_downward): Likewise.
49164         (tan_test_upward): Likewise.
49165         (tanh_test): Likewise.
49166         (tgamma_test): Likewise.
49167         (trunc_test): Likewise.
49168         (y0_test): Likewise.
49169         (y1_test): Likewise.
49170         (yn_test): Likewise.
49171         (significand_test): Likewise.
49173         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
49174         individual tests in comment.
49175         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
49176         (prev_max_error): New variable.
49177         (prev_real_max_error): Likewise.
49178         (prev_imag_max_error): Likewise.
49179         (compare_ulp_data): Don't refer to test names in comment.
49180         (find_test_ulps): Remove function.
49181         (find_function_ulps): Likewise.
49182         (find_complex_function_ulps): Likewise.
49183         (init_max_error): Take function name as argument.  Look up ulps
49184         for that function.
49185         (print_ulps): Remove function.
49186         (print_max_error): Use prev_max_error instead of calling
49187         find_function_ulps.
49188         (print_complex_max_error): Use prev_real_max_error and
49189         prev_imag_max_error instead of calling find_complex_function_ulps.
49190         (check_float_internal): Take max_ulp parameter instead of calling
49191         find_test_ulps.  Don't call print_ulps.
49192         (check_float): Update call to check_float_internal.
49193         (check_complex): Update calls to check_float_internal.
49194         (START): Pass argument to init_max_error.
49195         * math/gen-libm-test.pl (%results): Don't include "kind"
49196         information.
49197         (parse_ulps): Don't handle ulps of individual tests.
49198         (print_ulps_file): Likewise.
49199         (output_ulps): Likewise.
49200         * math/README.libm-test: Update.
49201         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
49202         individual tests.
49203         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
49204         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
49205         * sysdeps/arm/libm-test-ulps: Likewise.
49206         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
49207         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
49208         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
49209         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
49210         * sysdeps/microblaze/libm-test-ulps: Likewise.
49211         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
49212         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
49213         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49214         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
49215         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49216         * sysdeps/sh/libm-test-ulps: Likewise.
49217         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49218         * sysdeps/tile/libm-test-ulps: Likewise.
49219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49221 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
49223         * math/libm-test.inc (print_complex_max_error): Check separately
49224         whether real and imaginary errors are within allowed range and
49225         pass 0 to print_complex_function_ulps instead of value within
49226         allowed range.
49228 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49230         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
49231         formatting.
49232         (get_handles_fopen): Likewise.
49233         (do_write_test): Likewise.
49235         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
49237         * libio/fileops.c (do_ftell): Use cached offset when
49238         available.
49239         * libio/iofwide.c (do_ftell_wide): Likewise.
49240         * libio/iofdopen.c (_IO_new_fdopen): Don't use
49241         _IO_file_attach.
49242         * libio/wfileops.c (_IO_fwide): Don't cache offset.
49244         [BZ #16532]
49245         * libio/libioP.h (get_file_offset): New function.
49246         * libio/fileops.c (get_file_offset): Likewise.
49247         (do_ftell): Likewise.
49248         (_IO_new_file_seekoff): Split out ftell logic.
49249         * libio/wfileops.c (do_ftell_wide): Likewise.
49250         (_IO_wfile_seekoff): Split out ftell logic.
49251         * libio/tst-ftell-active-handler.c: New test case.
49252         * libio/Makefile (tests): Add it.
49254 2014-03-03  Roland McGrath  <roland@hack.frob.com>
49256         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
49257         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
49259 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
49261         [BZ #16639]
49262         * nscd/connections.c (nscd_init): Call do_exit.
49263         (start_threads): Call do_exit and notify_parent.
49264         (begin_drop_privileges): Call do_exit.
49265         (finish_drop_privileges): Likewise.
49266         * nscd/selinux.c (preserve_capabilities): Likewise.
49267         (install_real_capabilities): Likewise.
49268         (nscd_selinux_enabled): Likewise.
49269         (avc_create_thread): Likewise.
49270         (avc_alloc_lock): Likewise.
49271         (nscd_avc_init): Likewise.
49272         * nscd/nscd.c (parent_fd): New static variable.
49273         (main): Create a pipe between parent and child processes.
49274         Skip closing parent_fd.
49275         (monitor_child): New function.
49276         (do_exit): Likewise.
49277         (notify_parent): Likewise.
49278         * nscd/nscd.h (notify_parent): Likewise.
49279         (do_exit): Likewise.
49281 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
49283         * malloc/malloc.c (__libc_calloc): Revert last change.
49285 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49287         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49289 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
49291         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
49292         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
49293         implementation.
49294         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
49295         (__libc_ifunc_impl_list): Likewise.
49296         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
49297         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
49298         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
49299         * string/strrchr.c: Define STRRCHR.
49301 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
49303         * benchtest/bench-strtok.c (simple_strtok): Delete.
49304         (strtok_string): Use as benchmark.
49305         * string/strtok (STRTOK): New macro.
49307 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
49309         * manual/threads.texi: Add header and standard comments to all
49310         functions.
49312         * elf/dl-lookup.c (check_match): New function.
49313         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
49314         (do_lookup_x): Remove nested function check_match. Use non-nested
49315         function check_match.
49317 2014-02-28  Roland McGrath  <roland@hack.frob.com>
49319         * csu/Makefile (generated, before-compile): Use += rather than =.
49320         * catgets/Makefile (generated, generated-dirs): Likewise.
49321         * debug/Makefile (generated): Likewise.
49322         * dlfcn/Makefile (generated): Likewise.
49323         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
49324         * iconvdata/Makefile (before-compile, generated): Likewise.
49325         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
49326         * libio/Makefile (generated): Likewise.
49327         * malloc/Makefile (generated): Likewise.
49328         * manual/Makefile (generated, generated-dirs): Likewise.
49329         * misc/Makefile (generated): Likewise.
49330         * posix/Makefile (generated): Likewise.
49331         * resolv/Makefile (generated): Likewise.
49332         * sunrpc/Makefile (generated, generated-dirs): Likewise.
49333         * timezone/Makefile (generated, generated-dirs): Likewise.
49335         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
49337 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49339         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
49340         power8 implementation.
49341         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
49342         file: POWER8 llround ifunc implementation.
49343         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
49344         (__lllround): Add POWER8 implementation.
49345         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
49346         POWER8 llround implementation.
49348         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
49349         power8 implementation.
49350         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
49351         file: POWER8 llrint ifunc implementation.
49352         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
49353         Add POWER8 implementation.
49354         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
49355         POWER8 llrint implementation.
49357         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
49358         power8 implementation.
49359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
49360         file: POWER8 finite ifunc implementation.
49361         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
49362         Add POWER8 implementation.
49363         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
49364         Likewise.
49365         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
49366         POWER8 finite implementation.
49367         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
49369         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
49370         power8 implementation.
49371         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
49372         file: POWER8 isinf ifunc implementation.
49373         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
49374         POWER8 implementation.
49375         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
49376         Likewise.
49377         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
49378         isinf implementation.
49379         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
49381         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
49382         (INIT_ARCH): Add hwcap2 initialization.
49383         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
49384         power8 implementation.
49385         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
49386         file: POWER8 isnan ifunc implementation.
49387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
49388         POWER8 implementation.
49389         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
49390         Likewise.
49391         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
49392         isnan implementation.
49393         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
49395 2014-02-27  Joey Ye  <joey.ye@arm.com>
49397         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
49398         (_FP_NANFRAC_Q): Set to zero.
49400 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49402         [BZ #16623]
49403         * math/auto-libm-test-in: New test inputs.
49404         * math/auto-libm-test-out: Regenerate.
49405         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
49406         and DA.
49407         (__cos): Likewise.
49408         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
49410 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
49412         * scripts/evaluate-test.sh: Take new argument indicating whether
49413         failure is expected.
49414         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
49415         indicating whether failure is expected.
49416         * conform/Makefile (test-xfail-run-conformtest): New variable.
49417         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
49418         level.
49419         * posix/Makefile (test-xfail-annexc): New variable.
49420         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
49422 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
49424         * argp/Makefile: Include Makeconfig immediately after defining
49425         subdir.
49426         * assert/Makefile: Likewise.
49427         * benchtests/Makefile: Likewise.
49428         * catgets/Makefile: Likewise.
49429         * conform/Makefile: Likewise.
49430         * crypt/Makefile: Likewise.
49431         * csu/Makefile: Likewise.
49432         (all): Remove target.
49433         * ctype/Makefile: Include Makeconfig immediately after defining
49434         subdir.
49435         * debug/Makefile: Likewise.
49436         * dirent/Makefile: Likewise.
49437         * dlfcn/Makefile: Likewise.
49438         * gmon/Makefile: Likewise.
49439         * gnulib/Makefile: Likewise.
49440         * grp/Makefile: Likewise.
49441         * gshadow/Makefile: Likewise.
49442         * hesiod/Makefile: Likewise.
49443         * hurd/Makefile: Likewise.
49444         (all): Remove target.
49445         * iconvdata/Makefile: Include Makeconfig immediately after
49446         defining subdir.
49447         * inet/Makefile: Likewise.
49448         * intl/Makefile: Likewise.
49449         * io/Makefile: Likewise.
49450         * libio/Makefile: Likewise.
49451         (all): Remove target.
49452         * locale/Makefile: Include Makeconfig immediately after defining
49453         subdir.
49454         * login/Makefile: Likewise.
49455         * mach/Makefile: Likewise.
49456         (all): Remove target.
49457         * malloc/Makefile: Include Makeconfig immediately after defining
49458         subdir.
49459         (all): Remove target.
49460         * manual/Makefile: Include Makeconfig immediately after defining
49461         subdir.
49462         * math/Makefile: Likewise.
49463         * misc/Makefile: Likewise.
49464         * nis/Makefile: Likewise.
49465         * nss/Makefile: Likewise.
49466         * po/Makefile: Likewise.
49467         (all): Remove target.
49468         * posix/Makefile: Include Makeconfig immediately after defining
49469         subdir.
49470         * pwd/Makefile: Likewise.
49471         * resolv/Makefile: Likewise.
49472         * resource/Makefile: Likewise.
49473         * rt/Makefile: Likewise.
49474         * setjmp/Makefile: Likewise.
49475         * shadow/Makefile: Likewise.
49476         * signal/Makefile: Likewise.
49477         * socket/Makefile: Likewise.
49478         * soft-fp/Makefile: Likewise.
49479         * stdio-common/Makefile: Likewise.
49480         * stdlib/Makefile: Likewise.
49481         * streams/Makefile: Likewise.
49482         * string/Makefile: Likewise.
49483         * sunrpc/Makefile: Likewise.
49484         (all): Remove target.
49485         * sysvipc/Makefile: Include Makeconfig immediately after defining
49486         subdir.
49487         * termios/Makefile: Likewise.
49488         * time/Makefile: Likewise.
49489         * timezone/Makefile: Likewise.
49490         (all): Remove target.
49491         * wcsmbs/Makefile: Include Makeconfig immediately after defining
49492         subdir.
49493         * wctype/Makefile: Likewise.
49495 2014-02-26  Steve Ellcey  <sellcey@mips.com>
49497         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
49498         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
49499         (libc_feholdexcept_setround_mips): Ditto.
49500         (libc_feholdsetround): New.
49501         (libc_feholdsetroundf): New.
49502         (libc_feholdsetroundl): New.
49503         (libc_feupdateenv_test_mips): New.
49504         (libc_feupdateenv_test): New.
49505         (libc_feupdateenv_testf): New.
49506         (libc_feupdateenv_testl): New.
49507         (libc_feresetround): New.
49508         (libc_feresetroundf): New.
49509         (libc_feresetroundl): New.
49510         (libc_fetestexcept_mips): New.
49511         (libc_fetestexcept): New.
49512         (libc_fetestexceptf): New.
49513         (libc_fetestexceptl): New.
49514         (HAVE_RM_CTX): New.
49515         (libc_feholdexcept_setround_mips_ctx): New.
49516         (libc_feholdexcept_setround_ctx): New.
49517         (libc_feholdexcept_setroundf_ctx): New.
49518         (libc_feholdexcept_setroundl_ctx): New.
49519         (libc_fesetenv_mips_ctx): New.
49520         (libc_fesetenv_ctx): New.
49521         (libc_fesetenv_ctxf): New.
49522         (libc_fesetenv_ctxl): New.
49523         (libc_feupdateenv_mips_ctx): New.
49524         (libc_feupdateenv_ctx): New.
49525         (libc_feupdateenvf_ctx): New.
49526         (libc_feupdateenvl_ctx): New.
49527         (libc_feholdsetround_mips_ctx): New.
49528         (libc_feholdsetround_ctx): New.
49529         (libc_feholdsetroundf_ctx): New.
49530         (libc_feholdsetroundl_ctx): New.
49531         (libc_feresetround_mips_ctx): New.
49532         (libc_feresetround_ctx): New.
49533         (libc_feresetroundf_ctx): New.
49534         (libc_feresetroundl_ctx): New.
49536 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
49538         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
49540         * manual/ipc.texi: New file.
49541         * manual/Makefile (chapters): Add ipc.
49542         * manual/job.texi: Add "Inter-Process Communication" to next.
49543         * manual/process.texi: Add "Inter-Process Communication" to prev.
49545 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49547         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49549 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
49551         * malloc/malloc.c (__libc_calloc): Simplify implementation.
49553         * manual/arith.texi: Fix spaces after sentences.
49554         * manual/charset.texi: Likewise.
49555         * manual/errno.texi: Likewise.
49556         * manual/install.texi: Likewise.
49557         * manual/llio.texi: Likewise.
49558         * manual/locale.texi: Likewise.
49559         * manual/maint.texi: Likewise.
49560         * manual/math.texi: Likewise.
49561         * manual/memory.texi: Likewise.
49562         * manual/message.texi: Likewise.
49563         * manual/probes.texi: Likewise.
49564         * manual/resource.texi: Likewise.
49565         * manual/signal.texi: Likewise.
49566         * manual/socket.texi: Likewise.
49567         * manual/stdio.texi: Likewise.
49568         * manual/string.texi: Likewise.
49569         * manual/time.texi: Likewise.
49570         * manual/users.texi: Likewise.
49572 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
49574         [BZ #16632]
49575         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
49576         _DEFAULT_SOURCE is defined.
49578 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
49579             Carlos O'Donell  <carlos@redhat.com>
49581         [BZ #16613]
49582         * elf/dl-tls.c (_dl_count_modids): New function.
49583         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
49584         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
49585         audit library and increment generation counter.
49586         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
49587         * elf/tst-audit9.c: New file.
49588         * elf/tst-auditmod9a.c: New file.
49589         * elf/tst-auditmod9b.c: New file.
49590         * elf/Makefile: Add rules to build and run tst-audit9.
49592 2014-02-25  Florian Weimer  <fweimer@redhat.com>
49594         [BZ #15347]
49595         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
49597 2014-02-25  Will Newton  <will.newton@linaro.org>
49599         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
49600         (__longjmp): Restore sp and lr before restoring callee
49601         saved registers.  Add longjmp and longjmp_target
49602         SystemTap probe point.
49603         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
49604         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
49605         Define to zero to match jmpbuf layout.
49606         * sysdeps/arm/setjmp.S: Include stap-probe.h.
49607         (__sigsetjmp): Save sp and lr before saving callee
49608         saved registers.  Add setjmp SystemTap probe point.
49610 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
49612         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
49614 2014-02-24  Andreas Schwab  <schwab@suse.de>
49616         [BZ #15804]
49617         * elf/pldd.c (wait_for_ptrace_stop): New function.
49618         (main): Call it after attaching.
49620 2014-02-22  Roland McGrath  <roland@hack.frob.com>
49622         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
49623         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
49624         Versions files is now verboten.
49625         * hurd/Versions (libc: GLIBC_2.0):
49626         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
49627         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
49628         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
49629         * mach/Versions: Likewise.
49631         * csu/Versions: Remove unused %include.
49632         * resolv/Versions: Likewise.
49634 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
49636         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
49637         ($(objpfx)check-local-headers.out): Likewise.
49638         ($(objpfx)begin-end-check.out): Likewise.
49639         * Makerules (check-abi-%.out): Likewise.
49640         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
49641         ($(objpfx)test2.cat): Likewise.
49642         ($(objpfx)de/libc.cat): Likewise.
49643         ($(objpfx)test-gencat.out): Likewise.
49644         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
49645         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
49646         ($(objpfx)noload-mem): Likewise.
49647         ($(objpfx)tst-pathopt.out): Likewise.
49648         ($(objpfx)tst-rtld-load-self.out): Likewise.
49649         ($(objpfx)tst-array1-cmp.out): Likewise.
49650         ($(objpfx)tst-array1-static-cmp.out): Likewise.
49651         ($(objpfx)tst-array2-cmp.out): Likewise.
49652         ($(objpfx)tst-array3-cmp.out): Likewise.
49653         ($(objpfx)tst-array4-cmp.out): Likewise.
49654         ($(objpfx)tst-array5-cmp.out): Likewise.
49655         ($(objpfx)tst-array5-static-cmp.out): Likewise.
49656         ($(objpfx)check-textrel.out): Likewise.
49657         ($(objpfx)check-execstack.out): Likewise.
49658         ($(objpfx)check-localplt.out): Likewise.
49659         ($(objpfx)order2-cmp.out): Likewise.
49660         ($(objpfx)tst-leaks1-mem): Likewise.
49661         ($(objpfx)tst-leaks1-static-mem): Likewise.
49662         ($(objpfx)tst-initorder-cmp.out): Likewise.
49663         ($(objpfx)tst-initorder2-cmp.out): Likewise.
49664         ($(objpfx)tst-unused-dep.out): Likewise.
49665         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
49666         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
49667         * iconv/Makefile (test-iconvconfig): Likewise.
49668         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
49669         ($(objpfx)iconv-test.out): Likewise.
49670         ($(objpfx)tst-tables.out): Likewise.
49671         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
49672         ($(objpfx)tst-gettext.out): Likewise.
49673         ($(objpfx)tst-translit.out): Likewise.
49674         ($(objpfx)tst-gettext2.out): Likewise.
49675         ($(objpfx)tst-gettext4.out): Likewise.
49676         ($(objpfx)tst-gettext6.out): Likewise.
49677         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
49678         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
49679         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
49680         ($(objpfx)tst-fopenloc-mem.out): Likewise.
49681         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
49682         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
49683         * posix/Makefile ($(objpfx)globtest.out): Likewise.
49684         ($(objpfx)wordexp-tst.out): Likewise.
49685         ($(objpfx)annexc.out): Likewise.
49686         ($(objpfx)tst-fnmatch-mem): Likewise.
49687         ($(objpfx)bug-regex2-mem): Likewise.
49688         ($(objpfx)bug-regex14-mem): Likewise.
49689         ($(objpfx)bug-regex21-mem): Likewise.
49690         ($(objpfx)bug-regex31-mem): Likewise.
49691         ($(objpfx)tst-vfork3-mem): Likewise.
49692         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
49693         ($(objpfx)tst-pcre-mem): Likewise.
49694         ($(objpfx)tst-boost-mem): Likewise.
49695         ($(objpfx)tst-getconf.out): Likewise.
49696         ($(objpfx)bug-ga2-mem): Likewise.
49697         ($(objpfx)bug-glob2-mem): Likewise.
49698         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
49699         ($(objpfx)mtrace-tst-leaks2): Likewise.
49700         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
49701         ($(objpfx)tst-printf.out): Likewise.
49702         ($(objpfx)tst-setvbuf1.out): Likewise.
49703         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
49704         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
49705         ($(objpfx)tst-fmtmsg.out): Likewise.
49706         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
49707         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
49709         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
49710         * bits/sigaction.h [__USE_MISC]: Likewise.
49711         * bits/waitstatus.h: Update #endif comments.
49712         * ctype/ctype.h: Likewise.
49713         * dirent/dirent.h: Likewise.
49714         [__USE_MISC]: Remove redundant conditionals.
49715         * grp/grp.h: Update #endif comments.
49716         [__USE_GNU]: Remove redundant conditionals.
49717         [__USE_MISC]: Likewise.
49718         * inet/netinet/in.h [__USE_GNU]: Likewise.
49719         * io/sys/stat.h [__USE_MISC]: Likewise.
49720         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
49721         * libio/bits/stdio.h: Update #endif comments.
49722         [__USE_MISC]: Remove redundant conditionals.
49723         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
49724         * libio/stdio.h: Update #endif comments.
49725         [__USE_MISC]: Remove redundant conditionals.
49726         * math/bits/math-finite.h [__USE_MISC]: Likewise.
49727         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
49728         * math/math.h: Update #else and #endif comments.
49729         [__USE_MISC]: Remove redundant conditionals.
49730         * misc/sys/uio.h: Update #endif comments.
49731         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
49732         * posix/glob.h [__USE_MISC]: Likewise.
49733         * posix/sys/types.h: Update #endif comments.
49734         [__USE_MISC]: Remove redundant conditionals.
49735         * posix/sys/wait.h: Update #endif comments.
49736         [__USE_MISC]: Remove redundant conditionals.
49737         * posix/unistd.h: Update #endif comments.
49738         [__USE_MISC]: Remove redundant conditionals.
49739         * pwd/pwd.h [__USE_GNU]: Likewise.
49740         [__USE_MISC]: Likewise.
49741         * resolv/netdb.h [__USE_GNU]: Likewise.
49742         * signal/signal.h: Update #endif comments.
49743         [__USE_MISC]: Remove redundant conditionals.
49744         * stdlib/stdlib.h: Update #else and #endif comments.
49745         [__USE_MISC]: Remove redundant conditionals.
49746         [__USE_GNU]: Likewise.
49747         * string/bits/string2.h [__USE_MISC]: Likewise.
49748         * string/string.h: Update #endif comments.
49749         [__USE_MISC]: Remove redundant conditionals.
49750         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
49751         Likewise.
49752         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
49753         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
49754         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
49755         Likewise.
49756         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
49757         Likewise.
49758         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
49759         comments.
49760         [__USE_MISC]: Remove redundant conditionals.
49761         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
49762         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
49763         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
49764         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
49765         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
49766         Likewise.
49767         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
49768         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
49769         Likewise.
49770         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
49771         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
49772         Likewise.
49773         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
49774         Likewise.
49775         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
49776         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
49777         Likewise.
49778         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
49779         Likewise.
49780         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
49781         * sysdeps/x86/bits/string.h: Update #endif comments.
49782         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
49783         conditionals.
49784         * time/sys/time.h: Update #endif comments.
49785         * time/time.h: Likewise.
49786         [__USE_MISC]: Remove redundant conditionals.
49788 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
49790         [BZ #16600]
49791         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
49793 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
49795         * Versions.def (librt): Add GLIBC_2.17.
49797 2014-02-21  Adam Conrad  <adconrad@0c3.net>
49799         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
49800         synonym for _SYS_AUXV_H to allow direct inclusion.
49801         * sysdeps/sparc/bits/hwcap.h: Likewise.
49802         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
49803         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
49804         * sysdeps/sparc/sysdep.h: Likewise.
49806 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49808         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
49810 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
49812         * benchtests/bench-strrchr.c: Print length instead of position.
49814 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
49816         [BZ #16611]
49817         * sysdeps/unix/sysv/linux/kernel-features.h
49818         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
49819         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
49820         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
49821         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
49822         Likewise.
49823         [__i386__ || __powerpc__ || __sh__ || __sparc__]
49824         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
49825         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
49826         (__ASSUME_SENDMMSG): Define instead of using previous
49827         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
49828         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
49829         (__ASSUME_SENDMMSG_SYSCALL): Define.
49830         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
49831         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
49832         Likewise.
49833         * sysdeps/unix/sysv/linux/arm/kernel-features.h
49834         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
49835         Likewise.
49836         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
49837         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
49838         Likewise.
49839         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
49840         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
49841         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
49842         [__ASSUME_SENDMMSG]: Change conditionals to
49843         [__ASSUME_SENDMMSG_SOCKETCALL].
49844         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49845         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
49846         Define.
49847         * sysdeps/unix/sysv/linux/mips/kernel-features.h
49848         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
49849         Likewise.
49850         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
49851         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
49852         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
49853         [!__ASSUME_SENDMMSG]: Change conditional to
49854         [!__ASSUME_SENDMMSG_SOCKETCALL].
49855         * sysdeps/unix/sysv/linux/tile/kernel-features.h
49856         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
49857         Define.
49859         [BZ #16610]
49860         * sysdeps/unix/sysv/linux/kernel-features.h
49861         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
49862         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
49863         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
49864         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
49865         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
49866         [__i386__ || __sparc__]
49867         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
49868         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
49869         (__ASSUME_RECVMMSG): Define instead of using previous
49870         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
49871         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
49872         (__ASSUME_RECVMMSG_SYSCALL): Define.
49873         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
49874         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
49875         Likewise.
49876         * sysdeps/unix/sysv/linux/arm/kernel-features.h
49877         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
49878         Likewise.
49879         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
49880         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
49881         Likewise.
49882         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
49883         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
49884         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
49885         [__ASSUME_RECVMMSG]: Change condition to
49886         [__ASSUME_RECVMMSG_SOCKETCALL].
49887         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49888         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
49889         Define.
49890         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
49891         * sysdeps/unix/sysv/linux/mips/kernel-features.h
49892         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
49893         Likewise.
49894         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
49895         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
49896         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
49897         [!__ASSUME_RECVMMSG]: Change condition to
49898         [!__ASSUME_RECVMMSG_SOCKETCALL].
49899         * sysdeps/unix/sysv/linux/tile/kernel-features.h
49900         (__ASSUME_RECVMMSG_SYSCALL): Define.
49902         [BZ #16609]
49903         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
49904         __powerpc__ || __s390__ || __sh__ || __sparc__]
49905         (__ASSUME_SOCKETCALL): Define.
49906         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
49907         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
49908         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
49909         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
49910         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
49911         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
49912         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
49913         (__ASSUME_ACCEPT4): Define instead of using previous
49914         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
49915         __powerpc__ || __sparc__ || __s390__)] condition.
49916         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
49917         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
49918         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
49919         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
49920         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
49921         [!__ASSUME_ACCEPT4]: Change condition to
49922         [!__ASSUME_ACCEPT4_SOCKETCALL].
49923         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
49924         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
49925         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
49926         * sysdeps/unix/sysv/linux/arm/kernel-features.h
49927         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
49928         __ASSUME_ACCEPT4_SYSCALL.
49929         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
49930         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
49931         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
49932         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
49933         __ASSUME_ACCEPT4_SYSCALL.
49934         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
49935         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
49936         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
49937         [__ASSUME_ACCEPT4]: Change condition to
49938         [__ASSUME_ACCEPT4_SOCKETCALL].
49939         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
49940         (__ASSUME_SOCKETCALL): Define.
49941         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
49942         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49943         (__ASSUME_SOCKETCALL): Define.
49944         (__ASSUME_ACCEPT4): Remove.
49945         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
49946         Define.
49947         * sysdeps/unix/sysv/linux/mips/kernel-features.h
49948         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
49949         Likewise.
49950         * sysdeps/unix/sysv/linux/tile/kernel-features.h
49951         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
49953         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
49954         macro.
49955         (HWCAP_ARM_LPAE): Likewise.
49956         (HWCAP_ARM_EVTSTRM): Likewise.
49957         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
49958         Add vpfd32, lpae and evtstrm.
49959         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
49960         Increase to 22.
49962 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
49964         * math/auto-libm-test-in: Add tests of clog10.
49965         * math/auto-libm-test-out: Regenerated.
49966         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
49967         * sysdeps/i386/fpu/libm-test-ulps: Update.
49968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49970 2014-02-18  Andreas Schwab  <schwab@suse.de>
49972         [BZ #16574]
49973         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
49974         Store non-zero if the second buffer was newly allocated.
49975         (send_dg): Likewise.
49976         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
49977         to send_vc and send_dg.
49978         (res_nsend): Pass NULL for ansp2_malloced.
49979         * resolv/res_query.c (__libc_res_nquery): Add parameter
49980         answerp2_malloced and pass it down to __libc_res_nsend.
49981         (res_nquery): Pass additional NULL to __libc_res_nquery.
49982         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
49983         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
49984         second answer buffer if answerp2_malloced was set.
49985         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
49986         (__libc_res_nquerydomain): Add parameter
49987         answerp2_malloced and pass it down to __libc_res_nquery.
49988         (res_nquerydomain): Pass additional NULL to
49989         __libc_res_nquerydomain.
49990         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
49991         additional NULL to __libc_res_nsend and __libc_res_nquery.
49992         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
49993         additional NULL to __libc_res_nsearch.
49994         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
49995         parameter of __libc_res_nsearch to check for separately allocated
49996         second buffer.
49997         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
49998         __libc_res_nquery.
49999         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
50000         additional NULL to __libc_res_nquery.
50001         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
50002         __libc_res_nsearch.
50003         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
50004         * include/resolv.h: Update prototypes of __libc_res_nquery,
50005         __libc_res_nsearch, __libc_res_nsend.
50007 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
50009         * math/auto-libm-test-in: Add tests of fma.
50010         * math/auto-libm-test-out: Regenerated.
50011         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
50012         (fma_towardzero_test_data): Likewise.
50013         (fma_downward_test_data): Likewise.
50014         (fma_upward_test_data): Likewise.
50015         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
50016         mpc_mode.
50017         (rounding_modes): Add values for new field.
50018         (func_calc_method): Add value mpfr_fff_f.
50019         (func_calc_desc): Add mpfr_fff_f union field.
50020         (test_function): Add field exact_args.
50021         (FUNC): Add macro argument EXACT_ARGS.
50022         (FUNC_mpfr_f_f): Update call to FUNC.
50023         (FUNC_mpfr_f_f): Likewise.
50024         (FUNC_mpfr_ff_f): Likewise.
50025         (FUNC_mpfr_if_f): Likewise.
50026         (FUNC_mpc_c_f): Likewise.
50027         (FUNC_mpc_c_c): Likewise.
50028         (test_functions): Add fma.  Update calls to FUNC.
50029         (handle_input_arg): Add argument exact_args.
50030         (add_test): Update call to handle_input_arg.
50031         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
50032         (output_for_one_input_case): Update call to calc_generic_results.
50033         Recalculate exact zero results in each rounding mode.
50035         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
50036         non-negative before setting low bit.
50037         * math/auto-libm-test-in: Mark one asin test possibly having
50038         spurious underflow.
50039         * math/auto-libm-test-out: Regenerated.
50040         * sysdeps/i386/fpu/libm-test-ulps: Update.
50041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50043 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
50045         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
50046         * sysdeps/unix/sysv/linux/microblaze: Move directory from
50047         ports/sysdeps/unix/sysv/linux/microblaze.
50048         * README: Add missing listing for microblaze*-*-linux-gnu.
50050 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
50052         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
50053         duplicate code
50055 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
50057         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
50058         * sysdeps/unix/sysv/linux/ia64: Move directory from
50059         ports/sysdeps/unix/sysv/linux/ia64.
50060         * README: Update listing for ia64-*-linux-gnu.
50062 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
50063             Joseph Myers  <joseph@codesourcery.com>
50065         * Makeconfig (test-name): New variable.
50066         (evaluate-test): Likewise.
50067         * Makerules (do-test-clean): Remove .test-result files.
50068         (common-mostlyclean): Likewise.
50069         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
50070         * scripts/evaluate-test.sh: New file.
50072 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
50074         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
50075         separate $(objpfx)tst-fopenloc-cmp.out and
50076         $(objpfx)tst-fopenloc-mem.out targets.
50077         (tests): Update dependencies.
50078         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
50079         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
50080         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
50081         (tst-rxspencer-no-utf8-ARGS): New variable.
50082         (tst-rxspencer-no-utf8-ENV): Likewise.
50083         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
50084         instead of $(objpfx)tst-rxspencer-mem.
50085         ($(objpfx)tst-rxspencer-mem): Change target to
50086         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
50087         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
50088         * posix/tst-rxspencer-no-utf8.c: New file.
50090         * elf/Makefile ($(objpfx)order.out): Remove rule.
50091         [$(run-built-tests) = yes] (tests): Depend on
50092         $(objpfx)order-cmp.out.
50093         ($(objpfx)order-cmp.out): New rule.
50094         [$(run-built-tests) = yes] (tests): Depend on
50095         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
50096         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
50097         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
50098         $(objpfx)tst-array5-static-cmp.out.
50099         ($(objpfx)tst-array1.out): Remove rule.
50100         ($(objpfx)tst-array1-cmp.out): New rule.
50101         ($(objpfx)tst-array1-static.out): Remove rule.
50102         ($(objpfx)tst-array1-static-cmp.out): New rule.
50103         ($(objpfx)tst-array2.out): Remove rule.
50104         ($(objpfx)tst-array2-cmp.out): New rule.
50105         ($(objpfx)tst-array3.out): Remove rule.
50106         ($(objpfx)tst-array3-cmp.out): New rule.
50107         ($(objpfx)tst-array4.out): Remove rule.
50108         ($(objpfx)tst-array4-cmp.out): New rule.
50109         ($(objpfx)tst-array5.out): Remove rule.
50110         ($(objpfx)tst-array5-cmp.out): New rule.
50111         ($(objpfx)tst-array5-static.out): Remove rule.
50112         ($(objpfx)tst-array5-static-cmp.out): New rule.
50113         [$(run-built-tests) = yes] (tests): Depend on
50114         $(objpfx)order2-cmp.out.
50115         ($(objpfx)order2.out): Remove rule.
50116         ($(objpfx)order2-cmp.out): New rule.
50117         ($(objpfx)tst-initorder.out): Remove rule.
50118         [$(run-built-tests) = yes] (tests): Depend on
50119         $(objpfx)tst-initorder-cmp.out.
50120         ($(objpfx)tst-initorder-cmp.out): New rule.
50121         ($(objpfx)tst-initorder2.out): Remove rule.
50122         [$(run-built-tests) = yes] (tests): Depend on
50123         $(objpfx)tst-initorder2-cmp.out.
50124         ($(objpfx)tst-initorder2-cmp.out): New rule.
50125         [$(run-built-tests) = yes] (tests): Depend on
50126         $(objpfx)tst-unused-dep-cmp.out.
50127         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
50128         ($(objpfx)tst-unused-dep-cmp.out): New rule.
50129         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
50130         on $(objpfx)tst-setvbuf1-cmp.out.
50131         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
50132         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
50133         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
50134         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
50135         ($(objpfx)tst-svc.out): Remove rule.
50136         ($(objpfx)tst-svc-cmp.out): New rule.
50138 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
50140         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
50141         * ctype/ctype.h [__USE_MISC]: Likewise.
50142         * dirent/dirent.h [__USE_MISC]: Likewise.
50143         * grp/grp.h [__USE_MISC]: Likewise.
50144         * io/fcntl.h [__USE_MISC]: Likewise.
50145         * io/sys/stat.h [__USE_MISC]: Likewise.
50146         * libio/stdio.h [__USE_MISC]: Likewise.
50147         * posix/unistd.h [__USE_MISC]: Likewise.
50148         * pwd/pwd.h [__USE_MISC]: Likewise.
50149         * stdlib.h [__USE_MISC]: Likewise.
50150         * string/bits/string2.h [__USE_MISC]: Likewise.
50151         * string/string.h [__USE_MISC]: Likewise.
50152         * time/time.h [__USE_MISC]: Likewise.
50154 2014-02-13  Andreas Schwab  <schwab@suse.de>
50156         [BZ #16574]
50157         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
50158         second answer buffer if it was separately allocated.
50160 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
50162         * sysdeps/mips/math-tests.h: Include <features.h>.
50163         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
50164         (ROUNDING_TESTS_long_double): Do not define.
50165         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
50166         (EXCEPTION_TESTS_long_double): Likewise.
50167         * sysdeps/mips/mips64/libm-test-ulps: Update.
50169         * include/features.h (__USE_BSD): Remove macro definitions.
50170         (__USE_SVID): Likewise.
50171         (_BSD_SOURCE): Likewise.
50172         (_SVID_SOURCE): Likewise.
50173         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
50174         from definition of _DEFAULT_SOURCE.
50175         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
50176         [_DEFAULT_SOURCE].
50177         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
50178         * bits/mman.h [__USE_BSD]: Likewise.
50179         * bits/termios.h [__USE_BSD]: Likewise.
50180         * bits/waitstatus.h [__USE_BSD]: Likewise.
50181         * ctype/ctype.h [__USE_SVID]: Likewise.
50182         * dirent/dirent.h [__USE_BSD]: Likewise.
50183         * grp/grp.h [__USE_SVID]: Likewise.
50184         [__USE_BSD]: Likewise.
50185         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
50186         * io/fcntl.h [__USE_BSD]: Likewise.
50187         * io/ftw.h [__USE_BSD]: Likewise.
50188         * io/sys/stat.h [__USE_BSD]: Likewise.
50189         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
50190         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
50191         * libio/stdio.h [__USE_SVID]: Likewise.
50192         [__USE_BSD]: Likewise.
50193         * math/math.h [__USE_SVID]: Likewise.
50194         [__USE_BSD]: Likewise.
50195         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
50196         * misc/bits/syslog.h [__USE_BSD]: Likewise.
50197         * misc/search.h [__USE_SVID]: Likewise.
50198         * misc/sys/mman.h [__USE_BSD]: Likewise.
50199         * misc/sys/syslog.h [__USE_BSD]: Likewise.
50200         * misc/sys/uio.h [__USE_BSD]: Likewise.
50201         * posix/bits/unistd.h [__USE_BSD]: Likewise.
50202         * posix/glob.h [__USE_BSD]: Likewise.
50203         * posix/regex.h [__USE_BSD]: Likewise.
50204         * posix/sys/types.h [__USE_BSD]: Likewise.
50205         [__USE_SVID]: Likewise.
50206         * posix/sys/utsname.h [__USE_SVID]: Likewise.
50207         * posix/sys/wait.h [__USE_BSD]: Likewise.
50208         [__USE_SVID]: Likewise.
50209         * posix/unistd.h [__USE_BSD]: Likewise.
50210         [__USE_SVID]: Likewise.
50211         * pwd/pwd.h [__USE_SVID]: Likewise.
50212         * resolv/netdb.h [__USE_BSD]: Likewise.
50213         * setjmp/setjmp.h [__USE_BSD]: Likewise.
50214         * signal/signal.h [__USE_BSD]: Likewise.
50215         [__USE_SVID]: Likewise.
50216         * socket/sys/socket.h [__USE_BSD]: Likewise.
50217         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
50218         * stdlib/stdlib.h [__USE_BSD]: Likewise.
50219         [__USE_SVID]: Likewise.
50220         * string/bits/string2.h [__USE_BSD]: Likewise.
50221         [__USE_SVID]: Likewise.
50222         * string/bits/string3.h [__USE_BSD]: Likewise.
50223         * string/endian.h [__USE_BSD]: Likewise.
50224         * string/string.h [__USE_SVID]: Likewise.
50225         [__USE_BSD]: Likewise.
50226         * string/strings.h [__USE_BSD]: Likewise.
50227         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
50228         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
50229         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
50230         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
50231         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
50232         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
50233         Likewise.
50234         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
50235         Likewise.
50236         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
50237         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
50238         Likewise.
50239         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
50240         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
50241         Likewise.
50242         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
50243         Likewise.
50244         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
50245         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
50246         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
50247         Likewise.
50248         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
50249         Likewise.
50250         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
50251         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
50252         * termios/termios.h [__USE_BSD]: Likewise.
50253         * time/sys/time.h [__USE_BSD]: Likewise.
50254         * time/time.h [__USE_BSD]: Likewise.
50255         [__USE_SVID]: Likewise.
50257         * Makefile (subdir_targets): Remove subdir_lint.out.
50259         * stdio-common/Makefile (do-tst-unbputc): Remove target.
50260         (do-tst-printf): Likewise.
50261         (tests): Depend directly on $(objpfx)tst-unbputc.out and
50262         $(objpfx)tst-printf.out.
50264         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
50266         * Makerules (check-abi-%): Change target to
50267         $(objpfx)check-abi-%.out.
50268         (check-abi target): Update dependencies.
50269         (check-abi-pattern variable): Redirect output of diff to $@.
50270         (check-abi variable): Likewise.
50271         * elf/Makefile (check-abi): Update dependencies.
50273         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
50274         unused.
50275         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
50276         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
50277         subnormal range.
50278         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
50279         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
50280         value has largest subnormal exponent.
50281         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
50282         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
50283         * sysdeps/aarch64/soft-fp/sfp-machine.h
50284         (_FP_TININESS_AFTER_ROUNDING): New macro.
50285         * sysdeps/alpha/soft-fp/sfp-machine.h
50286         (_FP_TININESS_AFTER_ROUNDING): Likewise.
50287         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
50288         Likewise.
50289         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
50290         (_FP_TININESS_AFTER_ROUNDING): Likewise.
50291         * sysdeps/mips/soft-fp/sfp-machine.h
50292         (_FP_TININESS_AFTER_ROUNDING): Likewise.
50293         * sysdeps/powerpc/soft-fp/sfp-machine.h
50294         (_FP_TININESS_AFTER_ROUNDING): Likewise.
50295         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
50296         Likewise.
50297         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
50298         (_FP_TININESS_AFTER_ROUNDING): Likewise.
50299         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
50300         (_FP_TININESS_AFTER_ROUNDING): Likewise.
50301         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
50302         Likewise.
50304 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
50306         [BZ #16545]
50307         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
50308         model 1.
50310 2014-02-12  Richard Henderson  <rth@redhat.com>
50312         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
50313         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
50314         * sysdeps/unix/sysv/linux/alpha: Move directory from
50315         ports/sysdeps/unix/sysv/linux/alpha.
50316         * README: Update listing for alpha-*-linux-gnu.
50318 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
50320         * include/features.h: Update comment documenting feature test
50321         macros.
50322         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
50323         _DEFAULT_SOURCE.
50324         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
50325         (_SVID_SOURCE): Likewise.
50326         (_DEFAULT_SOURCE): Update description of default features.
50327         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
50328         with _GNU_SOURCE.
50329         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
50330         (S_ISVTX): Likewise.
50331         * manual/math.texi (Mathematical Constants): Likewise.
50332         * manual/signal.texi (Interrupted Primitives): Likewise.
50333         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
50334         * math/test-matherr.c (_SVID_SOURCE): Do not define.
50335         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
50336         Don't refer to _SVID_SOURCE in warning text.
50338         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50340         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
50341         already defined.
50342         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
50343         * sysdeps/mips/dl-lookup.c: Remove.
50344         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
50346 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
50348         [BZ #16447]
50349         * math/auto-libm-test-in: Add testcase for expl.
50350         * math/auto-libm-test-out: Regenerate.
50351         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
50352         calculation of unsafe.
50353         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
50355 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
50357         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
50358         * sysdeps/unix/sysv/linux/aarch64: Move directory from
50359         ports/sysdeps/unix/sysv/linux/aarch64.
50360         * README: Update listing for aarch64*-*-linux-gnu.
50362 2014-02-11  Will Newton  <will.newton@linaro.org>
50364         * manual/probes.texi (Mathematical Function Probes): Use
50365         "triggered" instead of "hit".
50367         * manual/probes.texi (Internal Probes): Add documentation
50368         of setjmp, longjmp and longjmp_target probes.
50370         * include/stap-probe.h: Add comment about probe argument
50371         format.
50373         * malloc/mtrace.c (attribute_hidden): Remove unused macro
50374         definition.  (tr_where, tr_freehook, tr_mallochook,
50375         tr_reallochook, tr_memalignhook): Use ANSI protoype.
50377 2014-02-11  David S. Miller  <davem@davemloft.net>
50379         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
50380         processing int_tests.
50382 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
50384         * sysdeps/mips: Move directory from ports/sysdeps/mips.
50385         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
50386         * sysdeps/unix/sysv/linux/mips: Move directory from
50387         ports/sysdeps/unix/sysv/linux/mips.
50388         * README: Update listing for mips-*-linux-gnu and
50389         mips64-*-linux-gnu.
50391 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
50393         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
50394         * sysdeps/unix/sysv/linux/m68k: Move directory from
50395         ports/sysdeps/unix/sysv/linux/m68k.
50396         * README: Update listing for m68k-*-linux-gnu.
50398 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
50400         * sysdeps/tile: Move directory from ports/sysdeps/tile.
50401         * sysdeps/unix/sysv/linux/generic: Move directory from
50402         ports/sysdeps/unix/sysv/linux/generic.
50403         * sysdeps/unix/sysv/linux/tile: Move directory from
50404         ports/sysdeps/unix/sysv/linux/tile.
50405         * README: Update listing for tile*-*-linux-gnu.
50407 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
50409         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
50410         __builtin_expect.
50411         * benchtests/bench-memmem.c (simple_memmem): Likewise.
50412         * catgets/open_catalog.c (__open_catalog): Likewise.
50413         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
50414         * debug/confstr_chk.c: Likewise.
50415         * debug/fread_chk.c (__fread_chk): Likewise.
50416         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
50417         * debug/getgroups_chk.c: Likewise.
50418         * debug/mbsnrtowcs_chk.c: Likewise.
50419         * debug/mbsrtowcs_chk.c: Likewise.
50420         * debug/mbstowcs_chk.c: Likewise.
50421         * debug/memcpy_chk.c: Likewise.
50422         * debug/memmove_chk.c: Likewise.
50423         * debug/mempcpy_chk.c: Likewise.
50424         * debug/memset_chk.c: Likewise.
50425         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
50426         * debug/strcat_chk.c (__strcat_chk): Likewise.
50427         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
50428         * debug/strncat_chk.c (__strncat_chk): Likewise.
50429         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
50430         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
50431         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
50432         * debug/wcpncpy_chk.c: Likewise.
50433         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
50434         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
50435         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
50436         * debug/wcsncpy_chk.c: Likewise.
50437         * debug/wcsnrtombs_chk.c: Likewise.
50438         * debug/wcsrtombs_chk.c: Likewise.
50439         * debug/wcstombs_chk.c: Likewise.
50440         * debug/wmemcpy_chk.c: Likewise.
50441         * debug/wmemmove_chk.c: Likewise.
50442         * debug/wmempcpy_chk.c: Likewise.
50443         * debug/wmemset_chk.c: Likewise.
50444         * dirent/scandirat.c (SCANDIRAT): Likewise.
50445         * dlfcn/dladdr1.c (dladdr1): Likewise.
50446         * dlfcn/dladdr.c (dladdr): Likewise.
50447         * dlfcn/dlclose.c (dlclose_doit): Likewise.
50448         * dlfcn/dlerror.c (__dlerror): Likewise.
50449         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
50450         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
50451         * dlfcn/dlopen.c (dlopen_doit): Likewise.
50452         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
50453         * dlfcn/dlsym.c (dlsym_doit): Likewise.
50454         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
50455         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
50456         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
50457         Likewise.
50458         * elf/dl-conflict.c: Likewise.
50459         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
50460         * elf/dl-dst.h: Likewise.
50461         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
50462         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
50463         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
50464         * elf/dl-init.c (call_init, _dl_init): Likewise.
50465         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
50466         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
50467         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
50468         Likewise.
50469         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
50470         Likewise.
50471         * elf/dl-minimal.c (__libc_memalign): Likewise.
50472         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
50473         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
50474         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
50475         * elf/dl-sym.c (do_sym): Likewise.
50476         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
50477         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
50478         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
50479         * elf/dl-writev.h (_dl_writev): Likewise.
50480         * elf/ldconfig.c (search_dir): Likewise.
50481         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
50482         (dl_main): Likewise.
50483         * elf/setup-vdso.h (setup_vdso): Likewise.
50484         * grp/compat-initgroups.c (compat_call): Likewise.
50485         * grp/fgetgrent.c (fgetgrent): Likewise.
50486         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
50487         * grp/putgrent.c (putgrent): Likewise.
50488         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
50489         Likewise.
50490         * hurd/hurdinit.c: Likewise.
50491         * iconvdata/8bit-gap.c (struct): Likewise.
50492         * iconvdata/ansi_x3.110.c : Likewise.
50493         * iconvdata/big5.c : Likewise.
50494         * iconvdata/big5hkscs.c : Likewise.
50495         * iconvdata/cp1255.c: Likewise.
50496         * iconvdata/cp1258.c : Likewise.
50497         * iconvdata/cp932.c : Likewise.
50498         * iconvdata/euc-cn.c: Likewise.
50499         * iconvdata/euc-jisx0213.c : Likewise.
50500         * iconvdata/euc-jp.c: Likewise.
50501         * iconvdata/euc-jp-ms.c : Likewise.
50502         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
50503         * iconvdata/gb18030.c : Likewise.
50504         * iconvdata/gbbig5.c (const): Likewise.
50505         * iconvdata/gbgbk.c: Likewise.
50506         * iconvdata/gbk.c : Likewise.
50507         * iconvdata/ibm1364.c : Likewise.
50508         * iconvdata/ibm930.c : Likewise.
50509         * iconvdata/ibm932.c: Likewise.
50510         * iconvdata/ibm933.c : Likewise.
50511         * iconvdata/ibm935.c : Likewise.
50512         * iconvdata/ibm937.c : Likewise.
50513         * iconvdata/ibm939.c : Likewise.
50514         * iconvdata/ibm943.c: Likewise.
50515         * iconvdata/iso_11548-1.c: Likewise.
50516         * iconvdata/iso-2022-cn.c : Likewise.
50517         * iconvdata/iso-2022-cn-ext.c : Likewise.
50518         * iconvdata/iso-2022-jp-3.c: Likewise.
50519         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
50520         * iconvdata/iso-2022-kr.c : Likewise.
50521         * iconvdata/iso646.c (gconv_end): Likewise.
50522         * iconvdata/iso_6937-2.c : Likewise.
50523         * iconvdata/iso_6937.c : Likewise.
50524         * iconvdata/iso8859-1.c: Likewise.
50525         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
50526         * iconvdata/shift_jisx0213.c : Likewise.
50527         * iconvdata/sjis.c : Likewise.
50528         * iconvdata/t.61.c : Likewise.
50529         * iconvdata/tcvn5712-1.c : Likewise.
50530         * iconvdata/tscii.c: Likewise.
50531         * iconvdata/uhc.c : Likewise.
50532         * iconvdata/unicode.c (gconv_end): Likewise.
50533         * iconvdata/utf-16.c (gconv_end): Likewise.
50534         * iconvdata/utf-32.c (gconv_end): Likewise.
50535         * iconvdata/utf-7.c (base64): Likewise.
50536         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
50537         * iconv/gconv_close.c (__gconv_close): Likewise.
50538         * iconv/gconv_open.c (__gconv_open): Likewise.
50539         * iconv/gconv_simple.c (internal_ucs4_loop_single)
50540         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
50541         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
50542         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
50543         (ucs4le_internal_loop_single): Likewise.
50544         * iconv/iconv.c (iconv): Likewise.
50545         * iconv/iconv_close.c: Likewise.
50546         * iconv/loop.c (SINGLE): Likewise.
50547         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
50548         * include/atomic.h: Likewise.
50549         * inet/inet6_option.c (option_alloc): Likewise.
50550         * intl/bindtextdom.c (set_binding_values): Likewise.
50551         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
50552         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
50553         * intl/localealias.c (read_alias_file): Likewise.
50554         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
50555         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
50556         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
50557         * libio/fmemopen.c (fmemopen): Likewise.
50558         * libio/iofgets.c (_IO_fgets): Likewise.
50559         * libio/iofgets_u.c (fgets_unlocked): Likewise.
50560         * libio/iofgetws.c (fgetws): Likewise.
50561         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
50562         * libio/iogetdelim.c (_IO_getdelim): Likewise.
50563         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
50564         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
50565         * locale/findlocale.c (_nl_find_locale): Likewise.
50566         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
50567         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
50568         Likewise.
50569         * locale/setlocale.c (setlocale): Likewise.
50570         * login/programs/pt_chown.c (main): Likewise.
50571         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
50572         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
50573         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
50574         (mmap, mmap64, mremap, munmap): Likewise.
50575         * math/e_exp2l.c: Likewise.
50576         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
50577         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
50578         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
50579         * math/s_catan.c (__catan): Likewise.
50580         * math/s_catanf.c (__catanf): Likewise.
50581         * math/s_catanh.c (__catanh): Likewise.
50582         * math/s_catanhf.c (__catanhf): Likewise.
50583         * math/s_catanhl.c (__catanhl): Likewise.
50584         * math/s_catanl.c (__catanl): Likewise.
50585         * math/s_ccosh.c (__ccosh): Likewise.
50586         * math/s_ccoshf.c (__ccoshf): Likewise.
50587         * math/s_ccoshl.c (__ccoshl): Likewise.
50588         * math/s_cexp.c (__cexp): Likewise.
50589         * math/s_cexpf.c (__cexpf): Likewise.
50590         * math/s_cexpl.c (__cexpl): Likewise.
50591         * math/s_clog10.c (__clog10): Likewise.
50592         * math/s_clog10f.c (__clog10f): Likewise.
50593         * math/s_clog10l.c (__clog10l): Likewise.
50594         * math/s_clog.c (__clog): Likewise.
50595         * math/s_clogf.c (__clogf): Likewise.
50596         * math/s_clogl.c (__clogl): Likewise.
50597         * math/s_csin.c (__csin): Likewise.
50598         * math/s_csinf.c (__csinf): Likewise.
50599         * math/s_csinh.c (__csinh): Likewise.
50600         * math/s_csinhf.c (__csinhf): Likewise.
50601         * math/s_csinhl.c (__csinhl): Likewise.
50602         * math/s_csinl.c (__csinl): Likewise.
50603         * math/s_csqrt.c (__csqrt): Likewise.
50604         * math/s_csqrtf.c (__csqrtf): Likewise.
50605         * math/s_csqrtl.c (__csqrtl): Likewise.
50606         * math/s_ctan.c (__ctan): Likewise.
50607         * math/s_ctanf.c (__ctanf): Likewise.
50608         * math/s_ctanh.c (__ctanh): Likewise.
50609         * math/s_ctanhf.c (__ctanhf): Likewise.
50610         * math/s_ctanhl.c (__ctanhl): Likewise.
50611         * math/s_ctanl.c (__ctanl): Likewise.
50612         * math/w_pow.c: Likewise.
50613         * math/w_powf.c: Likewise.
50614         * math/w_powl.c: Likewise.
50615         * math/w_scalb.c (sysv_scalb): Likewise.
50616         * math/w_scalbf.c (sysv_scalbf): Likewise.
50617         * math/w_scalbl.c (sysv_scalbl): Likewise.
50618         * misc/error.c (error_tail): Likewise.
50619         * misc/pselect.c (__pselect): Likewise.
50620         * nis/nis_callback.c (__nis_create_callback): Likewise.
50621         * nis/nis_call.c (__nisfind_server): Likewise.
50622         * nis/nis_creategroup.c (nis_creategroup): Likewise.
50623         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
50624         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
50625         * nis/nis_getservlist.c (nis_getservlist): Likewise.
50626         * nis/nis_lookup.c (nis_lookup): Likewise.
50627         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
50628         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
50629         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
50630         * nis/nis_xdr.c (xdr_endpoint): Likewise.
50631         * nis/nss_compat/compat-grp.c (getgrent_next_file)
50632         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
50633         * nis/nss_compat/compat-initgroups.c (add_group)
50634         (internal_getgrent_r): Likewise.
50635         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
50636         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
50637         * nis/nss_compat/compat-spwd.c (getspent_next_file)
50638         (internal_getspnam_r): Likewise.
50639         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
50640         (_nss_nis_getaliasbyname_r): Likewise.
50641         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
50642         (_nss_nis_getntohost_r): Likewise.
50643         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
50644         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
50645         (_nss_nis_getgrgid_r): Likewise.
50646         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
50647         (internal_nis_gethostent_r, internal_gethostbyname2_r)
50648         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
50649         (_nss_nis_gethostbyname4_r): Likewise.
50650         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
50651         (initgroups_netid): Likewise.
50652         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
50653         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
50654         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
50655         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
50656         (_nss_nis_getprotobynumber_r): Likewise.
50657         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
50658         (_nss_nis_getsecretkey): Likewise.
50659         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
50660         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
50661         (_nss_nis_getpwuid_r): Likewise.
50662         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
50663         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
50664         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
50665         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
50666         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
50667         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
50668         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
50669         Likewise.
50670         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
50671         (_nss_nisplus_getntohost_r): Likewise.
50672         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
50673         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
50674         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
50675         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
50676         Likewise.
50677         * nis/nss_nisplus/nisplus-initgroups.c
50678         (_nss_nisplus_initgroups_dyn): Likewise.
50679         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
50680         (_nss_nisplus_getnetbyaddr_r): Likewise.
50681         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
50682         (_nss_nisplus_getprotobynumber_r): Likewise.
50683         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
50684         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
50685         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
50686         Likewise.
50687         * nis/nss_nisplus/nisplus-service.c
50688         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
50689         (_nss_nisplus_getservbyport_r): Likewise.
50690         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
50691         (_nss_nisplus_getspnam_r): Likewise.
50692         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
50693         Likewise.
50694         * nscd/aicache.c (addhstaiX): Likewise.
50695         * nscd/cache.c (cache_search, prune_cache): Likewise.
50696         * nscd/connections.c (register_traced_file, send_ro_fd)
50697         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
50698         (main_loop_epoll): Likewise.
50699         * nscd/grpcache.c (addgrbyX): Likewise.
50700         * nscd/hstcache.c (addhstbyX): Likewise.
50701         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50702         * nscd/mem.c (gc, mempool_alloc): Likewise.
50703         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
50704         (addinnetgrX): Likewise.
50705         * nscd/nscd-client.h (__nscd_acquire_maplock)
50706         (__nscd_drop_map_ref): Likewise.
50707         * nscd/nscd_getai.c (__nscd_getai): Likewise.
50708         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
50709         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
50710         Likewise.
50711         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
50712         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
50713         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
50714         (__nscd_get_map_ref): Likewise.
50715         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
50716         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
50717         Likewise.
50718         * nscd/pwdcache.c (addpwbyX): Likewise.
50719         * nscd/selinux.c (preserve_capabilities): Likewise.
50720         * nscd/servicescache.c (addservbyX): Likewise.
50721         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
50722         * posix/fnmatch.c (fnmatch): Likewise.
50723         * posix/getopt.c (_getopt_internal_r): Likewise.
50724         * posix/glob.c (glob, glob_in_dir): Likewise.
50725         * posix/wordexp.c (exec_comm_child): Likewise.
50726         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
50727         (getanswer_r, gaih_getanswer_slice): Likewise.
50728         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
50729         * resolv/res_init.c: Likewise.
50730         * resolv/res_mkquery.c (res_nmkquery): Likewise.
50731         * resolv/res_query.c (__libc_res_nquery): Likewise.
50732         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
50733         Likewise.
50734         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
50735         * stdio-common/perror.c (perror): Likewise.
50736         * stdio-common/printf_fp.c (___printf_fp): Likewise.
50737         * stdio-common/tmpnam.c (tmpnam): Likewise.
50738         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
50739         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
50740         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
50741         Likewise.
50742         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
50743         * stdlib/putenv.c (putenv): Likewise.
50744         * stdlib/setenv.c (__add_to_environ): Likewise.
50745         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
50746         * stdlib/strtol_l.c (INTERNAL): Likewise.
50747         * string/memmem.c (memmem): Likewise.
50748         * string/strerror.c (strerror): Likewise.
50749         * string/strnlen.c (__strnlen): Likewise.
50750         * string/test-memmem.c (simple_memmem): Likewise.
50751         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
50752         * sunrpc/pm_getport.c (__get_socket): Likewise.
50753         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
50754         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
50755         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
50756         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
50757         Likewise.
50758         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
50759         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
50760         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
50761         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
50762         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
50763         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
50764         Likewise.
50765         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
50766         Likewise.
50767         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
50768         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
50769         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50770         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
50771         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
50772         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
50773         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
50774         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
50775         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
50776         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
50777         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
50778         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
50779         Likewise.
50780         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
50781         Likewise.
50782         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
50783         Likewise.
50784         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
50785         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
50786         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
50787         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
50788         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
50789         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
50790         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
50791         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
50792         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
50793         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
50794         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
50795         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50796         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
50797         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
50798         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50799         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
50800         Likewise.
50801         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
50802         Likewise.
50803         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
50804         Likewise.
50805         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
50806         Likewise.
50807         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
50808         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50809         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
50810         Likewise.
50811         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
50812         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
50813         * sysdeps/posix/opendir.c (__opendirat): Likewise.
50814         * sysdeps/posix/sleep.c: Likewise.
50815         * sysdeps/posix/tempname.c: Likewise.
50816         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
50817         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
50818         Likewise.
50819         * sysdeps/powerpc/powerpc32/dl-machine.h
50820         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
50821         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
50822         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
50823         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
50824         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
50825         Likewise.
50826         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
50827         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
50828         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
50829         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
50830         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
50831         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
50832         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
50833         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
50834         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50835         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
50836         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
50837         (elf_machine_lazy_rel): Likewise.
50838         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
50839         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
50840         (elf_machine_lazy_rel): Likewise.
50841         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
50842         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
50843         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
50844         * sysdeps/unix/grantpt.c (grantpt): Likewise.
50845         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
50846         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
50847         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
50848         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50849         Likewise.
50850         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
50851         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
50852         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
50853         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
50854         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
50855         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
50856         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
50857         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
50858         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
50859         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
50860         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
50861         Likewise.
50862         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
50863         (__posix_fallocate64_l64): Likewise.
50864         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
50865         (posix_fallocate): Likewise.
50866         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
50867         Likewise.
50868         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
50869         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
50870         (getifaddrs_internal): Likewise.
50871         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
50872         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
50873         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
50874         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
50875         * sysdeps/unix/sysv/linux/posix_fallocate64.c
50876         (__posix_fallocate64_l64): Likewise.
50877         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
50878         Likewise.
50879         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
50880         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
50881         (__get_clockfreq): Likewise.
50882         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
50883         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
50884         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
50885         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
50886         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
50887         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
50888         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
50889         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
50890         Likewise.
50891         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
50892         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
50893         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
50894         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
50895         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
50896         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
50897         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
50898         Likewise.
50899         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
50900         (posix_fallocate): Likewise.
50901         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
50902         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
50903         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
50904         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
50905         (elf_machine_rela, elf_machine_rela_relative)
50906         (elf_machine_lazy_rel): Likewise.
50907         * time/asctime.c (asctime_internal): Likewise.
50908         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
50909         * time/tzset.c (__tzset_parse_tz): Likewise.
50910         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
50911         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
50912         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
50913         * wcsmbs/wcsmbsload.h: Likewise.
50915         [BZ #15894]
50916         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
50918         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
50919         (arena_get2): Remove THREAD_STATS conditionals.
50920         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
50921         (__malloc_stats, int): Likewise.
50923 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
50925         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
50926         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
50928         * manual/setjmp.texi: Fix typos/grammar errors.
50930         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
50931         Only return early when n is <= 0.  Delete unused return statement.
50933         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
50934         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
50935         * debug/tst-longjmp_chk3.c: New file.
50937         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
50938         (test_main): Replace code with set_fortify_handler call.
50939         * debug/test-strcpy_chk.c: Likewise.
50940         * debug/tst-chk1.c: Likewise.
50941         * debug/tst-longjmp_chk.c: Likewise.
50942         * test-skeleton.c: Include fcntl.h & paths.h
50943         (set_fortify_handler): Define.
50945         * debug/tst-longjmp_chk.c: Add header comment and include
50946         ../test-skeleton.c.
50947         (do_test): Mark static.
50948         (TEST_FUNCTION): Define.
50950         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
50951         (IP_PMTUDISC_INTERFACE): Likewise.
50952         (IP_MULTICAST_IF): Likewise.
50953         (IP_MULTICAST_TTL): Likewise.
50954         (IP_MULTICAST_LOOP): Likewise.
50955         (IP_ADD_MEMBERSHIP): Likewise.
50956         (IP_DROP_MEMBERSHIP): Likewise.
50957         (IP_UNBLOCK_SOURCE): Likewise.
50958         (IP_BLOCK_SOURCE): Likewise.
50959         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
50960         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
50961         (IP_MSFILTER): Likewise.
50962         (MCAST_JOIN_GROUP): Likewise.
50963         (MCAST_BLOCK_SOURCE): Likewise.
50964         (MCAST_UNBLOCK_SOURCE): Likewise.
50965         (MCAST_LEAVE_GROUP): Likewise.
50966         (MCAST_JOIN_SOURCE_GROUP): Likewise.
50967         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
50968         (MCAST_MSFILTER): Likewise.
50969         (IP_MULTICAST_ALL): Likewise.
50970         (IP_UNICAST_IF): Likewise.
50972         * timezone/Makefile: Delete $(have-ksh) check.
50973         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
50974         * timezone/tzselect.ksh: Add +x mode bits.
50976         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
50977         (ANON_INODE_FS_MAGIC): Likewise.
50978         (BDEVFS_MAGIC): Likewise.
50979         (BINFMTFS_MAGIC): Likewise.
50980         (BTRFS_TEST_MAGIC): Likewise.
50981         (CRAMFS_MAGIC_WEND): Likewise.
50982         (DEBUGFS_MAGIC): Likewise.
50983         (ECRYPTFS_SUPER_MAGIC): Likewise.
50984         (EXT3_SUPER_MAGIC): Likewise.
50985         (EXT4_SUPER_MAGIC): Likewise.
50986         (FUTEXFS_SUPER_MAGIC): Likewise.
50987         (HOSTFS_SUPER_MAGIC): Likewise.
50988         (HUGETLBFS_MAGIC): Likewise.
50989         (MINIX3_SUPER_MAGIC): Likewise.
50990         (MTD_INODE_FS_MAGIC): Likewise.
50991         (NILFS_SUPER_MAGIC): Likewise.
50992         (OPENPROM_SUPER_MAGIC): Likewise.
50993         (PIPEFS_MAGIC): Likewise.
50994         (PSTOREFS_MAGIC): Likewise.
50995         (QNX6_SUPER_MAGIC): Likewise.
50996         (RAMFS_MAGIC): Likewise.
50997         (REISERFS_SUPER_MAGIC_STRING): Likewise.
50998         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
50999         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
51000         (SECURITYFS_MAGIC): Likewise.
51001         (SELINUX_MAGIC): Likewise.
51002         (SMACK_MAGIC): Likewise.
51003         (SOCKFS_MAGIC): Likewise.
51004         (SQUASHFS_MAGIC): Likewise.
51005         (STACK_END_MAGIC): Likewise.
51006         (TMPFS_MAGIC): Likewise.
51007         (USBDEVICE_SUPER_MAGIC): Likewise.
51008         (V9FS_MAGIC): Likewise.
51009         (XENFS_SUPER_MAGIC): Likewise.
51010         (CRAMFS_MAGIC): Fix typo in comment.
51011         (EXT2_SUPER_MAGIC): Update comment.
51012         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
51014 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
51016         * sysdeps/arm: Move directory from ports/sysdeps/arm.
51017         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
51018         * sysdeps/unix/sysv/linux/arm: Move directory from
51019         ports/sysdeps/unix/sysv/linux/arm.
51020         * README: Update listing for arm-*-linux-gnueabi.
51022         * README: Remove mention of am33.
51024 2014-02-07  Roland McGrath  <roland@hack.frob.com>
51026         * bits/sigset.h (__sigemptyset): Use a statement expression rather
51027         than the comma operator, to avoid "rhs of comma has no effect"
51028         compiler warnings.
51029         (__sigfillset, __sigandset, __sigorset): Likewise.
51030         * include/signal.h (__sigemptyset): Likewise.
51031         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
51033 2014-02-07  Allan McRae  <allan@archlinux.org>
51035         * version.h (RELEASE): Set to "development".
51036         (VERSION): Set to "2.19.90"
51037         * NEWS: Add 2.20 section.
51039 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
51041         [BZ #16529]
51042         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
51044 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
51046         * manual/contrib.texi: Update entry for Carlos O'Donell,
51047         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
51049 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
51051         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
51053         * sysdeps/unix/sysv/linux/kernel-features.h
51054         [__LINUX_KERNEL_VERSION >= 0x020621]
51055         (__ASSUME_PROC_PID_TASK_COMM): Define.
51057 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51059         [BZ #16398]
51060         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
51061         conversion when destination buffer does not have enough space.
51062         * libio/tst-ftell-partial-wide.c: New test case.
51063         * libio/Makefile (tests): Add tst-ftell-partial-wide.
51065         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
51066         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
51067         Leonard and Allan McRae.
51069 2014-02-04  David S. Miller  <davem@davemloft.net>
51071         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
51072         32-bit.
51074 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
51077         New file
51078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
51079         New file
51080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
51081         New file.
51082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
51083         New file.
51084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
51085         New file.
51086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
51087         New file.
51088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
51089         New file.
51090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
51091         New file.
51092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
51093         New file.
51094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
51095         New file.
51096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
51097         New file.
51098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
51099         New file.
51100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
51101         New file.
51103 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51105         * nptl/shlib-versions: Change powerpc*le start to 2.17.
51106         * shlib-versions: Likewise.
51108 2014-02-04  Roland McGrath  <roland@hack.frob.com>
51109             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51111         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
51112         (abilist-pattern): New variable, set to %-le.abilist.
51114         * Makerules (abilist-pattern): New variable.
51115         (vpath): Use $(abilist-pattern) in place of %.abilist.
51116         (check-abi-% pattern rule): Likewise.
51117         (check-abi, update-abi): Likewise.
51119 2014-02-04  Eric Wong  <normalperson@yhbt.net>
51121         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51123 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
51125         * manual/startup.texi: Add next, previous, and top entries for
51126         the `Program Arguments' and `Environment Variables' nodes.
51128 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
51130         * manual/macros.texi: Add comments before MTASC-safety macros.
51132         * manual/users.texi: Document MTASC-safety properties.
51134         * manual/threads.texi (pthread_key_create, pthread_key_delete)
51135         (pthread_getspecific, pthread_setspecific): Format with
51136         @deftypefun, and add @safety note.
51137         * manual/signal.texi: Move comments that analyze the above
51138         functions to their home place.
51140 2014-02-03  Allan McRae  <allan@archlinux.org>
51142         * po/sl.po: Update Slovenian translation from translation project.
51144 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
51146         * manual/time.texi (timegm): Add missing blank after @c.
51147         Reported by Joseph Myers <joseph@codesourcery.com>.
51149 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
51151         * manual/check-safety.sh: New.
51152         * manual/Makefile ($(objpfx)stamp-summary): Run it.
51154         * manual/terminal.texi: Document MTASC-safety properties.
51156         * manual/filesys.texi: Document MTASC-safety properties.
51158         * manual/errno.texi: Document MTASC-safety properties.
51160         * manual/intro.texi: Document safety identifiers and
51161         conditionals.
51163         * manual/string.texi (wcstok): Fix prototype.
51164         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
51166         * manual/time.texi: Document MTASC-safety properties.
51168         * manual/string.texi: Document MTASC-safety properties.
51170         * manual/threads.texi: Document MTASC-safety properties.
51172         * manual/stdio.texi: Document MTASC-safety properties.
51174         * manual/syslog.texi: Document MTASC-safety properties.
51176         * manual/sysinfo.texi: Document MTASC-safety properties.
51178         * manual/startup.texi: Document MTASC-safety properties.
51180         * manual/socket.texi: Document MTASC-safety properties.
51182         * manual/signal.texi: Document MTASC-safety properties.
51184 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
51186         * manual/setjmp.texi: Document MTASC-safety properties.
51188         * manual/search.texi: Document MTASC-safety properties.
51190         * manual/resource.texi: Document MTASC-safety properties.
51192         * manual/process.texi: Document MTASC-safety properties.
51194         * manual/platform.texi: Document MTASC-safety properties.
51196         * manual/pipe.texi: Document MTASC-safety properties.
51198         * manual/pattern.texi: Document MTASC-safety properties.
51200         * manual/message.texi: Document MTASC-safety properties.
51202         [BZ #12751]
51203         * manual/memory.texi: Document MTASC-safety properties.
51205         * manual/math.texi: Document MTASC-safety properties.
51207         * manual/locale.texi: Document MTASC-safety properties.
51209         * manual/llio.texi: Document MTASC-safety properties.
51211         * manual/libdl.texi: New.
51213         * manual/lang.texi: Document MTASC-safety properties.
51215         * manual/job.texi: Document MTASC-safety properties.
51217         * manual/getopt.texi: Document MTASC-safety properties.
51219         * manual/ctype.texi: Document MTASC-safety properties.
51221 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
51223         [BZ #16046]
51224         * csu/libc-tls.c (static_map): Remove variable.
51225         (__libc_setup_tls): Use main executable's link map for TLS data.
51226         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
51227         casing for LM_ID_BASE and GL(dl_nns).
51228         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
51229         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
51230         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
51231         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
51232         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
51233         member.
51234         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
51235         l_phnum members.
51237 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
51239         * manual/debug.texi: Document MTASC-safety properties.
51241 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
51243         [BZ #16510]
51244         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
51245         of __x86_64__ when disabling x87 inline functions.
51247 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
51249         * manual/charset.texi: Document MTASC-safety properties.
51251         * manual/crypt.texi: Document MTASC-safety properties.
51253         * manual/conf.texi: Document MTASC-safety properties.
51255         * manual/arith.texi: Document MTASC-safety properties.
51257         * manual/argp.texi: Document MTASC-safety properties.
51259         * manual/macros.texi: Introduce macros to document multi
51260         thread, asynchronous signal and asynchronous cancellation
51261         safety properties.
51262         * manual/intro.texi: Introduce the properties themselves.
51264 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51266         * sysdeps/sh/sh4/Makefile: New file.
51268 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
51270         * math/gen-libm-test.pl ($srcdir): New variable.
51271         ($auto_input): Use it.
51273 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51275         [BZ #16506]
51276         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
51277         access beyond array bounds when parsing netgroups file.
51279         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
51280         the old buffer before realloc.
51282 2014-01-27  Allan McRae  <allan@archlinux.org>
51284         * po/fr.po: Update French translation from translation project.
51286 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51288         * sysdeps/sh/libm-test-ulps: Regenerate.
51290 2014-01-24  David S. Miller  <davem@davemloft.net>
51292         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
51294 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51296         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
51297         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
51299 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
51301         [BZ #16474]
51302         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
51303         string pointers after reallocation.
51305 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51307         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
51308         __SH4A__ instead of __SH_FPU_ANY__.
51310 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51312         * sysdeps/sh/fpu_control.h: New file.
51313         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
51314         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
51315         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
51316         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
51317         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
51318         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
51319         * sysdeps/sh/sys/ucontext.h: Remove.
51320         * sysdeps/sh/sys: Remove directory.
51322 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51324         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
51325         s390/sys/ucontext.h.
51326         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
51327         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
51329 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
51331         [BZ #15605]
51332         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
51334 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51336         [BZ #16431]
51337         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
51338         Adjust the vDSO correctly for internal calls.
51339         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
51341 2014-01-20  Allan McRae  <allan@archlinux.org>
51343         * po/ca.po: Update Catalan translation from translation project.
51345 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
51347         * sysdeps/s390/sotruss-lib.c: New file.
51349 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51351         [BZ #16430]
51352         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
51353         (__GI___gettimeofday): Alias for a different internal symbol to avoid
51354         local calls issues by not having a PLT stub required for IFUNC calls.
51355         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
51357 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
51359         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
51360         * math/test-fpucw-static.c: Likewise.
51362 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51364         [BZ #16453]
51365         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
51367 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51369         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
51370         implementation for powerpc.
51372 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
51374         [BZ #14782]
51375         * sysdeps/posix/system.c (__libc_system): Do not enable
51376         asynchronous cancellation.
51378 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51380         [BZ #16427]
51381         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
51382         handling only for numbers special also in the IEEE case.
51384 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51386         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
51388 2014-01-11  Allan McRae  <allan@archlinux.org>
51390         * po/bg.po: Update Bulgarian translation from translation project.
51392         * po/de.po: Update German translation from translation project.
51394 2014-01-10  Roland McGrath  <roland@hack.frob.com>
51396         * sysdeps/generic/gcc-compat.h: New file.
51398 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51400         * benchtests/asin-inputs: Correct slow inputs.
51401         * benchtests/acos-inputs: Likewise.
51403 2014-01-10  Allan McRae  <allan@archlinux.org>
51405         * po:sv.po: Update Swedish translation from translation project.
51407         * po/vi.po: Update Vietnamese translation from translation project.
51409         * po/eo.po: Update Esperanto translation from translation project.
51411         * po/cs.po: Update Czech translation from translation project.
51413         * po/nl.po: Update Dutch translation from translation project.
51415         * po/pl.po: Update Polish translation from translation project.
51417         * po/ru.po: Update Russian translation from translation project.
51419         * po/uk.po: Update Ukrainian translation from translation project.
51421 2014-01-08  Brooks Moses  <bmoses@google.com>
51423         * elf/dl-load.c: Fix comment typo.
51425 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
51427         * po/header.pot: Rename to...
51428         * po/pot.header: ... this.
51429         * po/Makefile: Use pot.header.
51431 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
51432             Maxim Kuvyrkov  <maxim@kugelworks.com>
51434         [BZ #16394]
51435         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
51436         SRC and DEST against LEN.
51438 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51440         [BZ #16414]
51441         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
51442         implementation.
51443         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
51445 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51447         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51449 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
51451         [BZ #16408]
51452         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
51453         for large positive arguments.
51455 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
51457         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
51459         * math/auto-libm-test-in: Mark various tests with
51460         xfail-rounding:ldbl-128ibm.
51461         * math/auto-libm-test-out: Regenerated.
51463         [BZ #16407]
51464         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
51465         Increase overflow threshold.
51467 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
51469         [BZ #14286]
51470         * stdio-common/vfprintf.c: Check for integer overflow.
51472 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51474         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
51475         the first argument and return value of __tls_get_addr_internal.
51477 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51479         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
51480         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
51482 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51484         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
51485         * sysdeps/s390/rtld-global-offsets.sym: New file.
51486         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
51487         GLIBC_2.19 symbol.
51488         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
51489         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
51490         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
51491         ... this.
51492         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
51493         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
51494         ... this.
51495         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
51496         Regenerate.
51497         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
51498         Regenerate.
51499         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
51500         halfs of GPRs for high_gprs contexts.
51501         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
51502         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
51503         field.
51504         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
51505         uc_flags field.
51506         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
51507         64 bit versions:
51508         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
51509         for high GPRs (uc_high_gprs) and for future extensions
51510         (__reserved).
51511         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
51512         for future extensions (__reserved).
51513         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
51514         64 bit versions:
51515         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
51516         SC_HIGHGPRS offset definition.
51517         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
51518         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
51520         * Versions.def: Add GLIBC_2.19 for libpthread.
51521         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
51522         siglongjmp for libpthread with GLIBC_2.19 symver.
51523         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
51524         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
51525         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
51526         * sysdeps/s390/__longjmp.c: New file.
51527         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
51528         * sysdeps/s390/longjmp.c: New file.
51529         * sysdeps/s390/setjmp.S: New file.
51530         * sysdeps/s390/sigjmp.S: New file.
51531         * sysdeps/s390/v1-longjmp.c: New file.
51532         * sysdeps/s390/v1-setjmp.h: New file.
51533         * sysdeps/s390/v1-sigjmp.c: New file.
51534         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
51535         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
51536         GLIBC_2.19 version.
51537         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
51538         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
51539         versioned symbols for ____longjmp_chk.
51540         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
51541         Likewise.
51542         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
51543         Regenerate.
51544         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
51545         Regenerate.
51546         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
51547         Regenerate.
51548         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
51549         Regenerate.
51550         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
51551         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
51552         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
51553         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
51554         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
51555         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
51556         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
51557         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
51558         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
51559         * sysdeps/s390/rtld-__longjmp.c: New file.
51560         * sysdeps/s390/rtld-setjmp.S: New file.
51562 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
51564         [BZ #16400]
51565         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
51566         Return -__logl (x) for small positive arguments without evaluating
51567         a polynomial.
51569 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
51571         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
51572         Rename to ...
51573         (__ptrace_peeksiginfo_args): ... this.
51574         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51575         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51576         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51578 2014-01-06  Allan McRae  <allan@archlinux.org>
51580         * inet/netinet/in.h: Fix typo in comment.
51582 2014-01-05  Andreas Jaeger  <aj@suse.de>
51584         * sysdeps/i386/fpu/libm-test-ulps: Update.
51586 2014-01-05  Allan McRae  <allan@archlinux.org>
51588         * po/libc.pot: Regenerated.
51590         * malloc/memusagestat.c: Fix gettext call formatting.
51592 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
51594         * nscd/nscd.c: Improve usage() output.
51596 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
51598         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
51599         * sysdeps/unix/sysv/linux/configure: Regenerated.
51600         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
51601         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
51603 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
51605         [BZ #16390]
51606         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
51607         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
51609 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51611         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
51612         extra tokens at end of #undef directive.
51613         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
51614         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
51615         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
51617 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
51619         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
51621         * math/auto-libm-test-in: Mark various tests with
51622         xfail-rounding:ldbl-128ibm.
51623         * math/auto-libm-test-out: Regenerated.
51625 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
51627         [BZ #16386]
51628         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
51629         numbers with subnormal high part when calculating exponent.
51631         [BZ #16385]
51632         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
51633         fabs.
51635         [BZ #16384]
51636         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
51637         M_LN2l.
51638         (__ieee754_acoshl): Use __log1pl not __log1p.
51640 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
51642         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
51643         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
51644         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
51645         (grow_heap, heap_trim, _int_new_arena, get_free_list)
51646         (reused_arena, arena_get2): Convert to GNU style.
51647         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
51648         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
51649         (memalign_check, __malloc_set_state): Likewise.
51650         * malloc/mallocbug.c (main): Likewise.
51651         * malloc/malloc.c (__malloc_assert, malloc_init_state)
51652         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
51653         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
51654         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
51655         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
51656         (__posix_memalign, malloc_info): Likewise.
51657         * malloc/malloc.h: Likewise.
51658         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
51659         (mallochook, memalignhook, reallochook, mabort): Likewise.
51660         * malloc/mcheck.h: Likewise.
51661         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
51662         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
51663         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
51664         * malloc/morecore.c (__default_morecore): Likewise.
51665         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
51666         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
51667         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
51668         (print_and_abort): Likewise.
51669         * malloc/obstack.h: Likewise.
51670         * malloc/set-freeres.c (__libc_freeres): Likewise.
51671         * malloc/tst-mallocstate.c (main): Likewise.
51672         * malloc/tst-mtrace.c (main): Likewise.
51673         * malloc/tst-realloc.c (do_test): Likewise.
51675 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
51677         [BZ #16366]
51678         * nscd/netgroupcache.c (do_notfound): New function.
51679         (addgetnetgrentX): Use it.
51681         [BZ # 16365]
51682         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
51683         NSS_STATUS_NOTFOUND.
51685 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
51687         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
51688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51690 2014-01-01  Allan McRae  <allan@archlinux.org>
51692         * scripts/update-copyrights: Update configure input file suffix.
51694         * NEWS: Update copyright year.
51695         * catgets/gencat.c: Likewise.
51696         * csu/version.c: Likewise.
51697         * debug/catchsegv.sh: Likewise.
51698         * debug/pcprofiledump.c: Likewise.
51699         * debug/xtrace.sh: Likewise.
51700         * elf/ldconfig.c: Likewise.
51701         * elf/ldd.bash.in: Likewise.
51702         * elf/pldd.c: Likewise.
51703         * elf/sotruss.ksh: Likewise.
51704         * elf/sprof.c: Likewise.
51705         * iconv/iconv_prog.c: Likewise.
51706         * iconv/iconvconfig.c: Likewise.
51707         * locale/programs/locale.c: Likewise.
51708         * locale/programs/localedef.c: Likewise.
51709         * login/programs/pt_chown.c: Likewise.
51710         * malloc/memusage.sh: Likewise.
51711         * malloc/memusagestat.c: Likewise.
51712         * malloc/mtrace.pl: Likewise.
51713         * manual/libc.texinfo: Likewise.
51714         * nscd/nscd.c: Likewise.
51715         * nss/getent.c: Likewise.
51716         * nss/makedb.c: Likewise.
51717         * posix/getconf.c: Likewise.
51718         * scripts/test-installation.pl: Likewise.
51720         * All files with FSF copyright notices: Update copyright dates
51721         using scripts/update-copyrights.
51722         * intl/plural.c: Regenerated.
51723         * locale/programs/charmap-kw.h: Likewise.
51724         * locale/programs/locfile-kw.h: Likewise.
51726 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
51728         * sysdeps/unix/sysv/linux/configure: Regenerated.
51729         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
51730         the linux/fanotify.h header.
51731         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
51732         HAVE_LINUX_FANOTIFY_H is defined.
51734 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
51736         * benchtests/cos-inputs: New inputs.
51737         * benchtests/sin-inputs: Likewise.
51739         * benchtests/atan-inputs: New inputs. Fix name of multiple
51740         precision fallback inputs.
51742         * benchtests/atanh-inputs: New inputs.
51743         * benchtests/tanh-inputs: Likewise.
51745         * benchtests/acosh-inputs: New inputs.
51746         * benchtests/asinh-inputs: Likewise.
51748         * benchtests/cosh-inputs: New inputs.
51749         * benchtests/sinh-inputs: Likewise.
51751         * benchtests/acos-inputs: Add more inputs.
51752         * benchtests/asin-inputs: Likewise.
51754 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
51756         [BZ #16375]
51757         * manual/arith.texi: Fix spelling.
51758         * manual/charset.texi: Likewise.
51759         * manual/errno.texi: Likewise.
51760         * manual/filesys.texi: Likewise.
51761         * manual/lang.texi: Likewise.
51762         * manual/llio.texi: Likewise.
51763         * manual/locale.texi: Likewise.
51764         * manual/message.texi: Likewise.
51765         * manual/resource.texi: Likewise.
51766         * manual/search.texi: Likewise.
51767         * manual/setjmp.texi: Likewise.
51768         * manual/stdio.texi: Likewise.
51769         * manual/string.texi: Likewise.
51770         * manual/sysinfo.texi: Likewise.
51771         * manual/time.texi: Likewise.
51773 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
51775         * po/sl.po: New file.
51777 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
51779         * .gitignore: Add core/.gdbinit/.gdb_history.
51781 2013-12-27  Allan McRae  <allan@archlinux.org>
51783         [BZ #16369]
51784         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
51785         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
51787 2013-12-24  Brooks Moses  <bmoses@google.com>
51789         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
51790         all compilers that claim C++98 compliance, not just GCC.
51791         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
51792         Likewise.
51794 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
51796         * NEWS: Restore accidentally deleted bug-fix entries.
51798 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
51799             Ondřej Bílka  <neleai@seznam.cz>
51801         [BZ #15073]
51802         * malloc/malloc.c (_int_free): Perform sanity check only if we
51803         have_lock.
51805 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
51807         [BZ #12986]
51808         * manual/stdio.texi (String Input Conversions): Clarify that character
51809         classes are not supported.
51811 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51813         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51815 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
51817         [BZ #16337]
51818         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
51819         Calculate results for small negative arguments directly rather
51820         than using reflection formula with special underflow handling.
51822         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
51823         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
51824         sysdeps/unix/bsd/bsd4.4/syscalls.list.
51825         (fchflags): Likewise.
51826         (revoke): Likewise.
51827         (setlogin): Likewise.
51828         (sigaltstack): Likewise.
51829         (wait4): Likewise.
51830         (sigblock): Remove.
51831         (sigsetmask): Likewise.
51832         (wait3): Likewise.
51833         (waitpid): Likewise.
51834         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
51835         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
51836         file.
51837         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
51838         * sysdeps/unix/bsd/Makefile: ... here.
51839         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
51840         * sysdeps/unix/bsd/Versions: ... here.
51841         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
51842         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
51843         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
51844         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
51845         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
51846         * sysdeps/unix/bsd/sigblock.c: ... here.
51847         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
51848         * sysdeps/unix/bsd/sigsetmask.c: ... here.
51849         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
51850         * sysdeps/unix/bsd/sigvec.c: ... here.
51851         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
51852         * sysdeps/unix/bsd/tcdrain.c: ... here.
51853         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
51854         * sysdeps/unix/bsd/tcgetattr.c: ... here.
51855         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
51856         * sysdeps/unix/bsd/tcsetattr.c: ... here.
51857         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
51858         * sysdeps/unix/bsd/wait.c: ... here.
51859         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
51860         * sysdeps/unix/bsd/wait3.c: ... here.
51861         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
51862         * sysdeps/unix/bsd/waitpid.c: ... here.
51864 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
51866         [BZ #16356]
51867         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
51868         round-to-nearest for [!USE_AS_EXPM1L].
51869         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
51870         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
51871         more tests of exp and exp10.  Expect some exp10 tests to miss
51872         exceptions or fail in directed rounding modes.
51873         * math/auto-libm-test-out: Regenerated.
51874         * math/libm-test.inc (exp10_tonearest_test_data): New array.
51875         (exp10_test_tonearest): New function.
51876         (exp10_towardzero_test_data): New array.
51877         (exp10_test_towardzero): New function.
51878         (exp10_downward_test_data): New array.
51879         (exp10_test_downward): New function.
51880         (exp10_upward_test_data): New array.
51881         (exp10_test_upward): New function.
51882         (main): Call the new functions.
51883         * sysdeps/i386/fpu/libm-test-ulps: Update.
51884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51886 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
51888         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
51889         asinh, atan, atan2, atanh, cbrt, cos and cosh.
51890         * math/auto-libm-test-out: Regenerated.
51891         * math/libm-test.inc (acosh_test_data): Add more tests.
51892         (atanh_test_data): Likewise.
51893         (ceil_test_data): Likewise.
51894         (copysign_test_data): Likewise.
51895         * sysdeps/i386/fpu/libm-test-ulps: Update.
51896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51898         * timezone/checktab.awk: Update from tzcode 2013i.
51899         * timezone/private.h: Likewise.
51900         * timezone/scheck.c: Likewise.
51901         * timezone/tzfile.h: Likewise.
51902         * timezone/tzselect.ksh: Likewise.
51903         * timezone/zdump.c: Likewise.
51904         * timezone/zic.c: Likewise.
51906         * math/auto-libm-test-in: Add tests of cpow.
51907         * math/auto-libm-test-out: Regenerated.
51908         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
51909         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51910         mpc_cc_c.
51911         (func_calc_desc): Add mpc_cc_c union field.
51912         (test_functions): Add cpow.
51913         (special_fill_2pi): New function.
51914         (special_real_inputs): Add 2pi.
51915         (calc_generic_results): Handle mpc_cc_c.
51916         * sysdeps/i386/fpu/libm-test-ulps: Update.
51917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51919         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
51920         csqrt, ctan and ctanh.
51921         * math/auto-libm-test-out: Regenerated.
51922         * math/libm-test.inc (TEST_COND_x86_64): New macro.
51923         (TEST_COND_x86): Likewise.
51924         (ccos_test_data): Use AUTO_TESTS_c_c.
51925         (ccosh_test_data): Likewise.
51926         (cexp_test_data): Likewise.
51927         (clog_test_data): Likewise.
51928         (csqrt_test_data): Likewise.
51929         (ctan_test_data): Likewise.
51930         (ctan_tonearest_test_data): Likewise.
51931         (ctan_towardzero_test_data): Likewise.
51932         (ctan_downward_test_data): Likewise.
51933         (ctan_upward_test_data): Likewise.
51934         (ctanh_test_data): Likewise.
51935         (ctanh_tonearest_test_data): Likewise.
51936         (ctanh_towardzero_test_data): Likewise.
51937         (ctanh_downward_test_data): Likewise.
51938         (ctanh_upward_test_data): Likewise.
51939         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51940         mpc_c_c.
51941         (func_calc_desc): Add mpc_c_c union field.
51942         (FUNC_mpc_c_c): New macro.
51943         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
51944         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
51945         ctanh.
51946         (special_fill_min_subnorm_p120): New function.
51947         (special_real_inputs): Add min_subnorm_p120.
51948         (calc_generic_results): Handle mpc_c_c.
51949         * sysdeps/i386/fpu/libm-test-ulps: Update.
51950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51952 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
51954         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
51955         (do_sin_slow): New functions.
51956         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
51957         (cslow2, csloww1, csloww2): Use the new functions.
51959         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
51960         Use M to change sign of result instead of X.  Assume X is
51961         positive.
51962         (csloww1): Likewise.
51963         (__sin): Adjust.
51964         (__cos): Adjust.
51966         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
51967         arguments A and DA.
51968         (__sin): Adjust.
51969         (__cos): Likewise.
51971         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
51972         (__cos): Likewise.
51973         (sloww1): Don't adjust sign of DX.
51974         (csloww1): Likewise.
51975         (sloww2): Use X directly and don't adjust sign of DX.
51976         (csloww2): Likewise.
51978 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
51980         * math/auto-libm-test-in: Add tests of cabs and carg.
51981         * math/auto-libm-test-out: Regenerated.
51982         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
51983         (carg_test_data): Likewise.
51984         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51985         mpc_c_f.
51986         (func_calc_desc): Add mpc_c_f union field.
51987         (test_functions): Add cabs and carg.
51988         (calc_generic_results): Handle mpc_c_f.
51990         * sysdeps/powerpc/powerpc32/libgcc-compat.S
51991         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
51992         as a macro and a compat symbol.
51993         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
51994         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
51995         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
51996         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
51997         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
51998         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
51999         not use .hidden.
52000         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
52001         Likewise.
52002         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
52003         Likewise.
52004         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
52005         Likewise.
52006         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
52007         Likewise.
52008         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
52009         Likewise.
52010         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
52011         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
52012         from GLIBC_2.3.2.
52014 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52016         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52018 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
52020         * manual/texinfo.tex: Update to version 2013-11-26.10 with
52021         trailing whitespace removed.
52022         * scripts/config.guess: Update to version 2013-11-29.
52023         * scripts/config.sub: Update to version 2013-10-01.
52025         * math/auto-libm-test-in: Add tests of sincos.
52026         * math/auto-libm-test-out: Regenerated.
52027         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
52028         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52029         mpfr_f_11.
52030         (func_calc_desc): Add mpfr_f_11 union field.
52031         (test_functions): Add sincos.
52032         (calc_generic_results): Handle mpfr_f_11.
52033         * sysdeps/i386/fpu/libm-test-ulps: Update.
52034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52036 2013-12-19  Andreas Schwab  <schwab@suse.de>
52038         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
52039         CALL_MCOUNT.
52040         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
52041         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
52042         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
52044 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
52046         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
52047         * sysdeps/i386/fpu/libm-test-ulps: Update.
52048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52050         [BZ #16293]
52051         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
52052         round-to-nearest mode when using frndint.
52053         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
52054         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
52055         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
52056         Likewise.
52057         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
52058         sinh test to fail.
52059         * math/auto-libm-test-out: Regenerated.
52060         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
52061         (TEST_COND_x86): Likewise.
52062         (expm1_tonearest_test_data): New array.
52063         (expm1_test_tonearest): New function.
52064         (expm1_towardzero_test_data): New array.
52065         (expm1_test_towardzero): New function.
52066         (expm1_downward_test_data): New array.
52067         (expm1_test_downward): New function.
52068         (expm1_upward_test_data): New array.
52069         (expm1_test_upward): New function.
52070         (main): Run the new test functions.
52071         * sysdeps/i386/fpu/libm-test-ulps: Update.
52072         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52074         * include/features.h: Update comment documenting feature test
52075         macros.  Mention _DEFAULT_SOURCE in comment.
52076         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
52077         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
52078         _BSD_SOURCE and _SVID_SOURCE.
52079         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
52080         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
52081         !_SVID_SOURCE]: Likewise.
52082         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
52083         (__USE_POSIX_IMPLICITLY): Define.
52084         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
52085         (_POSIX_SOURCE): Undefine and redefine.
52086         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
52087         (_POSIX_C_SOURCE): Likewise.
52088         * manual/creature.texi (_DEFAULT_SOURCE): Document.
52089         (Feature Test Macros): Update documentation of default features.
52091 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
52093         * benchtests/Makefile: Add bench-strtok.
52094         * benchtests/bench-strtok.c: New file: strtok benchtest.
52096 2013-12-19  Allan McRae  <allan@archlinux.org>
52098         * manual/install.texi: Suppress menu for plain text output.
52099         * INSTALL: Regenerated.
52101 2013-12-18  Brooks Moses  <bmoses@google.com>
52103         [BZ #15846]
52104         * misc/getauxval.c: Include errno.h.
52105         (__getauxval): Set errno to ENOENT if the requested type is not
52106         found.
52107         * misc/sys/auxv.h (getauxval): Document that it may set errno;
52108         don't declare with __attribute_const__.
52109         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
52110         * manual/startup.texi: Document that getauxval sets errno.
52112 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
52114         * math/auto-libm-test-in: Add tests of jn and yn.
52115         * math/auto-libm-test-out: Regenerated.
52116         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
52117         (yn_test_data): Likewise.
52118         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52119         mpfr_if_f.
52120         (func_calc_desc): Add mpfr_if_f union field.
52121         (FUNC_mpfr_if_f): New macro.
52122         (test_functions): Add jn and yn.
52123         (calc_generic_results): Assert type of second input for
52124         mpfr_ff_f.  Handle mpfr_if_f.
52125         (output_for_one_input_case): Disable all checking for arguments
52126         fitting floating-point types in case of an integer argument.
52127         * sysdeps/i386/fpu/libm-test-ulps: Update.
52128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
52131         Don't expect fegetround reference in libm.so.
52133 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52135         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
52136         $(config-cflags-nofma).
52138 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
52140         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
52141         * math/auto-libm-test-out: Regenerated.
52143         [BZ #16338]
52144         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
52145         to determine exponent and adjust argument to have exponent of -1.
52146         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
52147         log2.
52148         * math/auto-libm-test-out: Regenerated.
52149         * sysdeps/i386/fpu/libm-test-ulps: Update.
52150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52152 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
52154         * manual/probes.texi: Remove cases when per-thread arenas are
52155         disabled.
52157 2013-12-18  Andreas Schwab  <schwab@suse.de>
52159         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
52160         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
52161         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
52162         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
52163         * sysdeps/i386/i686/multiarch/Makefile: Update.
52164         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
52166 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
52168         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
52169         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
52171 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
52173         [BZ #15968]
52174         Support TZ transition times < 00:00:00.
52175         This is needed for version-3 tz-format files; it supports time
52176         stamps past 2037 for America/Godthab (the only entry in the tz
52177         database for which this change is relevant).
52178         * manual/time.texi (TZ Variable): Document transition times
52179         from -167:59:59 through -00:00:01.
52180         * time/tzset.c (tz_rule): Time of day is now signed.
52181         (__tzset_parse_tz): Parse negative time of day.
52183         Document TZ transition times >= 25:00:00.
52184         * manual/time.texi (TZ Variable): Document transition times from
52185         25:00:00 through 167:59:59.  These are already supported, and this
52186         support will help with version-3 tz-format files.
52188         * manual/time.texi (TZ Variable): Modernize North America example
52189         to reflect current (i.e., 2007-and-later) daylight saving rules.
52191         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
52193 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
52195         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
52196         * sysdeps/unix/bsd/bits/stat.h: Likewise.
52197         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
52198         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
52199         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
52200         * sysdeps/unix/bsd/bsdstat.h: Likewise.
52201         * sysdeps/unix/bsd/clock.c: Likewise.
52202         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
52203         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
52204         * sysdeps/unix/bsd/init-posix.c: Likewise.
52205         * sysdeps/unix/bsd/poll.c: Likewise.
52206         * sysdeps/unix/bsd/ptsname.c: Likewise.
52207         * sysdeps/unix/bsd/seekdir.c: Likewise.
52208         * sysdeps/unix/bsd/setegid.c: Likewise.
52209         * sysdeps/unix/bsd/seteuid.c: Likewise.
52210         * sysdeps/unix/bsd/setgid.c: Likewise.
52211         * sysdeps/unix/bsd/setrgid.c: Likewise.
52212         * sysdeps/unix/bsd/setruid.c: Likewise.
52213         * sysdeps/unix/bsd/setsid.c: Likewise.
52214         * sysdeps/unix/bsd/setuid.c: Likewise.
52215         * sysdeps/unix/bsd/sigaction.c: Likewise.
52216         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
52217         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
52218         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
52219         * sysdeps/unix/bsd/telldir.c: Likewise.
52220         * sysdeps/unix/bsd/times.c: Likewise.
52221         * sysdeps/unix/bsd/usleep.c: Likewise.
52223         * misc/Makefile (install-lib): Remove libbsd-compat.a.
52224         ($(objpfx)libbsd-compat.a): Remove rule.
52226         * include/features.h (__FAVOR_BSD): Do not define.
52227         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
52228         features conflicting with POSIX.
52229         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
52230         (_BSD_SOURCE): Remove description of not being a subset of other
52231         feature test macros.
52232         * manual/job.texi (getpgrp): Do not document BSD version.
52233         (getpgid): Do not document by reference to BSD getpgrp.
52234         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
52235         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
52236         * signal/signal.h [__FAVOR_BSD]: Likewise.
52237         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
52238         instead of making contents conditional on [__FAVOR_BSD].
52239         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
52241 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52243         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52245 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
52247         [BZ #16314]
52248         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
52249         values below 2**-450, not 2**-500.
52250         * math/auto-libm-test-in: Don't allow spurious underflow from
52251         hypot.
52252         * math/auto-libm-test-out: Regenerated.
52254         [BZ #16316]
52255         [BZ #16330]
52256         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
52257         values of ha and hb and sort them after adjusting subnormal
52258         arguments.
52259         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
52260         Likewise.
52261         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
52262         values of ea and eb and sort them after adjusting subnormal
52263         arguments.
52264         * math/auto-libm-test-in: Do not expect some hypot tests of
52265         subnormals to fail.  Add more hypot tests.
52266         * math/auto-libm-test-out: Regenerated.
52268 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52270         [BZ #13304]
52271         * sysdeps/sh/s_fma.c: New file.
52272         * sysdeps/sh/s_fmaf.c: New file.
52273         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
52274         version.
52275         * sysdeps/sh/Implies: Add sh/soft-fp.
52277 2013-12-16  Roland McGrath  <roland@hack.frob.com>
52279         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
52280         level of indirection to members `objname', `errstring', `malloced'.
52281         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
52282         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
52283         it as the __longjmp argument (just pass 1 instead).
52284         (_dl_catch_error): Initialize C with argument pointers and address of
52285         volatile local ERRCODE rather than copying values out of C at return.
52287 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
52289         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
52290         * math/auto-libm-test-out: Regenerated.
52291         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
52292         (hypot_test_data): Likewise.
52293         (pow_test_data): Likewise.
52294         (pow_tonearest_test_data): Likewise.
52295         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52296         mpfr_ff_f.
52297         (func_calc_desc): Add mpfr_ff_f union field.
52298         (FUNC_mpfr_ff_f): New macro.
52299         (test_functions): Add atan2, hypot and pow.
52300         (special_fill_min): New function.
52301         (special_fill_minus_min): Likewise.
52302         (special_fill_min_subnorm): Likewise.
52303         (special_fill_minus_min_subnorm): Likewise.
52304         (special_real_inputs): Add min, -min, min_subnorm and
52305         -min_subnorm.
52306         (calc_generic_results): Handle mpfr_ff_f.
52307         * sysdeps/i386/fpu/libm-test-ulps: Update.
52308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52310 2013-12-16  Will Newton  <will.newton@linaro.org>
52312         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
52313         (Aligned Memory Blocks): Add documentation for aligned_alloc
52314         and suggest it as an alternative to posix_memalign.
52315         (Hooks for Malloc): Document __memalign_hook is also called
52316         for aligned_alloc.  (Summary of Malloc): Add summary for
52317         aligned alloc.  Document __memalign_hook is also called
52318         for aligned_alloc.
52320 2013-12-16  Will Newton  <will.newton@linaro.org>
52322         * manual/memory.texi (Malloc Examples): Clarify default
52323         alignment documentation.  Suggest posix_memalign rather
52324         than memalign or valloc.
52325         (Aligned Memory Blocks): Remove suggestion to use memalign
52326         or valloc.  Remove obsolete comment about BSD.
52327         Document memalign errno values and mark the function obsolete.
52328         Document posix_memalign returned error codes.  Mark valloc
52329         as obsolete.  (Hooks for Malloc): __memalign_hook is also
52330         called for posix_memalign and valloc.
52331         (Summary of Malloc): Add posix_memalign to function summary.
52332         __memalign_hook is also called for posix_memalign and valloc.
52334 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52336         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
52337         TAYLOR_SIN.
52338         (__sin): Adjust.
52339         (__cos): Likewise.
52340         (sloww): Use mynumber union.  Expand ternary operator into
52341         if-else statements.
52342         (cslow): use mynumber union.
52344 2013-12-16  Allan McRae  <allan@archlinux.org>
52346         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
52347         * configure: Regenerated.
52349         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
52351         [BZ #14120]
52352         * configure.ac: Added --enable-maintainer-mode. Check for
52353         autoconf when enabled.
52354         * configure: Regenerated.
52356         * nscd/nscd.service: New file.
52357         * nscd/nscd.tmpfiles: New file.
52359 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
52361         [BZ #12100]
52362         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
52363         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
52364         * sysdeps/x86_64/multiarch/strstr.c: ... here.
52365         (strstr): Add __strstr_sse2_unaligned ifunc.
52366         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
52367         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
52368         (strcasestr): Remove __strcasestr_sse42 ifunc.
52369         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
52370         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
52371         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
52373 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52375         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
52376         * sysdeps/sh/bits/fenv.h: ... here.
52377         * sysdeps/sh/sh4/fpu/bits: Remove directory.
52379 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52381         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
52383         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
52384         hypotf multiarch implementations.
52385         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
52386         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
52387         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
52388         multiarch hypot for PPC64.
52389         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
52390         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
52391         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
52392         multiarch hypotf for PPC64.
52394         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
52395         modff multiarch implementations.
52396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
52397         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
52398         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
52399         multiarch modf for PPC64.
52400         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
52401         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
52402         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
52403         multiarch modff for PPC64.
52405         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
52406         and logl multiarch implementations.
52407         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
52408         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
52409         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
52410         multiarch logb for PPC64.
52411         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
52412         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
52413         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
52414         multiarch logb for PPC64.
52415         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
52416         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
52417         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
52418         multiarch logb for PPC64.
52420         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
52421         isinff multiarch implementation.
52422         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
52423         file.
52424         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
52425         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
52426         multiarch isinf for PPC64.
52427         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
52428         file.
52429         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
52430         multiarch isinff for PPC64.
52432         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
52433         finitef multiarch implementation.
52434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
52435         file.
52436         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
52437         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
52438         multiarch finite for PPC64.
52439         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
52440         file.
52441         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
52442         multiarch finitef for PPC64.
52444         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
52445         lrint multiarch implementation.
52446         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
52447         file.
52448         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
52449         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
52450         multiarch llrint for PPC64.
52451         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
52452         multiarch lrint for PPC64.
52454         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
52455         copysignf multiarch implementation.
52456         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
52457         file.
52458         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
52459         file.
52460         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
52461         multiarch copysign for PPC64.
52462         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
52463         multiarch copysignf for PPC64.
52465         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
52466         multiarch implementation.
52467         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
52468         file.
52469         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
52470         file.
52471         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
52472         file.
52473         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
52474         file.
52475         multiarch llround for PPC64.
52476         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
52477         multiarch trunc for PPC64.
52478         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
52479         multiarch truncf for PPC64.
52481         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
52482         multiarch implementation.
52483         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
52484         file.
52485         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
52486         file.
52487         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
52488         file.
52489         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
52490         file.
52491         multiarch llround for PPC64.
52492         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
52493         multiarch round for PPC64.
52494         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
52495         multiarch roundf for PPC64.
52497         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
52498         multiarch implementation.
52499         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
52500         file.
52501         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
52502         file.
52503         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
52504         file.
52505         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
52506         file.
52507         multiarch llround for PPC64.
52508         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
52509         multiarch floor for PPC64.
52510         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
52511         multiarch floorf for PPC64.
52513         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
52514         multiarch implementation.
52515         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
52516         file.
52517         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
52518         file.
52519         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
52520         file.
52521         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
52522         file.
52523         multiarch llround for PPC64.
52524         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
52525         multiarch ceil for PPC64.
52526         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
52527         multiarch ceilf for PPC64.
52529         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
52530         multiarch implementation.
52531         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
52532         file.
52533         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
52534         file.
52535         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
52536         file.
52537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
52538         multiarch llround for PPC64.
52539         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
52540         multiarch lround for PPC64.
52542         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
52543         multiarch implementation.
52544         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
52545         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
52546         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
52547         file.
52548         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
52549         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
52550         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
52551         multiarch isnan for PPC64.
52552         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
52553         multiarch isnanf for PPC64.
52555         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
52556         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
52557         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
52558         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
52559         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
52560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
52562         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
52563         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
52564         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52565         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52567         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
52568         multiarch implementations.
52569         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52570         (__libc_ifunc_impl_list): Likewise.
52571         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
52572         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
52573         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
52574         multiarch stpcpy for PPC64.
52576         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
52577         multiarch implementations.
52578         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52579         (__libc_ifunc_impl_list): Likewise.
52580         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
52581         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
52582         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
52583         multiarch strcpy for PPC64.
52585         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
52586         redefine function name.
52587         (_wordcopy_fwd_dest_aligned): Likewise.
52588         (_wordcopy_bwd_aligned): Likewise.
52589         (_wordcopy_bwd_dest_aligned): Likewise.
52590         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
52591         multiarch implementations.
52592         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52593         (__libc_ifunc_impl_list): Likewise.
52594         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
52595         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
52596         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
52597         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
52598         multiarch wcscpy for PPC64.
52600         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
52601         multiarch implementations.
52602         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52603         (__libc_ifunc_impl_list): Likewise.
52604         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
52605         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
52606         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
52607         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
52608         multiarch wcscpy for PPC64.
52610         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
52611         multiarch implementations.
52612         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52613         (__libc_ifunc_impl_list): Likewise.
52614         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
52615         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
52616         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
52617         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
52618         multiarch wcsrchr for PPC64.
52620         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
52621         multiarch implementations.
52622         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52623         (__libc_ifunc_impl_list): Likewise.
52624         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
52625         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
52626         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
52627         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
52628         multiarch wcschr for PPC64.
52630         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
52631         multiarch implementations.
52632         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52633         (__libc_ifunc_impl_list): Likewise.
52634         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
52635         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
52636         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
52637         multiarch strchrnul for PPC64.
52639         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
52640         implementations.
52641         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52642         (__libc_ifunc_impl_list): Likewise.
52643         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
52644         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
52645         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
52646         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
52647         strchr for PPC64.
52649         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
52650         implementations.
52651         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52652         (__libc_ifunc_impl_list): Likewise.
52653         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
52654         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
52655         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
52656         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
52657         strncmp for PPC64.
52659         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
52660         multiarch implementations.
52661         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52662         (__libc_ifunc_impl_list): Likewise.
52663         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
52664         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
52665         strncasecmp for PPC64.
52666         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
52667         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
52668         multiarch strncasecmp_l for PPC64.
52670         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
52671         multiarch implementations.
52672         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
52673         (__libc_ifunc_impl_list): Likewise.
52674         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
52675         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
52676         multiarch strcasecmp for PPC64.
52677         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
52678         file.
52679         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
52680         multiarch strcasecmp_l for PPC64.
52682         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
52683         implementations.
52684         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52685         (__libc_ifunc_impl_list): Likewise.
52686         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
52687         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
52688         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
52689         strnlen for PPC64.
52691         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
52692         implementations.
52693         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52694         (__libc_ifunc_impl_list): Likewise.
52695         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
52696         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
52697         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
52698         strlen for PPC64.
52700         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
52701         implementations.
52702         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52703         (__libc_ifunc_impl_list): Likewise.
52704         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
52705         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
52706         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
52707         rawmemrchr for PPC64.
52709         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
52710         implementation.
52711         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52712         (__libc_ifunc_impl_list): Likewise.
52713         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
52714         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
52715         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
52716         memrchr for PPC64.
52718         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
52719         implementation.
52720         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52721         (__libc_ifunc_impl_list): Likewise.
52722         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
52723         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
52724         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
52725         memchr for PPC64.
52727         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
52728         implementation.
52729         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52730         (__libc_ifunc_impl_list): Likewise.
52731         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
52732         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
52733         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
52734         mempcpy for PPC64.
52736         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
52737         avoid cretion of __bzero symbol.
52738         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
52739         Likewise.
52740         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
52741         Likewise.
52742         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
52743         Likewise.
52744         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
52745         multiarch implementations.
52746         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52747         (__libc_ifunc_impl_list): Likewise.
52748         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
52749         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
52750         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
52751         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
52752         bzero for PPC32.
52753         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
52754         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
52755         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
52756         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
52757         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
52758         memset for PPC64.
52759         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
52761         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
52762         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
52763         implementations.
52764         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52765         (__libc_ifunc_impl_list): Likewise.
52766         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
52767         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
52768         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
52769         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
52770         memcmp for PPC64.
52772         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
52773         multiarch for POWER/PPC64.
52774         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
52775         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
52776         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
52777         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
52778         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
52779         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
52780         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
52781         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
52782         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
52783         memcpy for PPC64.
52785         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
52786         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
52787         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
52788         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
52789         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
52790         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
52791         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
52792         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
52793         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
52794         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
52795         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
52796         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
52797         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
52798         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
52799         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
52800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
52801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
52802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
52803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
52804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
52805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
52806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
52808 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52810         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
52812 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
52814         * benchtests/Makefile (bench): Add exp2 and log2.
52815         (LDLIBS-bench-exp2): Add -lm.
52816         (LDLIBS-bench-log2): Likewise.
52817         * benchtests/exp2-inputs: New inputs file.
52818         * benchtests/log2-inputs: New inputs file.
52819         * benchtests/log-inputs: Add new inputs.
52820         * benchtests/tan-inputs: Likewise.
52822 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52824         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
52825         definition...
52826         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
52827         (csloww2): ... from here.
52829         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
52830         instead of structures.
52831         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
52832         (POLYNOMIAL): Likewise.
52833         (TAYLOR_SLOW): Likewise.
52834         (__sin): Likewise.
52835         (__cos): Likewise.
52836         (slow1): Likewise.
52837         (slow2): Likewise.
52838         (sloww): Likewise.
52839         (sloww1); Likewise.
52840         (sloww2): Likewise.
52841         (bsloww1): Likewise.
52842         (bsloww2): Likewise.
52843         (cslow2): Likewise.
52844         (csloww): Likewise.
52845         (csloww1): Likewise.
52846         (csloww2): Likewise.
52848 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
52850         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
52851         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
52852         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
52853         * malloc/hooks.c (realloc_check): Likewise.
52855         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
52856         * malloc/arena.c: Remove PER_THREAD conditional.
52857         [!PER_THREAD]: Remove code.
52858         (ptmalloc_unlock_all2): Likewise.
52859         (ptmalloc_init): Likewise.
52860         (_int_new_arena): Likewise.
52861         (arena_get2): Likewise.
52862         * malloc/hooks.c (__malloc_get_state): Likewise.
52863         (__malloc_set_state): Likewise.
52864         * malloc/malloc.c: Likewise.
52865         (struct malloc_state): Likewise.
52866         (struct malloc_par): Likewise.
52867         (__libc_realloc): Likewise.
52868         (__libc_mallopt): Likewise.
52870 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52872         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
52874 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
52876         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
52877         macro to a function.  Check for zero perturb_byte.
52878         (_int_malloc, _int_free): Remove zero perturb_byte checks.
52880         * malloc/malloc.c: (force_reg): Remove.
52881         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
52882         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
52883         force_reg by atomic_forced_read.
52884         * malloc/arena.c (ptmalloc_init): Likewise.
52885         * malloc/hooks.c (top_check): Likewise.
52887 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52889         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52891 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
52893         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52895 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
52897         * math/auto-libm-test-in: Add tests of lgamma.
52898         * math/auto-libm-test-out: Regenerated.
52899         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
52900         (M_LOG_2_SQRT_PIl): Likewise.
52901         (lgamma_test_data): Use AUTO_TESTS_f_f1.
52902         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52903         mpfr_f_f1.
52904         (func_calc_desc): Add mpfr_f_f1 union field.
52905         (ARGS1): New macro.
52906         (ARGS2): Likewise.
52907         (ARGS3): Likewise.
52908         (ARGS4): Likewise.
52909         (RET1): Likewise.
52910         (RET2): Likewise.
52911         (CALC): Likewise.
52912         (FUNC): Likewise.
52913         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
52914         (test_functions): Add lgamma.
52915         (calc_generic_results): Handle mpfr_f_f1.
52916         * sysdeps/i386/fpu/libm-test-ulps: Update.
52917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52919 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52921         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
52922         __mpn_add_n for PowerPC64/POWER7.
52923         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
52924         __mpn_sub_n for PowerPC64/POWER7.
52926         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
52927         __mpn_addmul_1 for PowerPC64.
52928         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
52929         __mpn_submul_1 for PowerPC64.
52930         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
52931         for PowerPC64.
52932         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
52933         for PowerPC64.
52935 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
52937         [BZ #15089]
52938         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
52940 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52942         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
52944         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
52945         add multiarch folders.
52946         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
52947         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
52948         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
52949         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
52950         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
52951         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
52952         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
52953         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
52954         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
52955         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
52956         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
52957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
52958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
52959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
52960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
52961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
52962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
52964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
52965         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
52966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
52967         New file.
52968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
52969         New file.
52970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
52971         multiarch __ieee754_hypot for PowerPC32.
52972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
52973         New file.
52974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
52975         New file.
52976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
52977         multiarch __ieee754_hypotf for PowerPC32.
52979         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
52980         long_double_symbol only if __logbl is defined.
52981         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
52982         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
52983         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
52984         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
52985         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
52986         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
52987         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
52988         path for implementation.
52989         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
52990         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
52991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
52992         logb, and logbl multiarch implementations for PowerPC32.
52993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
52994         file.
52995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
52996         file.
52997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
52998         multiarch logb for PowerPC32.
52999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
53000         file.
53001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
53002         file.
53003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
53004         multiarch logbf for PowerPC32.
53005         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
53006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
53007         file.
53008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
53009         multiarch logbl implementation for PowerPC32.
53011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
53012         and modff multiarch implementations.
53013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
53014         New file.
53015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
53016         New file.
53017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
53018         multiarch modf for PowerPC32.
53019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
53020         New file.
53021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
53022         New file.
53023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
53024         multiarch modff for PowerPC32.
53026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
53027         and lrintf multiarch implementations.
53028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
53029         New file.
53030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
53031         New file.
53032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
53033         multiarch lrint for PowerPC32.
53034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
53035         file: multiarch lrintf for PowerPC32.
53037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
53038         and lroundf multiarch implementations.
53039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
53040         New file.
53041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
53042         New file.
53043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
53044         New file.
53045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
53046         multiarch lround for PowerPC32.
53047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
53048         file: multiarch lroundf for PowerPC32.
53050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
53051         copysign and copysignf multiarch implementations.
53052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
53053         New file.
53054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
53055         New file.
53056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
53057         file: multiarch copysign for PowerPC32.
53058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
53059         file: multiarch copysignf for PowerPC32.
53061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
53062         and truncf multiarch implementations.
53063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
53064         New file.
53065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
53066         file.
53067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
53068         multiarch trunc for PowerPC32.
53069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
53070         New file.
53071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
53072         New file.
53073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
53074         multiarch truncf for PowerPC32.
53076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
53077         and roundf multiarch implementations.
53078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
53079         New file.
53080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
53081         file.
53082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
53083         multiarch round for PowerPC32.
53084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
53085         New file.
53086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
53087         New file.
53088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
53089         multiarch roundf for PowerPC32.
53091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
53092         and floorf multiarch implementations.
53093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
53094         New file.
53095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
53096         file.
53097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
53098         multiarch floor for PowerPC32.
53099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
53100         New file.
53101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
53102         New file.
53103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
53104         multiarch floorf for PowerPC32.
53106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
53107         and ceilf multiarch implementations.
53108         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
53109         New file.
53110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
53111         file.
53112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
53113         multiarch ceil for PowerPC32.
53114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
53115         New file.
53116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
53117         file.
53118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
53119         multiarch ceilf for PowerPC32.
53121         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
53122         is defined.
53123         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
53124         FINITEF is defined.
53125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
53126         and finitef multiarch implementations.
53127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
53128         New file.
53129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
53130         file.
53131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
53132         multiarch finite for PowerPC32.
53133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
53134         New file.
53135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
53136         file: multiarch finitef for PowerPC32.
53138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
53139         and isinff multiarch implementations.
53140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
53141         file.
53142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
53143         file.
53144         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
53145         multiarch isinf for PowerPC32.
53146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
53147         New file.
53148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
53149         multiarch isinff for PowerPC32.
53151         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
53152         alias when __isnan is defined.
53153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
53154         and isnanf multiarch implementations.
53155         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
53156         file.
53157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
53158         file.
53159         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
53160         file.
53161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
53162         file.
53163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
53164         multiarch isnan for PowerPC32.
53165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
53166         New file.
53167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
53168         New file.
53169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
53170         multiarch isnanf for PowerPC32.
53172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
53173         and sqrtf multiarch implementations.
53174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
53175         file.
53176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
53177         file.
53178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
53179         multiarch sqrt for PowerPC32.
53180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
53181         file.
53182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
53183         file.
53184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
53185         multiarch sqrtf for PowerPC32.
53187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
53188         and llroundf multiarch implementations.
53189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
53190         New file.
53191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
53192         New file.
53193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
53194         New file.
53195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
53196         file: multiarch llround for PowerPC32.
53197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
53198         file: multiarch llroundf for PowerPC32.
53200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
53201         multiarch PowerPC32 fpu implementations.
53202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
53203         New file.
53204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
53205         New file.
53206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
53207         multiarch llrint for PowerPC32.
53208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
53209         New file.
53210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
53211         New file.
53212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
53213         file.
53215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
53217         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
53218         file.
53219         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
53220         file.
53221         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
53222         file.
53223         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
53224         multiarch wordcopy for PPC32.
53225         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
53226         wordcopy objects.
53227         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53228         (__libc_ifunc_impl_list): Likewise.
53229         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
53230         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
53231         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
53232         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
53233         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
53234         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
53236         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
53237         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
53238         file.
53239         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
53240         file.
53241         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
53242         file.
53243         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
53244         multiarch wcscpy for PPC32.
53245         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
53246         multiarch objects.
53247         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53248         (__libc_ifunc_impl_list): Likewise.
53249         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
53250         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
53251         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
53252         sysdeps/powerpc/power6/wcscpy.c.
53254         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
53255         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
53256         file.
53257         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
53258         file.
53259         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
53260         file.
53261         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
53262         multiarch wcsrchr for PPC32.
53263         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
53264         multiarch objects.
53265         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53266         (__libc_ifunc_impl_list): Likewise.
53267         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
53268         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
53269         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
53270         sysdeps/powerpc/power6/wcsrchr.c.
53272         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
53273         file.
53274         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
53275         file.
53276         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
53277         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
53278         multiarch wcschr for PPc32.
53279         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
53280         multiarch objects.
53281         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53282         (__libc_ifunc_impl_list): Likewise.
53283         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
53284         * sysdeps/powerpc/power6/wcschr.c: ... to here.
53285         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
53286         sysdeps/powerpc/power6/wcschr.c.
53288         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
53289         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
53290         file.
53291         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
53292         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
53293         file: multiarch strchr for PPC32.
53294         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
53295         multiarch objects.
53296         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53297         (__libc_ifunc_impl_list): Likewise.
53299         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
53300         name.
53301         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
53302         file.
53303         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
53304         file.
53305         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
53306         multiarch strchrnul for PPC32.
53307         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
53308         multiarch objects.
53309         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53310         (__libc_ifunc_impl_list): Likewise.
53312         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
53313         file.
53314         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
53315         multiarch strncasecmp for PPC32.
53316         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
53317         file.
53318         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
53319         multiarch strncasecmp_l for PPC32.
53320         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
53321         strncasecmp multiarch objects.
53322         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53323         (__libc_ifunc_impl_list): Likewise.
53325         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
53326         file.
53327         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
53328         multiarch strncasecmp for PPC32.
53329         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
53330         New file.
53331         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
53332         multiarch strcasecmp_l for PPC32.
53333         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
53334         multiarch objects.
53335         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53336         (__libc_ifunc_impl_list): Likewise.
53338         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
53339         file.
53340         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
53341         file.
53342         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
53343         multiarch strncmp for PPC32.
53344         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
53345         multiarch objects.
53346         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53347         (__libc_ifunc_impl_list): Likewise.
53349         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
53350         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
53351         file.
53352         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
53353         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
53354         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
53355         multiarch objects.
53356         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53357         (__libc_ifunc_impl_list): Likewise.
53359         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
53360         file.
53361         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
53362         file.
53363         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
53364         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
53365         multiarch objects.
53366         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53367         (__libc_ifunc_impl_list): Likewise.
53369         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
53370         file.
53371         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
53372         file.
53373         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
53374         multiarch rawmemchr for PPC32.
53375         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
53376         multiarch objects.
53377         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53378         (__libc_ifunc_impl_list): Likewise.
53380         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
53381         file.
53382         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
53383         file.
53384         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
53385         file: memrchr multiarch for PPC32.
53386         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
53387         multiarch objects.
53388         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53389         (__libc_ifunc_impl_list): Likewise.
53391         * string/memchr.c (__memchr): Using macro to redefine symbol name.
53392         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
53393         file.
53394         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
53395         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
53396         multiarch memchr for PPC32.
53397         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
53398         multiarch objects.
53399         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
53400         (__libc_ifunc_impl_list): Likewise.
53402         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
53403         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
53404         file.
53405         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
53406         file.
53407         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
53408         file: multiarch mempcpy for PPC32.
53409         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
53410         multiarch objects.
53411         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
53412         (__libc_ifunc_impl_list): Likewise.
53414         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
53415         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
53416         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
53417         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
53418         multiarch bzero for PPC32.
53419         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
53420         file.
53421         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
53422         file.
53423         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
53424         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
53425         file: multiarch memset for PPC32.
53426         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
53427         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
53428         memset multiarch objects.
53429         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
53430         (__libc_ifunc_impl_list): Likewise.
53432         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
53433         file.
53434         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
53435         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
53436         memcmp for PPC32.
53437         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
53438         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
53439         multiarch objects.
53440         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
53441         (__libc_ifunc_impl_list): Likewise.
53443         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
53444         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
53445         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
53446         file.
53447         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
53448         file.
53449         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
53450         file.
53451         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
53452         multiarch memcpy for PPC32.
53453         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
53454         multiarch objects.
53455         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
53456         (__libc_ifunc_impl_list): Likewise.
53458         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
53459         support multiarch for POWER/PPC32.
53460         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
53461         Likewise.
53462         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
53463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
53464         Implies file to make multiarch folder appers before the fpu and
53465         default folder for power4 configuration.
53467 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
53469         * scripts/bench.pl: Append volatile keyword to type.
53471 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53473         * sysdeps/sh/sotruss-lib.c: New file.
53474         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
53476 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53478         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53480 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
53482         [BZ #6810]
53483         * math/w_tgamma.c: Include <errno.h>.
53484         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
53485         * math/w_tgammaf.c: Include <errno.h>.
53486         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
53487         * math/w_tgammal.c: Include <errno.h>.
53488         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
53489         * math/auto-libm-test-in: Do not allow missing errno on tgamma
53490         underflow.  Add more tgamma tests.
53491         * math/auto-libm-test-out: Regenerated.
53492         * sysdeps/i386/fpu/libm-test-ulps: Update.
53493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53495         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
53496         sin, sinh, tan, tanh, tgamma, y0 and y1.
53497         * math/auto-libm-test-out: Regenerated.
53498         * math/libm-test.inc (TEST_COND_x86_64): New macro.
53499         (TEST_COND_x86): Likewise.
53500         (M_E2l): Remove macro.
53501         (M_E3l): Likewise.
53502         (M_2_SQRT_PIl): Likewise.
53503         (M_SQRT_PIl): Likewise.
53504         (M_1_DIV_El): Likewise.
53505         (log_test_data): Use AUTO_TESTS_f_f.
53506         (log10_test_data): Likewise.
53507         (log1p_test_data): Likewise.
53508         (log2_test_data): Likewise.
53509         (sin_test_data): Likewise.
53510         (sin_tonearest_test_data): Likewise.
53511         (sin_towardzero_test_data): Likewise.
53512         (sin_downward_test_data): Likewise.
53513         (sin_upward_test_data): Likewise.
53514         (sinh_test_data): Likewise.
53515         (sinh_tonearest_test_data): Likewise.
53516         (sinh_towardzero_test_data): Likewise.
53517         (sinh_downward_test_data): Likewise.
53518         (sinh_upward_test_data): Likewise.
53519         (tan_test_data): Likewise.
53520         (tan_tonearest_test_data): Likewise.
53521         (tan_towardzero_test_data): Likewise.
53522         (tan_downward_test_data): Likewise.
53523         (tan_upward_test_data): Likewise.
53524         (tanh_test_data): Likewise.
53525         (tgamma_test_data): Likewise.
53526         (y0_test_data): Likewise.
53527         (y1_test_data): Likewise.
53528         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
53529         (special_real_inputs): Add pi/4.
53530         * sysdeps/i386/fpu/libm-test-ulps: Update.
53531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53533 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53535         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
53536         "longjmp_target" static probes.
53537         (__longjmp): Rename to __longjmp_symbol.
53538         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
53539         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
53540         on which longjmp to generate.
53541         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
53542         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
53543         probe.
53544         (__sigsetjmp): Rename to __sigsetjmp_symbol.
53545         (__sigjmp_save): Rename to __sigjmp_save_symbol.
53546         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
53547         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
53548         and __sigjmp_save_symbol based on which sigsetjmp to generated.
53549         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
53550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
53551         __longjmp_symbol based on which __longjmp to generate.
53552         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
53553         probe.
53554         (setjmp): Rename to setjmp_symbol.
53555         (__sigsetjmp): Rename to __sigsetjmp_symbol.
53556         (_setjmp): Rename to _setjmp_symbol.
53557         (__sigsetjmp): Rename to __sigsetjmp_symbol.
53558         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
53559         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
53560         which setjmp to generate.
53561         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
53562         "longjmp_target" static probes.
53564 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
53566         * benchtests/README: Add note about output arguments.
53567         * benchtests/bench-sincos.c: Remove file.
53568         * benchtests/sincos-inputs: New file.
53569         * scripts/bench.pl: Identify output arguments and define
53570         static variables for them.
53572         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
53574         [BZ #15941]
53575         * Makefile (INSTALL): Add install-plain.texi as the primary
53576         dependency.
53577         * manual/install-plain.texi: New file.
53578         * manual/install.texi: Include node directive only for
53579         non-plaintext output.
53581 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
53583         * stdlib/longlong.h: Update from GCC.
53585         [BZ #6807]
53586         [BZ #15901]
53587         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
53588         * math/w_j0f.c (y0f): Likewise.
53589         * math/w_j0l.c (__y0l): Likewise.
53590         * math/w_j1.c (y1): Likewise.
53591         * math/w_j1f.c (y1f): Likewise.
53592         * math/w_j1l.c (__y1l): Likewise.
53593         * math/w_jn.c (yn): Likewise.
53594         * math/w_jnf.c (ynf): Likewise.
53595         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
53596         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
53597         value for Bessel function domain errors outside _SVID_ mode.
53598         Adjust sign of return value for yn (negative integer, 0).
53599         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
53600         by zero in return for negative x and set sign appropriately for
53601         negative n.
53602         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
53603         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
53604         * math/libm-test.inc (y0_test_data): Add more tests and adjust
53605         expectations in error cases.
53606         (y1_test_data): Likewise.
53607         (yn_test_data): Likewise.
53608         * sysdeps/i386/fpu/libm-test-ulps: Update.
53609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53611 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53613         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
53614         "64" to "64-v1".  Add "64-v2".
53615         (abi-64-options): Rename to ...
53616         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
53617         (abi-64-condition): Rename to ...
53618         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
53619         (abi-64-ld-soname): Rename to ...
53620         (abi-64-v1-ld-soname): ... this.
53621         (abi-64-v2-options): Define.
53622         (abi-64-v2-condition): Likewise.
53623         (abi-64-v2-ld-soname): Likewise.
53624         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
53625         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
53626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
53627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
53628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
53630 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53631             Alan Modra  <amodra@gmail.com>
53633         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
53634         New versions for use with the ELFv2 ABI.
53635         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
53636         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
53637         declaration.
53638         (struct La_ppc64v2_retval): Likewise.
53639         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
53640         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
53641         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
53642         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
53643         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
53644         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
53645         Do not save or restore CR.
53646         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
53647         (_dl_profile_resolve): Do no save or restore CR.  Support extended
53648         return values for ELFv2 ABI.  Fix location of FPR return registers.
53649         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
53650         updated values for _CALL_ELF == 2.
53651         (La_regs, La_retval, int_retval): Likewise.
53653 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53655         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
53656         (FRAME_MIN_SIZE_PARM): Likewise.
53657         (FRAME_BACKCHAIN): Likewise.
53658         (FRAME_CR_SAVE): Likewise.
53659         (FRAME_LR_SAVE): Likewise.
53660         (FRAME_TOC_SAVE): Likewise.
53661         (FRAME_PARM_SAVE): Likewise.
53662         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
53663         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
53664         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
53665         (call_mcount_parm_offset): New macro.
53666         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
53667         (PROF): Use symbolic stack frame offsets.
53668         (TAIL_CALL_SYSCALL_ERROR): Likewise.
53669         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
53670         Redefine in terms of FRAME_MIN_SIZE.
53671         (_dl_runtime_resolve): Use symbolic stack frame offsets.
53672         (_dl_profile_resolve): Likewise.  Update comment.
53673         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
53674         symbols stack frame offsets.
53675         (__sigsetjmp): Likewise.
53676         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
53677         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
53678         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
53679         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
53681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
53682         (FRAME_BACKCHAIN): Remove.
53683         (FRAME_CR_SAVE): Likewise.
53684         (FRAME_LR_SAVE): Likewise.
53685         (FRAME_COMPILER_DW): Likewise.
53686         (FRAME_LINKER_DW): Likewise.
53687         (FRAME_TOC_SAVE): Likewise.
53688         (FRAME_PARM_SAVE): Likewise.
53689         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
53690         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
53691         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
53692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
53693         (CHECK_SP): Use symbolic stack frame offsets.
53694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
53695         zone" instead of caller's parameter save area for temp storage.
53696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
53697         Likewise.  Also, use symbolic stack frame offsets.
53698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
53699         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
53700         our own stack frame instead of the caller's.
53701         (__socket): Use symbolic stack frame offsets.
53703 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53704             Alan Modra  <amodra@gmail.com>
53706         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
53707         Define.
53708         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
53709         (PPC64_LOCAL_ENTRY_OFFSET): Define.
53710         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
53711         New function.
53712         (elf_machine_fixup_plt): Call it.
53713         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
53714         reloc arguments.
53715         (elf_machine_rela): Update call to elf_machine_plt_conflict.
53716         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
53717         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
53718         r2 before calling target.
53720 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53721             Alan Modra  <amodra@gmail.com>
53723         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
53724         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
53725         versions of macros to support ELFv2 ABI.
53726         (LOCALENTRY): New macro.
53727         (ENTRY, EALIGN): Use it.
53728         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
53729         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
53730         fall through into ENTRY entry point.
53731         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
53732         Only define if _CALL_ELF != 2.
53734         (elf_machine_matches_host): Verify ABI version matches.
53735         (RTLD_START): Use LOCALENTRY.
53736         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
53737         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
53738         (PLT_ENTRY_WORDS): New macro.
53739         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
53740         (elf_machine_runtime_setup): Support ELFv2 ABI.
53741         (elf_machine_fixup_plt): Likewise.
53742         (elf_machine_plt_conflict): Likewise.
53743         (resolve_ifunc): Likewise.
53744         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
53745         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
53746         Likewise.
53747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
53748         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
53749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53750         (makecontext): Support ELFv2 ABI.
53751         * elf/elf.h (EF_PPC64_ABI): Define.
53753 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53755         * sysdeps/powerpc/powerpc64/sysdep.h
53756         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
53757         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
53758         (ENTRY) [ASSEMBLER]: ... but instead here ...
53759         (EALIGN) [ASSEMBLER]: ... and here.
53760         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
53761         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
53762         (ENTRY_2) [!ASSEMBLER]: Use it.
53763         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
53764         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
53765         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
53766         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
53767         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
53768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
53769         Use PPC64_LOAD_FUNCPTR.
53771         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
53773 2013-12-04  Alan Modra  <amodra@gmail.com>
53775         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
53776         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
53777         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
53778         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
53780         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
53781         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
53782         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
53783         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
53784         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
53785         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
53787 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53790         (__makecontext): Fix incorrect CFI when backtracing out of
53791         context created via makecontext.
53792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
53793         (__setcontext): Fix incorrect CFI during switch to new context.
53794         (__novec_setcontext): Likewise.
53796 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
53798         [BZ #4772]
53799         * time/strptime_l.c (__strptime_internal): Allow modifiers
53800         in strptime.
53801         * time/tst-strptime.c (day_tests): Add testcase.
53803 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53805         * scripts/bench.pl: Skip over blank lines.
53807 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
53809         [BZ #926]
53810         * manual/time.texi (Calendar Time): Clarify what timezone functions
53811         use.
53813 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53815         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53817 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
53819         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
53820         implementation.
53821         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
53822         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
53823         * debug/memset_chk.c (__memset_chk): Likewise.
53824         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
53825         * debug/strncpy_chk.c: Likewise.
53827 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
53829         [BZ #15268]
53830         [BZ #15425]
53831         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
53832         (__ieee754_exp): For possibly underflowing results, check size of
53833         result and force underflow exception if required.
53834         * math/auto-libm-test-in: Add more tests of exp.
53835         * math/auto-libm-test-out: Regenerated.
53836         * sysdeps/i386/fpu/libm-test-ulps: Update.
53837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53839         [BZ #16283]
53840         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
53841         * math/w_exp2f.c (__exp2f): Likewise.
53842         * math/w_exp2l.c (__exp2l): Likewise.
53843         * math/auto-libm-test-in: Do not allow missing errno on exp2
53844         underflow.
53845         * math/auto-libm-test-out: Regenerated.
53847 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
53849         [BZ #16274]
53850         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
53851         handle filename validation.
53852         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
53853         (do_open): Delete.
53855 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
53857         [BZ #6786]
53858         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
53859         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
53860         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
53861         <float.h>.
53862         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
53863         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
53864         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
53865         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
53866         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
53867         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
53868         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
53869         * math/auto-libm-test-in: Don't allow missing errno from erfc.
53870         Add more erfc tests.
53871         * math/auto-libm-test-out: Regenerated.
53872         * sysdeps/i386/fpu/libm-test-ulps: Update.
53873         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53875         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
53876         exp2, expm1, j0 and j1.
53877         * math/auto-libm-test-out: Regenerated.
53878         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
53879         (erfc_test_data): Likewise.
53880         (exp_test_data): Likewise.
53881         (exp_tonearest_test_data): Likewise.
53882         (exp_towardzero_test_data): Likewise.
53883         (exp_downward_test_data): Likewise.
53884         (exp_upward_test_data): Likewise.
53885         (exp10_test_data): Likewise.
53886         (exp2_test_data): Likewise.
53887         (expm1_test_data): Likewise.
53888         (j0_test_data): Likewise.
53889         (j1_test_data): Likewise.
53890         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
53891         (input_flag_type): Add flag_xfail_rounding.
53892         (input_flags): Add xfail-rounding.
53893         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
53894         (output_for_one_input_case): Handle flag_xfail_rounding.
53895         * sysdeps/i386/fpu/libm-test-ulps: Update.
53896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53898 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
53900         [BZ #16289]
53901         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
53902         division by 0.
53904 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
53906         [BZ #16195]
53907         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
53908         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
53909         (STAP_PROBE0): New macro.
53910         (STAP_PROBE1): Likewise.
53911         (STAP_PROBE2): Likewise.
53912         (STAP_PROBE3): Likewise.
53913         (STAP_PROBE4): Likewise.
53915 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
53917         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
53919 2013-12-02  Steve Ellcey  <sellcey@mips.com>
53921         * benchtests/Makefile (bench): Add sqrt.
53922         (LDLIBS-bench-sqrt): New.
53923         * benchtests/sqrt-input: New.
53925 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
53927         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
53928         (GAIH_EAI): Likewise.
53929         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
53930         (gaih_inet): Likewise.
53931         (getaddrinfo): Don't use GAIH_EAI.
53933         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
53934         (struct gaih): Remove definition.
53936 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
53938         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
53939         Use HERRNOP directly.
53941 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53943         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53945 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
53947         * math/gen-auto-libm-tests.c (test_functions): Add more
53948         single-argument functions.
53949         (special_fill_pi_2): New function.
53950         (special_fill_minus_pi_2): Likewise.
53951         (special_fill_pi_6): Likewise.
53952         (special_fill_minus_pi_6): Likewise.
53953         (special_fill_pi_3): Likewise.
53954         (special_fill_2pi_3): Likewise.
53955         (special_fill_e): Likewise.
53956         (special_fill_1_e): Likewise.
53957         (special_fill_e_minus_1): Likewise.
53958         (special_real_inputs): Add more special inputs.
53959         (output_for_one_input_case): Do not require ERANGE on underflow to
53960         zero if round-to-nearest result does not underflow to zero, unless
53961         exact results required.
53962         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
53963         atan, atanh, cbrt, cos and cosh.
53964         * math/auto-libm-test-out: Regenerated.
53965         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
53966         (acos_tonearest_test_data): Likewise.
53967         (acos_towardzero_test_data): Likewise.
53968         (acos_downward_test_data): Likewise.
53969         (acos_upward_test_data): Likewise.
53970         (acosh_test_data): Likewise.
53971         (asin_test_data): Likewise.
53972         (asin_tonearest_test_data): Likewise.
53973         (asin_towardzero_test_data): Likewise.
53974         (asin_upward_test_data): Likewise.
53975         (asinh_test_data): Likewise.
53976         (atan_test_data): Likewise.
53977         (atanh_test_data): Likewise.
53978         (cbrt_test_data): Likewise.
53979         (cos_test_data): Likewise.
53980         (cos_tonearest_test_data): Likewise.
53981         (cos_towardzero_test_data): Likewise.
53982         (cos_downward_test_data): Likewise.
53983         (cos_upward_test_data): Likewise.
53984         (cosh_test_data): Likewise.
53985         (cosh_tonearest_test_data): Likewise.
53986         (cosh_towardzero_test_data): Likewise.
53987         (cosh_downward_test_data): Likewise.
53988         (cosh_upward_test_data): Likewise.
53989         * sysdeps/i386/fpu/libm-test-ulps: Update.
53990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53992 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
53994         [BZ #6787]
53995         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
53996         * math/w_exp10f.c (__exp10f): Likewise.
53997         * math/w_exp10l.c (__exp10l): Likewise.
53998         * math/libm-test.inc (exp10_test_data): Add more tests and expect
53999         errno settings in existing tests.
54001         [BZ #14032]
54002         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
54003         precision control set to double precision.
54004         * sysdeps/i386/fpu/w_sqrt.c: New file.
54005         * math/auto-libm-test-in: Add more tests.
54006         * math/auto-libm-test-out: Update.
54008         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
54009         (sqrt_test_tonearest): New function.
54010         (sqrt_towardzero_test_data): New variable.
54011         (sqrt_test_towardzero): New function.
54012         (sqrt_downward_test_data): New variable.
54013         (sqrt_test_downward): New function.
54014         (sqrt_upward_test_data): New variable.
54015         (sqrt_test_upward): New function.
54016         (main): Call the new functions.
54018         * math/gen-auto-libm-tests.c: New file.
54019         * math/auto-libm-test-in: Likewise.
54020         * math/auto-libm-test-out: New generated file.
54021         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
54022         variables.
54023         (%beautify): Add generated representations of zero.
54024         (top level): Set $auto_input and call parse_auto_input.
54025         (beautify): Remove trailing "f" from hex float constants.
54026         (parse_args): Handle XFAIL_TEST.
54027         (convert_condition): New function.
54028         (or_value): Likewise.
54029         (or_cond_value): Likewise.
54030         (generate_testfile): Handle AUTO_TESTS_* lines.
54031         (parse_auto_input): New function.
54032         * math/libm-test.inc (XFAIL_TEST): New macro.
54033         (ERRNO_UNCHANGED): Update value.
54034         (ERRNO_EDOM): Likewise.
54035         (ERRNO_ERANGE): Likewise.
54036         (IGNORE_RESULT): Likewise.
54037         (TEST_COND_flt_32): New macro.
54038         (TEST_COND_dbl_64): Likewise.
54039         (TEST_COND_ldbl_96_intel): Likewise.
54040         (TEST_COND_ldbl_96_m68k): Likewise.
54041         (TEST_COND_ldbl_128): Likewise.
54042         (TEST_COND_ldbl_128ibm): Likewise.
54043         (TEST_COND_long32): Likewise.
54044         (TEST_COND_long64): Likewise.
54045         (TEST_COND_before_rounding): Likewise.
54046         (TEST_COND_after_rounding): Likewise.
54047         (enable_test): Handle XFAIL_TEST flag.
54048         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
54049         with finite results.
54050         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
54051         auto-libm-test-out.
54053 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
54054             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54056         [BZ #16214]
54057         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
54058         __tls_get_addr_internal instead of __tls_get_offset in order to
54059         avoid GOT pointer dependency.  Make rtld export
54060         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
54061         __tls_get_addr since we are a __tls_get_offset platform.
54062         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
54063         GOT pointer being set up before.
54064         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
54066 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
54068         * manual/math.texi (Errors in Math Functions): Document accuracy
54069         goals.
54071         [BZ #15004]
54072         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
54073         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
54074         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
54075         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54076         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54077         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54078         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54079         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
54080         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
54081         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54082         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54083         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54084         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54085         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54086         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54087         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
54089         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
54090         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
54091         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
54092         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
54093         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
54094         Likewise.
54095         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
54096         Likewise.
54097         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
54098         Likewise.
54099         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
54100         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
54101         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
54102         atomic-feupdateenv and flt-rounds.
54103         * sysdeps/powerpc/nofpu/Versions (libc): Add
54104         __atomic_feholdexcept, __atomic_feclearexcept,
54105         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
54106         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
54107         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
54108         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
54109         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
54110         here.
54111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
54112         Update.
54114         * manual/arith.texi (FP Exceptions): Document that exceptions may
54115         not be raised when matherr is used.
54116         (Math Error Reporting): Document overflow in directed rounding
54117         modes.  Document that errno may not be set when finite values are
54118         returned on overflow.  Document intent to set errno on underflow
54119         only for underflow to zero.
54121         [BZ #16271]
54122         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
54123         round-to-nearest then adjust result for other rounding modes.
54124         * include/fenv.h (fegetround): Use libm_hidden_proto.
54125         * math/fegetround.c (fegetround): Use libm_hidden_def.
54126         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
54127         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
54128         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
54129         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
54130         Likewise.
54131         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
54132         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
54133         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
54134         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
54136 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54138         [BZ #16077]
54139         * nss/Versions (libnss_files): Add
54140         _nss_files_gethostbyname3_r.
54141         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
54142         New function.
54143         (HOST_DB_LOOKUP): Remove macro.
54144         (_nss_files_gethostbyname_r): Implement function without the
54145         HOST_DB_LOOKUP macro.
54146         (_nss_files_gethostbyname2_r): Likewise.
54148 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
54150         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
54152 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
54154         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
54155         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
54156         warning.
54158 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54160         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
54161         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
54162         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
54163         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
54164         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
54165         __fe_nomask_env_priv and attribute_hidden.
54166         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
54167         (libc_feupdateenv_test_ppc): Likewise.
54168         (libc_feresetround_ppc): Likewise.
54169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
54170         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
54171         compat_symbol macro.
54172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
54173         (__fe_nomask_env): Likewise.
54174         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
54176 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
54178         * string/Makefile: Remove ifunc tests.
54179         * string/test-string.h: Define TEST_IFUNC.
54180         * string/test-bcopy-ifunc.c: Remove.
54181         * string/test-bzero-ifunc.c: Likewise.
54182         * string/test-memccpy-ifunc.c: Likewise.
54183         * string/test-memchr-ifunc.c: Likewise.
54184         * string/test-memcmp-ifunc.c: Likewise.
54185         * string/test-memcpy-ifunc.c: Likewise.
54186         * string/test-memmem-ifunc.c: Likewise.
54187         * string/test-memmove-ifunc.c: Likewise.
54188         * string/test-mempcpy-ifunc.c: Likewise.
54189         * string/test-memrchr-ifunc.c: Likewise.
54190         * string/test-memset-ifunc.c: Likewise.
54191         * string/test-rawmemchr-ifunc.c: Likewise.
54192         * string/test-stpcpy-ifunc.c: Likewise.
54193         * string/test-stpncpy-ifunc.c: Likewise.
54194         * string/test-strcasecmp-ifunc.c: Likewise.
54195         * string/test-strcasestr-ifunc.c: Likewise.
54196         * string/test-strcat-ifunc.c: Likewise.
54197         * string/test-strchr-ifunc.c: Likewise.
54198         * string/test-strchrnul-ifunc.c: Likewise.
54199         * string/test-strcmp-ifunc.c: Likewise.
54200         * string/test-strcpy-ifunc.c: Likewise.
54201         * string/test-strcspn-ifunc.c: Likewise.
54202         * string/test-strlen-ifunc.c: Likewise.
54203         * string/test-strncasecmp-ifunc.c: Likewise.
54204         * string/test-strncat-ifunc.c: Likewise.
54205         * string/test-strncmp-ifunc.c: Likewise.
54206         * string/test-strncpy-ifunc.c: Likewise.
54207         * string/test-strnlen-ifunc.c: Likewise.
54208         * string/test-strpbrk-ifunc.c: Likewise.
54209         * string/test-strrchr-ifunc.c: Likewise.
54210         * string/test-strspn-ifunc.c: Likewise.
54211         * string/test-strstr-ifunc.c: Likewise.
54213 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
54215         * benchtests/Makefile: Remove ifunc tests.
54216         * benchtests/bench-string.h: Define TEST_IFUNC.
54217         * benchtests/bench-bcopy-ifunc.c: Remove.
54218         * benchtests/bench-bzero-ifunc.c: Likewise.
54219         * benchtests/bench-memccpy-ifunc.c: Likewise.
54220         * benchtests/bench-memchr-ifunc.c: Likewise.
54221         * benchtests/bench-memcmp-ifunc.c: Likewise.
54222         * benchtests/bench-memcpy-ifunc.c: Likewise.
54223         * benchtests/bench-memmem-ifunc.c: Likewise.
54224         * benchtests/bench-memmove-ifunc.c: Likewise.
54225         * benchtests/bench-mempcpy-ifunc.c: Likewise.
54226         * benchtests/bench-memrchr-ifunc.c: Likewise.
54227         * benchtests/bench-memset-ifunc.c: Likewise.
54228         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
54229         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
54230         * benchtests/bench-stpcpy-ifunc.c: Likewise.
54231         * benchtests/bench-stpncpy-ifunc.c: Likewise.
54232         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
54233         * benchtests/bench-strcasestr-ifunc.c: Likewise.
54234         * benchtests/bench-strcat-ifunc.c: Likewise.
54235         * benchtests/bench-strchr-ifunc.c: Likewise.
54236         * benchtests/bench-strchrnul-ifunc.c: Likewise.
54237         * benchtests/bench-strcmp-ifunc.c: Likewise.
54238         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
54239         * benchtests/bench-strcpy-ifunc.c: Likewise.
54240         * benchtests/bench-strcspn-ifunc.c: Likewise.
54241         * benchtests/bench-strlen-ifunc.c: Likewise.
54242         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
54243         * benchtests/bench-strncat-ifunc.c: Likewise.
54244         * benchtests/bench-strncmp-ifunc.c: Likewise.
54245         * benchtests/bench-strncpy-ifunc.c: Likewise.
54246         * benchtests/bench-strnlen-ifunc.c: Likewise.
54247         * benchtests/bench-strpbrk-ifunc.c: Likewise.
54248         * benchtests/bench-strrchr-ifunc.c: Likewise.
54249         * benchtests/bench-strsep-ifunc.c: Likewise.
54250         * benchtests/bench-strspn-ifunc.c: Likewise.
54251         * benchtests/bench-strstr-ifunc.c: Likewise.
54253 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
54255         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
54257 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
54259         * resolv/netdb.h: Use __glibc_reserved instead __unused.
54260         * rt/aio.h: Likewise.
54261         * sysdeps/gnu/bits/utmp.h: Likewise.
54262         * sysdeps/gnu/bits/utmpx.h: Likewise.
54263         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
54264         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
54265         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
54266         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
54267         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
54268         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
54269         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
54270         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
54271         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
54272         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
54273         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
54274         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
54275         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
54276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
54277         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
54278         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
54279         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
54280         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
54281         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
54282         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
54283         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
54284         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
54285         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
54286         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
54287         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
54288         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54289         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
54290         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
54291         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
54292         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
54293         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
54294         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
54295         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
54296         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
54297         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
54298         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
54299         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
54300         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
54301         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
54302         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
54303         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
54304         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
54306 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
54308         [BZ #16245]
54309         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
54310         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
54312 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
54314         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
54315         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
54316         Likewise.
54318 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54320         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
54321         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
54322         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
54323         (__fesetround): Remove define.
54324         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
54325         rounding and exceptions handling.
54326         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
54327         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
54328         (__fe_nomask_env): Likewise.
54329         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
54330         __fegetround instead of fegetround.
54331         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
54332         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
54334 2013-11-21  Roland McGrath  <roland@hack.frob.com>
54336         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
54337         it's there.
54339         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
54341 2013-11-21  Meador Inge  <meadori@codesourcery.com>
54343         [BZ #11157]
54344         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
54345         (encrypt_r): Likewise.
54346         * malloc/obstack.h (obstack_free): Likewise.
54347         * posix/unistd.h (encrypt): Likewise.
54349 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
54351         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
54352         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
54353         DL_CALL_DT_FINI() that call the functions directly.
54354         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
54355         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
54356         * elf/dl-fini.c: Likewise.
54358 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
54360         * malloc/hooks.c (memalign_check): Add alignment rounding.
54361         * malloc/malloc.c (_mid_memalign): New function.
54362         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
54363         Implement by calling _mid_memalign.
54364         * manual/probes.texi (Memory Allocation Probes): Remove
54365         memory_valloc_retry and memory_pvalloc_retry.
54367 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
54369         * locale/programs/locarchive.c (open_archive): Add const
54370         qualifier to ARCHIVEFNAME and copy default fname to
54371         DEFAULT_FNAME.
54373         [BZ #15601]
54374         * libio/tst-widetext.input: Rename Oriya to Odia.
54375         * locale/iso-639.def: Likewise.
54377         * manual/probes.texi (Mathematical Function Probes): Add
54378         documentation for sin, cos, asin and acos probes.
54379         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
54380         (__sin32): Add slowasin probe.
54381         (__cos32): Add slowacos probe.
54382         (__mpsin): Add slowsin probe.
54383         (__mpcos): Add slowcos probe.
54385 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
54387         [BZ #15483]
54388         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
54389         thread-local __sim_exceptions_thread and global
54390         __sim_exceptions_global.
54391         (__sim_disabled_exceptions): Change to thread-local
54392         __sim_disabled_exceptions_thread and global
54393         __sim_disabled_exceptions_global.
54394         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
54395         and global __sim_round_mode_global.
54396         (__simulate_exceptions): Use thread-local floating-point state and
54397         set global state from it as needed.
54398         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
54399         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
54400         __sim_round_mode_thread.
54401         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
54402         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
54403         and global __sim_exceptions_global.
54404         (__sim_disabled_exceptions): Change to thread-local
54405         __sim_disabled_exceptions_thread and global
54406         __sim_disabled_exceptions_global.
54407         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
54408         and global __sim_round_mode_global.
54409         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
54410         (SIM_SET_GLOBAL): Likewise.
54411         * sysdeps/powerpc/soft-fp/sfp-machine.h
54412         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
54413         __sim_round_mode_thread.
54414         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
54415         __sim_disabled_exceptions_thread.
54416         (__sim_exceptions): Change to __sim_exceptions_thread.
54417         (__sim_disabled_exceptions): Change to
54418         __sim_disabled_exceptions_thread.
54419         (__sim_round_mode): Change to __sim_round_mode_thread.
54420         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
54421         thread-local floating-point state and set global state from it as
54422         needed.
54423         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
54424         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
54425         (__sim_disabled_exceptions): Remove extern declaration.
54426         (feenableexcept): Use thread-local floating-point state and set
54427         global state from it as needed.
54428         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
54429         extern declaration.
54430         (__sim_disabled_exceptions): Likewise.
54431         (__sim_round_mode): Likewise.
54432         (__fegetenv): Use thread-local floating-point state.
54433         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
54434         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
54435         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
54436         floating-point state and set global state from it as needed.
54437         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
54438         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
54439         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
54440         Likewise.
54441         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
54442         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
54443         Likewise.
54444         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
54445         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
54446         Use __sim_round_mode_thread.
54447         * math/test-fenv-tls.c: New file.
54448         * math/Makefile (tests): Add test-fenv-tls.
54449         ($(objpfx)test-fenv-tls): Depend on
54450         $(common-objpfx)nptl/libpthread.so.
54452 2013-11-19  Andreas Schwab  <schwab@suse.de>
54454         * locale/programs/locale.c (show_info): Decode wordarray elements.
54455         * locale/categories.def (LC_MONETARY): Add element for
54456         _NL_MONETARY_CRNCYSTR.
54457         * locale/C-monetary.c (conversion_rate): New variable.
54458         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
54459         element.
54461 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
54463         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
54464         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
54466 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
54468         * elf/Makefile (tst-auxv): New test.
54469         * elf/tst-auxv.c: New
54470         * elf/rtld.c (dl_main): Adjust AT_EXECFN
54472 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
54474         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
54475         (hidden_proto): Caller changed.
54476         (hidden_tls_proto): New macro.
54477         (libc_hidden_tls_proto): Likewise.
54478         (rtld_hidden_tls_proto): Likewise.
54479         (libm_hidden_tls_proto): Likewise.
54480         (libresolv_hidden_tls_proto): Likewise.
54481         (librt_hidden_tls_proto): Likewise.
54482         (libdl_hidden_tls_proto): Likewise.
54483         (libnss_files_hidden_tls_proto): Likewise.
54484         (libnsl_hidden_tls_proto): Likewise.
54485         (libnss_nisplus_hidden_tls_proto): Likewise.
54486         (libutil_hidden_tls_proto): Likewise.
54488 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
54490         [BZ #10253]
54491         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
54492         (decompose_rpath): Defer expansion to fillin_rpath.
54493         (_dl_init_paths): Pass linkmap to fillin_rpath.
54495 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
54497         * benchtests/Makefile: Add strsep.
54498         * benchtests/bench-strsep.c: New file: strsep benchtest.
54499         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
54501 2013-11-18  Andreas Schwab  <schwab@suse.de>
54503         * locale/programs/locale.c (show_info) [case byte]: Check for
54504         '\377' instead of '\177'.
54505         * locale/C-monetary.c (not_available): Always use "\377".
54506         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
54507         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
54508         detect unavailable sign_posn locale elements.
54509         * locale/localeconv.c (__localeconv): For grouping and
54510         mon_grouping handle "\177" and "\377" like no grouping.
54511         (INT_ELEM): New macro.  Use it to set all numeric members.
54512         * locale/programs/ld-monetary.c (monetary_read)
54513         <tok_mon_grouping>: Normalize single -1 to the empty string.
54514         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
54515         Likewise.
54517 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
54519         [BZ #16055]
54520         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
54521         when we match (nil).
54522         * stdio-common/tst-sscanf.c (struct test): Add testcase.
54524 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
54526         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
54527         (NO_TEST_INLINE): Update value.
54528         (ERRNO_UNCHANGED): Likewise.
54529         (ERRNO_EDOM): Likewise.
54530         (ERRNO_ERANGE): Likewise.
54531         (IGNORE_RESULT): Likewise.
54532         (check_float_internal): Check signs of NaN results if
54533         TEST_NAN_SIGN used.
54534         (check_complex): Pass TEST_NAN_SIGN flag through to second
54535         check_float_internal call.
54536         (copysign_test_data): Add tests with quiet NaNs as second
54537         argument.  Use TEST_NAN_SIGN.
54538         (fabs_test_data): Add test of negative quiet NaN argument.  Use
54539         TEST_NAN_SIGN.
54540         (signbit_test_data): Add tests of quiet NaN argument.
54541         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
54543         * math/gen-libm-test.pl (show_exceptions): Take extra argument
54544         $ignore_result.
54545         (parse_args): Handle function results specified as IGNORE.
54546         * math/libm-test.inc (IGNORE_RESULT): New macro.
54547         (check_float_internal): Do not check numerical result if flag
54548         IGNORE_RESULT set.
54549         (check_complex): Pass through IGNORE_RESULT to second
54550         check_float_internal call.
54551         (check_int): Do not check numerical result if flag IGNORE_RESULT
54552         set.
54553         (check_long): Likewise.
54554         (check_bool): Likewise.
54555         (check_longlong): Likewise.
54556         (lrint_test_data): Add tests of infinite and NaN arguments.
54557         (lrint_tonearest_test_data): Likewise.
54558         (lrint_towardzero_test_data): Likewise.
54559         (lrint_downward_test_data): Likewise.
54560         (lrint_upward_test_data): Likewise.
54561         (llrint_test_data): Likewise.
54562         (llrint_tonearest_test_data): Likewise.
54563         (llrint_towardzero_test_data): Likewise.
54564         (llrint_downward_test_data): Likewise.
54565         (llrint_upward_test_data): Likewise.
54566         (lround_test_data): Likewise.
54567         (llround_test_data): Likewise.
54569         * math/libm-test.inc (NO_TEST_INLINE): New macro.
54570         (ERRNO_UNCHANGED): Update value.
54571         (ERRNO_EDOM): Likewise.
54572         (ERRNO_ERANGE): Likewise.
54573         (NO_TEST_INLINE_FLOAT): New macro.
54574         (NO_TEST_INLINE_DOUBLE): Likewise.
54575         (enable_test): New function.
54576         (RUN_TEST_f_f): Check enable_test before running test.
54577         (RUN_TEST_2_f): Likewise.
54578         (RUN_TEST_fff_f): Likewise.
54579         (RUN_TEST_c_f): Likewise.
54580         (RUN_TEST_f_f1): Likewise.
54581         (RUN_TEST_fF_f1): Likewise.
54582         (RUN_TEST_fI_f1): Likewise.
54583         (RUN_TEST_ffI_f1): Likewise.
54584         (RUN_TEST_c_c): Likewise.
54585         (RUN_TEST_cc_c): Likewise.
54586         (RUN_TEST_f_i): Likewise.
54587         (RUN_TEST_f_i_tg): Likewise.
54588         (RUN_TEST_ff_i_tg): Likewise.
54589         (RUN_TEST_f_b): Likewise.
54590         (RUN_TEST_f_b_tg): Likewise.
54591         (RUN_TEST_f_l): Likewise.
54592         (RUN_TEST_f_L): Likewise.
54593         (RUN_TEST_fFF_11): Likewise.
54594         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
54595         conditionals.
54596         (cosh_test_data): Likewise.
54597         (exp_test_data): Likewise.
54598         (expm1_test_data): Likewise.
54599         (hypot_test_data): Likewise.
54600         (pow_test_data): Likewise.
54601         (sinh_test_data): Likewise.
54602         (tanh_test_data): Likewise.
54603         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
54604         flags argument.
54606         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
54607         tests with quiet NaN input and output.
54608         (acosh_test_data): Likewise.
54609         (asin_test_data): Likewise.
54610         (asinh_test_data): Likewise.
54611         (atan_test_data): Likewise.
54612         (atanh_test_data): Likewise.
54613         (atan2_test_data): Likewise.
54614         (cbrt_test_data): Likewise.
54615         (cos_test_data): Likewise.
54616         (cosh_test_data): Likewise.
54617         (erf_test_data): Likewise.
54618         (erfc_test_data): Likewise.
54619         (exp_test_data): Likewise.
54620         (exp10_test_data): Likewise.
54621         (exp2_test_data): Likewise.
54622         (expm1_test_data): Likewise.
54623         (hypot_test_data): Likewise.
54624         (j0_test_data): Likewise.
54625         (j1_test_data): Likewise.
54626         (jn_test_data): Likewise.
54627         (lgamma_test_data): Likewise.
54628         (log_test_data): Likewise.
54629         (log10_test_data): Likewise.
54630         (log1p_test_data): Likewise.
54631         (log2_test_data): Likewise.
54632         (pow_test_data): Likewise.
54633         (scalb_test_data): Likewise.
54634         (sin_test_data): Likewise.
54635         (sincos_test_data): Likewise.
54636         (sinh_test_data): Likewise.
54637         (tan_test_data): Likewise.
54638         (tanh_test_data): Likewise.
54639         (tgamma_test_data): Likewise.
54640         (y0_test_data): Likewise.
54641         (y1_test_data): Likewise.
54642         (yn_test_data): Likewise.
54644         [BZ #16167]
54645         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
54646         argument being NaN and avoid computations with second argument in
54647         that case.
54648         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
54649         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
54650         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
54652 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
54654         * locale/iso-639.def: Add Chitwani Tharu (the).
54656 2013-11-14  Andreas Schwab  <schwab@suse.de>
54658         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
54659         word instead of empty string.
54661 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
54664         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
54665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
54666         (__fe_nomask_env): Likewise.
54668 2013-11-13  Steve Ellcey  <sellcey@mips.com>
54670         * benchtests/bench-timing.h: Include time.h.
54672 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
54674         [BZ #15997]
54675         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
54676         to 3.4.0 for x32.
54677         * sysdeps/unix/sysv/linux/configure: Regenerated.
54679 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
54681         [BZ #16151]
54682         * stdlib/strtod_l.c (round_and_return): Do not consider
54683         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
54684         exponent one less than half the least subnormal exponent.
54685         * stdlib/test-strtod-round-data: Add more tests.
54686         * stdlib/tst-strtod-round.c (tests): Regenerated.
54688 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54690         [BZ #14143]
54691         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
54692         (__fe_mask_env): Likewise.
54693         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
54694         libm_hidden_proto and add function prototype.
54695         (__fe_mask_env): Add function prototype.
54696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
54697         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
54698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
54699         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
54700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
54701         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
54703 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54705         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
54706         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
54708 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54710         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
54711         of htab_find_slot().
54713 2013-11-11  David S. Miller  <davem@davemloft.net>
54715         [BZ #16150]
54716         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
54717         symbol in the non-vis3 case in static builds.
54718         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
54719         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
54720         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
54721         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
54723 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
54725         [BZ #387]
54726         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
54727         it is empty.
54729 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54731         * benchtests/Makefile: Add bench-strtod.
54732         * benchtests/bench-strtod.c: New file: strtod benchtest
54734 2013-11-11  Andreas Schwab  <schwab@suse.de>
54736         [BZ #16153]
54737         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
54738         terminating NUL in key length.
54740 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54742         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
54743         Add artificial ODP entry for vDSO symbol for PPC64.
54744         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
54745         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
54747 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
54749         [BZ #15374]
54750         * nss/getent.c (services_keys): Recognize services starting with digit.
54752 2013-11-06  David S. Miller  <davem@davemloft.net>
54754         [BZ #15985]
54755         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
54756         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
54758 2013-11-06  Will Newton  <will.newton@linaro.org>
54760         * manual/memory.texi (Malloc Examples): Remove register
54761         keyword from examples.
54763 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
54765         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
54767 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
54769         [BZ #6981]
54770         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
54771         depending on [__GCC_IEC_559 > 0].
54772         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
54773         depending on [__GCC_IEC_559_COMPLEX > 0].
54775 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
54777         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
54778         to iso-639.def.
54780 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
54782         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
54784 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
54786         [BZ #16112]
54787         * malloc/malloc (malloc_info): Do not handle first bin as
54788         special case.
54790 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
54792         * locale/iso-639.def: Add Central Nahuatl (nhn).
54794 2013-11-01  Bruno Haible  <bruno@clisp.org>
54796         [BZ #7003]
54797         * manual/math.texi (BSD Random): Specify range upper bound as
54798         in POSIX.
54800 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
54802         * locale/iso-639.def: Add Meadow Mari (mhr).
54804 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
54806         [BZ #14752], [BZ #15763]
54807         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
54808         Validate name.
54809         * rt/tst_shm.c: Add test for escaping directory.
54811 2013-10-31  Andreas Schwab  <schwab@suse.de>
54813         [BZ #15917]
54814         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
54815         followed by 'x' as part of digit sequence.
54816         * stdio-common/tst-sscanf.c (double_tests2): New tests.
54818 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
54820         [BZ #16037]
54821         * configure.ac: allow GNU Make 4.0 and greater.
54822         * configure: Regenerated.
54824 2013-10-30  Will Newton  <will.newton@linaro.org>
54826         [BZ #16038]
54827         * malloc/hooks.c (memalign_check): Limit alignment to the
54828         maximum representable power of two.
54829         * malloc/malloc.c (__libc_memalign): Likewise.
54830         * malloc/tst-memalign.c (do_test): Add test for very
54831         large alignment values.
54832         * malloc/tst-posix_memalign.c (do_test): Likewise.
54834 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
54836         [BZ #11087]
54837         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
54838         (munmap_chunk): Likewise.
54839         (mremap_chunk): Likewise.
54841 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
54843         [BZ #15799]
54844         * stdlib/div.c (div): Remove obsolete code.
54845         * stdlib/ldiv.c (ldiv): Likewise.
54846         * stdlib/lldiv.c (lldiv): Likewise.
54848 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
54850         [BZ #16071]
54851         * nss/nss_files/files-XXX.c (get_contents_ret): New
54852         enumerator.
54853         (get_contents): New function.
54854         (internal_getent): Use it.  Expand size of LINEBUFLEN.
54856 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
54858         * configure.in: Moved to ...
54859         * configure.ac: ... here. Change reference to configure.in
54860         to configure.ac.
54861         * sysdeps/arm/preconfigure.ac: ... here.
54862         configure.in to configure.ac.
54863         * sysdeps/gnu/configure.in: Moved to ...
54864         * sysdeps/gnu/configure.ac: ... here.
54865         * sysdeps/i386/configure.in: Moved to ...
54866         * sysdeps/i386/configure.ac: ... here.
54867         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
54868         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
54869         * sysdeps/mach/configure.in: Moved to ...
54870         * sysdeps/mach/configure.ac: ... here.
54871         * sysdeps/mach/hurd/configure.in: Moved to ...
54872         * sysdeps/mach/hurd/configure.ac: ... here.
54873         * sysdeps/powerpc/configure.in: Moved to ...
54874         * sysdeps/powerpc/configure.ac: ... here.
54875         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
54876         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
54877         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
54878         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
54879         * sysdeps/s390/s390-32/configure.in: Moved to ...
54880         * sysdeps/s390/s390-32/configure.ac: ... here.
54881         * sysdeps/s390/s390-64/configure.in: Moved to ...
54882         * sysdeps/s390/s390-64/configure.ac: ... here.
54883         * sysdeps/sh/configure.in: Moved to ...
54884         * sysdeps/sh/configure.ac: ... here.
54885         * sysdeps/sparc/configure.in: Moved to ...
54886         * sysdeps/sparc/configure.ac: ... here.
54887         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
54888         * sysdeps/unix/sysv/linux/configure.ac: ... here.
54889         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
54890         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
54891         * sysdeps/x86_64/configure.in: Moved to ...
54892         * sysdeps/x86_64/configure.ac: ... here.
54893         * sysdeps/x86_64/preconfigure.in: Moved to ...
54894         * sysdeps/x86_64/preconfigure.ac: ... here.
54895         * aclocal.m4: Change reference to configure.in to configure.ac.
54896         * config.h.in: Likewise.
54897         * manual/install.texi: Likewise.
54898         * manual/maint.texi: Likewise.
54899         * Makefile: Likewise.
54900         * malloc/Makefile: Likewise.
54901         * nscd/Makefile: Likewise.
54902         * Makeconfig: Change reference to configure.in and
54903         preconfigure.in to configure.ac and preconfigure.ac
54904         respectively.
54905         * INSTALL: Regenerated.
54906         * configure: Likewise.
54907         * sysdeps/gnu/configure: Likewise.
54908         * sysdeps/i386/configure: Likewise.
54909         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
54910         * sysdeps/mach/configure: Likewise.
54911         * sysdeps/mach/hurd/configure: Likewise.
54912         * sysdeps/powerpc/configure: Likewise.
54913         * sysdeps/powerpc/powerpc32/configure: Likewise.
54914         * sysdeps/powerpc/powerpc64/configure: Likewise.
54915         * sysdeps/s390/s390-32/configure: Likewise.
54916         * sysdeps/s390/s390-64/configure: Likewise.
54917         * sysdeps/sh/configure: Likewise.
54918         * sysdeps/sparc/configure: Likewise.
54919         * sysdeps/unix/sysv/linux/configure: Likewise.
54920         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
54921         * sysdeps/x86_64/configure: Likewise.
54922         * sysdeps/x86_64/preconfigure: Likewise.
54924 2013-10-29  Andreas Schwab  <schwab@suse.de>
54926         * stdio-common/Makefile (tst-swscanf-ENV): Define.
54928 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54930         * benchtests/pow-inputs: Add new inputs.
54932         * benchtests/exp-inputs: Add new inputs.
54934         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
54935         conditional check for return value.
54936         (__cos32): Likewise.
54938 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54940         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
54941         to provide a boost for large inputs with word alignment.
54942         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
54943         implementation based on optimized PPC64 strcpy.
54944         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
54945         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
54946         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
54947         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
54949 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
54951         [BZ #2801]
54952         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
54954 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
54956         [BZ #14876]
54957         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
54958         * time/tst-strptime.c (day_tests): Add testcase.
54960 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
54962         [BZ #14029]
54963         * manual/pattern.texi: Acknowledge that fnmatch can fail.
54965 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
54967         [BZ #16074]
54968         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
54969         MAP_FAILED on error.
54971 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
54973         [BZ #16072]
54974         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
54975         heap for large requests.
54977 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
54979         [BZ #9954]
54980         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
54981         result if the result has no associated interface.
54982         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
54983         interface for all 127.X.Y.Z addresses.
54985 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
54987         * locale/iso-639.def: Add Ligurian (lij)
54989 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
54991         [BZ #15825]
54992         * sunrpc/rpc_main.c: Document rpcgen -5.
54994 2013-10-19  Michael Stahl  <mstahl@redhat.com>
54996         * elf/rtld.c (do_preload): Print the reason why preloading failed.
54998 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
55000         [BZ #10278]
55001         * posix/glob.c: Match only directories when trailing slash is present.
55002         * posix/tst-gnuglob.c (my_opendir): Do not open files.
55003         (main): Add testcase.
55005 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
55007         [BZ #15670]
55008         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
55010 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
55012         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
55013         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
55014         AUTH_DES and cindex for FIPS 140-2.
55015         (DES Encryption): Add cindex FIPS 46-3.
55017         * locale/locarchive.h (struct locarhandle): Add fname.
55018         * locale/programs/localedef.c (main): Pass ARGV[remaining]
55019         if an optional argument was specified to --list-archive,
55020         otherwise NULL.
55021         * locale/programs/locarchive.c (show_archive_content): Take new
55022         argument fname and pass it via ah.fname to open_archive.
55023         * locale/programs/localedef.h: Update decl.
55024         (open_archive): If AH->fname is non-null, open that file
55025         rather than the default file name, and don't ignore ENOENT.
55026         (create_archive): Set AH.fname to NULL.
55027         (delete_locales_from_archive): Likewise.
55028         (add_locales_to_archive): Likewise.
55029         * locale/programs/locfile.c (write_all_categories): Likewise.
55031 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
55032             Aldy Hernandez  <aldyh@redhat.com>
55034         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
55035         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
55036         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
55037         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
55038         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
55039         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
55040         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
55041         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
55042         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
55043         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
55044         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
55045         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
55046         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
55047         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
55048         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
55049         Likewise.
55050         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
55051         Likewise.
55052         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
55053         Likewise.
55054         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
55055         Likewise.
55056         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
55057         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
55058         Likewise.
55059         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
55060         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
55061         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
55062         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
55063         Likewise.
55064         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
55065         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
55066         * sysdeps/powerpc/preconfigure: Likewise.
55067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
55068         Likewise.
55069         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
55070         Replace contents of file by #include of <fenv_libc.h>.
55071         * sysdeps/powerpc/soft-fp/sfp-machine.h
55072         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
55073         and <sys/prctl.h>.
55074         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
55075         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
55076         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
55077         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
55078         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
55079         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
55080         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
55081         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
55082         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
55083         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
55084         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
55085         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
55086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
55087         Allow copysignl PLT reference to be missing.
55089 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
55090             Joseph Myers  <joseph@codesourcery.com
55092         [BZ #15948]
55093         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
55094         single character.
55095         (add_to_tablewc): Assert sequence of wide characters is nonempty.
55097 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55099         * elf/tst-tls-dlinfo.c: Don't include tls.h.
55100         * elf/tst-tls1.c: Likewise.
55101         * elf/tst-tls10.h: Likewise.
55102         * elf/tst-tls14.c: Likewise.
55103         * elf/tst-tls2.c: Likewise.
55104         * elf/tst-tls3.c: Likewise.
55105         * elf/tst-tls4.c: Likewise.
55106         * elf/tst-tls5.c: Likewise.
55107         * elf/tst-tls6.c: Likewise.
55108         * elf/tst-tls7.c: Likewise.
55109         * elf/tst-tls8.c: Likewise.
55110         * elf/tst-tls9.c: Likewise.
55111         * elf/tst-tlsmod1.c: Likewise.
55112         * elf/tst-tlsmod13.c: Likewise.
55113         * elf/tst-tlsmod13a.c: Likewise.
55114         * elf/tst-tlsmod14a.c: Likewise.
55115         * elf/tst-tlsmod16a.c: Likewise.
55116         * elf/tst-tlsmod16b.c: Likewise.
55117         * elf/tst-tlsmod2.c: Likewise.
55118         * elf/tst-tlsmod3.c: Likewise.
55119         * elf/tst-tlsmod4.c: Likewise.
55120         * elf/tst-tlsmod5.c: Likewise.
55121         * elf/tst-tlsmod6.c: Likewise.
55123 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
55125         [BZ #12486]
55126         * malloc/malloc.c: remove checks for statistics.
55128 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
55130         [BZ #15277]
55131         * inet/inet_net.c (inet_network): Detect additional invalid strings.
55132         * inet/tst-network.c: Add testcase.
55134 2013-10-17  Andreas Schwab  <schwab@suse.de>
55136         [BZ #15218]
55137         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
55138         to determine canonical name.
55140 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
55142         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
55143         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
55144         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55145         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
55146         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55147         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
55148         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
55149         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
55150         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
55151         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
55152         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
55153         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55154         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
55155         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
55156         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
55157         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
55158         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55159         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55160         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
55161         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
55162         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55163         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55164         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55165         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
55166         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
55167         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
55168         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
55169         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
55170         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
55171         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
55172         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
55173         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55174         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
55175         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
55176         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
55177         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55178         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55179         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
55180         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
55181         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55182         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
55183         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
55184         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
55185         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
55186         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
55187         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55188         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
55189         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
55190         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
55191         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
55192         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
55193         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
55194         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
55195         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
55196         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55197         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
55198         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55199         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
55201 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
55203         [BZ #16041]
55204         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
55205         make result into a quiet NaN.
55207 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
55209         * soft-fp/adddf3.c: Fix horizontal whitespace.
55210         * soft-fp/addsf3.c: Likewise.
55211         * soft-fp/addtf3.c: Likewise.
55212         * soft-fp/divdf3.c: Likewise.
55213         * soft-fp/divsf3.c: Likewise.
55214         * soft-fp/divtf3.c: Likewise.
55215         * soft-fp/double.h: Likewise.
55216         * soft-fp/eqdf2.c: Likewise.
55217         * soft-fp/eqsf2.c: Likewise.
55218         * soft-fp/eqtf2.c: Likewise.
55219         * soft-fp/extenddftf2.c: Likewise.
55220         * soft-fp/extended.h: Likewise.
55221         * soft-fp/extendsfdf2.c: Likewise.
55222         * soft-fp/extendsftf2.c: Likewise.
55223         * soft-fp/extendxftf2.c: Likewise.
55224         * soft-fp/fixdfdi.c: Likewise.
55225         * soft-fp/fixdfsi.c: Likewise.
55226         * soft-fp/fixdfti.c: Likewise.
55227         * soft-fp/fixsfdi.c: Likewise.
55228         * soft-fp/fixsfsi.c: Likewise.
55229         * soft-fp/fixsfti.c: Likewise.
55230         * soft-fp/fixtfdi.c: Likewise.
55231         * soft-fp/fixtfsi.c: Likewise.
55232         * soft-fp/fixtfti.c: Likewise.
55233         * soft-fp/fixunsdfdi.c: Likewise.
55234         * soft-fp/fixunsdfsi.c: Likewise.
55235         * soft-fp/fixunsdfti.c: Likewise.
55236         * soft-fp/fixunssfdi.c: Likewise.
55237         * soft-fp/fixunssfsi.c: Likewise.
55238         * soft-fp/fixunssfti.c: Likewise.
55239         * soft-fp/fixunstfdi.c: Likewise.
55240         * soft-fp/fixunstfsi.c: Likewise.
55241         * soft-fp/fixunstfti.c: Likewise.
55242         * soft-fp/floatdidf.c: Likewise.
55243         * soft-fp/floatdisf.c: Likewise.
55244         * soft-fp/floatditf.c: Likewise.
55245         * soft-fp/floatsidf.c: Likewise.
55246         * soft-fp/floatsisf.c: Likewise.
55247         * soft-fp/floatsitf.c: Likewise.
55248         * soft-fp/floattidf.c: Likewise.
55249         * soft-fp/floattisf.c: Likewise.
55250         * soft-fp/floattitf.c: Likewise.
55251         * soft-fp/floatundidf.c: Likewise.
55252         * soft-fp/floatundisf.c: Likewise.
55253         * soft-fp/floatunditf.c: Likewise.
55254         * soft-fp/floatunsidf.c: Likewise.
55255         * soft-fp/floatunsisf.c: Likewise.
55256         * soft-fp/floatunsitf.c: Likewise.
55257         * soft-fp/floatuntidf.c: Likewise.
55258         * soft-fp/floatuntisf.c: Likewise.
55259         * soft-fp/floatuntitf.c: Likewise.
55260         * soft-fp/fmadf4.c: Likewise.
55261         * soft-fp/fmasf4.c: Likewise.
55262         * soft-fp/fmatf4.c: Likewise.
55263         * soft-fp/gedf2.c: Likewise.
55264         * soft-fp/gesf2.c: Likewise.
55265         * soft-fp/getf2.c: Likewise.
55266         * soft-fp/ledf2.c: Likewise.
55267         * soft-fp/lesf2.c: Likewise.
55268         * soft-fp/letf2.c: Likewise.
55269         * soft-fp/muldf3.c: Likewise.
55270         * soft-fp/mulsf3.c: Likewise.
55271         * soft-fp/multf3.c: Likewise.
55272         * soft-fp/negdf2.c: Likewise.
55273         * soft-fp/negsf2.c: Likewise.
55274         * soft-fp/negtf2.c: Likewise.
55275         * soft-fp/op-1.h: Likewise.
55276         * soft-fp/op-2.h: Likewise.
55277         * soft-fp/op-4.h: Likewise.
55278         * soft-fp/op-8.h: Likewise.
55279         * soft-fp/op-common.h: Likewise.
55280         * soft-fp/quad.h: Likewise.
55281         * soft-fp/single.h: Likewise.
55282         * soft-fp/soft-fp.h: Likewise.
55283         * soft-fp/sqrtdf2.c: Likewise.
55284         * soft-fp/sqrtsf2.c: Likewise.
55285         * soft-fp/sqrttf2.c: Likewise.
55286         * soft-fp/subdf3.c: Likewise.
55287         * soft-fp/subsf3.c: Likewise.
55288         * soft-fp/subtf3.c: Likewise.
55289         * soft-fp/truncdfsf2.c: Likewise.
55290         * soft-fp/trunctfdf2.c: Likewise.
55291         * soft-fp/trunctfsf2.c: Likewise.
55292         * soft-fp/trunctfxf2.c: Likewise.
55293         * soft-fp/unorddf2.c: Likewise.
55294         * soft-fp/unordsf2.c: Likewise.
55295         * soft-fp/unordtf2.c: Likewise.
55297 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
55299         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
55300         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
55302 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
55304         * elf/dl-libc.c: Clear initfini list after freeing.
55306 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
55308         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
55309         * soft-fp/addsf3.c: Likewise.
55310         * soft-fp/addtf3.c: Likewise.
55311         * soft-fp/divdf3.c: Likewise.
55312         * soft-fp/divsf3.c: Likewise.
55313         * soft-fp/divtf3.c: Likewise.
55314         * soft-fp/double.h: Likewise.
55315         * soft-fp/eqdf2.c: Likewise.
55316         * soft-fp/eqsf2.c: Likewise.
55317         * soft-fp/eqtf2.c: Likewise.
55318         * soft-fp/extenddftf2.c: Likewise.
55319         * soft-fp/extended.h: Likewise.
55320         * soft-fp/extendsfdf2.c: Likewise.
55321         * soft-fp/extendsftf2.c: Likewise.
55322         * soft-fp/extendxftf2.c: Likewise.
55323         * soft-fp/fixdfdi.c: Likewise.
55324         * soft-fp/fixdfsi.c: Likewise.
55325         * soft-fp/fixdfti.c: Likewise.
55326         * soft-fp/fixsfdi.c: Likewise.
55327         * soft-fp/fixsfsi.c: Likewise.
55328         * soft-fp/fixsfti.c: Likewise.
55329         * soft-fp/fixtfdi.c: Likewise.
55330         * soft-fp/fixtfsi.c: Likewise.
55331         * soft-fp/fixtfti.c: Likewise.
55332         * soft-fp/fixunsdfdi.c: Likewise.
55333         * soft-fp/fixunsdfsi.c: Likewise.
55334         * soft-fp/fixunsdfti.c: Likewise.
55335         * soft-fp/fixunssfdi.c: Likewise.
55336         * soft-fp/fixunssfsi.c: Likewise.
55337         * soft-fp/fixunssfti.c: Likewise.
55338         * soft-fp/fixunstfdi.c: Likewise.
55339         * soft-fp/fixunstfsi.c: Likewise.
55340         * soft-fp/fixunstfti.c: Likewise.
55341         * soft-fp/floatdidf.c: Likewise.
55342         * soft-fp/floatdisf.c: Likewise.
55343         * soft-fp/floatditf.c: Likewise.
55344         * soft-fp/floatsidf.c: Likewise.
55345         * soft-fp/floatsisf.c: Likewise.
55346         * soft-fp/floatsitf.c: Likewise.
55347         * soft-fp/floattidf.c: Likewise.
55348         * soft-fp/floattisf.c: Likewise.
55349         * soft-fp/floattitf.c: Likewise.
55350         * soft-fp/floatundidf.c: Likewise.
55351         * soft-fp/floatundisf.c: Likewise.
55352         * soft-fp/floatunsidf.c: Likewise.
55353         * soft-fp/floatunsisf.c: Likewise.
55354         * soft-fp/floatuntidf.c: Likewise.
55355         * soft-fp/floatuntisf.c: Likewise.
55356         * soft-fp/floatuntitf.c: Likewise.
55357         * soft-fp/fmadf4.c: Likewise.
55358         * soft-fp/fmasf4.c: Likewise.
55359         * soft-fp/fmatf4.c: Likewise.
55360         * soft-fp/gedf2.c: Likewise.
55361         * soft-fp/gesf2.c: Likewise.
55362         * soft-fp/getf2.c: Likewise.
55363         * soft-fp/ledf2.c: Likewise.
55364         * soft-fp/lesf2.c: Likewise.
55365         * soft-fp/letf2.c: Likewise.
55366         * soft-fp/muldf3.c: Likewise.
55367         * soft-fp/mulsf3.c: Likewise.
55368         * soft-fp/multf3.c: Likewise.
55369         * soft-fp/negdf2.c: Likewise.
55370         * soft-fp/negsf2.c: Likewise.
55371         * soft-fp/negtf2.c: Likewise.
55372         * soft-fp/op-1.h: Likewise.
55373         * soft-fp/op-2.h: Likewise.
55374         * soft-fp/op-4.h: Likewise.
55375         * soft-fp/op-8.h: Likewise.
55376         * soft-fp/op-common.h: Likewise.
55377         * soft-fp/quad.h: Likewise.
55378         * soft-fp/single.h: Likewise.
55379         * soft-fp/soft-fp.h: Likewise.
55380         * soft-fp/sqrtdf2.c: Likewise.
55381         * soft-fp/sqrtsf2.c: Likewise.
55382         * soft-fp/sqrttf2.c: Likewise.
55383         * soft-fp/subdf3.c: Likewise.
55384         * soft-fp/subsf3.c: Likewise.
55385         * soft-fp/subtf3.c: Likewise.
55386         * soft-fp/truncdfsf2.c: Likewise.
55387         * soft-fp/trunctfdf2.c: Likewise.
55388         * soft-fp/trunctfsf2.c: Likewise.
55389         * soft-fp/trunctfxf2.c: Likewise.
55390         * soft-fp/unorddf2.c: Likewise.
55391         * soft-fp/unordsf2.c: Likewise.
55392         * soft-fp/unordtf2.c: Likewise.
55394 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
55396         [BZ #15672]
55397         * misc/error.c (error_tail): Fix possible buffer overflow.
55399 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
55401         [BZ #13028]
55402         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
55403         address.
55405 2013-10-14  P. J. McDermott  <pj@pehjota.net>
55407         [BZ #832]
55408         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
55409         testing pipefail option.
55411 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
55413         * soft-fp/double.h: Indent preprocessor directives inside #if.
55414         * soft-fp/extended.h: Likewise.
55415         * soft-fp/op-2.h: Likewise.
55416         * soft-fp/op-4.h: Likewise.
55417         * soft-fp/op-common.h: Likewise.
55418         * soft-fp/quad.h: Likewise.
55419         * soft-fp/single.h: Likewise.
55420         * soft-fp/soft-fp.h: Likewise.
55422 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
55424         * iconv/iconv_prog.c: Fix typos.
55425         * stdio-common/psiginfo-data.h: Likewise.
55427 2013-10-12   Reuben Thomas <rrt@sc3d.org>
55429         [BZ #15764]
55430         * locale/setlocale.c: Fix typo.
55432 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
55434         [BZ #16036]
55435         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
55436         signaling NaN arguments.
55437         * soft-fp/unordsf2.c (__unordsf2): Likewise.
55438         * soft-fp/unordtf2.c (__unordtf2): Likewise.
55440         [BZ #14910]
55441         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
55442         unordered operands.
55443         * soft-fp/gesf2.c (__gesf2): Likewise.
55444         * soft-fp/getf2.c (__getf2): Likewise.
55445         * soft-fp/ledf2.c (__ledf2): Likewise.
55446         * soft-fp/lesf2.c (__lesf2): Likewise.
55447         * soft-fp/letf2.c (__letf2): Likewise.
55449         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
55450         * soft-fp/eqsf2.c (__eqsf2): Likewise.
55451         * soft-fp/eqtf2.c (__eqtf2): Likewise.
55452         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
55453         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
55454         * soft-fp/fixdfti.c (__fixdfti): Likewise.
55455         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
55456         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
55457         * soft-fp/fixsfti.c (__fixsfti): Likewise.
55458         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
55459         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
55460         * soft-fp/fixtfti.c (__fixtfti): Likewise.
55461         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
55462         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
55463         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
55464         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
55465         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
55466         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
55467         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
55468         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
55469         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
55470         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
55471         * soft-fp/floatdisf.c (__floatdisf): Likewise.
55472         * soft-fp/floatsisf.c (__floatsisf): Likewise.
55473         * soft-fp/floattidf.c (__floattidf): Likewise.
55474         * soft-fp/floattisf.c (__floattisf): Likewise.
55475         * soft-fp/floattitf.c (__floattitf): Likewise.
55476         * soft-fp/floatundidf.c (__floatundidf): Likewise.
55477         * soft-fp/floatundisf.c (__floatundisf): Likewise.
55478         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
55479         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
55480         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
55481         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
55482         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
55483         * soft-fp/gesf2.c (__gesf2): Likewise.
55484         * soft-fp/getf2.c (__getf2): Likewise.
55485         * soft-fp/ledf2.c (__ledf2): Likewise.
55486         * soft-fp/lesf2.c (__lesf2): Likewise.
55487         * soft-fp/letf2.c (__letf2): Likewise.
55489         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
55490         Undefine and redefine.
55491         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
55492         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
55493         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
55494         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
55495         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
55496         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
55497         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
55498         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
55499         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
55500         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
55501         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
55502         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
55503         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
55504         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
55505         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
55507         [BZ #16032]
55508         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
55509         without decrementing exponent if mantissa >= that for the
55510         denominator, not >.
55511         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
55512         denominator, not >.  Decrement exponent in < case instead of
55513         incrementing in >= case.
55514         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
55515         without decrementing exponent if mantissa >= that for the
55516         denominator, not >.
55518         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
55519         computing saturated result for unsigned overflow.
55521 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
55522             Jeff Law  <law@redhat.com>
55524         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
55525         (atan2Mp): Add systemtap probe marker.
55526         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
55527         (__ieee754_log): Add systemtap probe marker.
55528         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
55529         (atanMp): Add systemtap probe marker.
55530         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
55531         (tanMp): Add systemtap probe marker.
55532         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
55533         (__slowexp): Add systemtap probe marker.
55534         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
55535         (__slowpow): Add systemtap probe marker.
55536         * manual/probes.texi: Document probes.
55538 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
55540         [BZ #15362]
55541         * libio/fileops.c (_IO_new_file_write): Return count of bytes
55542         written.
55543         (_IO_new_file_xsputn): Don't return EOF if nothing has been
55544         written.
55545         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
55546         written to buffer but not flushed.
55547         * libio/iofwrite_u.c:  Likewise.
55548         * libio/iopadn.c:  Return bytes returned even if EOF was
55549         encountered.
55550         * libio/iowpadn.c:  Likewise.
55551         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
55552         if _IO_padn does not write the whole buffer.
55553         [!COMPILE_WPRINTF] (PAD): Likewise.
55555 2013-10-10  David S. Miller  <davem@davemloft.net>
55557         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
55558         directory block.
55560 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
55562         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
55563         instead of FSF address.
55564         * soft-fp/fixdfti.c: Likewise.
55565         * soft-fp/fixsfti.c: Likewise.
55566         * soft-fp/fixtfti.c: Likewise.
55567         * soft-fp/fixunsdfti.c: Likewise.
55568         * soft-fp/fixunssfti.c: Likewise.
55569         * soft-fp/fixunstfti.c: Likewise.
55570         * soft-fp/floattidf.c: Likewise.
55571         * soft-fp/floattisf.c: Likewise.
55572         * soft-fp/floattitf.c: Likewise.
55573         * soft-fp/floatuntidf.c: Likewise.
55574         * soft-fp/floatuntisf.c: Likewise.
55575         * soft-fp/floatuntitf.c: Likewise.
55576         * soft-fp/trunctfxf2.c: Likewise.
55578         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
55579         * soft-fp/fixdfti.c: Likewise.
55580         * soft-fp/fixsfti.c: Likewise.
55581         * soft-fp/fixtfti.c: Likewise.
55582         * soft-fp/fixunsdfti.c: Likewise.
55583         * soft-fp/fixunssfti.c: Likewise.
55584         * soft-fp/fixunstfti.c: Likewise.
55585         * soft-fp/floattidf.c: Likewise.
55586         * soft-fp/floattisf.c: Likewise.
55587         * soft-fp/floattitf.c: Likewise.
55588         * soft-fp/floatuntidf.c: Likewise.
55589         * soft-fp/floatuntisf.c: Likewise.
55590         * soft-fp/floatuntitf.c: Likewise.
55591         * soft-fp/trunctfxf2.c: Likewise.
55593 2013-10-10  David S. Miller  <davem@davemloft.net>
55595         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55597 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
55599         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
55600         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
55601         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
55602         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
55603         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
55604         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
55605         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
55607         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
55608         for NaNs before doing comparisons on argument.
55609         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
55610         Likewise.
55612 2013-10-10  Will Newton  <will.newton@linaro.org>
55614         * malloc/hooks.c (memalign_check): Ensure the value of bytes
55615         passed to _int_memalign does not overflow.
55617 2013-10-10  Torvald Riegel  <triegel@redhat.com>
55619         * scripts/bench.pl: Add include-sources directive.
55620         * benchtests/README: Update documentation.
55622 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
55624         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
55625         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
55626         instead of FP_INIT_ROUNDMODE.
55627         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
55628         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
55630         [BZ #16034]
55631         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
55632         copy class of input value.
55633         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
55634         not handle exceptions.
55635         * soft-fp/negsf2.c (__negsf2): Likewise.
55636         * soft-fp/negtf2.c (__negtf2): Likewise.
55637         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
55639 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
55641         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
55642         semicolon.  From Linux kernel.
55644 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
55646         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
55648 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
55650         [BZ #156]
55651         * manual/socket.texi: Added statement about buffer
55652         for gethostbyname2_r.
55654 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
55656         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
55657         Use .p2align directive instead, throughout.
55658         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
55659         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
55660         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
55661         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55662         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55663         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
55664         * sysdeps/x86_64/strchr.S: Likewise.
55665         * sysdeps/x86_64/strrchr.S: Likewise.
55667 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
55669         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
55671         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
55673         * sysdeps/generic/math_private.h (__mpsin1): Remove
55674         declaration.
55675         (__mpcos1): Likewise.
55676         (__mpsin): New argument __range_reduce.
55677         (__mpcos): Likewise.
55678         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55679         (slow): Use __mpsin and __mpcos.
55680         (slow1): Likewise.
55681         (slow2): Likewise.
55682         (sloww): Likewise.
55683         (sloww1): Likewise.
55684         (sloww2): Likewise.
55685         (bsloww): Likewise.
55686         (bsloww1): Likewise.
55687         (bsloww2): Likewise.
55688         (cslow2): Likewise.
55689         (csloww): Likewise.
55690         (csloww1): Likewise.
55691         (csloww2): Likewise.
55692         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
55693         range_reduce.  Merge in __mpsin1.
55694         (__mpcos): Likewise.
55695         (__mpsin1): Remove.
55696         (__mpcos1): Likewise.
55698 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
55700         * locale/loadlocale.c (_nl_intern_locale_data): Use
55701         LOCFILE_ALIGNED_P.
55702         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
55703         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
55704         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
55705         obstack data is appropriately aligned.
55706         (obstack_int32_grow_fast): Likewise.
55707         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
55708         * locale/programs/locfile.c (add_locale_uint32): Likewise.
55709         (add_locale_uint32_array): Likewise.
55711 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
55713         * benchtests/Makefile: Remove ARGLIST and RET variables.
55714         ($(objpfx)bench-%.c): Pass only function name to the script.
55715         * benchtests/README: Update documentation.
55716         * benchtests/acos-inputs: Add new directives.
55717         * benchtests/acosh-inputs: Likewise.
55718         * benchtests/asin-inputs: Likewise.
55719         * benchtests/asinh-inputs: Likewise.
55720         * benchtests/atan-inputs: Likewise.
55721         * benchtests/atanh-inputs: Likewise.
55722         * benchtests/cos-inputs: Likewise.
55723         * benchtests/cosh-inputs: Likewise.
55724         * benchtests/exp-inputs: Likewise.
55725         * benchtests/log-inputs: Likewise.
55726         * benchtests/pow-inputs: Likewise.
55727         * benchtests/rint-inputs: Likewise.
55728         * benchtests/sin-inputs: Likewise.
55729         * benchtests/sinh-inputs: Likewise.
55730         * benchtests/tan-inputs: Likewise.
55731         * benchtests/tanh-inputs: Likewise.
55732         * scripts/bench.pl: Add support for new directives.
55734 2013-10-07  Alan Modra  <amodra@gmail.com>
55736         * README: Fix careless merge.
55738 2013-10-05  Alan Modra  <amodra@gmail.com>
55740         * NEWS: Mention powerpc64le support and bugs fixed.
55741         * README: Both big-endian and little-endian powerpc64 supported.
55743 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55745         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
55746         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
55747         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
55748         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
55750 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
55752         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
55753         match prototype.
55755 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
55757         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
55758         Move -mhard-float appending from
55759         ports/sysdeps/powerpc/powerpc32/Makefile.
55760         [$(with-fp) = yes] (ASFLAGS): Likewise.
55761         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
55762         * sysdeps/powerpc/nofpu: Move directory from
55763         ports/sysdeps/powerpc/nofpu.
55764         * sysdeps/powerpc/soft-fp: Move directory from
55765         ports/sysdeps/powerpc/soft-fp.
55766         * sysdeps/powerpc/powerpc32/405: Move directory from
55767         ports/sysdeps/powerpc/powerpc32/405.
55768         * sysdeps/powerpc/powerpc32/440: Move directory from
55769         ports/sysdeps/powerpc/powerpc32/440.
55770         * sysdeps/powerpc/powerpc32/464: Move directory from
55771         ports/sysdeps/powerpc/powerpc32/464.
55772         * sysdeps/powerpc/powerpc32/476: Move directory from
55773         ports/sysdeps/powerpc/powerpc32/476.
55774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
55775         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
55776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
55777         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
55778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
55779         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
55780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
55781         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
55782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
55783         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
55784         * README: Update for powerpc-*-linux-gnu software floating point
55785         support in libc.
55787         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
55788         case to powerpc/powerpc32*.
55789         * sysdeps/unix/sysv/linux/configure: Regenerated.
55791         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
55792         (_FPU_MASK_OM): Define as 0x04.
55793         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
55794         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
55795         0x00c10080.
55796         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
55797         0x0000003c.
55798         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
55800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
55801         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
55802         getcontext_e500.
55803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
55804         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
55805         setcontext_e500.
55806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
55807         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
55808         and setcontext_e500.
55810 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
55812         * locale/iso-3166.def: Update iso-1366.def and related occurrences
55814 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55816         * manual/threads.texi (Default Thread Attributes): Fix typo.
55818 2013-10-04  Will Newton  <will.newton@linaro.org>
55820         * malloc/Makefile: Add tst-memalign.
55821         * malloc/tst-memalign.c: New file.
55823         * malloc/tst-posix_memalign.c: Add comments.
55824         (do_test): Add comments and call free on all potentially
55825         allocated pointers. Add space after cast.
55827         * malloc/tst-pvalloc.c: Add comments.
55828         (do_test): Add comments and call free on all potentially
55829         allocated pointers. Remove duplicate check for NULL pointer.
55830         Add space after cast.
55832         * malloc/tst-valloc.c: Add comments.
55833         (do_test): Add comments and call free on all potentially
55834         allocated pointers. Remove duplicate check for NULL pointer.
55835         Add space after cast.
55837 2013-10-04  Alan Modra  <amodra@gmail.com>
55839         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
55840         Use stdint types in rather than __attribute__((mode())).
55841         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
55843 2013-10-04  Alan Modra  <amodra@gmail.com>
55845         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
55846         Correct handling of unaligned relocs for little-endian.
55847         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
55849 2013-10-04  Alan Modra  <amodra@gmail.com>
55851         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
55852         * configure: Regenerate.
55853         * nptl/shlib-versions: Powerpc*le starts at 2.18.
55854         * shlib-versions: Likewise.
55856 2013-10-04  Alan Modra  <amodra@gmail.com>
55858         * string/tester.c (test_memrchr): Increment reported test cycle.
55860 2013-10-04  Alan Modra  <amodra@gmail.com>
55862         * string/test-memcpy.c (do_one_test): When reporting errors, print
55863         string address and don't overrun end of string.
55865 2013-10-04  Alan Modra  <amodra@gmail.com>
55867         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
55868         insrdi.  Make better use of reg selection to speed exit slightly.
55869         Schedule entry path a little better.  Remove useless "are we done"
55870         checks on entry to main loop.  Handle wrapping around zero address.
55871         Correct main loop count.  Handle single left-over word from main
55872         loop inline rather than by using loop_small.  Remove extra word
55873         case in loop_small caused by wrong loop count.  Add little-endian
55874         support.
55875         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
55876         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
55877         cache hint.
55878         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
55879         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
55880         support.  Avoid rlwimi.
55881         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
55883 2013-10-04  Alan Modra  <amodra@gmail.com>
55885         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
55886         insrdi.  Formatting.
55887         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
55888         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
55889         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
55890         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
55891         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
55892         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
55894 2013-10-04  Alan Modra  <amodra@gmail.com>
55896         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
55897         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
55898         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
55899         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
55900         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
55901         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
55902         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
55903         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
55904         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
55905         use of regs.  Use power7 mtocrf.  Tidy function tails.
55907 2013-10-04  Alan Modra  <amodra@gmail.com>
55909         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
55910         Formatting.  Consistently use rXXX register defines or rN defines.
55911         Use early exit labels that avoid restoring unused non-volatile regs.
55912         Make cr field use more consistent with rWORDn compares.  Rename
55913         regs used as shift registers for unaligned loop, using rN defines
55914         for short lifetime/multiple use regs.
55915         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
55916         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
55917         addi 1,1,64 to pop stack frame.  Simplify return value code.
55918         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
55920 2013-10-04  Alan Modra  <amodra@gmail.com>
55922         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
55923         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
55924         rather than rlwimi.
55925         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
55926         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
55927         little-endian support.  Correct typos.
55928         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
55929         rather than rlwimi.
55930         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
55931         in loop and entry code to keep "and." results.
55932         (strchr): Add little-endian support.  Comment.  Move cntlzd
55933         earlier in tail.
55934         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
55936 2013-10-04  Alan Modra  <amodra@gmail.com>
55938         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
55939         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
55940         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
55941         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
55943 2013-10-04  Alan Modra  <amodra@gmail.com>
55945         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
55946         (rTMP): Define as r11.
55947         (strcmp): Add little-endian support.  Optimise tail.
55948         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
55949         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
55950         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
55951         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55952         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
55953         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55954         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55956 2013-10-04  Alan Modra  <amodra@gmail.com>
55958         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
55959         little-endian support.  Remove unnecessary "are we done" tests.
55960         Handle "s" wrapping around zero and extremely large "size".
55961         Correct main loop count.  Handle single left-over word from main
55962         loop inline rather than by using small_loop.  Correct comments.
55963         Delete "zero" tail, use "end_max" instead.
55964         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
55966 2013-10-04  Alan Modra  <amodra@gmail.com>
55968         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
55969         support.  Don't branch over align.
55970         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
55971         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
55972         support.  Rearrange tmp reg use to suit.  Comment.
55973         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
55975 2013-10-04  Alan Modra  <amodra@gmail.com>
55977         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
55979 2013-10-04  Alan Modra  <amodra@gmail.com>
55981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
55982         conditional form of branch and link when obtaining pc.
55983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
55985 2013-10-04  Alan Modra  <amodra@gmail.com>
55987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
55988         HIWORD/LOWORD.
55989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
55990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
55992 2013-10-04  Alan Modra  <amodra@gmail.com>
55994         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
55995         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
55996         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
55997         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
55998         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
55999         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
56000         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
56001         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
56002         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
56003         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
56005 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
56006             Alistair Popple <alistair@ozlabs.au.ibm.com>
56007             Alan Modra <amodra@gmail.com>
56009         [BZ #15723]
56010         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
56011         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
56012         _dl_hwcap access for little-endian.
56013         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
56014         destroy vmx regs when saving unaligned.
56015         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
56016         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
56017         destroy vmx regs when saving unaligned.
56019 2013-10-04  Alan Modra  <amodra@gmail.com>
56021         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
56022         Don't use a union to pack hi/low value.
56024 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
56026         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
56027         for little-endian.
56028         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
56029         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
56030         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
56031         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
56032         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
56034 2013-10-04  Alan Modra  <amodra@gmail.com>
56036         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
56037         constants to usual value for .cst8 section, and remove redundant
56038         high address load.
56039         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
56040         constant for 0x1p52.  Load little-endian words of double from
56041         correct stack offsets.
56043 2013-10-04  Alan Modra  <amodra@gmail.com>
56045         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
56046         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
56047         words of double from correct stack offsets.
56048         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
56049         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
56050         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
56051         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
56052         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
56053         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
56054         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
56055         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
56056         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
56057         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
56058         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
56059         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
56060         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
56061         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
56062         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
56063         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
56064         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
56066 2013-10-04  Alan Modra  <amodra@gmail.com>
56068         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
56069         64-bit int/double union.
56070         (_FPU_SETCW): Likewise.
56071         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
56072         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
56074 2013-10-04  Alan Modra  <amodra@gmail.com>
56076         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
56077         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
56079 2013-10-04  Alan Modra  <amodra@gmail.com>
56081         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
56082         use vector int constants.
56083         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
56085 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
56087         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
56088         array with long long.
56089         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
56090         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
56091         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
56092         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
56093         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
56094         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
56095         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
56096         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
56097         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
56098         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
56099         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
56100         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
56101         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
56103 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
56105         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
56106         (__signbit): Likewise.  Correct for little-endian.
56107         (__signbitl): Call __signbit.
56108         (lrint): Correct for little-endian.
56109         (lrintf): Call lrint.
56111 2013-10-04  Alan Modra  <amodra@gmail.com>
56113         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
56114         union 32-bit int array member with 64-bit int array.
56115         (t515, tm256): Double rather than long double.
56116         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
56118 2013-10-04  Alan Modra  <amodra@gmail.com>
56120         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
56121         Delete.
56122         (IEEE854_LONG_DOUBLE_BIAS): Delete.
56123         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
56124         version of math_ldbl.h.
56126 2013-10-04  Alan Modra  <amodra@gmail.com>
56128         [BZ #15734], [BZ #15735]
56129         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
56130         all uses of ieee875 long double macros and unions.  Simplify test
56131         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
56132         ldbl_extract_mantissa value for ix,iy exponents.  Properly
56133         normalize after ldbl_extract_mantissa, and don't add hidden bit
56134         already handled.  Don't treat low word of ieee854 mantissa like
56135         low word of IBM long double and mask off bit when testing for
56136         zero.
56137         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
56138         all uses of ieee875 long double macros and unions.  Simplify tests
56139         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
56140         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
56141         two1022, instead use their values.  Recognise that tests for large
56142         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
56143         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
56144         Rewrite all uses of ieee875 long double macros and unions.  Simplify
56145         test for 0.0L and nan.  Correct negation.
56146         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
56147         ieee875 long double macros and unions.  Correct output for large
56148         magnitude x.  Correct absolute value calculation.
56149         (__erfcl): Likewise.
56150         * math/libm-test.inc: Add tests for errors discovered in IBM long
56151         double versions of fmodl, remainderl, erfl and erfcl.
56153 2013-10-04  Alan Modra  <amodra@gmail.com>
56155         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
56156         all uses of ieee854 long double macros and unions.  Simplify tests
56157         for long doubles that are fully specified by the high double.
56158         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
56159         Likewise.
56160         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
56161         Remove dead code too.
56162         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
56163         (__ieee754_ynl): Likewise.
56164         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
56165         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
56166         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
56167         Remove dead code too.
56168         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
56169         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
56170         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
56171         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
56172         Simplify.
56173         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
56174         Simplify.
56175         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
56176         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
56177         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
56178         Comment on variable precision.
56179         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
56180         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
56181         Likewise.
56182         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
56183         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
56184         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
56185         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
56186         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
56188 2013-10-04  Alan Modra  <amodra@gmail.com>
56190         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
56191         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
56192         all uses of ieee854 long double macros and unions.
56193         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
56194         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
56195         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
56196         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
56197         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
56198         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
56199         Likewise.
56200         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
56201         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
56202         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
56203         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
56204         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
56205         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
56206         Simplify sign and nan test too.
56207         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
56208         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
56209         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
56210         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
56211         Likewise.
56212         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
56213         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
56214         Likewise.
56215         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56216         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
56217         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
56218         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
56219         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
56220         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
56222 2013-10-04  Alan Modra  <amodra@gmail.com>
56224         * stdio-common/printf_size.c (__printf_size): Don't use
56225         union ieee854_long_double in fpnum union.
56226         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
56227         signbit macro to retrieve sign from long double.
56228         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
56229         retrieve sign from long double.
56230         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
56231         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
56232         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
56233         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
56234         * math/test-misc.c (main): Don't use union ieee854_long_double.
56236 2013-10-04  Alan Modra  <amodra@gmail.com>
56238         [BZ #15680]
56239         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
56240         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
56241         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
56242         calculation.  Remove unnecessary test for denormal exponent.
56243         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
56244         Correct handling of denormals.  Avoid undefined shift behaviour.
56245         Correct normalisation of low mantissa when low double is denormal.
56246         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
56247         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
56248         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
56249         Correct normalisation of low mantissa.  Test for overflow of high
56250         mantissa and normalise.
56251         (ldbl_nearbyint): Use more readable constant for two52.
56252         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
56253         (__mpn_construct_long_double): Fix test for overflow of high
56254         mantissa and correct normalisation.  Avoid undefined shift.
56256 2013-10-04  Alan Modra  <amodra@gmail.com>
56258         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
56259         (union ibm_extended_long_double): Define as an array of ieee754_double.
56260         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
56261         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
56262         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
56263         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
56264         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
56265         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
56266         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
56267         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
56268         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
56269         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
56270         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
56272 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
56274         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
56275         page size instead of calling getpagesize.
56277         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
56278         (LOCFILE_ALIGN_MASK): Likewise.
56279         (LOCFILE_ALIGN_UP): Likewise.
56280         (LOCFILE_ALIGNED_P): Likewise.
56281         * locale/programs/ld-collate.c (collate_output): Use the new
56282         macros instead of __alignof__ (int32_t).
56283         * locale/weight.h (findidx): Likewise.
56285 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
56287         [BZ #431]
56288         * manual/string.texi: Fix strncat and wcsncat.
56290 2013-10-03  Brooks Moses  <bmoses@google.com>
56292         [BZ #15915]
56293         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
56294         * Makerules: ...here, and adjust associated comments.
56296 2013-10-02  Will Newton  <will.newton@linaro.org>
56298         * malloc/Makefile: Add tst-pvalloc.
56299         * malloc/tst-pvalloc.c: New file.
56301 2013-10-02  Will Newton  <will.newton@linaro.org>
56303         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
56304         improve test coverage.
56306 2013-10-02  Will Newton  <will.newton@linaro.org>
56308         * malloc/Makefile: Add tst-posix_memalign.
56309         * malloc/tst-posix_memalign.c: New file.
56311 2013-10-01  Eric Blake  <eblake@redhat.com>
56313         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
56314         Use __THROWNL rather than __THROW on static functions.
56316 2013-09-30  Petr Machata  <pmachata@redhat.com>
56318         * elf/elf.h (R_AARCH64_ABS16): New macro.
56319         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
56320         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
56321         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
56322         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
56323         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
56324         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
56325         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
56326         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
56327         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
56328         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
56329         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
56330         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
56331         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
56332         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
56333         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
56334         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
56335         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
56336         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
56337         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
56338         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
56339         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
56340         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
56341         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
56342         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
56343         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
56344         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
56345         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
56346         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
56347         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
56348         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
56349         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
56350         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
56351         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
56352         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
56353         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
56354         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
56355         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
56356         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
56357         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
56358         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
56359         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
56360         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
56361         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
56362         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
56363         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
56364         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
56365         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
56366         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
56367         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
56368         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
56369         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
56370         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
56371         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
56372         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
56373         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
56374         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
56375         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
56376         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
56377         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
56378         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
56379         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
56380         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
56381         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
56382         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
56383         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
56384         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
56385         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
56386         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
56387         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
56388         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
56389         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
56390         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
56391         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
56392         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
56393         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
56394         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
56395         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
56396         (R_AARCH64_TLSDESC_LDR): Likewise.
56397         (R_AARCH64_TLSDESC_ADD): Likewise.
56398         (R_AARCH64_TLSDESC_CALL): Likewise.
56400 2013-09-30  Andreas Schwab  <schwab@suse.de>
56402         [BZ #15048]
56403         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
56404         the nss database lookup.
56405         * nscd/initgrcache.c (addinitgroupsX): Likewise.
56406         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56408 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
56410         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
56412 2013-09-28  P. J. McDermott  <pj@pehjota.net>
56414         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
56415         ${Bash-specific parameter/pattern/string} parameter expansion.
56416         * sysdeps/unix/make-syscalls.sh: Likewise.
56418 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56420         * sysdeps/sh/stackguard-macros.h: New file.
56422 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
56424         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
56425         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
56426         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
56427         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
56428         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
56429         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
56431 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56433         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
56434         Fix thread ID register.
56436 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
56438         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
56439         [POSIX || UNIX98]: Require rather than permitting all symbols from
56440         <time.h>.
56441         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
56442         element of struct sched_param.
56443         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
56444         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
56445         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
56446         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
56447         constant.
56449 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
56451         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
56452         argument calculation.
56454 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
56456         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
56457         Expect macro.
56458         [POSIX] (pthread_attr_t): Do not require type.
56459         [POSIX] (pthread_cond_t): Likewise.
56460         [POSIX] (pthread_condattr_t): Likewise.
56461         [POSIX] (pthread_key_t): Likewise.
56462         [POSIX] (pthread_mutex_t): Likewise.
56463         [POSIX] (pthread_mutexattr_t): Likewise.
56464         [POSIX] (pthread_once_t): Likewise.
56465         [POSIX] (pthread_t): Likewise.
56466         [POSIX-based standards] (pthread_atfork): Expect function.
56468 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
56469             Richard Sandiford  <richard@codesourcery.com>
56471         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
56472         (swap_endianness_p): New extern variable.
56473         (set_big_endian): New inline function.
56474         (maybe_swap_uint32): Likewise.
56475         (maybe_swap_uint32_array): Likewise.
56476         (maybe_swap_uint32_obstack): Likewise.
56477         * locale/programs/locfile.c: Include <stdbool.h>.
56478         (swap_endianness_p): New variable.
56479         (add_locale_uint32): Call maybe_swap_uint32.
56480         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
56481         (write_locale_data): Call maybe_swap_uint32_array.
56482         * locale/programs/ld-collate.c (obstack_int32_grow): Call
56483         maybe_swap_uint32.
56484         (obstack_int32_grow_fast): Likewise.
56485         (output_weightwc): Call maybe_swap_uint32_obstack.
56486         (collate_output): Likewise.
56487         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
56488         (OPT_LITTLE_ENDIAN): Likewise.
56489         (options): Add --little-endian and --big-endian options.
56490         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
56491         * locale/programs/locarchive.c: Include "locfile.h".
56492         (GET): New macro.
56493         (SET): Likewise.
56494         (INC): Likewise.
56495         (create_archive): Use the new macros to access fields of
56496         structures directly mapped from or written to locale archives.
56497         (oldlocrecentcmp): Likewise.
56498         (enlarge_archive): Likewise.
56499         (insert_name): Likewise.
56500         (add_alias): Likewise.
56501         (add_locale): Likewise.
56502         (delete_locales_from_archive): Likewise.
56503         (show_archive_content): Likewise.
56504         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
56505         locale data.
56507 2013-09-24  Roland McGrath  <roland@hack.frob.com>
56509         * manual/freemanuals.texi: Updated from (newly) canonical copy at
56510         http://www.gnu.org/doc/freemanuals.texi.
56511         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
56513 2013-09-24  Will Newton  <will.newton@linaro.org>
56515         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
56516         macro.
56518 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
56520         * locale/hashval.h (compute_hashval): Interpret bytes of key as
56521         unsigned char.
56523 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
56525         * manual/threads.texi (POSIX Threads): Fix a typo.
56527 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
56529         [BZ #14547]
56530         * string/tst-strcoll-overflow.c: New test case.
56531         * string/Makefile (xtests): Add tst-strcoll-overflow.
56532         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
56533         cache if string sizes may cause integer overflow.
56535         [BZ #14547]
56536         * string/strcoll_l.c (coll_seq): New members rule, idx,
56537         save_idx and back_us.
56538         (get_next_seq_nocache): New function.
56539         (do_compare_nocache): New function.
56540         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
56541         when malloc fails.
56543 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
56545         [BZ #15754]
56546         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
56547         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
56548         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
56550         [BZ #15754]
56551         * elf/Makefile (tests): Add tst-ptrguard1.
56552         (tests-static): Add tst-ptrguard1-static.
56553         (tst-ptrguard1-ARGS): Define.
56554         (tst-ptrguard1-static-ARGS): Define.
56555         * elf/tst-ptrguard1.c: New file.
56556         * elf/tst-ptrguard1-static.c: New file.
56557         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
56558         * sysdeps/i386/stackguard-macros.h: Likewise.
56559         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
56560         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
56561         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
56562         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
56563         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
56564         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
56566 2013-09-23  Hector Marco  <hecmargi@upv.es>
56567             Ismael Ripoll  <iripoll@disca.upv.es>
56568             Carlos O'Donell  <carlos@redhat.com>
56570         [BZ #15754]
56571         * sysdeps/generic/stackguard-macros.h: Define
56572         __pointer_chk_guard_local and POINTER_CHK_GUARD.
56573         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
56574         Define __pointer_chk_guard_local.
56575         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
56576         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
56578 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
56580         [BZ #15859]
56581         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
56583 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
56585         * include/string.h (__ffs): Declare as hidden.
56586         * string/ffs.c (__ffs): Define as hidden.
56587         * sysdeps/i386/ffs.c (__ffs): Likewise.
56588         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
56589         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
56590         * sysdeps/s390/ffs.c (__ffs): Likewise.
56591         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
56593 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
56595         * NEWS: Mention malloc probes.
56597         * malloc/arena.c (new_heap): New memory_heap_new probe.
56598         (grow_heap): New memory_heap_more probe.
56599         (shrink_heap): New memory_heap_less probe.
56600         (heap_trim): New memory_heap_free probe.
56601         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
56602         (systrim): New memory_sbrk_less probe.
56603         * manual/probes.texi: Document them.
56605         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
56606         * manual/probes.texi: Document it.
56608         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
56609         (__libc_realloc): Add memory_realloc_retry probe.
56610         (__libc_memalign): Add memory_memalign_retry probe.
56611         (__libc_valloc): Add memory_valloc_retry probe.
56612         (__libc_pvalloc): Add memory_pvalloc_retry probe.
56613         (__libc_calloc): Add memory_calloc_retry probe.
56614         * manual/probes.texi: Document them.
56616         * malloc/arena.c (get_free_list): Add probe
56617         memory_arena_reuse_free_list.
56618         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
56619         and memory_arena_reuse.
56620         (arena_get2) [!PER_THREAD]: Likewise.
56621         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
56622         memory_arena_reuse_realloc.
56623         * manual/probes.texi: Document them.
56625         * malloc/malloc.c (__libc_free): Add
56626         memory_mallopt_free_dyn_thresholds probe.
56627         (__libc_mallopt): Add multiple memory_mallopt probes.
56628         * manual/probes.texi: Document them.
56630         * malloc/malloc.c: Include stap-probe.h.
56631         (__libc_mallopt): Add memory_mallopt probe.
56632         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
56633         * manual/probes.texi: New.
56634         * manual/Makefile (chapters): Add probes.
56635         * manual/threads.texi: Set next node.
56637 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
56639         [BZ #15963, #13985]
56640         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
56641         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
56642         Add `Chinese' to `nan' entry name.
56644 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
56646         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
56647         (POLYNOMIAL): Likewise.
56648         (TAYLOR_SINCOS): Likewise.
56649         (TAYLOR_SLOW): Likewise.
56650         (__sin): Use TAYLOR_SINCOS.
56651         (__cos): Likewise.
56652         (slow): Use TAYLOR_SLOW.
56653         (sloww): Likewise.
56654         (bsloww): Likewise.
56655         (csloww): Likewise.
56657 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56659         * stdlib/strtod_l.c: Fix buffer overrun.
56661 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
56663         * benchtests/Makefile (bench): Add sincos.
56664         * benchtests/bench-sincos.c: New file.
56666         * math/libm-test.inc (cos_test_data): New test inputs.
56667         (sin_test_data): Likewise.
56669         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
56670         macro.
56671         (__sin): Use it.
56672         (__cos): Likewise.
56673         (slow1): Likewise.
56674         (slow2): Likewise.
56675         (sloww1): Likewise.
56676         (sloww2): Likewise.
56677         (bsloww1): Likewise.
56678         (bsloww2): Likewise.
56679         (cslow2): Likewise.
56680         (csloww1): Likewise.
56681         (csloww2): Likewise.
56683         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
56684         function.
56685         (__sin): Use it.
56686         (__cos): Likewise.
56688         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
56689         gotos.
56690         (__cos): Likewise.
56692 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
56694         * config.h.in (HAVE_MIPS_NAN2008): New macro.
56695         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
56696         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
56697         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
56698         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
56699         * elf/cache.c (print_entry): Handle the new cache flags.
56701 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
56702             Aldy Hernandez  <aldyh@redhat.com>
56704         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
56705         Change condition to [_SOFT_FLOAT].
56706         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
56707         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
56708         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
56709         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
56710         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
56711         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
56712         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
56713         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
56714         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
56715         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
56716         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
56717         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
56718         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
56719         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
56720         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
56721         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
56722         declaration.
56724 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
56726         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
56727         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
56728         (__longjmp): Use LOAD_GP to load saved GPRs.
56729         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
56730         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
56731         (__sigsetjmp): Use SAVE_GP to save GPRs.
56733         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
56734         Do not append -msoft-float.
56735         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
56737 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
56739         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
56741 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
56743         [BZ #15966]
56744         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
56745         (_FPU_GETCW): Use initial "__" on variable and field names but not
56746         on macro parameter name.
56747         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
56748         parentheses around reference to macro parameter.
56750 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
56752         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
56753         prototype.
56754         (ctype_startup): Use uint32_t in cast and sizeof for
56755         ctype->charnames.
56757 2013-09-11  Jia Liu  <proljc@gmail.com>
56759         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
56760         __daddr_t_defined.
56761         [__FreeBSD__]: Likewise.
56763 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
56765         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
56766         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
56767         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
56768         (strchr): Remove __strchr_sse42 ifunc selection.
56769         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
56770         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
56772 2013-09-11  Will Newton  <will.newton@linaro.org>
56774         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
56775         parameter to RES. Remove hardcoded 1000 value.
56776         * benchtests/bench-skeleton.c (main): Pass RES parameter
56777         to TIMING_INIT and multiply result by 1000.
56779 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56781         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56783 2013-09-11  Andreas Schwab  <schwab@suse.de>
56785         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
56786         if not defined.
56787         (O_TMPFILE) [__USE_GNU]: Define.
56788         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
56789         Define.
56791 2013-09-11  Will Newton  <will.newton@linaro.org>
56793         [BZ #15857]
56794         * malloc/malloc.c (__libc_memalign): Check the value of bytes
56795         does not overflow.
56797 2013-09-11  Will Newton  <will.newton@linaro.org>
56799         [BZ #15856]
56800         * malloc/malloc.c (__libc_valloc): Check the value of bytes
56801         does not overflow.
56803 2013-09-11  Will Newton  <will.newton@linaro.org>
56805         [BZ #15855]
56806         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
56807         does not overflow.
56809 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
56811         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
56812         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56813         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56814         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56815         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56817 2013-09-10  Allan McRae  <allan@archlinux.org>
56819         [BZ #15748]
56820         * manual/arith.texi (Parsing of Floats): Clarify
56821         cross-reference.
56823         [BZ #15849]
56824         * manual/install.texi (Running make install): Mention
56825         --enable-pt-chown.
56826         * INSTALL: Regenerated.
56828 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
56830         * csu/init-first.c (_init): Remove the !SHARED condition around
56831         FPU control word initialization.
56832         * elf/dl-support.c (_dl_fpu_control): New variable.
56833         (_dl_aux_init) <AT_FPUCW>: Initialize it.
56834         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
56835         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
56836         * math/test-fpucw-static.c: New file.
56837         * math/test-fpucw-ieee.c: New file.
56838         * math/test-fpucw-ieee-static.c: New file.
56839         * math/Makefile (tests): Add `test-fpucw-ieee' and
56840         `$(tests-static)'.
56841         (tests-static): New variable.
56842         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
56843         dependency to...
56844         [($(build-shared),yes)]
56845         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
56846         ... this.
56847         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
56848         New dependency.
56850 2013-09-09  Allan McRae  <allan@archlinux.org>
56852         [BZ #15939]
56853         * manual/string.texi (Collation Functions): Fix typo in
56854         strcoll example.
56855         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
56857         [BZ #15893]
56858         * stdlib/isomac.c (get_null_defines): Fix memory leak.
56860         [BZ #15892]
56861         * libio/memstream.c (open_memstream): Fix memory leak.
56862         * libio/wmemstream.c (open_wmemstream): Likewise.
56864         [BZ #15895]
56865         * nscd/netgroupcache.c: Fix nesting of ifdefs.
56867 2013-09-09  Will Newton  <will.newton@linaro.org>
56869         * malloc/Makefile: Add tst-realloc to tests.
56870         * malloc/tst-realloc.c: New file.
56872 2013-09-09  Allan McRae  <allan@archlinux.org>
56874         [BZ #15844]
56875         * COPYING: Update from GNU website to fix FSF address.
56876         * COPYING.LIB: Likewise.
56878 2013-09-06  David S. Miller  <davem@davemloft.net>
56880         * po/zh_TW.po: Update Chinese (traditional) translation from
56881         translation project.
56883 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
56884             Joseph Myers  <joseph@codesourcery.com>
56886         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
56887         "localeinfo.h".
56888         (obstack_chunk_alloc): New macro.
56889         (obstack_chunk_free): Likewise.
56890         (record_offset): New function.
56891         (init_locale_data): Likewise.
56892         (align_locale_data): Likewise.
56893         (add_locale_empty): Likewise.
56894         (add_locale_raw_data): Likewise.
56895         (add_locale_raw_obstack): Likewise.
56896         (add_locale_string): Likewise.
56897         (add_locale_wstring): Likewise.
56898         (add_locale_uint32): Likewise.
56899         (add_locale_uint32_array): Likewise.
56900         (add_locale_char): Likewise.
56901         (start_locale_structure): Likewise.
56902         (end_locale_structure): Likewise.
56903         (start_locale_prelude): Likewise.
56904         (end_locale_prelude): Likewise.
56905         (write_locale_data): Take locale_file structure rather than an
56906         iovec.
56907         * locale/programs/locfile.h: Include "obstack.h".
56908         (struct locale_file): Change to store locale file contents instead
56909         of header.
56910         (init_locale_data): New prototype.
56911         (align_locale_data): Likewise.
56912         (add_locale_empty): Likewise.
56913         (add_locale_raw_data): Likewise.
56914         (add_locale_raw_obstack): Likewise.
56915         (add_locale_string): Likewise.
56916         (add_locale_wstring): Likewise.
56917         (add_locale_uint32): Likewise.
56918         (add_locale_uint32_array): Likewise.
56919         (add_locale_char): Likewise.
56920         (start_locale_structure): Likewise.
56921         (end_locale_structure): Likewise.
56922         (start_locale_prelude): Likewise.
56923         (end_locale_prelude): Likewise.
56924         (write_locale_data): Update prototype.
56925         * locale/programs/3level.h (struct TABLE): Remove result field.
56926         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
56927         Use new locale_file interface.
56928         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
56929         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
56930         * locale/programs/ld-address.c (address_output): Use new
56931         locale_file interface.
56932         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
56933         NO_ADD_LOCALE.
56934         (collate_finish): Don't call collseq_table_finalize.
56935         (collate_output): Use new locale_file interface.
56936         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
56937         in file.
56938         (NO_FINALIZE): Change to NO_ADD_LOCALE.
56939         (TABLE): Move defines earlier in file.
56940         (ELEMENT): Likewise.
56941         (DEFAULT): Likewise.
56942         (wctrans_table_add): Move macro and inline function earlier in
56943         file.
56944         (struct wctype_table): Move type earlier in file.
56945         (add_locale_wctype_table): New static prototype.
56946         (struct locale_ctype_t): Use logical types instead of struct iovec
56947         pointers for members.
56948         (ctype_output): Use new locale_file interface.
56949         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
56950         new locale_file interface.
56951         (allocate_arrays): Update for use of new locale_file interface.
56952         * locale/programs/ld-identification.c (identification_output): Use
56953         new locale_file interface.
56954         * locale/programs/ld-measurement.c (measurement_output): Likewise.
56955         * locale/programs/ld-messages.c (messages_output): Likewise.
56956         * locale/programs/ld-monetary.c (monetary_output): Likewise.
56957         * locale/programs/ld-name.c (name_output): Likewise.
56958         * locale/programs/ld-numeric.c (numeric_output): Likewise.
56959         * locale/programs/ld-paper.c (paper_output): Likewise.
56960         * locale/programs/ld-telephone.c (telephone_output): Likewise.
56961         * locale/programs/ld-time.c (time_output): Likewise.
56963 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56965         * benchtests/Makefile: Add memrchr benchmark.
56966         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
56967         benchmark as memrchr.
56968         * benchtests/bench-memrchr-ifunc.c: New file.
56969         * benchtests/bench-memrchr.c: New file.
56971 2013-09-06   Will Newton  <will.newton@linaro.org>
56973         * benchtests/Makefile (string-bench): Add memcpy.
56975 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
56976             Cong Wang  <amwang@redhat.com>
56978         [BZ #15850]
56979         * sysdeps/unix/sysv/linux/bits/in.h
56980         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
56981         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
56982         before __USE_KERNEL_IPV6_DEFS uses.
56983         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
56984         IPPROTO_BEETPH.
56985         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
56986         sockaddr_in6, or ipv6_mreq.
56988 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56990         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
56991         memory access for final bytes in some large inputs.
56992         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
56994 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56996         * string/test-memrchr.c: New file.
56997         * string/test-memrchr-ifunc.c: New file.
56998         * string/Makefile: Add new memrchr testcase.
57000 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
57002         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
57003         fanotify_init returns EPERM.
57005 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
57007         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
57008         errors.
57009         (top level): Treat second token from macro or constant entries for
57010         allowed headers as allowed.
57011         * include/complex.h: Condition internal declarations on
57012         [!_ISOMAC].
57013         * include/fenv.h: Condition include of <stdbool.h> and internal
57014         declarations on [!_ISOMAC].
57016 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
57018         [BZ #15923]
57019         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
57021 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
57023         * configure.in (--enable-versioning): Remove configure option.
57024         (libc_cv_asm_symver_directive): Remove configure test.
57025         (libc_cv_ld_version_script_option): Likewise.
57026         (VERSIONING): Remove variable and AC_SUBST.
57027         (DO_VERSIONING): Remove AC_DEFINE.
57028         * configure: Regenerated.
57029         * config.h.in (DO_VERSIONING): Remove macro.
57030         * Makerules [$(versioning) = yes]: Change conditionals to
57031         [$(build-shared) = yes].
57032         * config.make.in (versioning): Remove variable.
57033         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
57034         [$(build-shared) = yes].
57035         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
57036         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
57037         * elf/Makefile [$(versioning) = yes]: Change conditionals to
57038         [$(build-shared) = yes].
57039         * extra-lib.mk [$(versioning) = yes]: Likewise.
57040         * hurd/Makefile [$(versioning) = yes]: Likewise.
57041         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
57042         [SHARED].
57043         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
57044         [SHARED].
57045         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
57046         [SHARED && !NO_HIDDEN].
57047         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
57048         [SHARED].
57049         [SHARED && DO_VERSIONING]: Likewise..
57050         * libio/Makefile [$(versioning) = yes]: Change conditionals to
57051         [$(build-shared) = yes].
57052         * manual/install.texi (--disable-versioning): Remove
57053         documentation.
57054         * INSTALL: Regenerated.
57055         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
57056         to [SHARED].
57057         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
57058         [$(build-shared) = yes].
57059         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
57060         * sysdeps/i386/i686/multiarch/strstr-c.c
57061         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
57062         [SHARED && !NO_HIDDEN].
57063         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
57064         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
57065         * sysdeps/powerpc/powerpc32/dl-machine.c
57066         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
57067         * sysdeps/powerpc/powerpc32/sysdep.h
57068         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
57069         to [SHARED && PIC && !NO_HIDDEN].
57070         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
57071         conditional to [SHARED].
57073 2013-09-04   Will Newton  <will.newton@linaro.org>
57075         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
57076         * benchtests/bench-string.h: Include bench-timing.h instead
57077         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
57078         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
57079         call to HP_TIMING_DIFF_INIT.
57080         * benchtests/bench-memccpy.c: Use bench-timing.h macros
57081         instead of hp-timing.h macros.
57082         * benchtests/bench-memchr.c: Likewise.
57083         * benchtests/bench-memcmp.c: Likewise.
57084         * benchtests/bench-memcpy.c: Likewise.
57085         * benchtests/bench-memmem.c: Likewise.
57086         * benchtests/bench-memmove.c: Likewise.
57087         * benchtests/bench-memset.c: Likewise.
57088         * benchtests/bench-rawmemchr.c: Likewise.
57089         * benchtests/bench-strcasecmp.c: Likewise.
57090         * benchtests/bench-strcasestr.c: Likewise.
57091         * benchtests/bench-strcat.c: Likewise.
57092         * benchtests/bench-strchr.c: Likewise.
57093         * benchtests/bench-strcmp.c: Likewise.
57094         * benchtests/bench-strcpy.c: Likewise.
57095         * benchtests/bench-strcpy_chk.c: Likewise.
57096         * benchtests/bench-strlen.c: Likewise.
57097         * benchtests/bench-strncasecmp.c: Likewise.
57098         * benchtests/bench-strncat.c: Likewise.
57099         * benchtests/bench-strncmp.c: Likewise.
57100         * benchtests/bench-strncpy.c: Likewise.
57101         * benchtests/bench-strnlen.c: Likewise.
57102         * benchtests/bench-strpbrk.c: Likewise.
57103         * benchtests/bench-strrchr.c: Likewise.
57104         * benchtests/bench-strspn.c: Likewise.
57105         * benchtests/bench-strstr.c: Likewise.
57107 2013-09-04  Will Newton  <will.newton@linaro.org>
57109         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
57111 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
57113         [BZ #15427]
57114         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
57115         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
57116         * math/libm-test.inc (lgamma_test_data): Add more tests.
57117         * sysdeps/i386/fpu/libm-test-ulps: Update.
57118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57120 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
57122         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
57123         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
57124         Add ifunc.
57125         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
57126         Add strcmp-sse2-unaligned
57127         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
57129 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
57131         * Versions.def (libc): Add GLIBC_2.19.
57133 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
57135         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
57136         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
57138 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
57140         [BZ #14155]
57141         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
57142         intermediate calculations in recurrence.
57143         (__ieee754_ynf): Likewise.
57144         * math/libm-test.inc (jn_test_data): Do not allow spurious
57145         underflow exception.  Add more tests.
57146         (yn_test_data): Add more tests.
57147         * sysdeps/i386/fpu/libm-test-ulps: Update.
57148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57150 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
57152         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
57154 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
57156         * csu/init-first.c: Fix then/than typos.
57157         * locale/programs/ld-collate.c: Likewise.
57158         * locale/programs/linereader.h: Likewise.
57159         * manual/charset.texi: Likewise.
57160         * manual/filesys.texi: Likewise.
57161         * manual/stdio.texi: Likewise.
57162         * manual/string.texi: Likewise.
57163         * stdlib/fmtmsg.c: Likewise.
57164         * sysdeps/i386/stpncpy.S: Likewise.
57165         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
57166         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
57167         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
57168         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
57170 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
57172         * elf/dl-open.c: Fix typos.
57173         * iconvdata/gbbig5.c: Likewise.
57174         * iconvdata/iso-2022-jp.c: Likewise.
57175         * iconv/gconv_int.h: Likewise.
57176         * iconv/loop.c: Likewise.
57177         * nis/rpcsvc/nis.h: Likewise.
57178         * resolv/ns_name.c: Likewise.
57179         * stdio-common/vfscanf.c: Likewise.
57180         * streams/stropts.h: Likewise.
57181         * sunrpc/rpc_thread.c: Likewise.
57182         * sysdeps/i386/strpbrk.S: Likewise.
57183         * sysdeps/ieee754/k_standard.c: Likewise.
57184         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
57185         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
57186         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
57187         * sysdeps/mach/hurd/profil.c: Likewise.
57188         * sysdeps/s390/dl-procinfo.h: Likewise.
57189         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
57190         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
57191         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
57192         * sysdeps/x86_64/dl-trampoline.S: Likewise.
57193         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
57195 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
57197         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
57198         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
57200 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
57202         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
57203         aix specific files.
57204         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
57205         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
57206         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
57207         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
57208         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
57209         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
57210         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
57211         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
57213 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
57214             Roland McGrath  <roland@hack.frob.com>
57216         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
57217         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
57219 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57221         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
57222         __executable_start symbol instead of _start.
57224 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
57226         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
57227         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
57228         Move macros to...
57229         * sysdeps/gnu/ldsodefs.h: ... this new file.
57231         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
57232         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
57233         instead of ELFOSABI_LINUX.
57235         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
57236         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
57237         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
57238         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
57239         Likewise.
57240         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
57241         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
57242         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
57243         Likewise.
57244         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
57245         (ibm_extended_long_double): Add ieee_nan member.
57246         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
57247         (do_test): New function.
57249         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
57250         TEST_TRUNC.
57251         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
57252         functions, renamed from truncdfsf_test, trunctfsf_test,
57253         trunctfdf_test.
57254         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
57255         functions.
57256         (do_test): Run all these.
57258 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
57260         * argp/argp-help.c: Fix typos.
57261         * argp/argp-parse.c: Likewise.
57262         * debug/backtracesyms.c: Likewise.
57263         * elf/elf.h: Likewise.
57264         * malloc/malloc.c: Likewise.
57265         * nis/nis_print.c: Likewise.
57266         * resolv/res_comp.c: Likewise.
57267         * stdlib/stdlib.h: Likewise.
57268         * sunrpc/clnt_tcp.c: Likewise.
57269         * sunrpc/clnt_udp.c: Likewise.
57270         * sunrpc/clnt_unix.c: Likewise.
57271         * sysdeps/unix/bsd/ptsname.c: Likewise.
57272         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
57273         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
57274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
57275         Likewise.
57276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
57277         Likewise.
57278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
57279         Likewise.
57280         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
57282 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57284         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
57285         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57287 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
57289         [BZ #15897]
57290         * dlfcn/Makefile (tests): Add bug-dl-leaf.
57291         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
57292         ($(objpfx)bug-dl-leaf): New rule.
57293         ($(objpfx)bug-dl-leaf.so): Likewise.
57294         ($(objpfx)bug-dl-leaf.out): Likewise.
57295         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
57296         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
57297         * dlfcn/bug-dl-leaf.c: New test.
57298         * dlfcn/bug-dl-leaf-lib.c: Likewise.
57299         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
57300         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
57301         (dlclose): Likewise.
57302         (dlmopen): Likewise.
57304 2013-08-27  Roland McGrath  <roland@hack.frob.com>
57306         * include/netdb.h [!_ISOMAC]:
57307         Don't include <tls.h>.
57308         (h_errno, __libc_h_errno): Move declaration and macros out of
57309         [_LIBC_REENTRANT].
57311         * include/resolv.h [_RESOLV_H_]:
57312         Don't include <tls.h>.
57313         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
57314         * resolv/res_libc.c: Don't include <tls.h>.
57315         (_res): Use __attribute__ ((nocommon)) in place of
57316         __attribute__ ((section (".bss"))).
57318         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
57319         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
57321         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
57323         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
57324         only under [SIOCGIFCONF && SIOCGIFNETMASK].
57326         * resolv/res_mkquery.c: Include <sys/time.h>.
57328         * inet/ifreq.c: Moved to ...
57329         * sysdeps/unix/ifreq.c: ... here.
57330         * inet/ifreq.c: New file, true stub version.
57332         * socket/sa_len.c: New file.
57333         * socket/Makefile (aux): Add it.
57334         * sysdeps/unix/sysv/linux/Makefile
57335         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
57336         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
57337         and #include <socket/sa_len.c>.
57338         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
57339         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
57341         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
57342         * bits/socket.h: ... here.
57344         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
57345         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
57346         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
57348 2013-08-27  Andreas Schwab  <schwab@suse.de>
57350         [BZ #15736]
57351         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
57352         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
57353         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
57354         * string/test-strcasecmp.c (test_main): Run tests in several
57355         locales.
57356         * string/test-strncasecmp.c (test_main): Likewise.
57358         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
57359         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
57360         to __strcasecmp_nonascii and __strncasecmp_nonascii.
57361         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
57362         (__strncasecmp_ssse3) [PIC]: Likewise.
57364 2013-08-26  Roland McGrath  <roland@hack.frob.com>
57366         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
57368         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
57369         instead of explicitly declaring xdecrypt.
57370         * nis/nss_nis/nis-publickey.c: Likewise.
57372 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57374         [BZ #15890]
57375         * nscd/aicache.c: Include res_hconf.h.
57376         (addhstaiX): Initialize res_hconf.
57378 2013-08-26  Andreas Schwab  <schwab@suse.de>
57380         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
57381         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
57383 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57385         * nscd/aicache.c (addhstaiX): Fix indentation.
57387 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
57389         * configure.ac: Quote $build_pt_chown test.
57390         * configure: Regenerated.
57392 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
57394         [BZ #15532]
57395         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
57396         * math/s_cexpf.c (__cexpf): Likewise.
57397         * math/s_cexpl.c (__cexpl): Likewise.
57398         * math/libm-test.inc (cexp_test_data): Correct expected return
57399         value for NaN + i0.  Add another test.
57401 2013-08-22  David S. Miller  <davem@davemloft.net>
57403         * po/ca.po: Update Catalan translation from translation project.
57404         * po/uk.po: Add Ukrainian translations from translation project.
57406 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
57408         [BZ #15797]
57409         * math/s_fdim.c (__fdim): Check for infinite arguments if result
57410         is infinite, not alongside NaN test.
57411         * math/s_fdimf.c (__fdimf): Likewise.
57412         * math/s_fdiml.c (__fdiml): Likewise.
57413         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
57414         errno is unchanged.
57416 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
57418         * argp/argp-help.c: Fix typos.
57419         * crypt/speeds.c: Likewise.
57420         * csu/check_fds.c: Likewise.
57421         * elf/dl-load.c: Likewise.
57422         * elf/dl-open.c: Likewise.
57423         * elf/reldep3.c: Likewise.
57424         * elf/reldep.c: Likewise.
57425         * elf/sprof.c: Likewise.
57426         * iconv/iconv_charmap.c: Likewise.
57427         * iconv/skeleton.c: Likewise.
57428         * iconv/strtab.c: Likewise.
57429         * io/lockf64.c: Likewise.
57430         * libio/libioP.h: Likewise.
57431         * resolv/gai_notify.c: Likewise.
57432         * resolv/ns_name.c: Likewise.
57433         * resolv/ns_samedomain.c: Likewise.
57434         * resolv/res_send.c: Likewise.
57435         * stdlib/random.c: Likewise.
57436         * sunrpc/rpc/xdr.h: Likewise.
57437         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
57438         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
57439         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
57440         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
57441         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
57442         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
57443         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
57444         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
57445         * sysdeps/mach/hurd/check_fds.c: Likewise.
57446         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
57447         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
57448         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
57449         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
57450         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
57451         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
57452         * sysdeps/pthread/aio_notify.c: Likewise.
57453         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
57454         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
57455         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
57456         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
57457         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
57459 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57461         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
57462         version if bit_Slow_SSE4_2 is set.
57463         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57464         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
57466 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57468         [BZ #15867]
57469         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
57470         trampoline stack frame information.
57471         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
57472         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
57473         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
57474         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
57475         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
57476         * sysdeps/unix/sysv/linux/powerpc/init-first.c
57477         (_libc_vdso_platform_setup): Initialize the signal trampolines.
57478         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
57479         sa_flags value.
57480         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
57481         interrupting a syscall and set with option SA_SIGINFO.
57483 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
57485         [BZ #15531]
57486         * math/s_cproj.c (__cproj): Only return an infinity if one part of
57487         argument is infinite.
57488         * math/s_cprojf.c (__cprojf): Likewise.
57489         * math/s_cprojl.c (__cprojl): Likewise.
57490         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
57491         * math/libm-test.inc (cproj_test_data): Add more tests.
57493         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
57495         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
57496         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
57497         size.  Use __ffs to determine corresponding shift.
57499 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
57500             Roland McGrath  <roland@hack.frob.com>
57502         * Makefile (INSTALL): Remove trailing blank lines from output of
57503         makeinfo.
57505 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57507         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
57508         Align 32 bit compat elf_greg to 8 bytes.
57510 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
57512         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
57514 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
57516         * string/strcoll_l.c (coll_seq): New structure.
57517         (get_next_seq_cached): New function.
57518         (get_next_seq): New function.
57519         (do_compare): New function.
57520         (STRCOLL): Use GNU style definition.  Simplify implementation
57521         by using get_next_seq, get_next_seq_cached and do_compare.
57523 2013-08-16  Florian Weimer  <fweimer@redhat.com>
57525         [BZ #14699]
57526         CVE-2013-4237
57527         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
57528         member.
57529         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
57530         member.
57531         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
57532         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
57533         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
57534         conditional.
57535         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
57536         GETDENTS_64BIT_ALIGNED.
57537         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
57538         * manual/filesys.texi (Reading/Closing Directory): Document
57539         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
57540         strongly.
57541         * manual/conf.texi (Limits for Files): Add portability note to
57542         NAME_MAX, PATH_MAX.
57543         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
57545 2013-08-13  Andreas Schwab  <schwab@suse.de>
57547         [BZ #15749]
57548         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
57549         of fabs.
57550         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
57551         LDBL_MAX_EXP >= 16384]: Add tests for it.
57553 2013-08-12  David S. Miller  <davem@davemloft.net>
57555         * version.h (RELEASE): Set to "development".
57556         (VERSION): Set to "2.18.90".
57557         * NEWS: Add 2.19 section.
57559 2013-08-03  David S. Miller  <davem@davemloft.net>
57561         * po/ko.po: Update Korean translation from translation project.
57563 2013-08-01  David S. Miller  <davem@davemloft.net>
57565         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
57566         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
57567         Bilka.
57569 2013-07-30  David S. Miller  <davem@davemloft.net>
57571         * po/fr.po: Update French translation from translation project.
57573 2013-07-28  David S. Miller  <davem@davemloft.net>
57575         * po/cs.po: Update Czech translation from translation project.
57577         * po/sv.po: Update Swedish translation from translation project.
57579 2013-07-27  David S. Miller  <davem@davemloft.net>
57581         * po/eo.po: Update Esperanto translation from translation project.
57583         * po/vi.po: Update Vietnamese translation from translation project.
57585         * po/de.po: Update German translation from translation project.
57587 2013-07-26  David S. Miller  <davem@davemloft.net>
57589         * po/bg.po: Update Bulgarian translation from translation project.
57591         * po/nl.po: Update Dutch translation from translation project.
57592         * po/pl.po: Update Polish translation from translation project.
57593         * po/ru.po: Update Russian translation from translation project.
57595 2013-07-24  David S. Miller  <davem@davemloft.net>
57597         * po/libc.pot: Update.
57599 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57601         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
57602         variable page size.
57603         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
57604         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
57605         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
57607 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57609         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
57611 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57612             Andreas Schwab  <schwab@suse.de>
57613             Roland McGrath  <roland@hack.frob.com>
57614             Joseph Myers  <joseph@codesourcery.com>
57615             Carlos O'Donell  <carlos@redhat.com>
57617         [BZ #15755]
57618         * config.h.in: Define HAVE_PT_CHOWN.
57619         * config.make.in (build-pt-chown): New variable.
57620         * configure.in (--enable-pt_chown): New configure option.
57621         * configure: Regenerate.
57622         * login/Makefile: Include Makeconfig.  Build pt_chown only if
57623         build-pt-chown is enabled.
57624         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
57625         pt_chown to fix pty ownership.
57626         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
57627         CLOSE_ALL_FDS.
57628         * manual/install.texi (Configuring and compiling): Mention
57629         --enable-pt_chown. Add @findex for grantpt.
57630         * INSTALL: Regenerate.
57632 2013-07-20  David S. Miller  <davem@davemloft.net>
57634         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
57635         difference between 32-bit and 64-bit.
57637 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
57639         [BZ #15711]
57640         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
57641         Avoid system header dependency with -ffreestanding.
57642         ($(objpfx)bits/syscall%d): Likewise.
57644 2013-07-13  David S. Miller  <davem@davemloft.net>
57646         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
57647         underflows from atanl/atan2l due to bug 15319.
57648         (casinh_test_data): Likewise.
57650 2013-07-07  David S. Miller  <davem@davemloft.net>
57652         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
57654 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
57656         * sysdeps/i386/fpu/libm-test-ulps: Update.
57657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57659 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57661         * configure.in (--enable-lock-elision): Fix message text.
57662         * INSTALL: Regenerate.
57663         * configure: Regenerate.
57665 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57667         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57669 2013-07-03  Andreas Jaeger  <aj@suse.de>
57671         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
57672         define.
57673         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
57674         (ptrace_peeksiginfo_args): Add.
57675         (__ptrace_peeksiginfo_flags): Add.
57676         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
57677         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
57678         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
57680 2013-07-03  Allan McRae  <allan@archlinux.org>
57682         * sysdeps/i386/fpu/libm-test-ulps: Update.
57684 2013-07-02  David S. Miller  <davem@davemloft.net>
57686         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57688 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
57690         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57692 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
57694         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
57695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57697 2013-07-02  Andi Kleen <ak@linux.intel.com>
57699         * config.h.in (ENABLE_LOCK_ELISION): Add.
57700         * configure.in (--enable-lock-elision): Add option.
57701         * manual/install.texi: Document --enable lock elision.
57702         * configure: Regenerate
57703         * INSTALL: Regenerate.
57705 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
57707         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
57708         SSE4.2 strcasecmp for libc.a.
57709         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
57711 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
57713         [BZ #13304]
57714         * soft-fp/op-common.h (_FP_FMA): New macro.
57715         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
57716         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
57717         (_FP_MUL_MEAT_1_imm): ... here.
57718         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
57719         (_FP_MUL_MEAT_1_wide): ... here.
57720         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
57721         (_FP_MUL_MEAT_1_hard): ... here.
57722         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
57723         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
57724         (_FP_MUL_MEAT_2_wide): ... here.
57725         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
57726         (_FP_MUL_MEAT_2_wide_3mul): ... here.
57727         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
57728         (_FP_MUL_MEAT_2_gmp): ... here.
57729         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
57730         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
57731         (_FP_MUL_MEAT_4_wide): ... here.
57732         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
57733         (_FP_MUL_MEAT_4_gmp): ... here.
57734         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
57735         (_FP_WFRACBITS_DW_S): Likewise.
57736         (_FP_WFRACXBITS_DW_S): Likewise.
57737         (_FP_HIGHBIT_DW_S): Likewise.
57738         (FP_FMA_S): Likewise.
57739         (_FP_FRAC_HIGH_DW_S): Likewise.
57740         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
57741         (_FP_WFRACBITS_DW_D): Likewise.
57742         (_FP_WFRACXBITS_DW_D): Likewise.
57743         (_FP_HIGHBIT_DW_D): Likewise.
57744         (FP_FMA_D): Likewise.
57745         (_FP_FRAC_HIGH_DW_D): Likewise.
57746         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
57747         (_FP_WFRACBITS_DW_E): Likewise.
57748         (_FP_WFRACXBITS_DW_E): Likewise.
57749         (_FP_HIGHBIT_DW_E): Likewise.
57750         (FP_FMA_E): Likewise.
57751         (_FP_FRAC_HIGH_DW_E): Likewise.
57752         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
57753         (_FP_WFRACBITS_DW_Q): Likewise.
57754         (_FP_WFRACXBITS_DW_Q): Likewise.
57755         (_FP_HIGHBIT_DW_Q): Likewise.
57756         (FP_FMA_Q): Likewise.
57757         (_FP_FRAC_HIGH_DW_Q): Likewise.
57758         * soft-fp/fmasf4.c: New file.
57759         * soft-fp/fmadf4.c: Likewise.
57760         * soft-fp/fmatf4.c: Likewise.
57762 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57764         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
57765         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
57766         Silvermont.
57767         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
57768         macro.
57769         (index_Slow_SSE4_2): Likewise.
57770         (index_Prefer_PMINUB_for_stringop): Likewise.
57771         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
57772         bit_Slow_SSE4_2 is set.
57773         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
57774         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57776 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57778         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
57779         rtld_global._dl_hwcap2.
57780         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
57781         POWER8.
57782         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
57783         POWER8 feature descriptions defined in _dl_hwcap2.
57784         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
57785         string handling for POWER8 feature bits.
57786         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
57787         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
57788         _dl_powerpc_cap_flags.
57789         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
57790         * sysdeps/powerpc/rtld-global-offsets.sym
57791         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
57792         _dl_hwcap2 in the rtld_global_ro structure.
57794 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57796         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
57797         hardware capabilities in support of AT_HWCAP2.
57798         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
57799         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
57800         GLRO(dl_hwcap2).
57801         (_dl_show_auxv): Add support for calling _dl_procinfo to display
57802         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
57803         explicitly the unknown a_type display mechanism is used.
57804         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
57805         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
57806         struct member.
57807         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
57808         to macro prototype for AT_HWCAP2 support.
57809         * sysdeps/i386/dl-procinfo.h: Likewise.
57810         * sysdeps/s390/dl-procinfo.h: Likewise.
57811         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
57812         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
57813         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
57814         return -1 for unknown a_type display fallback.
57815         * sysdeps/sparc/dl-procinfo.h: Likewise.
57816         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
57817         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
57819 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
57821         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
57822         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
57824 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
57826         [BZ #12492]
57827         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
57828         mprotect making __stack_prot writable.
57830 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
57831             Joseph Myers  <joseph@codesourcery.com>
57833         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
57834         as being properly aligned.
57836 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
57838         * dlfcn/modstatic5.c: New file.
57839         * dlfcn/tststatic5.c: New file.
57840         * dlfcn/Makefile (tests): Add tststatic5.
57841         (tests-static): Likewise.
57842         (modules-names): Add modstatic5.
57843         (tststatic5-ENV): New variable.
57844         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
57846         [BZ #15022]
57847         * elf/dl-support.c (_dl_main_map): New variable.
57848         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
57849         (_dl_nns, _dl_load_adds): Set to 1.
57850         (_dl_initial_searchlist): Refer to _dl_main_map.
57851         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
57852         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
57853         call to _dl_get_origin.
57854         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
57855         around call_map.
57856         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
57857         * dlfcn/modstatic3.c: New file.
57858         * dlfcn/tststatic3.c: New file.
57859         * dlfcn/tststatic4.c: New file.
57860         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
57861         (tests-static): Likewise.
57862         (modules-names): Add modstatic3.
57863         (tststatic3-ENV, tststatic4-ENV): New variables.
57864         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
57865         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
57867 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
57869         * configure.in (CC): Require GCC version 4.4 or later.
57870         * configure: Regenerated.
57871         * manual/install.texi (Tools for Compilation): Update GCC version
57872         requirement.
57873         * INSTALL: Regenerated.
57875 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57877         [BZ #15674]
57878         * string/test-memcmp.c (check2): New.
57879         (main): Call check2.
57881         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
57883 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
57885         [BZ #15022]
57886         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
57887         over to...
57888         (dl_open_worker) [!SHARED]: ... here.
57890 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57892         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
57894 2013-06-25  Richard Henderson  <rth@redhat.com>
57896         * locale/programs/locarchive.c: Include <libc-internal.h>
57898 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
57900         * manual/texinfo.tex: Update to version 2013-06-21.17, with
57901         trailing whitespace removed.
57903 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
57905         [BZ #10283]
57906         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
57907         * locale/programs/locarchive.c: Include libc-mmap.h.
57908         (prepare_address_space): Take two new outputs (the mmap base and len).
57909         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
57910         values.
57911         (create_archive): Declare new mmap base and len values for
57912         prepare_address_space, and store the result in ah.
57913         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
57914         (enlarge_archive): If ah->mmap_base is not NULL, use that and
57915         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
57916         Declare new mmap base and len values for
57917         prepare_address_space, and store the result in new_ah.
57918         (open_archive): Declare new mmap base and len values for
57919         prepare_address_space, and store the result in ah.
57920         (close_archive): If ah->mmap_base is not NULL, use that and
57921         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
57922         * sysdeps/generic/libc-mmap.h: New file.
57924 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
57926         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
57927         (ALIGN_UP): Likewise.
57928         (PTR_ALIGN_DOWN): Likewise.
57929         (PTR_ALIGN_UP): Likewise.
57931 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57933         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
57934         entry mapped to PPC_PLATFORM_POWER8.
57935         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
57936         POWER8.
57937         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
57938         (_dl_string_platform): Add case for exporting platform position for
57939         POWER8.
57940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
57941         search path to sysdeps/powerpc/powerpc32/power8 directory.
57942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
57943         search path to sysdeps/powerpc/powerpc64/power8 directory.
57944         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
57945         power7 directories.
57946         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
57947         power7 directories.
57949 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
57951         * INSTALL: Regenerate.
57953         * nscd/connections.c (nscd_init): Fix comment.
57955 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
57957         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
57959         [BZ #15667]
57960         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
57961         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
57963 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
57965         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
57966         DL_DST_REQ_STATIC.
57967         (DL_DST_REQ_STATIC): Remove macro.
57969 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
57971         [BZ #7006]
57972         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
57973         with a shift of 0 bits.
57975 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
57977         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
57978         $(tststatic-ENV).
57980 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57982         [BZ #15655]
57983         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
57985 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57987         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
57988         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
57989         accepts -fno-tree-loop-distribute-patterns.
57990         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
57991         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
57992         recursive call.
57993         * string/memset.c (memset): Likewise.
57994         * string/test-memmove.c (simple_memmove): Disable loop transformation
57995         to library calls.
57996         * string/test-memset.c (simple_memset): Likewise.
57997         * benchtests/bench-memmove.c (simple_memmove): Likewise.
57998         * benchtests/bench-memset.c (simple_memset): Likewise.
57999         * configure: Regenerated.
58001 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
58003         * math/test-misc.c (main): Ignore fesetround failure when failures
58004         of subsequent rounding tests would be ignored.
58006         [BZ #15654]
58007         * math/fedisblxcpt.c (fedisableexcept): Return 0.
58008         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
58009         * math/fegetenv.c (__fegetenv): Return 0.
58010         * math/fegetexcept.c (fegetexcept): Return 0.
58011         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
58012         FE_TONEAREST.
58013         * math/feholdexcpt.c (feholdexcept): Return 0.
58014         * math/fesetenv.c (__fesetenv): Return 0.
58015         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
58016         argument FE_TONEAREST.
58017         * math/feupdateenv.c (__feupdateenv): Return 0.
58018         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
58020 2013-06-18  Roland McGrath  <roland@hack.frob.com>
58022         * elf/rtld-Rules (rtld-compile-command.S): New variable.
58023         (rtld-compile-command.s, rtld-compile-command.c): New variables.
58024         ($(objpfx)rtld-%.os rules): Use them.
58026 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58028         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
58029         fields.
58031 2013-06-17  Roland McGrath  <roland@hack.frob.com>
58033         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
58034         length of target pattern, then descending length of dependency pattern.
58035         * configure.in (AWK): Require gawk 3.1.2 or newer.
58036         * manual/install.texi (Tools for Compilation): Say that we do.
58037         * configure: Regenerated.
58039         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
58040         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
58041         * scripts/sysd-rules.awk: ... this new script.
58042         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
58043         than a glob-style pattern.
58045 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
58047         * math/test-misc.c (main): Do not treat incorrectly rounded
58048         conversions as failure unless ROUNDING_TESTS passes.
58050 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
58052         [BZ #15631]
58053         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
58054         restore exception state around main square root computation, then
58055         check for inexactness explicitly.
58057         * math/libm-test.inc (fma_test_data): Add another test.
58059 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
58061         * manual/threads.texi (Non-POSIX Extensions): New document
58062         node.  Document pthread_getattr_default_np and
58063         pthread_setattr_default_np.
58065         * Versions.def (libpthread): Add GLIBC_2.18.
58066         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
58067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
58068         Likewise.
58069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
58070         Likewise.
58071         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
58072         Likewise.
58073         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
58074         Likewise.
58075         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
58076         Likewise.
58077         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
58078         Likewise.
58079         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
58080         Likewise.
58081         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
58082         Likewise.
58083         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
58084         Likewise.
58086 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58088         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58089         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
58091 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
58092             H.J. Lu  <hjl.tools@gmail.com>
58094         [BZ #15627]
58095         * sysdeps/x86_64/rtld-memset.c: Remove file.
58096         * sysdeps/x86_64/rtld-memset.S: New file.
58098 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
58100         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
58101         (test_in_one_mode): Take arguments for whether the rounding mode
58102         is supported for each floating-point type.
58103         (do_test): Pass new arguments to test_in_one_mode using
58104         ROUNDING_TESTS.
58106 2013-06-13  Roland McGrath  <roland@hack.frob.com>
58108         * posix/tst-waitid.c (do_test): Distinguish different instances of
58109         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
58110         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
58111         before entering the kernel for waitpid.
58113 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
58115         * NEWS: Fix note on clock function precision.  Text by Roland
58116         McGrath.
58118 2013-06-13  Roland McGrath  <roland@hack.frob.com>
58120         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
58121         it into place only when and if the sanity check passes.
58123 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
58125         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
58126         output for whether conversion result is exact.  Take argument
58127         indicating whether type is IBM long double.
58128         (round_for_all): Change need_exact field to ibm_ld.
58129         * stdlib/tst-strtod-round.c (struct exactness): New type.
58130         (struct test): Change bool ld_ok field to struct exactness exact.
58131         (TEST): Update all definitions for change to field.
58132         (tests): Regenerate array contents.
58133         (test_in_one_mode): Take pointer to new field instead of old ld_ok
58134         field value.  Check for IBM long double here.
58135         (do_test): Update calls to test_in_one_mode.
58137 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
58139         [BZ #12515]
58140         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
58141         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
58143 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58145         [BZ #15605]
58146         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
58147         generated by the compiler on loop optimizations.
58148         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
58149         general definitions.
58151 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
58153         * math/bug-nextafter.c: Include <math-tests.h>.
58154         (main): Only test for exceptions if EXCEPTION_TESTS is true for
58155         the relevant type.
58156         * math/bug-nexttoward.c: Include <math-tests.h>.
58157         (main): Only test for exceptions if EXCEPTION_TESTS is true for
58158         the relevant type.
58159         * math/test-misc.c: Include <math-tests.h>.
58160         (main): Only test for exceptions if EXCEPTION_TESTS is true for
58161         the relevant type.
58163 2013-06-12  Andreas Jaeger  <aj@suse.de>
58165         * po/ia.po: Update Interlingua translation from translation
58166         project.
58168 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
58170         * include/fenv.h: Include stdbool.h.
58171         (struct rm_ctx): New structure.
58172         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
58173         Define macro.
58174         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
58175         (SET_RESTORE_ROUNDF): Likewise.
58176         (SET_RESTORE_ROUNDL): Likewise.
58177         (SET_RESTORE_ROUND_NOEX): Likewise.
58178         (SET_RESTORE_ROUND_NOEXF): Likewise.
58179         (SET_RESTORE_ROUND_NOEXL): Likewise.
58180         (SET_RESTORE_ROUND_53BIT): Likewise.
58181         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
58182         (libc_feresetround_noexf_ctx): Likewise.
58183         (libc_feresetround_noexl_ctx): Likewise.
58184         (libc_feholdsetround_53bit_ctx): Likewise.
58185         (libc_feresetround_53bit_ctx): Likewise.
58186         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
58187         (libc_feholdexcept_setround_sse_ctx): New function.
58188         (libc_fesetenv_sse_ctx): Likewise.
58189         (libc_feupdateenv_sse_ctx): Likewise.
58190         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
58191         (libc_feholdexcept_setround_387_ctx): Likewise.
58192         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
58193         (libc_feholdsetround_387_prec_ctx): Likewise.
58194         (libc_feholdsetround_387_ctx): Likewise.
58195         (libc_feholdsetround_387_53bit_ctx): Likewise.
58196         (libc_feholdsetround_sse_ctx): Likewise.
58197         (libc_feresetround_sse_ctx): Likewise.
58198         (libc_feresetround_387_ctx): Likewise.
58199         (libc_feupdateenv_387_ctx): Likewise.
58200         (libc_feholdexcept_setroundf_ctx): Define macro.
58201         (libc_fesetenvf_ctx): Likewise.
58202         (libc_feupdateenvf_ctx): Likewise.
58203         (libc_feholdsetroundf_ctx): Likewise.
58204         (libc_feresetroundf_ctx): Likewise.
58205         (libc_feholdexcept_setround_ctx): Likewise.
58206         (libc_fesetenv_ctx): Likewise.
58207         (libc_feupdateenv_ctx): Likewise.
58208         (libc_feholdsetround_ctx): Likewise.
58209         (libc_feresetround_ctx): Likewise.
58210         (libc_feholdexcept_setroundl_ctx): Likewise.
58211         (libc_feupdateenvl_ctx): Likewise.
58212         (libc_feholdsetroundl_ctx): Likewise.
58213         (libc_feresetroundl_ctx): Likewise.
58214         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
58215         (libc_feresetround_53bit_ctx): Likewise.
58217 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58219         * locale/iso-639.def: Convert to UTF-8.
58221 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
58223         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
58224         (EXCEPTION_TESTS_double): Likewise.
58225         (EXCEPTION_TESTS_long_double): Likewise.
58226         (EXCEPTION_TESTS): Likewise.
58227         * math/libm-test.inc (test_exceptions): Only test exceptions if
58228         EXCEPTION_TESTS (FLOAT).
58230 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58232         * benchtests/Makefile (string-bench): Add strcpy_chk and
58233         stpcpy_chk.
58234         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
58235         * benchtests/bench-stpcpy_chk.c: New file.
58236         * benchtests/bench-strcpy_chk-ifunc.c: New file.
58237         * benchtests/bench-strcpy_chk.c: New file.
58238         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
58239         code.
58240         (do_test): Likewise.
58242 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58244         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
58245         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
58246         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
58247         with tabs where appropriate.
58248         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
58249         dl-procinfo.h.
58250         [PPC_PLATFORM_PPC440]: Likewise.
58251         [PPC_PLATFORM_PPC464]: Likewise.
58252         [PPC_PLATFORM_PPC476]: Likewise.
58253         (_dl_string_platform): Add support for detecting ppc405, ppc440,
58254         ppc464, and ppc476 platform strings merging from ports/
58255         dl-procinfo.h.
58257 2013-06-11  Andreas Schwab  <schwab@suse.de>
58259         [BZ #14991]
58260         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
58261         (from_ucs4_idx): Regenerate.
58262         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
58263         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
58264         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
58265         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
58266         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
58267         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
58268         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
58269         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
58270         from FROM_LOOP and TO_LOOP specific macros.
58271         (BODY): Handle combining characters.
58272         * iconvdata/BIG5HKSCS.irreversible: Update.
58273         * iconvdata/BIG5HKSCS.precomposed: New file.
58274         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
58275         characters.
58276         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
58278 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58280         * include/sys/time.h: Fix indentation and add copyright header.
58282         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
58283         (do_test): Likewise.
58284         * string/test-memchr.c (do_one_test): Likewise.
58285         (do_test): Likewise.
58286         * string/test-memcmp.c (do_one_test): Likewise.
58287         (do_test): Likewise.
58288         * string/test-memcpy.c (do_one_test): Likewise.
58289         (do_test): Likewise.
58290         * string/test-memmem.c (do_one_test): Likewise.
58291         (do_test): Likewise.
58292         (do_random_tests): Likewise.
58293         * string/test-memmove.c (do_one_test): Likewise.
58294         (do_test): Likewise.
58295         * string/test-memset.c (do_one_test): Likewise.
58296         (do_test): Likewise.
58297         * string/test-rawmemchr.c (do_one_test): Likewise.
58298         (do_test): Likewise.
58299         * string/test-strcasecmp.c (do_one_test): Likewise.
58300         (do_test): Likewise.
58301         * string/test-strcasestr.c (do_one_test): Likewise.
58302         (do_test): Likewise.
58303         * string/test-strcat.c (do_one_test): Likewise.
58304         (do_test): Likewise.
58305         * string/test-strchr.c (do_one_test): Likewise.
58306         (do_test): Likewise.
58307         * string/test-strcmp.c (do_one_test): Likewise.
58308         (do_test): Likewise.
58309         * string/test-strcpy.c (do_one_test): Likewise.
58310         (do_test): Likewise.
58311         * string/test-string.h: Likewise.
58312         (test_init): Likewise.
58313         * string/test-strlen.c (do_one_test): Likewise.
58314         (do_test): Likewise.
58315         * string/test-strncasecmp.c (do_one_test): Likewise.
58316         (do_test): Likewise.
58317         * string/test-strncat.c (do_one_test): Likewise.
58318         (do_test): Likewise.
58319         * string/test-strncmp.c (do_one_test): Likewise.
58320         (do_test_limit): Likewise.
58321         (do_test): Likewise.
58322         * string/test-strncpy.c (do_one_test): Likewise.
58323         (do_test): Likewise.
58324         * string/test-strnlen.c (do_one_test): Likewise.
58325         (do_test): Likewise.
58326         * string/test-strpbrk.c (do_one_test): Likewise.
58327         (do_test): Likewise.
58328         * string/test-strrchr.c (do_one_test): Likewise.
58329         (do_test): Likewise.
58330         * string/test-strspn.c (do_one_test): Likewise.
58331         (do_test): Likewise.
58332         * string/test-strstr.c (do_one_test): Likewise.
58333         (do_test): Likewise.
58335         * benchtests/Makefile (string-bench): Add string benchmarks.
58336         * benchtests/bench-bcopy-ifunc.c: New file.
58337         * benchtests/bench-bcopy.c: New file.
58338         * benchtests/bench-bzero-ifunc.c: New file.
58339         * benchtests/bench-bzero.c: New file.
58340         * benchtests/bench-memccpy-ifunc.c: New file.
58341         * benchtests/bench-memccpy.c: New file.
58342         * benchtests/bench-memchr-ifunc.c: New file.
58343         * benchtests/bench-memchr.c: New file.
58344         * benchtests/bench-memcmp-ifunc.c: New file.
58345         * benchtests/bench-memcmp.c: New file.
58346         * benchtests/bench-memmem-ifunc.c: New file.
58347         * benchtests/bench-memmem.c: New file.
58348         * benchtests/bench-memmove-ifunc.c: New file.
58349         * benchtests/bench-memmove.c: New file.
58350         * benchtests/bench-mempcpy-ifunc.c: New file.
58351         * benchtests/bench-mempcpy.c: New file.
58352         * benchtests/bench-memset-ifunc.c: New file.
58353         * benchtests/bench-memset.c: New file.
58354         * benchtests/bench-rawmemchr-ifunc.c: New file.
58355         * benchtests/bench-rawmemchr.c: New file.
58356         * benchtests/bench-stpcpy-ifunc.c: New file.
58357         * benchtests/bench-stpcpy.c: New file.
58358         * benchtests/bench-stpncpy-ifunc.c: New file.
58359         * benchtests/bench-stpncpy.c: New file.
58360         * benchtests/bench-strcasecmp-ifunc.c: New file.
58361         * benchtests/bench-strcasecmp.c: New file.
58362         * benchtests/bench-strcasestr-ifunc.c: New file.
58363         * benchtests/bench-strcasestr.c: New file.
58364         * benchtests/bench-strcat-ifunc.c: New file.
58365         * benchtests/bench-strcat.c: New file.
58366         * benchtests/bench-strchr-ifunc.c: New file.
58367         * benchtests/bench-strchr.c: New file.
58368         * benchtests/bench-strchrnul-ifunc.c: New file.
58369         * benchtests/bench-strchrnul.c: New file.
58370         * benchtests/bench-strcmp-ifunc.c: New file.
58371         * benchtests/bench-strcmp.c: New file.
58372         * benchtests/bench-strcpy-ifunc.c: New file.
58373         * benchtests/bench-strcpy.c: New file.
58374         * benchtests/bench-strcspn-ifunc.c: New file.
58375         * benchtests/bench-strcspn.c: New file.
58376         * benchtests/bench-strlen-ifunc.c: New file.
58377         * benchtests/bench-strlen.c: New file.
58378         * benchtests/bench-strncasecmp-ifunc.c: New file.
58379         * benchtests/bench-strncasecmp.c: New file.
58380         * benchtests/bench-strncat-ifunc.c: New file.
58381         * benchtests/bench-strncat.c: New file.
58382         * benchtests/bench-strncmp-ifunc.c: New file.
58383         * benchtests/bench-strncmp.c: New file.
58384         * benchtests/bench-strncpy-ifunc.c: New file.
58385         * benchtests/bench-strncpy.c: New file.
58386         * benchtests/bench-strnlen-ifunc.c: New file.
58387         * benchtests/bench-strnlen.c: New file.
58388         * benchtests/bench-strpbrk-ifunc.c: New file.
58389         * benchtests/bench-strpbrk.c: New file.
58390         * benchtests/bench-strrchr-ifunc.c: New file.
58391         * benchtests/bench-strrchr.c: New file.
58392         * benchtests/bench-strspn-ifunc.c: New file.
58393         * benchtests/bench-strspn.c: New file.
58394         * benchtests/bench-strstr-ifunc.c: New file.
58395         * benchtests/bench-strstr.c: New file.
58397         * benchtests/Makefile: Disable parallel execution of targets.
58398         (string-bench): Add memcpy.
58399         (benchset): New variable to store a list of benchmark sets.
58400         (bench-func): Renamed from bench.
58401         (bench-set): New target.
58402         (bench): Depend on bench-func and bench-set.
58403         * benchtests/README: Add section on benchmark sets.
58404         * benchtests/bench-memcpy-ifunc.c: New file.
58405         * benchtests/bench-memcpy.c: New file.
58406         * benchtests/bench-string.h: New file.
58408 2013-06-11  Andreas Schwab  <schwab@suse.de>
58410         [BZ #15577]
58411         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
58412         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
58413         values in the triple.
58414         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
58415         terminator in the group key.
58417 2013-06-11  Andreas Jaeger  <aj@suse.de>
58419         * po/zh_TW.po: Update Chinese (traditional) translation from
58420         translation project.
58422 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58424         * include/time.h (__clock_gettime): Add libc_hidden_proto.
58425         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
58426         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
58427         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
58428         (clock_getcpuclockid): Likewise.
58429         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
58430         Add weak_alias and libc_hidden_def.
58431         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
58432         * rt/clock_gettime.c (clock_gettime): Rename to
58433         __clock_gettime.  Add weak_alias and libc_hidden_def.
58434         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
58435         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
58436         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
58437         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
58438         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
58439         Likewise.
58440         * rt/clock_settime.c (clock_settime): Rename to
58441         __clock_settime.  Add weak_alias and libc_hidden_def.
58442         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
58444 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
58446         * mach/err_boot.sub: Remove trailing whitespace.
58447         * mach/err_ipc.sub: Likewise.
58448         * mach/err_mach.sub: Likewise.
58450         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
58451         (ROUNDING_TESTS_double): Likewise.
58452         (ROUNDING_TESTS_long_double): Likewise.
58453         (ROUNDING_TESTS): Likewise.
58454         * math/libm-test.inc: Include <math-tests.h>.
58455         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
58456         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
58457         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
58458         (IF_ROUND_INIT_FE_UPWARD): Likewise.
58460 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
58462         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
58463         of assigning.
58465 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
58467         * sysdeps/gnu/errlist.awk: Do not generate space at end of
58468         otherwise empty TRANS lines.
58469         * sysdeps/gnu/errlist.c: Regenerated.
58471         * catgets/gencat.c (error_print): Use (void) in function
58472         definition.
58473         * crypt/crypt_util.c (__init_des): Likewise.
58474         * crypt/speeds.c (Stop): Likewise.
58475         (main): Likewise.
58476         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
58477         * inet/ruserpass.c (token): Likewise.
58478         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
58479         * intl/localealias.c (extend_alias_table): Likewise.
58480         * intl/plural-exp.c (init_germanic_plural): Likewise.
58481         * libio/fcloseall.c (__fcloseall): Likewise.
58482         * libio/genops.c (_IO_flush_all): Likewise.
58483         (_IO_flush_all_linebuffered): Likewise.
58484         (_IO_cleanup): Likewise.
58485         (_IO_iter_begin): Likewise.
58486         (_IO_iter_end): Likewise.
58487         (_IO_list_lock): Likewise.
58488         (_IO_list_unlock): Likewise.
58489         (_IO_list_resetlock): Likewise.
58490         * libio/getchar.c (getchar): Likewise.
58491         * libio/getchar_u.c (getchar_unlocked): Likewise.
58492         * libio/getwchar.c (getwchar): Likewise.
58493         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
58494         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
58495         * login/getpt.c (__getpt): Likewise.
58496         * login/tst-utmp.c (main): Likewise.
58497         * malloc/hooks.c (__malloc_check_init): Likewise.
58498         * malloc/malloc.c (__malloc_stats): Likewise.
58499         * malloc/mtrace.c (tr_break): Likewise.
58500         (mtrace): Likewise.
58501         (muntrace): Likewise.
58502         * misc/fstab.c (endfsent): Likewise.
58503         * misc/getclktck.c (__getclktck): Likewise.
58504         * misc/getdtsz.c (__getdtablesize): Likewise.
58505         * misc/gethostid.c (gethostid): Likewise.
58506         * misc/getpagesize.c (__getpagesize): Likewise.
58507         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
58508         (__get_nprocs): Likewise.
58509         (__get_phys_pages): Likewise.
58510         (__get_avphys_pages): Likewise.
58511         * misc/getttyent.c (getttyent): Likewise.
58512         (setttyent): Likewise.
58513         (endttyent): Likewise.
58514         * misc/getusershell.c (getusershell): Likewise.
58515         (endusershell): Likewise.
58516         (setusershell): Likewise.
58517         (initshells): Likewise.
58518         * misc/hsearch.c (__hdestroy): Likewise.
58519         * misc/sync.c (sync): Likewise.
58520         * misc/syslog.c (closelog_internal): Likewise.
58521         (closelog): Likewise.
58522         * misc/ttyslot.c (ttyslot): Likewise.
58523         * misc/vhangup.c (vhangup): Likewise.
58524         * posix/fork.c (__fork): Likewise.
58525         * posix/getegid.c (__getegid): Likewise.
58526         * posix/geteuid.c (__geteuid): Likewise.
58527         * posix/getgid.c (__getgid): Likewise.
58528         * posix/getpid.c (__getpid): Likewise.
58529         * posix/getppid.c (__getppid): Likewise.
58530         * posix/getuid.c (__getuid): Likewise.
58531         * posix/pause.c (pause): Likewise.
58532         * posix/setpgrp.c (setpgrp): Likewise.
58533         * posix/setsid.c (__setsid): Likewise.
58534         * posix/test-vfork.c (noop): Likewise.
58535         * resolv/gethnamaddr.c (_endhtent): Likewise.
58536         (_gethtent): Likewise.
58537         (ht_endhostent): Likewise.
58538         (gethostent): Likewise.
58539         (dns_service): Likewise.
58540         * stdlib/drand48.c (drand48): Likewise.
58541         * stdlib/lrand48.c (lrand48): Likewise.
58542         * stdlib/mrand48.c (mrand48): Likewise.
58543         * stdlib/rand.c (rand): Likewise.
58544         * stdlib/random.c (__random): Likewise.
58545         * stdlib/setenv.c (clearenv): Likewise.
58546         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
58547         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
58548         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
58549         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
58550         (__get_nprocs): Likewise.
58551         (__get_phys_pages): Likewise.
58552         (__get_avphys_pages): Likewise.
58553         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
58554         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
58555         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
58556         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
58557         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
58558         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
58559         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
58560         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
58561         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
58562         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
58563         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
58564         * sysdeps/mach/hurd/sync.c (sync): Likewise.
58565         * sysdeps/posix/clock.c (clock): Likewise.
58566         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
58567         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
58568         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
58569         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
58570         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
58571         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
58572         (__get_nprocs_conf): Likewise.
58573         (__get_phys_pages): Likewise.
58574         (__get_avphys_pages): Likewise.
58575         * time/clock.c (clock): Likewise.
58576         * time/tzset.c (__tzname_max): Likewise.
58578 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
58580         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
58581         (__bswap_32): Do not use "register".
58582         * crypt/crypt.c (_ufc_doit_r): Likewise.
58583         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
58584         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
58585         * gmon/gmon.c (__monstartup): Likewise.
58586         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
58587         * hurd/hurdmalloc.c (more_memory): Likewise.
58588         (malloc): Likewise.
58589         (free): Likewise.
58590         (realloc): Likewise.
58591         (malloc_fork_prepare): Likewise.
58592         (malloc_fork_parent): Likewise.
58593         (malloc_fork_child): Likewise.
58594         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
58595         (_svcauth_des): Likewise.
58596         * inet/inet_lnaof.c (inet_lnaof): Likewise.
58597         * inet/inet_net.c (inet_network): Likewise.
58598         * inet/inet_netof.c (inet_netof): Likewise.
58599         * inet/rcmd.c (__validuser2_sa): Likewise.
58600         * io/fts.c (fts_open): Likewise.
58601         (fts_load): Likewise.
58602         (fts_close): Likewise.
58603         (fts_read): Likewise.
58604         (fts_children): Likewise.
58605         (fts_build): Likewise.
58606         (fts_stat): Likewise.
58607         (fts_sort): Likewise.
58608         (fts_alloc): Likewise.
58609         (fts_lfree): Likewise.
58610         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
58611         (_IO_file_xsgetn): Likewise.
58612         (_IO_file_xsgetn_mmap): Likewise.
58613         * libio/iofopncook.c (_IO_cookie_read): Likewise.
58614         (_IO_cookie_write): Likewise.
58615         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
58616         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
58617         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
58618         * malloc/obstack.c (_obstack_begin): Likewise.
58619         (_obstack_begin_1): Likewise.
58620         (_obstack_newchunk): Likewise.
58621         (_obstack_allocated_p): Likewise.
58622         (obstack_free): Likewise.
58623         (_obstack_memory_used): Likewise.
58624         * misc/getttyent.c (getttynam): Likewise.
58625         (getttyent): Likewise.
58626         (skip): Likewise.
58627         (value): Likewise.
58628         * misc/getusershell.c (initshells): Likewise.
58629         * misc/syslog.c (__vsyslog_chk): Likewise.
58630         * misc/ttyslot.c (ttyslot): Likewise.
58631         * nis/nis_hash.c (__nis_hash): Likewise.
58632         * posix/fnmatch_loop.c (FCT): Likewise.
58633         * posix/getconf.c (print_all): Likewise.
58634         (main): Likewise.
58635         * posix/getopt.c (exchange): Likewise.
58636         * posix/glob.c (globfree): Likewise.
58637         (prefix_array): Likewise.
58638         (__glob_pattern_type): Likewise.
58639         * resolv/arpa/nameser.h (NS_GET16): Likewise.
58640         (NS_GET32): Likewise.
58641         (NS_PUT16): Likewise.
58642         (NS_PUT32): Likewise.
58643         * resolv/gethnamaddr.c (getanswer): Likewise.
58644         (gethostbyname2): Likewise.
58645         (gethostbyaddr): Likewise.
58646         (_gethtent): Likewise.
58647         (_gethtbyname2): Likewise.
58648         (_gethtbyaddr): Likewise.
58649         * resolv/ns_print.c (dst_s_get_int16): Likewise.
58650         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
58651         * resolv/res_init.c (__res_vinit): Likewise.
58652         (net_mask): Likewise.
58653         * resolv/res_mkquery.c (outchar): Likewise.
58654         (PRINT): Likewise.
58655         * stdio-common/printf_fp.c (outchar): Likewise.
58656         (PRINT): Likewise.
58657         * stdio-common/printf_fphex.c (outchar): Likewise.
58658         (PRINT): Likewise.
58659         * stdio-common/printf_size.c (outchar): Likewise.
58660         (PRINT): Likewise.
58661         * stdio-common/test_rdwr.c (main): Likewise.
58662         * stdio-common/tfformat.c (matches): Likewise.
58663         * stdio-common/vfprintf.c (outchar): Likewise.
58664         (printf_unknown): Likewise.
58665         (buffered_vfprintf): Likewise.
58666         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
58667         * stdio-common/xbug.c (AppendToBuffer): Likewise.
58668         (ReadFile): Likewise.
58669         * stdlib/qsort.c (SWAP): Likewise.
58670         (_quicksort): Likewise.
58671         * stdlib/setenv.c (__add_to_environ): Likewise.
58672         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
58673         * stdlib/strtol_l.c (__strtol_l): Likewise.
58674         * stdlib/tst-strtod.c (main): Likewise.
58675         * stdlib/tst-strtol.c (main): Likewise.
58676         * stdlib/tst-strtoll.c (main): Likewise.
58677         * string/bits/string2.h (__strcmp_cc): Likewise.
58678         (__strcmp_cg): Likewise.
58679         (__strcspn_c1): Likewise.
58680         (__strcspn_c2): Likewise.
58681         (__strcspn_c3): Likewise.
58682         (__strspn_c1): Likewise.
58683         (__strspn_c2): Likewise.
58684         (__strspn_c3): Likewise.
58685         (__strsep_1c): Likewise.
58686         (__strsep_2c): Likewise.
58687         (__strsep_3c): Likewise.
58688         * string/memccpy.c (__memccpy): Likewise.
58689         * string/stpcpy.c (__stpcpy): Likewise.
58690         * string/strcmp.c (strcmp): Likewise.
58691         * string/strrchr.c (strrchr): Likewise.
58692         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
58693         Likewise.
58694         * sysdeps/mach/hurd/getcwd.c
58695         (_hurd_canonicalize_directory_name_internal): Likewise.
58696         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
58697         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
58698         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
58699         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
58700         Likewise, in both definitions.
58701         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
58702         definitions.
58703         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
58704         64] (__bswap_64): Likewise.
58705         * time/test_time.c (main): Likewise.
58706         * time/tzfile.c (__tzfile_read): Likewise.
58707         (__tzfile_compute): Likewise.
58708         * time/tzset.c (__tzset_parse_tz): Likewise.
58709         (tzset_internal): Likewise.
58710         (compute_change): Likewise.
58711         * wcsmbs/wcscat.c (__wcscat): Likewise.
58712         * wcsmbs/wcschr.c (wcschr): Likewise.
58713         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
58714         * wcsmbs/wcscspn.c (wcscspn): Likewise.
58715         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
58716         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
58717         * wcsmbs/wcsspn.c (wcsspn): Likewise.
58718         * wcsmbs/wcsstr.c (wcsstr): Likewise.
58719         * wcsmbs/wmemchr.c (wmemchr): Likewise.
58720         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
58721         * wcsmbs/wmemset.c (wmemset): Likewise.
58723 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
58725         * scripts/config.guess: Update to version 2013-05-16.
58726         * scripts/config.sub: Update to version 2013-04-24.
58727         * scripts/install-sh: Update to version 2011-11-20.07.
58728         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
58729         * scripts/move-if-change: Update to version 2012-01-06 07:23.
58731 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
58733         * debug/fgetws_u_chk.c: Fix leading whitespaces.
58734         * elf/sln.c: Likewise.
58735         * hurd/hurd/ioctl.h: Likewise.
58736         * hurd/hurdmalloc.c: Likewise.
58737         * hurd/xattr.c: Likewise.
58738         * include/shlib-compat.h: Likewise.
58739         * inet/ruserpass.c: Likewise.
58740         * libio/iofgets_u.c: Likewise.
58741         * libio/iofgetws_u.c: Likewise.
58742         * locale/programs/ld-identification.c: Likewise.
58743         * locale/programs/ld-time.c: Likewise.
58744         * mach/msg-destroy.c: Likewise.
58745         * nss/nss_files/files-netgrp.c: Likewise.
58746         * resolv/res_data.c: Likewise.
58747         * soft-fp/op-1.h: Likewise.
58748         * soft-fp/op-2.h: Likewise.
58749         * soft-fp/op-4.h: Likewise.
58750         * soft-fp/op-common.h: Likewise.
58751         * stdio-common/printf_fphex.c: Likewise.
58752         * stdlib/strtod_l.c: Likewise.
58753         * sunrpc/rpc/clnt.h: Likewise.
58754         * sysdeps/generic/framestate.c: Likewise.
58755         * sysdeps/i386/bsd-_setjmp.S: Likewise.
58756         * sysdeps/i386/bsd-setjmp.S: Likewise.
58757         * sysdeps/i386/__longjmp.S: Likewise.
58758         * sysdeps/i386/setjmp.S: Likewise.
58759         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
58760         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
58761         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
58762         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
58763         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
58764         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
58765         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
58766         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
58767         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
58768         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
58769         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
58770         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
58771         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
58772         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
58773         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
58774         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
58775         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
58776         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
58777         * sysdeps/ieee754/support.c: Likewise.
58778         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
58779         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
58780         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
58781         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
58782         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
58783         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
58784         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
58785         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
58786         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
58787         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
58788         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
58789         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
58790         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
58791         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
58792         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
58793         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
58794         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
58795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
58797 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
58799         * posix/transbug.c: Remove executable mode.
58801 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
58803         * crypt/speeds.c: Remove trailing whitespace.
58804         * dlfcn/default.c: Likewise.
58805         * elf/ifuncdep2.c: Likewise.
58806         * elf/ifuncmain1.c: Likewise.
58807         * elf/ifuncmain1vis.c: Likewise.
58808         * elf/testobj.h: Likewise.
58809         * elf/tst-stackguard1.c: Likewise.
58810         * gmon/sys/gmon.h: Likewise.
58811         * hurd/hurdmsg.c: Likewise.
58812         * hurd/new-fd.c: Likewise.
58813         * hurd/ports-get.c: Likewise.
58814         * iconvdata/ibm1008_420.c: Likewise.
58815         * inet/tst-getni1.c: Likewise.
58816         * inet/tst-getni2.c: Likewise.
58817         * libio/ioungetc.c: Likewise.
58818         * libio/wfiledoalloc.c: Likewise.
58819         * manual/libm-err-tab.pl: Likewise.
58820         * math/w_dremf.c: Likewise.
58821         * misc/ftruncate.c: Likewise.
58822         * posix/bug-glob2.c: Likewise.
58823         * posix/tst-pcre.c: Likewise.
58824         * posix/wait4.c: Likewise.
58825         * resolv/README: Likewise.
58826         * resolv/res_debug.h: Likewise.
58827         * resolv/tst-inet_ntop.c: Likewise.
58828         * setjmp/bug269-setjmp.c: Likewise.
58829         * soft-fp/extended.h: Likewise.
58830         * soft-fp/op-1.h: Likewise.
58831         * soft-fp/op-2.h: Likewise.
58832         * soft-fp/op-4.h: Likewise.
58833         * soft-fp/op-8.h: Likewise.
58834         * soft-fp/testit.c: Likewise.
58835         * stdio-common/bug16.c: Likewise.
58836         * stdlib/random.c: Likewise.
58837         * sunrpc/rpcsvc/rquota.x: Likewise.
58838         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
58839         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
58840         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
58841         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
58842         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
58843         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
58844         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
58845         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
58846         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
58847         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
58848         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
58849         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
58850         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
58851         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
58852         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
58853         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
58854         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
58855         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
58856         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
58857         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
58858         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
58859         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
58860         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
58861         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
58862         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
58863         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
58864         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
58865         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
58866         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
58867         * sysdeps/ieee754/s_lib_version.c: Likewise.
58868         * sysdeps/mach/hurd/check_fds.c: Likewise.
58869         * sysdeps/mach/hurd/getsockname.c: Likewise.
58870         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
58871         * sysdeps/mach/hurd/recvfrom.c: Likewise.
58872         * sysdeps/powerpc/bits/link.h: Likewise.
58873         * sysdeps/powerpc/dl-procinfo.c: Likewise.
58874         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
58875         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
58876         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
58877         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
58878         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
58879         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
58880         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
58881         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
58882         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
58883         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
58884         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
58885         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
58886         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
58887         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
58888         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
58889         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
58890         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
58891         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
58892         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
58893         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
58894         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
58895         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
58896         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
58897         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
58898         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
58899         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
58900         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
58901         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
58902         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
58903         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
58904         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
58905         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
58906         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
58907         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
58908         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
58909         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
58910         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
58911         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
58912         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
58913         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
58914         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
58915         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
58916         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
58917         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
58918         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
58919         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
58920         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
58921         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
58922         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
58923         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
58924         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
58925         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
58926         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
58927         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
58928         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
58929         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
58930         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
58931         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
58932         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
58933         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
58934         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
58935         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
58936         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
58937         * sysdeps/powerpc/sysdep.h: Likewise.
58938         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
58939         * sysdeps/s390/s390-64/sub_n.S: Likewise.
58940         * sysdeps/sh/dl-trampoline.S: Likewise.
58941         * sysdeps/sh/memset.S: Likewise.
58942         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
58943         * sysdeps/sh/strlen.S: Likewise.
58944         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
58945         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
58946         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
58947         * sysdeps/sparc/sparc32/rem.S: Likewise.
58948         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
58949         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
58950         * sysdeps/sparc/sparc32/strchr.S: Likewise.
58951         * sysdeps/sparc/sparc32/udiv.S: Likewise.
58952         * sysdeps/sparc/sparc32/urem.S: Likewise.
58953         * sysdeps/sparc/sparc64/add_n.S: Likewise.
58954         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
58955         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
58956         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
58957         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
58958         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
58959         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
58960         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
58961         * sysdeps/unix/bsd/times.c: Likewise.
58962         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
58963         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
58964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
58965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
58966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
58967         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
58968         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
58969         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
58970         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
58971         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
58972         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
58973         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
58974         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
58975         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
58976         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
58977         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
58978         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
58979         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
58980         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
58981         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
58982         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
58983         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
58984         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
58985         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
58986         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
58987         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
58988         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
58989         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
58990         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
58991         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
58992         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
58993         * sysdeps/x86_64/strcspn.S: Likewise.
58995 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58997         * locale/C-translit.h: Revert #include <stdint.h> because this is a
58998         generated file.  Regenerate properly from gen-translit.pl.
58999         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
59000         locale/C-translit.h.
59002 2013-06-05  Andreas Schwab  <schwab@suse.de>
59004         [BZ #15100]
59005         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
59006         week as 6 instead of -1.
59007         * time/tst-strptime.c (day_tests): Add test case.
59009 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
59011         * sysdeps/generic/math_private.h
59012         (libc_feholdexcept_setround_53bit): Replace with
59013         libc_feholdsetround_53bit.
59014         (libc_feupdateenv_53bit): Replace with
59015         libc_feresetround_53bit.
59016         (SET_RESTORE_ROUND_53BIT): Adjust.
59018 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
59020         * string/test-strchrnul.c: Add copyright header.
59022         * posix/tst-getaddrinfo4.c: Increase test timeout.
59024 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
59026         [BZ #15536]
59027         * math/libm-test.inc (MAX_EXP): Remove
59028         (MIN_EXP): Define.
59029         (ulp): Use MIN_EXP - MANT_DIG.
59030         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
59032 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
59034         * po/be.po: Revert last change.
59035         * po/zh_CN.po: Likewise.
59036         * po/header.pot: Likewise.
59038 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
59040         * Makefile ($(common-objpfx)linkobj/libc.so): Define
59041         link-libc-deps to empty as target-specific variable.
59042         * Makerules (link-libc-args): New variable.
59043         (libc-for-link): Likewise.
59044         (link-libc-deps): Likewise.
59045         (lib%.so): Depend on $(link-libc-deps).  Link with
59046         $(link-libc-args).
59047         (build-module): Link with $(link-libc-args).
59048         (build-module-asneeded): Likewise.
59049         (build-module-helper-objlist): Filter out $(link-libc-deps) from
59050         list of objects.
59051         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
59052         target-specific variable.
59053         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
59054         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
59055         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
59056         libc.
59057         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
59058         libc and ld.so.
59059         ($(objpfx)libpcprofile.so): Likewise.
59060         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
59061         libc_nonshared.a.
59062         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
59063         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
59064         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
59065         $(link-libc-deps).
59066         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
59067         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
59068         * login/Makefile ($(objpfx)libutil.so): Likewise.
59069         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
59070         * math/Makefile ($(objpfx)libm.so): Likewise.
59071         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
59072         $(objpfx)libnsl.so): Define libc-for-link as target-specific
59073         variable instead of depending directly on libc.
59074         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
59075         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
59076         $(link-libc-deps).
59077         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
59078         libc.
59079         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
59080         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
59081         ($(objpfx)libanl.so): Likewise.
59082         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
59083         ld.so.
59084         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
59085         $(link-libc-deps).
59086         * sysdeps/i386/fpu/Makefile: Remove file.
59087         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
59088         ($(objpfx)libm.so): Remove dependency on ld.so.
59090 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
59092         [BZ # 15553]
59093         * nis/yp_xdr.c (XDRMAXNAME): Define.
59094         (XDRMAXRECORD): Define.
59095         (xdr_domainname): Use XDRMAXNAME.
59096         (xdr_mapname): Likewise.
59097         (xdr_peername): Likewise.
59098         (xdr_keydat): Use XDRMAXRECORD.
59099         (xdr_valdat): Likewise.
59101 2013-05-30  Jeff Law  <law@redhat.com>
59103         [BZ #14256]
59104         * manual/errno.texi (ESTALE): Update to account for more than
59105         just NFS file systems.
59106         * sysdeps/gnu/errlist.c: Regenerated.
59108 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
59110         [BZ #15465]
59111         * elf/Makefile (tests): Add tst-null-argv.
59112         (modules-names):  Add tst-null-argv-lib.
59113         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
59114         (tst-null-argv-ENV): Set environment for tst-null-argv.
59115         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
59116         (RTLD_PROGNAME): New macro.
59117         * elf/tst-null-argv.c: New test case.
59118         * elf/tst-null-argv-lib.c: Library for test case.
59119         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
59120         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
59121         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
59122         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
59123         * elf/dl-init.c (call_init): Likewise.
59124         (_dl_init): Likewise.
59125         * elf/dl-load.c (print_search_path): Likewise.
59126         (_dl_map_object): Likewise.
59127         * elf/dl-lookup.c (do_lookup_x): Likewise.
59128         (add_dependency): Likewise.
59129         (_dl_lookup_symbol_x): Likewise.
59130         (_dl_debug_bindings): Likewise.
59131         * elf/dl-open.c (_dl_show_scope): Likewise.
59132         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
59133         * elf/dl-version.c (match_symbol): Likewise.
59134         (_dl_check_map_versions): Likewise.
59135         * elf/rtld.c (dl_main): Likewise.
59136         (print_unresolved): Use RTLD_PROGNAME.
59137         (print_missing_version): Likewise.
59138         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
59139         (elf_machine_rela): Likewise.
59140         * sysdeps/powerpc/powerpc32/dl-machine.c
59141         (__process_machine_rela): Likewise.
59142         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59143         Likewise.
59144         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
59145         Likewise.
59146         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
59147         Likewise.
59148         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
59149         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
59150         Likewise.
59151         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
59152         Likewise.
59153         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
59155 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
59157         * po/be.po: Add descriptive title.
59158         * po/zh_CN.po: Likewise.
59159         * po/header.pot: Likewise.
59161 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
59163         * locale/programs/locarchive.c (create_archive): Inlucde fname in
59164         error message.
59165         (enlarge_archive): Likewise.
59167 2013-05-28  Ben North  <ben@redfrontdoor.org>
59169         * manual/arith.texi (frexp): It is the magnitude of the return
59170         value which lies in [0.5, 1), not the return value itself.
59172 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59174         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59176 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
59178         * stdio-common/bug26.c (main): Correct fscanf template.
59180         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
59181         declare _dl_skip_args.
59183         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
59184         Don't declare.
59186         * manual/platform.texi: Add missing @end deftypefun.
59188 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
59190         [BZ #15529]
59191         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
59192         bit of mantissa of 2^16382.
59193         * math/libm-test.inc (hypot_test_data): Add more tests.
59195         * math/libm-test.inc: Add drem and pow10 to list of tested
59196         functions.
59197         (pow10_test): New function.
59198         (drem_test): Likewise.
59199         (drem_test_tonearest): Likewise.
59200         (drem_test_towardzero): Likewise.
59201         (drem_test_downward): Likewise.
59202         (drem_test_upward): Likewise.
59203         (main): Call the new functions.
59205         * math/libm-test.inc (finite_test_data): Remove.
59206         (finite_test): Run tests from isfinite_test_data.
59207         (gamma_test_data): Remove.
59208         (gamma_test): Run tests from lgamma_test_data.
59209         * sysdeps/i386/fpu/libm-test-ulps: Update.
59210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59212 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59214         * manual/platform.texi: Add PowerPC PPR function set documentation.
59215         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
59216         implementation.
59218 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
59220         * math/libm-test.inc (MAX_EXP): Define.
59221         (ULPDIFF): Define.
59222         (ulp): New function.
59223         (check_float_internal): Use ULPDIFF.
59224         (cpow_test): Disable failing test.
59225         (check_ulp): Test ulp() implementation.
59226         (main): Call check_ulp before starting tests.
59228 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
59230         * math/gen-libm-test.pl (generate_testfile): Do not handle
59231         START_DATA and END_DATA.
59232         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
59233         END_DATA.
59234         (acos_tonearest_test_data): Likewise.
59235         (acos_towardzero_test_data): Likewise.
59236         (acos_downward_test_data): Likewise.
59237         (acos_upward_test_data): Likewise.
59238         (acosh_test_data): Likewise.
59239         (asin_test_data): Likewise.
59240         (asin_tonearest_test_data): Likewise.
59241         (asin_towardzero_test_data): Likewise.
59242         (asin_downward_test_data): Likewise.
59243         (asin_upward_test_data): Likewise.
59244         (asinh_test_data): Likewise.
59245         (atan_test_data): Likewise.
59246         (atanh_test_data): Likewise.
59247         (atan2_test_data): Likewise.
59248         (cabs_test_data): Likewise.
59249         (cacos_test_data): Likewise.
59250         (cacosh_test_data): Likewise.
59251         (carg_test_data): Likewise.
59252         (casin_test_data): Likewise.
59253         (casinh_test_data): Likewise.
59254         (catan_test_data): Likewise.
59255         (catanh_test_data): Likewise.
59256         (cbrt_test_data): Likewise.
59257         (ccos_test_data): Likewise.
59258         (ccosh_test_data): Likewise.
59259         (ceil_test_data): Likewise.
59260         (cexp_test_data): Likewise.
59261         (cimag_test_data): Likewise.
59262         (clog_test_data): Likewise.
59263         (clog10_test_data): Likewise.
59264         (conj_test_data): Likewise.
59265         (copysign_test_data): Likewise.
59266         (cos_test_data): Likewise.
59267         (cos_tonearest_test_data): Likewise.
59268         (cos_towardzero_test_data): Likewise.
59269         (cos_downward_test_data): Likewise.
59270         (cos_upward_test_data): Likewise.
59271         (cosh_test_data): Likewise.
59272         (cosh_tonearest_test_data): Likewise.
59273         (cosh_towardzero_test_data): Likewise.
59274         (cosh_downward_test_data): Likewise.
59275         (cosh_upward_test_data): Likewise.
59276         (cpow_test_data): Likewise.
59277         (cproj_test_data): Likewise.
59278         (creal_test_data): Likewise.
59279         (csin_test_data): Likewise.
59280         (csinh_test_data): Likewise.
59281         (csqrt_test_data): Likewise.
59282         (ctan_test_data): Likewise.
59283         (ctan_tonearest_test_data): Likewise.
59284         (ctan_towardzero_test_data): Likewise.
59285         (ctan_downward_test_data): Likewise.
59286         (ctan_upward_test_data): Likewise.
59287         (ctanh_test_data): Likewise.
59288         (ctanh_tonearest_test_data): Likewise.
59289         (ctanh_towardzero_test_data): Likewise.
59290         (ctanh_downward_test_data): Likewise.
59291         (ctanh_upward_test_data): Likewise.
59292         (erf_test_data): Likewise.
59293         (erfc_test_data): Likewise.
59294         (exp_test_data): Likewise.
59295         (exp_tonearest_test_data): Likewise.
59296         (exp_towardzero_test_data): Likewise.
59297         (exp_downward_test_data): Likewise.
59298         (exp_upward_test_data): Likewise.
59299         (exp10_test_data): Likewise.
59300         (exp2_test_data): Likewise.
59301         (expm1_test_data): Likewise.
59302         (fabs_test_data): Likewise.
59303         (fdim_test_data): Likewise.
59304         (finite_test_data): Likewise.
59305         (floor_test_data): Likewise.
59306         (fma_test_data): Likewise.
59307         (fma_towardzero_test_data): Likewise.
59308         (fma_downward_test_data): Likewise.
59309         (fma_upward_test_data): Likewise.
59310         (fmax_test_data): Likewise.
59311         (fmin_test_data): Likewise.
59312         (fmod_test_data): Likewise.
59313         (fpclassify_test_data): Likewise.
59314         (frexp_test_data): Likewise.
59315         (gamma_test_data): Likewise.
59316         (hypot_test_data): Likewise.
59317         (ilogb_test_data): Likewise.
59318         (isfinite_test_data): Likewise.
59319         (isgreater_test_data): Likewise.
59320         (isgreaterequal_test_data): Likewise.
59321         (isinf_test_data): Likewise.
59322         (isless_test_data): Likewise.
59323         (islessequal_test_data): Likewise.
59324         (islessgreater_test_data): Likewise.
59325         (isnan_test_data): Likewise.
59326         (isnormal_test_data): Likewise.
59327         (issignaling_test_data): Likewise.
59328         (isunordered_test_data): Likewise.
59329         (j0_test_data): Likewise.
59330         (j1_test_data): Likewise.
59331         (jn_test_data): Likewise.
59332         (ldexp_test_data): Likewise.
59333         (lgamma_test_data): Likewise.
59334         (lrint_test_data): Likewise.
59335         (lrint_tonearest_test_data): Likewise.
59336         (lrint_towardzero_test_data): Likewise.
59337         (lrint_downward_test_data): Likewise.
59338         (lrint_upward_test_data): Likewise.
59339         (llrint_test_data): Likewise.
59340         (llrint_tonearest_test_data): Likewise.
59341         (llrint_towardzero_test_data): Likewise.
59342         (llrint_downward_test_data): Likewise.
59343         (llrint_upward_test_data): Likewise.
59344         (log_test_data): Likewise.
59345         (log10_test_data): Likewise.
59346         (log1p_test_data): Likewise.
59347         (log2_test_data): Likewise.
59348         (logb_test_data): Likewise.
59349         (logb_downward_test_data): Likewise.
59350         (lround_test_data): Likewise.
59351         (llround_test_data): Likewise.
59352         (modf_test_data): Likewise.
59353         (nearbyint_test_data): Likewise.
59354         (nextafter_test_data): Likewise.
59355         (nexttoward_test_data): Likewise.
59356         (pow_test_data): Likewise.
59357         (pow_tonearest_test_data): Likewise.
59358         (pow_towardzero_test_data): Likewise.
59359         (pow_downward_test_data): Likewise.
59360         (pow_upward_test_data): Likewise.
59361         (remainder_test_data): Likewise.
59362         (remainder_tonearest_test_data): Likewise.
59363         (remainder_towardzero_test_data): Likewise.
59364         (remainder_downward_test_data): Likewise.
59365         (remainder_upward_test_data): Likewise.
59366         (remquo_test_data): Likewise.
59367         (rint_test_data): Likewise.
59368         (rint_tonearest_test_data): Likewise.
59369         (rint_towardzero_test_data): Likewise.
59370         (rint_downward_test_data): Likewise.
59371         (rint_upward_test_data): Likewise.
59372         (round_test_data): Likewise.
59373         (scalb_test_data): Likewise.
59374         (scalbn_test_data): Likewise.
59375         (scalbln_test_data): Likewise.
59376         (signbit_test_data): Likewise.
59377         (sin_test_data): Likewise.
59378         (sin_tonearest_test_data): Likewise.
59379         (sin_towardzero_test_data): Likewise.
59380         (sin_downward_test_data): Likewise.
59381         (sin_upward_test_data): Likewise.
59382         (sincos_test_data): Likewise.
59383         (sinh_test_data): Likewise.
59384         (sinh_tonearest_test_data): Likewise.
59385         (sinh_towardzero_test_data): Likewise.
59386         (sinh_downward_test_data): Likewise.
59387         (sinh_upward_test_data): Likewise.
59388         (sqrt_test_data): Likewise.
59389         (tan_test_data): Likewise.
59390         (tan_tonearest_test_data): Likewise.
59391         (tan_towardzero_test_data): Likewise.
59392         (tan_downward_test_data): Likewise.
59393         (tan_upward_test_data): Likewise.
59394         (tanh_test_data): Likewise.
59395         (tgamma_test_data): Likewise.
59396         (trunc_test_data): Likewise.
59397         (y0_test_data): Likewise.
59398         (y1_test_data): Likewise.
59399         (yn_test_data): Likewise.
59400         (significand_test_data): Likewise.
59402         * math/gen-libm-test.pl (@functions): Remove variable.
59403         (generate_testfile): Don't handle START and END lines.
59404         * math/libm-test.inc (START): New macro.
59405         (END): Likewise.
59406         (END_COMPLEX): Likewise.
59407         (acos_test): Use END macro without arguments.
59408         (acos_test_tonearest): Likewise.
59409         (acos_test_towardzero): Likewise.
59410         (acos_test_downward): Likewise.
59411         (acos_test_upward): Likewise.
59412         (acosh_test): Likewise.
59413         (asin_test): Likewise.
59414         (asin_test_tonearest): Likewise.
59415         (asin_test_towardzero): Likewise.
59416         (asin_test_downward): Likewise.
59417         (asin_test_upward): Likewise.
59418         (asinh_test): Likewise.
59419         (atan_test): Likewise.
59420         (atanh_test): Likewise.
59421         (atan2_test): Likewise.
59422         (cabs_test): Likewise.
59423         (cacos_test): Use END_COMPLEX macro without arguments.
59424         (cacosh_test): Likewise.
59425         (carg_test): Use END macro without arguments.
59426         (casin_test): Use END_COMPLEX macro without arguments.
59427         (casinh_test): Likewise.
59428         (catan_test): Likewise.
59429         (catanh_test): Likewise.
59430         (cbrt_test): Use END macro without arguments.
59431         (ccos_test): Use END_COMPLEX macro without arguments.
59432         (ccosh_test): Likewise.
59433         (ceil_test): Use END macro without arguments.
59434         (cexp_test): Use END_COMPLEX macro without arguments.
59435         (cimag_test): Use END macro without arguments.
59436         (clog_test): Use END_COMPLEX macro without arguments.
59437         (clog10_test): Likewise.
59438         (conj_test): Likewise.
59439         (copysign_test): Use END macro without arguments.
59440         (cos_test): Likewise.
59441         (cos_test_tonearest): Likewise.
59442         (cos_test_towardzero): Likewise.
59443         (cos_test_downward): Likewise.
59444         (cos_test_upward): Likewise.
59445         (cosh_test): Likewise.
59446         (cosh_test_tonearest): Likewise.
59447         (cosh_test_towardzero): Likewise.
59448         (cosh_test_downward): Likewise.
59449         (cosh_test_upward): Likewise.
59450         (cpow_test): Use END_COMPLEX macro without arguments.
59451         (cproj_test): Likewise.
59452         (creal_test): Use END macro without arguments.
59453         (csin_test): Use END_COMPLEX macro without arguments.
59454         (csinh_test): Likewise.
59455         (csqrt_test): Likewise.
59456         (ctan_test): Likewise.
59457         (ctan_test_tonearest): Likewise.
59458         (ctan_test_towardzero): Likewise.
59459         (ctan_test_downward): Likewise.
59460         (ctan_test_upward): Likewise.
59461         (ctanh_test): Likewise.
59462         (ctanh_test_tonearest): Likewise.
59463         (ctanh_test_towardzero): Likewise.
59464         (ctanh_test_downward): Likewise.
59465         (ctanh_test_upward): Likewise.
59466         (erf_test): Use END macro without arguments.
59467         (erfc_test): Likewise.
59468         (exp_test): Likewise.
59469         (exp_test_tonearest): Likewise.
59470         (exp_test_towardzero): Likewise.
59471         (exp_test_downward): Likewise.
59472         (exp_test_upward): Likewise.
59473         (exp10_test): Likewise.
59474         (exp2_test): Likewise.
59475         (expm1_test): Likewise.
59476         (fabs_test): Likewise.
59477         (fdim_test): Likewise.
59478         (finite_test): Likewise.
59479         (floor_test): Likewise.
59480         (fma_test): Likewise.
59481         (fma_test_towardzero): Likewise.
59482         (fma_test_downward): Likewise.
59483         (fma_test_upward): Likewise.
59484         (fmax_test): Likewise.
59485         (fmin_test): Likewise.
59486         (fmod_test): Likewise.
59487         (fpclassify_test): Likewise.
59488         (frexp_test): Likewise.
59489         (gamma_test): Likewise.
59490         (hypot_test): Likewise.
59491         (ilogb_test): Likewise.
59492         (isfinite_test): Likewise.
59493         (isgreater_test): Likewise.
59494         (isgreaterequal_test): Likewise.
59495         (isinf_test): Likewise.
59496         (isless_test): Likewise.
59497         (islessequal_test): Likewise.
59498         (islessgreater_test): Likewise.
59499         (isnan_test): Likewise.
59500         (isnormal_test): Likewise.
59501         (issignaling_test): Likewise.
59502         (isunordered_test): Likewise.
59503         (j0_test): Likewise.
59504         (j1_test): Likewise.
59505         (jn_test): Likewise.
59506         (ldexp_test): Likewise.
59507         (lgamma_test): Likewise.
59508         (lrint_test): Likewise.
59509         (lrint_test_tonearest): Likewise.
59510         (lrint_test_towardzero): Likewise.
59511         (lrint_test_downward): Likewise.
59512         (lrint_test_upward): Likewise.
59513         (llrint_test): Likewise.
59514         (llrint_test_tonearest): Likewise.
59515         (llrint_test_towardzero): Likewise.
59516         (llrint_test_downward): Likewise.
59517         (llrint_test_upward): Likewise.
59518         (log_test): Likewise.
59519         (log10_test): Likewise.
59520         (log1p_test): Likewise.
59521         (log2_test): Likewise.
59522         (logb_test): Likewise.
59523         (logb_test_downward): Likewise.
59524         (lround_test): Likewise.
59525         (llround_test): Likewise.
59526         (modf_test): Likewise.
59527         (nearbyint_test): Likewise.
59528         (nextafter_test): Likewise.
59529         (nexttoward_test): Likewise.
59530         (pow_test): Likewise.
59531         (pow_test_tonearest): Likewise.
59532         (pow_test_towardzero): Likewise.
59533         (pow_test_downward): Likewise.
59534         (pow_test_upward): Likewise.
59535         (remainder_test): Likewise.
59536         (remainder_test_tonearest): Likewise.
59537         (remainder_test_towardzero): Likewise.
59538         (remainder_test_downward): Likewise.
59539         (remainder_test_upward): Likewise.
59540         (remquo_test): Likewise.
59541         (rint_test): Likewise.
59542         (rint_test_tonearest): Likewise.
59543         (rint_test_towardzero): Likewise.
59544         (rint_test_downward): Likewise.
59545         (rint_test_upward): Likewise.
59546         (round_test): Likewise.
59547         (scalb_test): Likewise.
59548         (scalbn_test): Likewise.
59549         (scalbln_test): Likewise.
59550         (signbit_test): Likewise.
59551         (sin_test): Likewise.
59552         (sin_test_tonearest): Likewise.
59553         (sin_test_towardzero): Likewise.
59554         (sin_test_downward): Likewise.
59555         (sin_test_upward): Likewise.
59556         (sincos_test): Likewise.
59557         (sinh_test): Likewise.
59558         (sinh_test_tonearest): Likewise.
59559         (sinh_test_towardzero): Likewise.
59560         (sinh_test_downward): Likewise.
59561         (sinh_test_upward): Likewise.
59562         (sqrt_test): Likewise.
59563         (tan_test): Likewise.
59564         (tan_test_tonearest): Likewise.
59565         (tan_test_towardzero): Likewise.
59566         (tan_test_downward): Likewise.
59567         (tan_test_upward): Likewise.
59568         (tanh_test): Likewise.
59569         (tgamma_test): Likewise.
59570         (trunc_test): Likewise.
59571         (y0_test): Likewise.
59572         (y1_test): Likewise.
59573         (yn_test): Likewise.
59574         (significand_test): Likewise.
59576 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
59578         [BZ #15381]
59579         * libio/genops.c (_IO_no_init): Initialize wide struct info.
59581 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
59583         [BZ #14894]
59584         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
59585         __ppc_mdoio and __ppc_mdoom.
59586         * manual/platform.texi: Document new functions __ppc_yield,
59587         __ppc_mdoio and __ppc_mdoom.
59589 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
59591         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
59592         (main): Mention "tls" pseudo-hwcap is legacy.
59593         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
59595 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
59597         * math/gen-libm-test.pl (parse_args): Output only string of
59598         arguments as text for test name, not full call or descriptions of
59599         tests for extra outputs.
59600         (generate_testfile): Do not pass function name to parse_args.
59601         Generate this_func variable from START.
59602         * math/libm-test.inc (struct test_f_f_data): Rename test_name
59603         field to arg_str.
59604         (struct test_ff_f_data): Likewise.
59605         (test_ff_f_data_nexttoward): Likewise.
59606         (struct test_fi_f_data): Likewise.
59607         (struct test_fl_f_data): Likewise.
59608         (struct test_if_f_data): Likewise.
59609         (struct test_fff_f_data): Likewise.
59610         (struct test_c_f_data): Likewise.
59611         (struct test_f_f1_data): Likewise.  Remove field extra_name.
59612         (struct test_fF_f1_data): Likewise.
59613         (struct test_ffI_f1_data): Likewise.
59614         (struct test_c_c_data): Rename test_name field to arg_str.
59615         (struct test_cc_c_data): Likewise.
59616         (struct test_f_i_data): Likewise.
59617         (struct test_ff_i_data): Likewise.
59618         (struct test_f_l_data): Likewise.
59619         (struct test_f_L_data): Likewise.
59620         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
59621         and extra2_name.
59622         (COMMON_TEST_SETUP): New macro.
59623         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
59624         (COMMON_TEST_CLEANUP): Likewise.
59625         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
59626         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
59627         macros.
59628         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
59629         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
59630         macros.
59631         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
59632         (RUN_TEST_fff_f): Take argument string.  Call new setup and
59633         cleanup macros.
59634         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
59635         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
59636         macros.
59637         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
59638         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
59639         macros.
59640         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
59641         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
59642         cleanup macros.
59643         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
59644         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
59645         cleanup macros.
59646         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
59647         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
59648         cleanup macros.
59649         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
59650         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
59651         macros.
59652         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
59653         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
59654         macros.
59655         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
59656         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
59657         macros.
59658         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
59659         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
59660         cleanup macros.
59661         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
59662         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
59663         cleanup macros.
59664         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
59665         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
59666         macros.
59667         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
59668         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
59669         cleanup macros.
59670         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
59671         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
59672         macros.
59673         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
59674         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
59675         macros.
59676         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
59677         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
59678         cleanup macros.
59679         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
59681 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
59683         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
59684         to _sifields.sigfault.
59685         (si_addr_lsb): Define new macro.
59686         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
59687         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
59688         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
59690 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
59692         [BZ #15441]
59693         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
59694         returns -1.
59695         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
59696         null return -1.
59697         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
59698         loading the domain.
59700 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
59702         * math/gen-libm-test.pl (parse_args): Do not include expected
59703         result in test name.
59704         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
59705         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
59706         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
59707         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
59708         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
59709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59711 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
59713         * benchtests/Makefile: Sort function entries.
59715         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
59716         tanh, asinh, acosh, atanh.
59717         * benchtests/acos-inputs: New file.
59718         * benchtests/acosh-inputs: New file.
59719         * benchtests/asin-inputs: New file.
59720         * benchtests/asinh-inputs: New file.
59721         * benchtests/atanh-inputs: New file.
59722         * benchtests/cosh-inputs: New file.
59723         * benchtests/log-inputs: New file.
59724         * benchtests/sinh-inputs: New file.
59725         * benchtests/tanh-inputs: New file.
59727 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
59729         [BZ #15339]
59730         * posix/tst-getaddrinfo4.c: New test.
59731         * posix/Makefile (tests): Add it.
59733 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
59735         [BZ #15339]
59736         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
59737         when no services were used.
59738         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
59739         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
59741 2013-05-21  Andreas Schwab  <schwab@suse.de>
59743         [BZ #15014]
59744         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
59745         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
59746         successful.
59747         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
59748         redundant variable declarations and reallocation of buffer when
59749         parsing as IPv6 address.  Always set NSS status when called from
59750         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
59751         buffer too small.  Correct computation of needed size.
59752         * nss/Makefile (tests): Add test-digits-dots.
59753         * nss/test-digits-dots.c: New test.
59755 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
59757         * benchtests/Makefile: Remove instructions for adding
59758         benchmark tests.
59759         * benchtests/README: New file to explain how to execute and
59760         enhance the benchmark tests.
59762 2013-05-21  Andreas Schwab  <schwab@suse.de>
59764         [BZ #15493]
59765         * setjmp/Makefile (tests): Add tst-sigsetjmp.
59766         * setjmp/tst-sigsetjmp.c: New test.
59768 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
59770         * sysdeps/x86_64/memset.S (memset): New implementation.
59771         (__bzero): Likewise.
59772         (__memset_tail): New function.
59774 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
59776         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
59777         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
59778         __memcpy_sse2_unaligned ifunc selection.
59779         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
59780         Add memcpy-sse2-unaligned.S.
59781         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
59782         Add: __memcpy_sse2_unaligned.
59784 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
59786         [BZ #15490]
59787         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
59788         math_force_eval before restoring floating-point envrionment.
59789         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
59790         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
59791         Likewise.
59792         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
59793         <math_private.h>.
59794         (__nearbyintl): Use math_force_eval before restoring
59795         floating-point environment.
59796         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
59798         * math/gen-libm-test.pl (special_functions): Remove.
59799         (parse_args): Don't handle TEST_extra.  Handle functions with no
59800         return value.
59801         * math/libm-test.inc (struct test_sincos_data): Replace with
59802         struct test_fFF_11_data.
59803         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
59804         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
59805         (sincos_test_data): Change element type to struct
59806         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
59807         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
59808         RUN_TEST_LOOP_sincos.
59809         * math/README.libm-test: Don't mention special handling of
59810         individual functions.
59811         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
59812         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
59813         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
59814         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
59815         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
59816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59818         * math/gen-libm-test.pl (get_variable): Remove function.
59819         (parse_args): Don't show pointer parameters to call in test
59820         names.  Use "extra output N" in test names for extra outputs
59821         rather than naming variables.
59823 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
59825         [BZ #15488]
59826         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
59827         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
59828         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
59829         double tests.
59830         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
59831         disable.
59832         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
59833         check_long_double.
59835         * math/gen-libm-test.pl (@tests): Remove variable.
59836         ($count): Likewise.
59837         (new_test): Remove function.
59838         (show_exceptions): New function.
59839         (special_functions): Use show_exceptions instead of new_test.
59840         (parse_args): Likewise.
59841         (generate_testfile): Pass only function name in generated call to
59842         print_max_error or print_complex_max_error.
59843         (get_ulps): Do not handle complex tests specially.
59844         (output_test): Rename to ...
59845         (get_all_ulps_for_test): ... this.  Return a string rather than
59846         printing to a file.  Require ulps to be present.
59847         (output_ulps): Generate arrays rather than #defines.
59848         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
59849         (struct ulp_data): New type.
59850         (BUILD_COMPLEX_ULP): Remove macro.
59851         (compare_ulp_data): New function.
59852         (find_ulps): Likewise.
59853         (find_test_ulps): Likewise.
59854         (find_function_ulps): Likewise.
59855         (find_complex_function_ulps): Likewise.
59856         (print_max_error): Determine allowed ulps using
59857         find_function_ulps.
59858         (print_complex_max_error): Determine allowed ulps using
59859         find_complex_function_ulps.
59860         (check_float_internal): Determine max ulps using find_test_ulps.
59861         (check_float): Do not take max_ulp parameter.  Update call to
59862         check_float_internal.
59863         (check_complex): Likewise.
59864         (check_int): Do not take max_ulp parameter.
59865         (check_long): Likewise.
59866         (check_bool): Likewise.
59867         (check_longlong): Likewise.
59868         (struct test_f_f_data): Remove max_ulp field.
59869         (struct test_ff_f_data): Likewise.
59870         (struct test_ff_f_data_nexttoward): Likewise.
59871         (struct test_fi_f_data): Likewise.
59872         (struct test_fl_f_data): Likewise.
59873         (struct test_if_f_data): Likewise.
59874         (struct test_fff_f_data): Likewise.
59875         (struct test_c_f_data): Likewise.
59876         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
59877         (struct test_fF_f1_data): Likewise.
59878         (struct test_ffI_f1_data): Likewise.
59879         (struct test_c_c_data): Remove max_ulp field.
59880         (struct test_cc_c_data): Likewise.
59881         (struct test_f_i_data): Likewise.
59882         (struct test_ff_i_data): Likewise.
59883         (struct test_f_l_data): Likewise.
59884         (struct test_f_L_data): Likewise.
59885         (struct test_sincos_data): Likewise.
59886         (RUN_TEST_f_f): Do not handle ulps.
59887         (RUN_TEST_LOOP_f_f): Likewise.
59888         (RUN_TEST_2_f): Likewise.
59889         (RUN_TEST_LOOP_2_f): Likewise.
59890         (RUN_TEST_fff_f): Likewise.
59891         (RUN_TEST_LOOP_fff_f): Likewise.
59892         (RUN_TEST_c_f): Likewise.
59893         (RUN_TEST_LOOP_c_f): Likewise.
59894         (RUN_TEST_f_f1): Likewise.
59895         (RUN_TEST_LOOP_f_f1): Likewise.
59896         (RUN_TEST_fF_f1): Likewise.
59897         (RUN_TEST_LOOP_fF_f1): Likewise.
59898         (RUN_TEST_fI_f1): Likewise.
59899         (RUN_TEST_LOOP_fI_f1): Likewise.
59900         (RUN_TEST_ffI_f1): Likewise.
59901         (RUN_TEST_LOOP_ffI_f1): Likewise.
59902         (RUN_TEST_c_c): Likewise.
59903         (RUN_TEST_LOOP_c_c): Likewise.
59904         (RUN_TEST_cc_c): Likewise.
59905         (RUN_TEST_LOOP_cc_c): Likewise.
59906         (RUN_TEST_f_i): Likewise.
59907         (RUN_TEST_LOOP_f_i): Likewise.
59908         (RUN_TEST_f_i_tg): Likewise.
59909         (RUN_TEST_LOOP_f_i_tg): Likewise.
59910         (RUN_TEST_ff_i_tg): Likewise.
59911         (RUN_TEST_LOOP_ff_i_tg): Likewise.
59912         (RUN_TEST_f_b): Likewise.
59913         (RUN_TEST_LOOP_f_b): Likewise.
59914         (RUN_TEST_f_b_tg): Likewise.
59915         (RUN_TEST_LOOP_f_b_tg): Likewise.
59916         (RUN_TEST_f_l): Likewise.
59917         (RUN_TEST_LOOP_f_l): Likewise.
59918         (RUN_TEST_f_L): Likewise.
59919         (RUN_TEST_LOOP_f_L): Likewise.
59920         (RUN_TEST_sincos): Likewise.
59921         (RUN_TEST_LOOP_sincos): Likewise.
59923 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
59925         [BZ #15480]
59926         [BZ #15485]
59927         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
59928         main case of finite arguments, set rounding mode to FE_TONEAREST
59929         and discard exceptions.
59930         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
59931         exceptions.
59932         (remainder_tonearest_test_data): New variable.
59933         (remainder_test_tonearest): New function.
59934         (remainder_towardzero_test_data): New variable.
59935         (remainder_test_towardzero): New function.
59936         (remainder_downward_test_data): New variable.
59937         (remainder_test_downward): New function.
59938         (remainder_upward_test_data): New variable.
59939         (remainder_test_upward): New function.
59940         (main): Call the new test functions.
59942         * math/libm-test.inc (struct test_f_f1_data): Remove field
59943         extra_init.
59944         (struct test_fF_f1_data): Likewise.
59945         (struct test_ffI_f1_data): Likewise.
59946         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
59947         based on value of EXTRA_EXPECTED.
59948         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
59949         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
59950         EXTRA_VAR based on value of EXTRA_EXPECTED.
59951         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
59952         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
59953         EXTRA_VAR based on value of EXTRA_EXPECTED.
59954         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
59955         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
59956         EXTRA_VAR based on value of EXTRA_EXPECTED.
59957         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
59958         * math/gen-libm-test.pl (parse_args): Don't output initializers
59959         for extra output values.
59961         * math/libm-test.inc (check_int): Expect result to be exactly
59962         equal to expected value and do not handle ulps.
59963         (check_long): Likewise.
59964         (check_longlong): Likewise.
59966         * math/libm-test.inc (ceil_test_data): Test for "inexact"
59967         exceptions.
59968         (cimag_test_data): Likewise.
59969         (conj_test_data): Likewise.
59970         (copysign_test_data): Likewise.
59971         (cproj_test_data): Likewise.
59972         (creal_test_data): Likewise.
59973         (fabs_test_data): Likewise.
59974         (fdim_test_data): Likewise.
59975         (finite_test_data): Likewise.
59976         (floor_test_data): Likewise.
59977         (fmax_test_data): Likewise.
59978         (fmin_test_data): Likewise.
59979         (fmod_test_data): Likewise.
59980         (fpclassify_test_data): Likewise.
59981         (frexp_test_data): Likewise.
59982         (ilogb_test_data): Likewise.
59983         (isfinite_test_data): Likewise.
59984         (isgreater_test_data): Likewise.
59985         (isgreaterequal_test_data): Likewise.
59986         (isinf_test_data): Likewise.
59987         (isless_test_data): Likewise.
59988         (islessequal_test_data): Likewise.
59989         (islessgreater_test_data): Likewise.
59990         (isnan_test_data): Likewise.
59991         (isnormal_test_data): Likewise.
59992         (issignaling_test_data): Likewise.
59993         (isunordered_test_data): Likewise.
59994         (ldexp_test_data): Likewise.
59995         (lrint_test_data): Likewise.
59996         (lrint_test_data) [TEST_FLOAT]: Disable one test.
59997         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
59998         (lrint_tonearest_test_data): Test for "inexact" exceptions.
59999         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
60000         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
60001         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
60002         test input.
60003         (lrint_towardzero_test_data): Test for "inexact" exceptions.
60004         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
60005         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
60006         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
60007         that test input.
60008         (lrint_downward_test_data): Test for "inexact" exceptions.
60009         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
60010         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
60011         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
60012         test input.
60013         (lrint_upward_test_data): Test for "inexact" exceptions.
60014         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
60015         test input.
60016         (llrint_test_data): Test for "inexact" exceptions.
60017         (llrint_test_data) [TEST_FLOAT]: Disable one test.
60018         (llrint_tonearest_test_data): Test for "inexact" exceptions.
60019         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
60020         (llrint_towardzero_test_data): Test for "inexact" exceptions.
60021         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
60022         (llrint_downward_test_data): Test for "inexact" exceptions.
60023         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
60024         (llrint_upward_test_data): Test for "inexact" exceptions.
60025         (logb_test_data): Likewise.
60026         (logb_downward_test_data): Likewise.
60027         (nextafter_test_data): Likewise.
60028         (nexttoward_test_data): Likewise.
60029         (remainder_test_data): Likewise.
60030         (remquo_test_data): Likewise.
60031         (scalbn_test_data): Likewise.
60032         (scalbln_test_data): Likewise.
60033         (signbit_test_data): Likewise.
60034         (sqrt_test_data): Likewise.
60035         (significand_test_data): Likewise.
60037 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
60039         [BZ #15424]
60040         * benchtests/bench-modf.c (struct args): Mark arg0 as
60041         volatile.
60042         * scripts/bench.pl: Mark members of struct args as volatile.
60044 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60046         [BZ # 15497]
60047         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
60048         negative infinity on POWER6 or lower.
60049         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
60051 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
60053         [BZ #15442]
60054         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
60055         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
60056         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
60057         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
60058         (_FP_SETQNAN): New macro.
60059         (_FP_SETQNAN_SEMIRAW): Likewise.
60060         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
60061         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
60062         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
60063         (FP_EXTEND): Use _FP_FRAC_SNANP.
60064         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
60065         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
60066         into account.
60067         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
60068         New macro.
60069         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
60070         Likewise.
60072 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
60074         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
60075         with DIVIDE_BY_ZERO_EXCEPTION.
60076         (gamma_test_data): Likewise.
60077         (lgamma_test_data): Likewise.
60078         (log_test_data): Likewise.
60079         (log10_test_data): Likewise.
60080         (log2_test_data): Likewise.
60081         (tgamma_test_data): Likewise.
60083         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
60084         (acos_test_tonearest): Likewise.
60085         (acos_test_towardzero): Likewise.
60086         (acos_test_downward): Likewise.
60087         (acos_test_upward): Likewise.
60088         (acosh_test): Likewise.
60089         (asin_test): Likewise.
60090         (asin_test_tonearest): Likewise.
60091         (asin_test_towardzero): Likewise.
60092         (asin_test_downward): Likewise.
60093         (asin_test_upward): Likewise.
60094         (asinh_test): Likewise.
60095         (atan_test): Likewise.
60096         (atanh_test): Likewise.
60097         (atan2_test): Likewise.
60098         (cabs_test): Likewise.
60099         (cacos_test): Likewise.
60100         (cacosh_test): Likewise.
60101         (casin_test): Likewise.
60102         (casinh_test): Likewise.
60103         (catan_test): Likewise.
60104         (catanh_test): Likewise.
60105         (cbrt_test): Likewise.
60106         (ccos_test): Likewise.
60107         (ccosh_test): Likewise.
60108         (cexp_test): Likewise.
60109         (clog_test): Likewise.
60110         (clog10_test): Likewise.
60111         (cos_test): Likewise.
60112         (cos_test_tonearest): Likewise.
60113         (cos_test_towardzero): Likewise.
60114         (cos_test_downward): Likewise.
60115         (cos_test_upward): Likewise.
60116         (cosh_test): Likewise.
60117         (cosh_test_tonearest): Likewise.
60118         (cosh_test_towardzero): Likewise.
60119         (cosh_test_downward): Likewise.
60120         (cosh_test_upward): Likewise.
60121         (cpow_test): Likewise.
60122         (csin_test): Likewise.
60123         (csinh_test): Likewise.
60124         (csqrt_test): Likewise.
60125         (ctan_test): Likewise.
60126         (ctan_test_tonearest): Likewise.
60127         (ctan_test_towardzero): Likewise.
60128         (ctan_test_downward): Likewise.
60129         (ctan_test_upward): Likewise.
60130         (ctanh_test): Likewise.
60131         (ctanh_test_tonearest): Likewise.
60132         (ctanh_test_towardzero): Likewise.
60133         (ctanh_test_downward): Likewise.
60134         (ctanh_test_upward): Likewise.
60135         (erf_test): Likewise.
60136         (erfc_test): Likewise.
60137         (exp_test): Likewise.
60138         (exp_test_tonearest): Likewise.
60139         (exp_test_towardzero): Likewise.
60140         (exp_test_downward): Likewise.
60141         (exp_test_upward): Likewise.
60142         (exp10_test): Likewise.
60143         (exp2_test): Likewise.
60144         (expm1_test): Likewise.
60145         (fmod_test): Likewise.
60146         (gamma_test): Likewise.
60147         (hypot_test): Likewise.
60148         (j0_test): Likewise.
60149         (j1_test): Likewise.
60150         (jn_test): Likewise.
60151         (lgamma_test): Likewise.
60152         (log_test): Likewise.
60153         (log10_test): Likewise.
60154         (log1p_test): Likewise.
60155         (log2_test): Likewise.
60156         (logb_test_downward): Likewise.
60157         (pow_test): Likewise.
60158         (pow_test_tonearest): Likewise.
60159         (pow_test_towardzero): Likewise.
60160         (pow_test_downward): Likewise.
60161         (pow_test_upward): Likewise.
60162         (remainder_test): Likewise.
60163         (remquo_test): Likewise.
60164         (sin_test): Likewise.
60165         (sin_test_tonearest): Likewise.
60166         (sin_test_towardzero): Likewise.
60167         (sin_test_downward): Likewise.
60168         (sin_test_upward): Likewise.
60169         (sincos_test): Likewise.
60170         (sinh_test): Likewise.
60171         (sinh_test_tonearest): Likewise.
60172         (sinh_test_towardzero): Likewise.
60173         (sinh_test_downward): Likewise.
60174         (sinh_test_upward): Likewise.
60175         (sqrt_test): Likewise.
60176         (tan_test): Likewise.
60177         (tan_test_tonearest): Likewise.
60178         (tan_test_towardzero): Likewise.
60179         (tan_test_downward): Likewise.
60180         (tan_test_upward): Likewise.
60181         (tanh_test): Likewise.
60182         (tgamma_test): Likewise.
60183         (y0_test): Likewise.
60184         (y1_test): Likewise.
60185         (yn_test): Likewise.
60187         * math/gen-libm-test.pl (adjust_arg): Remove function.
60188         (special_function): Remove argument $in_func.  Only handle
60189         generating output for tables of tests, not inside functions.
60190         (parse_args): Likewise.
60191         (generate_testfile): Remove variable $in_func.  Update call to
60192         parse_args.
60193         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
60194         (MINUS_ZERO_INIT): Rename macro to minus_zero.
60195         (PLUS_INFTY_INIT): Rename macro to plus_infty.
60196         (MINUS_INFTY_INIT): Rename macro to minus_infty.
60197         (QNAN_VALUE_INIT): Rename macro to qnan_value.
60198         (MAX_VALUE_INIT): Rename macro to max_value.
60199         (MIN_VALUE_INIT): Rename macro to min_value.
60200         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
60201         (plus_zero): Remove variable.
60202         (minus_zero): Likewise.
60203         (plus_infty): Likewise.
60204         (minus_infty): Likewise.
60205         (qnan_value): Likewise.
60206         (max_value): Likewise.
60207         (min_value): Likewise.
60208         (min_subnorm_value): Likewise.
60210 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60212         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
60213         uint64_t or uint32_t usage.
60214         * crypt/sha256-block.c: Likewise.
60215         * crypt/sha256-crypt.c: Likewise.
60216         * crypt/sha256.c: Likewise.
60217         * crypt/sha512-block.c: Likewise.
60218         * crypt/sha512-crypt.c: Likewise.
60219         * crypt/sha512.c: Likewise.
60220         * debug/backtrace-tst.c: Likewise.
60221         * debug/pcprofiledump.c: Likewise.
60222         * elf/cache.c: Likewise.
60223         * elf/dl-cache.c: Likewise.
60224         * elf/dl-misc.c: Likewise.
60225         * elf/dl-profile.c: Likewise.
60226         * elf/dl-support.c: Likewise.
60227         * elf/ldconfig.c: Likewise.
60228         * elf/sprof.c: Likewise.
60229         * iconv/dummy-repertoire.c: Likewise.
60230         * iconv/iconv_charmap.c: Likewise.
60231         * iconv/skeleton.c: Likewise.
60232         * iconvdata/8bit-generic.c: Likewise.
60233         * iconvdata/cp737.h: Likewise.
60234         * iconvdata/cp775.h: Likewise.
60235         * iconvdata/ibm1008.h: Likewise.
60236         * iconvdata/ibm1025.h: Likewise.
60237         * iconvdata/ibm1046.h: Likewise.
60238         * iconvdata/ibm1097.h: Likewise.
60239         * iconvdata/ibm1112.h: Likewise.
60240         * iconvdata/ibm1122.h: Likewise.
60241         * iconvdata/ibm1123.h: Likewise.
60242         * iconvdata/ibm1124.h: Likewise.
60243         * iconvdata/ibm1129.h: Likewise.
60244         * iconvdata/ibm1130.h: Likewise.
60245         * iconvdata/ibm1132.h: Likewise.
60246         * iconvdata/ibm1133.h: Likewise.
60247         * iconvdata/ibm1137.h: Likewise.
60248         * iconvdata/ibm1140.h: Likewise.
60249         * iconvdata/ibm1141.h: Likewise.
60250         * iconvdata/ibm1142.h: Likewise.
60251         * iconvdata/ibm1143.h: Likewise.
60252         * iconvdata/ibm1144.h: Likewise.
60253         * iconvdata/ibm1145.h: Likewise.
60254         * iconvdata/ibm1146.h: Likewise.
60255         * iconvdata/ibm1147.h: Likewise.
60256         * iconvdata/ibm1148.h: Likewise.
60257         * iconvdata/ibm1149.h: Likewise.
60258         * iconvdata/ibm1153.h: Likewise.
60259         * iconvdata/ibm1154.h: Likewise.
60260         * iconvdata/ibm1155.h: Likewise.
60261         * iconvdata/ibm1156.h: Likewise.
60262         * iconvdata/ibm1157.h: Likewise.
60263         * iconvdata/ibm1158.h: Likewise.
60264         * iconvdata/ibm1160.h: Likewise.
60265         * iconvdata/ibm1161.h: Likewise.
60266         * iconvdata/ibm1162.h: Likewise.
60267         * iconvdata/ibm1163.h: Likewise.
60268         * iconvdata/ibm1164.h: Likewise.
60269         * iconvdata/ibm1166.h: Likewise.
60270         * iconvdata/ibm1167.h: Likewise.
60271         * iconvdata/ibm12712.h: Likewise.
60272         * iconvdata/ibm1390.h: Likewise.
60273         * iconvdata/ibm1399.h: Likewise.
60274         * iconvdata/ibm16804.h: Likewise.
60275         * iconvdata/ibm4517.h: Likewise.
60276         * iconvdata/ibm4899.h: Likewise.
60277         * iconvdata/ibm4909.h: Likewise.
60278         * iconvdata/ibm4971.h: Likewise.
60279         * iconvdata/ibm5347.h: Likewise.
60280         * iconvdata/ibm803.h: Likewise.
60281         * iconvdata/ibm856.h: Likewise.
60282         * iconvdata/ibm901.h: Likewise.
60283         * iconvdata/ibm902.h: Likewise.
60284         * iconvdata/ibm9030.h: Likewise.
60285         * iconvdata/ibm9066.h: Likewise.
60286         * iconvdata/ibm921.h: Likewise.
60287         * iconvdata/ibm922.h: Likewise.
60288         * iconvdata/ibm9448.h: Likewise.
60289         * iconvdata/isiri-3342.h: Likewise.
60290         * iconvdata/jis0201.h: Likewise.
60291         * include/link.h: Likewise.
60292         * include/netdb.h: Likewise.
60293         * inet/check_native.c: Likewise.
60294         * inet/check_pf.c: Likewise.
60295         * inet/getipv4sourcefilter.c: Likewise.
60296         * inet/getnameinfo.c: Likewise.
60297         * inet/getsourcefilter.c: Likewise.
60298         * inet/htonl.c: Likewise.
60299         * inet/setipv4sourcefilter.c: Likewise.
60300         * inet/setsourcefilter.c: Likewise.
60301         * inet/test-inet6_opt.c: Likewise.
60302         * inet/tst-network.c: Likewise.
60303         * locale/C-collate.c: Likewise.
60304         * locale/C-ctype.c: Likewise.
60305         * locale/C-time.c: Likewise.
60306         * locale/C-translit.h: Likewise.
60307         * locale/loadarchive.c: Likewise.
60308         * locale/programs/3level.h: Likewise.
60309         * locale/programs/charmap.c: Likewise.
60310         * locale/programs/charmap.h: Likewise.
60311         * locale/programs/ld-address.c: Likewise.
60312         * locale/programs/ld-collate.c: Likewise.
60313         * locale/programs/ld-ctype.c: Likewise.
60314         * locale/programs/ld-identification.c: Likewise.
60315         * locale/programs/ld-measurement.c: Likewise.
60316         * locale/programs/ld-messages.c: Likewise.
60317         * locale/programs/ld-monetary.c: Likewise.
60318         * locale/programs/ld-name.c: Likewise.
60319         * locale/programs/ld-numeric.c: Likewise.
60320         * locale/programs/ld-paper.c: Likewise.
60321         * locale/programs/ld-telephone.c: Likewise.
60322         * locale/programs/ld-time.c: Likewise.
60323         * locale/programs/linereader.c: Likewise.
60324         * locale/programs/locale.c: Likewise.
60325         * locale/programs/locarchive.c: Likewise.
60326         * locale/programs/locfile.h: Likewise.
60327         * locale/programs/repertoire.c: Likewise.
60328         * locale/programs/simple-hash.c: Likewise.
60329         * locale/programs/simple-hash.h: Likewise.
60330         * malloc/memusage.c: Likewise.
60331         * malloc/memusagestat.c: Likewise.
60332         * nis/nis_defaults.c: Likewise.
60333         * nis/nis_hash.c: Likewise.
60334         * nis/nis_print.c: Likewise.
60335         * nis/nis_xdr.c: Likewise.
60336         * nscd/connections.c: Likewise.
60337         * nscd/hstcache.c: Likewise.
60338         * nscd/nscd_gethst_r.c: Likewise.
60339         * nscd/nscd_getserv_r.c: Likewise.
60340         * nscd/nscd_helper.c: Likewise.
60341         * nscd/servicescache.c: Likewise.
60342         * nss/makedb.c: Likewise.
60343         * nss/nss_db/db-XXX.c: Likewise.
60344         * nss/nss_db/db-initgroups.c: Likewise.
60345         * nss/nss_db/db-netgrp.c: Likewise.
60346         * nss/nss_files/files-network.c: Likewise.
60347         * nss/nss_files/files-parse.c: Likewise.
60348         * posix/bug-regex5.c: Likewise.
60349         * posix/fnmatch_loop.c: Likewise.
60350         * posix/regcomp.c: Likewise.
60351         * posix/regexec.c: Likewise.
60352         * posix/tst-rfc3484-2.c: Likewise.
60353         * posix/tst-rfc3484-3.c: Likewise.
60354         * posix/tst-rfc3484.c: Likewise.
60355         * resolv/nss_dns/dns-canon.c: Likewise.
60356         * resolv/nss_dns/dns-network.c: Likewise.
60357         * resolv/res_init.c: Likewise.
60358         * resolv/res_mkquery.c: Likewise.
60359         * resolv/tst-aton.c: Likewise.
60360         * stdlib/cxa_atexit.c: Likewise.
60361         * stdlib/cxa_finalize.c: Likewise.
60362         * stdlib/gen-fpioconst.c: Likewise.
60363         * stdlib/strtol_l.c: Likewise.
60364         * string/tst-endian.c: Likewise.
60365         * sunrpc/auth_des.c: Likewise.
60366         * sunrpc/clnt_udp.c: Likewise.
60367         * sunrpc/rtime.c: Likewise.
60368         * sunrpc/svcauth_des.c: Likewise.
60369         * sunrpc/xdr.c: Likewise.
60370         * sunrpc/xdr_intXX_t.c: Likewise.
60371         * sunrpc/xdr_rec.c: Likewise.
60372         * sysdeps/generic/ldconfig.h: Likewise.
60373         * sysdeps/generic/ldsodefs.h: Likewise.
60374         * sysdeps/generic/memusage.h: Likewise.
60375         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
60376         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
60377         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
60378         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
60379         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
60380         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
60381         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
60382         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
60383         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
60384         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
60385         * sysdeps/posix/getaddrinfo.c: Likewise.
60386         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
60387         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
60388         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
60389         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
60390         * sysdeps/powerpc/test-gettimebase.c: Likewise.
60391         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
60392         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
60393         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
60394         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
60395         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
60396         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
60397         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
60398         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
60399         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
60400         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
60401         * sysdeps/x86_64/dl-tls.h: Likewise.
60402         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
60403         * time/alt_digit.c: Likewise.
60404         * time/era.c: Likewise.
60405         * wcsmbs/tst-c16c32-1.c: Likewise.
60407 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
60409         * math/libm-test.inc (struct test_sincos_data): New type.
60410         (RUN_TEST_LOOP_sincos): New macro.
60411         (sincos_test_data): New variable.
60412         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
60414 2013-05-16  Richard Henderson  <rth@redhat.com>
60416         * math/atest-exp2.c (LIMB64): New macro.
60417         (CONSTSZ): New macro.
60418         (mp_exp1, mp_exp_m1, mp_log2): New variables.
60419         (hexdig): Move ...
60420         (print_mpn_fp): ... to function scope.
60421         (read_mpn_hex): Remove.
60422         (get_log2): Remove.
60423         (exp2_mpn): Use mp_log2.
60424         (main): Use mp_exp1.
60426 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
60428         * math/libm-test.inc: Remove comment about not testing "inexact"
60429         exceptions.
60430         (INEXACT_EXCEPTION): New macro.
60431         (NO_INEXACT_EXCEPTION): Likewise.
60432         (INVALID_EXCEPTION_OK): Update value.
60433         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
60434         (OVERFLOW_EXCEPTION_OK): Likewise.
60435         (UNDERFLOW_EXCEPTION_OK): Likewise.
60436         (IGNORE_ZERO_INF_SIGN): Likewise.
60437         (ERRNO_UNCHANGED): Likewise.
60438         (ERRNO_EDOM): Likewise.
60439         (ERRNO_ERANGE): Likewise.
60440         (test_exceptions): Handle testing "inexact" exceptions.
60441         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
60442         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
60443         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
60444         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
60445         INEXACT_EXCEPTION.
60446         (rint_towardzero_test_data): Likewise.
60447         (rint_downward_test_data): Likewise.
60448         (rint_upward_test_data): Likewise.
60450         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
60451         with OVERFLOW_EXCEPTION.
60452         (exp10_test_data): Likewise.
60453         (exp2_test_data): Likewise.
60454         (expm1_test_data): Likewise.
60455         (lgamma_test_data): Likewise.
60456         (pow_test_data): Likewise.
60457         (tgamma_test_data): Likewise.
60458         (yn_test_data): Remove duplicate test of overflow.
60460         * math/libm-test.inc (struct test_cc_c_data): New type.
60461         (RUN_TEST_LOOP_cc_c): New macro.
60462         (cpow_test_data): New variable.
60463         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
60465         * math/libm-test.inc (struct test_f_L_data): New type.
60466         (RUN_TEST_LOOP_f_L): New macro.
60467         (llrint_test_data): New variable.
60468         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
60469         (llrint_tonearest_test_data): New variable.
60470         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
60471         (llrint_towardzero_test_data): New variable.
60472         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
60473         (llrint_downward_test_data): New variable.
60474         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
60475         (llrint_upward_test_data): New variable.
60476         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
60477         (llround_test_data): New variable.
60478         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
60480 2013-05-13  Peter Collingbourne  <pcc@google.com>
60482         * math/atest-exp2.c (get_log2): Remove const attribute.
60484 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
60486         * math/libm-test.inc (struct test_f_l_data): New type.
60487         (RUN_TEST_LOOP_f_l): New macro.
60488         (lrint_test_data): New variable.
60489         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
60490         (lrint_tonearest_test_data): New variable.
60491         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
60492         (lrint_towardzero_test_data): New variable.
60493         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
60494         (lrint_downward_test_data): New variable.
60495         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
60496         (lrint_upward_test_data): New variable.
60497         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
60498         (lround_test_data): New variable.
60499         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
60501 2013-05-15  Peter Collingbourne  <pcc@google.com>
60503         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
60504         (EXTRACT_WORDS64) Use where appropriate.
60505         (INSERT_WORDS64) Likewise.
60507         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
60508         constraints with x constraints.
60509         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
60511         * malloc/obstack.c (_obstack_compat): Add initializer.
60513 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
60515         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
60516         si_trapno and add si_addr_lsb to _sifields.sigfault.
60517         (si_trapno): Remove macro.
60518         (si_addr_lsb): Define new macro.
60519         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
60521 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
60523         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
60524         instead of TEST_f_l.
60525         (llrint_test_tonearest): Likewise.
60526         (llrint_test_towardzero): Likewise.
60527         (llrint_test_downward): Likewise.
60528         (llrint_test_upward): Likewise.
60529         (llround_test): Likewise.
60531         * math/libm-test.inc (struct test_f_i_data): Add comment.
60532         (RUN_TEST_LOOP_f_b): New macro.
60533         (RUN_TEST_LOOP_f_b_tg): Likewise.
60534         (finite_test_data): New variable.
60535         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
60536         (isfinite_test_data): New variable.
60537         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
60538         (isinf_test_data): New variable.
60539         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
60540         (isnan_test_data): New variable.
60541         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
60542         (isnormal_test_data): New variable.
60543         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
60544         (issignaling_test_data): New variable.
60545         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
60546         (signbit_test_data): New variable.
60547         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
60549         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
60550         with INVALID_EXCEPTION.
60551         (acosh_test_data): Likewise.
60552         (asin_test_data): Likewise.
60553         (atanh_test_data): Likewise.
60554         (fmod_test_data): Likewise.
60555         (log_test_data): Likewise.
60556         (log10_test_data): Likewise.
60557         (log2_test_data): Likewise.
60558         (pow_test_data): Likewise.
60559         (sqrt_test_data): Likewise.
60560         (y0_test_data): Likewise.
60561         (y1_test_data): Likewise.
60562         (yn_test_data): Likewise.
60564         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
60565         function contents.
60567         * math/libm-test.inc (struct test_ff_i_data): New type.
60568         (RUN_TEST_LOOP_ff_i_tg): New macro.
60569         (isgreater_test_data): New variable.
60570         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
60571         (isgreaterequal_test_data): New variable.
60572         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
60573         (isless_test_data): New variable.
60574         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
60575         (islessequal_test_data): New variable.
60576         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
60577         (islessgreater_test_data): New variable.
60578         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
60579         (isunordered_test_data): New variable.
60580         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
60582 2013-05-14  David S. Miller  <davem@davemloft.net>
60584         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60586 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
60588         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
60590         * math/libm-test.inc (struct test_fF_f1_data): Change type of
60591         extra_test to int.
60592         (struct test_f_i_data): Change type of max_ulp to int.
60594         * math/libm-test.inc (test_ffI_f1_data): New type.
60595         (RUN_TEST_LOOP_ffI_f1): New macro.
60596         (remquo_test_data): New variable.
60597         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
60599         * setjmp/tst-setjmp-fp.c: New file.
60600         * setjmp/Makefile (tests): Add tst-setjmp-fp.
60601         (link-libm): New variable.
60602         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
60604         * math/libm-test.inc (struct test_f_i_data): New type.
60605         (RUN_TEST_LOOP_f_i): New macro.
60606         (RUN_TEST_LOOP_f_i_tg): Likewise.
60607         (fpclassify_test_data): New variable.
60608         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
60609         (ilogb_test_data): New variable.
60610         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
60612         * math/libm-test.inc (scalbln_test): Correct function name in END
60613         call.
60615         * math/libm-test.inc (struct test_f_f1_data): Add comment.
60616         (RUN_TEST_LOOP_fI_f1): New macro.
60617         (frexp_test_data): New variable.
60618         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
60620         * math/libm-test.inc (struct test_fF_f1_data): New type.
60621         (RUN_TEST_LOOP_fF_f1): New macro.
60622         (modf_test_data): New variable.
60623         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
60625         * math/libm-test.inc (struct test_f_f1_data): New type.
60626         (RUN_TEST_LOOP_f_f1): New macro.
60627         (gamma_test_data): New variable.
60628         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
60629         (lgamma_test_data): New variable.
60630         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
60632 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
60634         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
60635         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
60636         (main): Comment "tls" pseudo-hwcap.
60638 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
60640         * math/libm-test.inc (struct test_fl_f_data): New type.
60641         (RUN_TEST_LOOP_fl_f): New variable.
60642         (scalbln_test_data): New variable.
60643         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
60645         * math/libm-test.inc (struct test_fi_f_data): New type.
60646         (RUN_TEST_LOOP_fi_f): New macro.
60647         (ldexp_test_data): New variable.
60648         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
60649         (scalbn_test_data): New variable.
60650         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
60652         * math/libm-test.inc (struct test_c_f_data): New type.
60653         (RUN_TEST_LOOP_c_f): New macro.
60654         (cabs_test_data): New variable.
60655         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
60656         (carg_test_data): New variable.
60657         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
60658         (cimag_test_data): New variable.
60659         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
60660         (creal_test_data): New variable.
60661         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
60663         * math/libm-test.inc (struct test_if_f_data): New type.
60664         (RUN_TEST_LOOP_if_f): New macro.
60665         (jn_test_data): New variable.
60666         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
60667         (yn_test_data): New variable.
60668         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
60670         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
60672 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60674         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
60675         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
60677 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
60679         * benchtests/Makefile (CPPFLAGS-nonlib): Add
60680         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
60681         (bench-deps): Add bench-timing.h.
60682         * benchtests-bench-skeleton.c: Include bench-timing.h.
60683         (main): Use TIMING_* macros instead of clock_gettime.
60684         * benchtests/bench-timing.h: New file.
60686         [BZ #14582]
60687         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
60688         Renamed from _LIB_VERSION.
60689         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
60691 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
60693         * math/libm-test.inc (struct test_fff_f_data): New type.
60694         (RUN_TEST_LOOP_fff_f): New macro.
60695         (fma_test_data): New variable.
60696         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
60697         (fma_towardzero_test_data): New variable.
60698         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
60699         (fma_downward_test_data): New variable.
60700         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
60701         (fma_upward_test_data): New variable.
60702         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
60704         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
60705         (struct test_c_c_data): New type.
60706         (RUN_TEST_LOOP_c_c): New macro.
60707         (cacos_test_data): New variable.
60708         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
60709         (cacosh_test_data): New variable.
60710         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
60711         (casin_test_data): New variable.
60712         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
60713         (casinh_test_data): New variable.
60714         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
60715         (catan_test_data): New variable.
60716         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
60717         (catanh_test_data): New variable.
60718         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
60719         (ccos_test_data): New variable.
60720         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
60721         (ccosh_test_data): New variable.
60722         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
60723         (cexp_test_data): New variable.
60724         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
60725         (clog_test_data): New variable.
60726         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
60727         (clog10_test_data): New variable.
60728         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
60729         (conj_test_data): New variable.
60730         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
60731         (cproj_test_data): New variable.
60732         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
60733         (csin_test_data): New variable.
60734         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
60735         (csinh_test_data): New variable.
60736         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
60737         (csqrt_test_data): New variable.
60738         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
60739         (ctan_test_data): New variable.
60740         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
60741         (ctan_tonearest_test_data): New variable.
60742         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
60743         (ctan_towardzero_test_data): New variable.
60744         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
60745         (ctan_downward_test_data): New variable.
60746         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
60747         (ctan_upward_test_data): New variable.
60748         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
60749         (ctanh_test_data): New variable.
60750         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
60751         (ctanh_tonearest_test_data): New variable.
60752         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
60753         (ctanh_towardzero_test_data): New variable.
60754         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
60755         (ctanh_downward_test_data): New variable.
60756         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
60757         (ctanh_upward_test_data): New variable.
60758         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
60759         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
60760         of BUILD_COMPLEX.
60762         * math/libm-test.inc (struct test_ff_f_data): New type.
60763         (struct test_ff_f_data_nexttoward): Likewise.
60764         (RUN_TEST_LOOP_2_f): New macro.
60765         (RUN_TEST_LOOP_ff_f): Likewise.
60766         (atan2_test_data): New variable.
60767         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
60768         (copysign_test_data): New variable.
60769         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
60770         (fdim_test_data): New variable.
60771         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
60772         (fmax_test_data): New variable.
60773         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
60774         (fmin_test_data): New variable.
60775         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
60776         (fmod_test_data): New variable.
60777         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
60778         (hypot_test_data): New variable.
60779         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
60780         (nextafter_test_data): New variable.
60781         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
60782         (nexttoward_test_data): New variable.
60783         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
60784         (pow_test_data): New variable.
60785         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
60786         (pow_tonearest_test_data): New variable.
60787         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
60788         (pow_towardzero_test_data): New variable.
60789         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
60790         (pow_downward_test_data): New variable.
60791         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
60792         (pow_upward_test_data): New variable.
60793         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
60794         (remainder_test_data): New variable.
60795         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
60796         (scalb_test_data): New variable.
60797         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
60798         * sysdeps/i386/fpu/libm-test-ulps: Update.
60800 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
60802         * math/libm-test.inc (fma_test): Use max_value instead of local
60803         variable fltmax.
60804         (nextafter_test): Likewise.
60806         * math/libm-test.inc (acos_towardzero_test_data): New variable.
60807         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60808         (acos_downward_test_data): New variable.
60809         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60810         (acos_upward_test_data): New variable.
60811         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60812         (acosh_test_data): New variable.
60813         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
60814         (asin_test_data): New variable.
60815         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
60816         (asin_tonearest_test_data): New variable.
60817         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60818         (asin_towardzero_test_data): New variable.
60819         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60820         (asin_downward_test_data): New variable.
60821         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60822         (asin_upward_test_data): New variable.
60823         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60824         (asinh_test_data): New variable.
60825         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
60826         (atan_test_data): New variable.
60827         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
60828         (atanh_test_data): New variable.
60829         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
60830         (cbrt_test_data): New variable.
60831         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
60832         (ceil_test_data): New variable.
60833         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
60834         (cos_test_data): New variable.
60835         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
60836         (cos_tonearest_test_data): New variable.
60837         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60838         (cos_towardzero_test_data): New variable.
60839         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60840         (cos_downward_test_data): New variable.
60841         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60842         (cos_upward_test_data): New variable.
60843         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60844         (cosh_test_data): New variable.
60845         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
60846         (cosh_tonearest_test_data): New variable.
60847         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60848         (cosh_towardzero_test_data): New variable.
60849         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60850         (cosh_downward_test_data): New variable.
60851         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60852         (cosh_upward_test_data): New variable.
60853         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60854         (erf_test_data): New variable.
60855         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
60856         (erfc_test_data): New variable.
60857         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
60858         (exp_test_data): New variable.
60859         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
60860         (exp_tonearest_test_data): New variable.
60861         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60862         (exp_towardzero_test_data): New variable.
60863         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60864         (exp_downward_test_data): New variable.
60865         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60866         (exp_upward_test_data): New variable.
60867         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60868         (exp10_test_data): New variable.
60869         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
60870         (exp2_test_data): New variable.
60871         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
60872         (expm1_test_data): New variable.
60873         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
60874         (fabs_test_data): New variable.
60875         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
60876         (floor_test_data): New variable.
60877         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
60878         (j0_test_data): New variable.
60879         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
60880         (j1_test_data): New variable.
60881         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
60882         (log_test_data): New variable.
60883         (log_test): Run tests with RUN_TEST_LOOP_f_f.
60884         (log10_test_data): New variable.
60885         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
60886         (log1p_test_data): New variable.
60887         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
60888         (log2_test_data): New variable.
60889         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
60890         (logb_test_data): New variable.
60891         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
60892         (logb_downward_test_data): New variable.
60893         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60894         (nearbyint_test_data): New variable.
60895         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
60896         (rint_test_data): New variable.
60897         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
60898         (rint_tonearest_test_data): New variable.
60899         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60900         (rint_towardzero_test_data): New variable.
60901         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60902         (rint_downward_test_data): New variable.
60903         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60904         (rint_upward_test_data): New variable.
60905         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60906         (round_test_data): New variable.
60907         (round_test): Run tests with RUN_TEST_LOOP_f_f.
60908         (sin_test_data): New variable.
60909         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
60910         (sin_tonearest_test_data): New variable.
60911         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60912         (sin_towardzero_test_data): New variable.
60913         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60914         (sin_downward_test_data): New variable.
60915         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60916         (sin_upward_test_data): New variable.
60917         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60918         (sinh_test_data): New variable.
60919         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
60920         (sinh_tonearest_test_data): New variable.
60921         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60922         (sinh_towardzero_test_data): New variable.
60923         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60924         (sinh_downward_test_data): New variable.
60925         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60926         (sinh_upward_test_data): New variable.
60927         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60928         (sqrt_test_data): New variable.
60929         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
60930         (tan_test_data): New variable.
60931         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
60932         (tan_tonearest_test_data): New variable.
60933         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60934         (tan_towardzero_test_data): New variable.
60935         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60936         (tan_downward_test_data): New variable.
60937         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60938         (tan_upward_test_data): New variable.
60939         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60940         (tanh_test_data): New variable.
60941         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
60942         (tgamma_test_data): New variable.
60943         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
60944         (trunc_test_data): New variable.
60945         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
60946         (y0_test_data): New variable.
60947         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
60948         (y1_test_data): New variable.
60949         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
60950         (significand_test_data): New variable.
60951         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
60953 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
60955         [BZ #12387]
60956         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
60958 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
60960         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
60962 2013-05-10  Andreas Jaeger  <aj@suse.de>
60964         [BZ #15448]
60965         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
60966         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
60968 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
60970         * math/gen-libm-test.pl (adjust_arg): New function.
60971         (special_functions): Handle generating output in both functions
60972         and arrays.
60973         (parse_args): Likewise.
60974         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
60975         $in_func argument to parse_args.
60976         * math/libm-test.inc (struct test_f_f_data): New type.
60977         (IF_ROUND_INIT_): New macro.
60978         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
60979         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
60980         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
60981         (IF_ROUND_INIT_FE_UPWARD): Likewise.
60982         (ROUND_RESTORE_): Likewise.
60983         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
60984         (ROUND_RESTORE_FE_TONEAREST): Likewise.
60985         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
60986         (ROUND_RESTORE_FE_UPWARD): Likewise.
60987         (RUN_TEST_LOOP_f_f): New macro.
60988         (acos_test_data): New variable.
60989         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
60990         (acos_tonearest_test_data): New variable.
60991         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60993 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
60995         * benchtests/bench-skeleton.c (startup): Fix coding style.
60997 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
60999         [BZ #6809]
61000         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
61001         negative infinity argument.
61002         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
61003         negative infinity argument.
61004         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
61005         negative infinity argument.
61006         * math/libm-test.inc (tgamma_test): Expect errno to be set for
61007         domain errors.
61009 2013-05-10  Florian Weimer  <fweimer@redhat.com>
61011         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
61012         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
61013         * iconv/iconv_prog.c (main): Likewise.
61014         * locale/programs/charmap-dir.c (charmap_readdir)
61015         (fopen_uncompressed): Likewise.
61016         * locale/programs/locfile.c (siblings_uncached)
61017         (write_locale_data): Use lstat64 instead of lstat.
61018         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
61019         stat.
61021 2013-05-10  Andreas Jaeger  <aj@suse.de>
61023         [BZ #15395]
61024         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
61025         localization.
61026         Include <locale.h>.
61028 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
61030         * elf/dl-close.c (_dl_close_worker): Add comments.
61032 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
61034         [BZ #15359]
61035         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
61036         high part of pi/2.
61037         (__ieee754_rem_pio2l): Update comments.
61039         [BZ #15429]
61040         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
61041         high part of pi/2.
61042         (__ieee754_rem_pio2l): Update comments.
61044         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
61045         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
61047         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
61048         M_PI_4l.
61050         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
61051         (M_PI_34_LOG10El): Likewise.
61052         (M_PI2_LOG10El): Likewise.
61053         (M_PI4_LOG10El): Likewise.
61054         (M_PI_LOG10El): Likewise.
61056 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61058         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61060 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
61062         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
61063         (MINUS_ZERO_INIT): Likewise.
61064         (PLUS_INFTY_INIT): Likewise.
61065         (MINUS_INFTY_INIT): Likewise.
61066         (QNAN_VALUE_INIT): Likewise.
61067         (MAX_VALUE_INIT): Likewise.
61068         (MIN_VALUE_INIT): Likewise.
61069         (MIN_SUBNORM_VALUE_INIT): Likewise.
61070         (plus_zero): Initialize with PLUS_ZERO_INIT.
61071         (minus_zero): Initialize with MINUS_ZERO_INIT.
61072         (plus_infty): Initialize with PLUS_INFTY_INIT.
61073         (minus_infty): Initialize with MINUS_INFTY_INIT.
61074         (qnan_value): Initialize with QNAN_VALUE_INIT.
61075         (max_value): Initialize with MAX_VALUE_INIT.
61076         (min_value): Initialize with MIN_VALUE_INIT.
61077         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
61079         * math/libm-test.inc (RUN_TEST_if_f): New macro.
61080         (jn_test): Use TEST_if_f instead of TEST_ff_f.
61081         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
61082         (yn_test): Use TEST_if_f instead of TEST_ff_f.
61084         * math/libm-test.inc (RUN_TEST_f_f): New macro.
61085         (RUN_TEST_2_f): Likewise.
61086         (RUN_TEST_ff_f): Likewise.
61087         (RUN_TEST_fi_f): Likewise.
61088         (RUN_TEST_fl_f): Likewise.
61089         (RUN_TEST_fff_f): Likewise.
61090         (RUN_TEST_c_f): Likewise.
61091         (RUN_TEST_f_f1): Likewise.
61092         (RUN_TEST_fF_f1): Likewise.
61093         (RUN_TEST_fI_f1): Likewise.
61094         (RUN_TEST_ffI_f1): Likewise.
61095         (RUN_TEST_c_c): Likewise.
61096         (RUN_TEST_cc_c): Likewise.
61097         (RUN_TEST_f_i): Likewise.
61098         (RUN_TEST_f_i_tg): Likewise.
61099         (RUN_TEST_ff_i_tg): Likewise.
61100         (RUN_TEST_f_b): Likewise.
61101         (RUN_TEST_f_b_tg): Likewise.
61102         (RUN_TEST_f_l): Likewise.
61103         (RUN_TEST_f_L): Likewise.
61104         (RUN_TEST_sincos): Likewise.
61105         * math/gen-libm-test.pl (new_test): Take new argument to indicate
61106         whether to show exceptions.  Do not include ");\n" in return
61107         value.
61108         (special_functions): Output call to RUN_TEST_sincos instead of
61109         check_float calls.  Update calls to new_test.
61110         (parse_args): Output call to single RUN_TEST_* macro instead of
61111         check_* calls and other assignments.  Update calls to new_test.
61113         [BZ #2546]
61114         [BZ #2560]
61115         [BZ #5159]
61116         [BZ #15426]
61117         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
61118         input to result for tgamma overflow.
61119         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
61120         (gamma_coeff): New variable.
61121         (NCOEFF): New macro.
61122         (gamma_positive): New function.
61123         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
61124         underflow here.  Use gamma_positive instead of exp (lgamma) for
61125         other arguments.
61126         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
61127         (gamma_coeff): New variable.
61128         (NCOEFF): New macro.
61129         (gammaf_positive): New function.
61130         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
61131         underflow here.  Use gamma_positive instead of exp (lgamma) for
61132         other arguments.
61133         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
61134         (gamma_coeff): New variable.
61135         (NCOEFF): New macro.
61136         (gammal_positive): New function.
61137         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
61138         underflow here.  Use gamma_positive instead of exp (lgamma) for
61139         other arguments.
61140         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
61141         (gamma_coeff): New variable.
61142         (NCOEFF): New macro.
61143         (gammal_positive): New function.
61144         (__ieee754_gammal_r): Handle positive infinity, overflow and
61145         underflow here.  Handle NaN the same as positive infinity.  Remove
61146         check x < 0xffffffff for negative integers.  Use gamma_positive
61147         instead of exp (lgamma) for other arguments.
61148         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
61149         (gamma_coeff): New variable.
61150         (NCOEFF): New macro.
61151         (gammal_positive): New function.
61152         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
61153         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
61154         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
61155         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
61156         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
61157         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
61158         * sysdeps/generic/math_private.h (__gamma_productf): New
61159         prototype.
61160         (__gamma_product): Likewise.
61161         (__gamma_productl): Likewise.
61162         * math/Makefile (libm-calls): Add gamma_product.
61163         * math/libm-test.inc (tgamma_test): Add more tests.
61164         * sysdeps/i386/fpu/libm-test-ulps: Update.
61165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61167 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
61169         * benchtests/bench-skeleton.c (main): Preheat CPU.
61171 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
61173         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
61175 2013-05-07  Roland McGrath  <roland@hack.frob.com>
61177         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
61178         and _dl_skip_args_internal.
61180 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
61182         * manual/message.texi (Message Translation): Talk about users.
61183         Message to key mapping impacts design.
61185 2013-05-06  Roland McGrath  <roland@hack.frob.com>
61187         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
61189         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
61191         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
61192         * sysdeps/wordsize-64/glob64.c: ... here.
61194         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
61195         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
61196         New macros.
61198         * debug/getlogin_r_chk.c: Moved to ...
61199         * login/getlogin_r_chk.c: ... here.
61200         * debug/Makefile (routines): Move getlogin_r_chk to ...
61201         * login/Makefile (routines): ... here.
61202         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
61203         * login/Versions (libc: GLIBC_2.4): ... here.
61205         * io/poll.c (__poll): Renamed from poll.
61206         Add libc_hidden_def.
61207         (poll): Define as weak alias.
61209         * debug/ptsname_r_chk.c: Moved to ...
61210         * login/ptsname_r_chk.c: ... here.
61211         * debug/Makefile (routines): Move ptsname_r_chk to ...
61212         * login/Makefile (routines): ... here.
61213         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
61214         * login/Versions (libc: GLIBC_2.4): ... here.
61216         * posix/getlogin.c: Moved to ...
61217         * login/getlogin.c: ... here.
61218         * posix/getlogin_r.c: Moved to ...
61219         * login/getlogin_r.c: ... here.
61220         * posix/getlogin_r.c: Moved to ...
61221         * login/getlogin_r.c: ... here.
61222         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
61223         * login/Makefile (routines): ... here.
61224         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
61225         * login/Versions (libc: GLIBC_2.0): ... here.
61227         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
61228         (setrlimit): Define as weak alias.
61230         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
61231         Call __ names for open, ftruncate, and close.
61232         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
61233         (truncate): Define as weak alias.
61235 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
61237         * math/gen-libm-test.pl (parse_args): Initialize x before each
61238         test of frexp, modf and remquo.
61240         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
61241         test signgam value.
61243 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61245         [BZ #15418]
61246         [BZ #15419]
61247         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
61248         internal tests.
61249         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
61251 2013-05-06  Roland McGrath  <roland@hack.frob.com>
61253         * elf/dl-writev.h: New file.
61254         * elf/dl-misc.c: Include it.
61255         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
61256         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
61258 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
61260         * math/libm-test.inc (noXFails): Remove variable.
61261         (noXPasses): Likewise.
61262         (BUILD_COMPLEX_INT): Remove macro.
61263         (print_screen): Remove xfail argument.
61264         (print_screen_max_error): Likewise.
61265         (update_stats): Likewise.
61266         (print_max_error): Likewise.  Update calls to other affected
61267         functions.
61268         (print_complex_max_error): Likewise.
61269         (test_single_exception): Update calls to print_screen.
61270         (test_single_errno): Likewise.
61271         (check_float_internal): Remove xfail argument.  Update calls to
61272         other affected functions.
61273         (check_float): Likewise.
61274         (check_complex): Likewise.
61275         (check_int): Likewise.
61276         (check_long): Likewise.
61277         (check_bool): Likewise.
61278         (check_longlong): Likewise.
61279         (main): Don't print noXFails and noXPasses.
61280         * math/gen-libm-test.pl (top level): Don't mention expected
61281         failure handling in comment.
61282         (new_test): Don't handle expected failures.
61283         (parse_args): Don't mention expected failure handling in comment.
61284         (generate_testfile): Don't handle expected failures.
61285         (parse_ulps): Likewise.
61286         (print_ulps_file): Likewise.
61287         (get_failure): Remove function.
61288         (output_test): Don't handle expected failures.
61289         * make/README.libm-test: Don't mention expected failure handling.
61291         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
61292         (minus_zero): Likewise.
61293         (plus_infty): Likewise.
61294         (minus_infty): Likewise.
61295         (qnan_value): Likewise.
61296         (max_value): Likewise.
61297         (min_value): Likewise.
61298         (min_subnorm_value): Likewise.
61299         (initialize): Do not initialize those variables dynamically.
61301 2013-05-03  Roland McGrath  <roland@hack.frob.com>
61303         * io/open.c (__open_2): Moved to ...
61304         * io/open_2.c: ... this new file.
61305         * io/open64.c (__open64_2): Moved to ...
61306         * io/open64_2.c: ... this new file.
61307         * io/openat.c (__openat_2): Moved to ...
61308         * io/openat_2.c: ... this new file.
61309         * io/openat64.c (__openat64_2): Moved to ...
61310         * io/openat64_2.c: ... this new file.
61311         * io/Makefile (routines): Add them.
61312         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
61313         * sysdeps/unix/sysv/linux/open_2.c: File removed.
61314         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
61315         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
61316         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
61317         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
61318         (__openat64): Add hidden_ver.
61319         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
61320         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
61322         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
61323         Separately conditionalize setting of GLRO(dl_sysinfo) so
61324         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
61325         as well, but the actual setting is only under [NEED_DL_SYSINFO].
61327 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61329         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
61330         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
61331         definition.
61332         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
61333         * sysdeps/unix/sysv/linux/powerpc/init-first.c
61334         (_libc_vdso_platform_setup): Add __vdso_time initialization.
61335         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
61336         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
61338 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
61340         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
61341         test signgam value.
61343         * math/libm-test.inc (hypot_test): Do not use
61344         IGNORE_ZERO_INF_SIGN.
61346 2013-05-03  Andreas Jaeger  <aj@suse.de>
61348         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
61349         Linux 3.9.
61350         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
61351         (PF_MAX): Adjust for VSOCK change.
61353 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61355         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61357 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
61359         [BZ #15264]
61360         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
61361         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
61362         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
61364 2013-05-02  David S. Miller  <davem@davemloft.net>
61366         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61368 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
61370         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
61372 2013-05-01  Roland McGrath  <roland@hack.frob.com>
61374         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
61376 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
61378         [BZ #14952]
61379         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
61380         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
61381         Use __attribute__ ((__gnu_inline__)).
61382         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
61383         Don't use __attribute__ ((__gnu_inline__)).
61385 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
61387         [BZ #15423]
61388         * math/s_catan.c (__catan): Handle small real or imaginary part of
61389         input specially to avoid spurious underflow.
61390         * math/s_catanf.c (__catanf): Likewise.
61391         * math/s_catanh.c (__catanh): Likewise.
61392         * math/s_catanhf.c (__catanhf): Likewise.
61393         * math/s_catanhl.c (__catanhl): Likewise.
61394         * math/s_catanl.c (__catanl): Likewise.
61395         * math/libm-test.inc (catan_test): Add more tests.
61396         (catanh_test): Likewise.
61397         * sysdeps/i386/fpu/libm-test-ulps: Update.
61398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61400 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61402         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61404 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
61406         [BZ #15416]
61407         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
61408         accurately for denominator in atan2.
61409         * math/s_catanf.c (__catanf): Likewise.
61410         * math/s_catanh.c (__catanh): Likewise.
61411         * math/s_catanhf.c (__catanhf): Likewise.
61412         * math/s_catanhl.c (__catanhl): Likewise.
61413         * math/s_catanl.c (__catanl): Likewise.
61414         * math/libm-test.inc (catan_test): Add more tests.
61415         (catanh_test): Likewise.
61416         * sysdeps/i386/fpu/libm-test-ulps: Update.
61417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61419 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
61421         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
61423         * benchtests/Makefile (bench): Remove slow benchmarks.
61424         * benchtests/atan-inputs: Add slow benchmark inputs.
61425         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
61426         (BENCH_FUNC): Accept variant offset.
61427         (VARIANT): Define.
61428         * benchtests/bench-skeleton.c (main): Run benchmark for each
61429         variant.
61430         * benchtests/cos-inputs: Add slow benchmark inputs.
61431         * benchtests/exp-inputs: Likewise.
61432         * benchtests/pow-inputs: Likewise.
61433         * benchtests/sin-inputs: Likewise.
61434         * benchtests/slowatan-inputs: Remove.
61435         * benchtests/slowatan.c: Remove.
61436         * benchtests/slowcos-inputs: Remove.
61437         * benchtests/slowcos.c: Remove.
61438         * benchtests/slowexp-inputs: Remove.
61439         * benchtests/slowexp.c: Remove.
61440         * benchtests/slowpow-inputs: Remove.
61441         * benchtests/slowpow.c: Remove.
61442         * benchtests/slowsin-inputs: Remove.
61443         * benchtests/slowsin.c: Remove.
61444         * benchtests/slowtan-inputs: Remove.
61445         * benchtests/slowtan.c: Remove.
61446         * benchtests/tan-inputs: Add slow benchmark inputs.
61447         * scripts/bench.pl: Parse comments and directives.
61449         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
61450         in CPPFLAGS.
61451         ($(objpfx)bench-%.c): Remove *-ITER.
61452         * benchtests/bench-modf.c: Remove definition of ITER.
61453         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
61454         (main): Loop for DURATION seconds instead of fixed number of
61455         iterations.
61456         * scripts/bench.pl: Don't expect iterations in parameters.
61458 2013-04-29  Roland McGrath  <roland@hack.frob.com>
61460         * io/fchdir.c (__fchdir): Renamed from fchdir.
61461         (fchdir): Define as weak alias.
61463 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
61465         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
61466         (ERRNO_EDOM): Likewise.
61467         (ERRNO_ERANGE): Likewise.
61468         (noErrnoTests): New variable.
61469         (init_max_error): Set errno to 0.
61470         (test_single_errno): New function.
61471         (test_errno): Likewise.
61472         (check_float_internal): Call test_errno.  Set errno to 0.
61473         (check_complex): Refer to errno tests in comment.
61474         (check_int): Call test_errno.  Set errno to 0.
61475         (check_long): Likewise.
61476         (check_bool): Likewise.
61477         (check_longlong): Likewise.
61478         (cos_test): Use ERRNO_* flags for errno tests instead of
61479         check_int.
61480         (expm1_test): Likewise.
61481         (fmod_test): Likewise.
61482         (ilogb_test): Likewise.
61483         (lgamma_test): Likewise.
61484         (pow_test): Likewise.
61485         (remainder_test): Likewise.
61486         (sin_test): Likewise.
61487         (tan_test): Likewise.
61488         (yn_test): Likewise.
61489         (initialize): Set errno to 0.
61490         (main): Print number of errno tests.
61491         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
61493 2013-04-29  Andreas Jaeger  <aj@suse.de>
61495         [BZ #15084]
61496         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
61497         and RES_USEVC.
61499         [BZ #15085]
61500         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
61501         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
61502         unimplemented.
61504         [BZ #15380]
61505         * stdlib/random.c (__initstate): Return NULL if
61506         __initstate fails.
61508         [BZ #15086]
61509         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
61510         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
61511         RES_SNGLKUPREOP.
61513 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61515         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61517 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
61519         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
61520         of individual tests.
61521         (casin_test): Likewise.
61522         (casinh_test): Likewise.
61524 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
61526         [BZ #15409]
61527         * math/s_catan.c (__catan): Handle arguments with large real or
61528         imaginary part separately without squaring.
61529         * math/s_catanf.c (__catanf): Likewise.
61530         * math/s_catanh.c (__catanh): Likewise.
61531         * math/s_catanhf.c (__catanhf): Likewise.
61532         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
61533         and redefine.
61534         (__catanhl): Handle arguments with large real or imaginary part
61535         separately without squaring.
61536         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
61537         and redefine.
61538         (__catanl): Handle arguments with large real or imaginary part
61539         separately without squaring.
61540         * math/libm-test.inc (catan_test): Add more tests.
61541         (catanh_test): Likewise.
61542         * sysdeps/i386/fpu/libm-test-ulps: Update.
61543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61545 2013-04-27  Andreas Jaeger  <aj@suse.de>
61547         [BZ #15007]
61548         * stdlib/stdlib.h: Update guards for qecvt.
61549         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
61550         <stdlib.h>.
61552 2013-04-27  Allan McRae  <allan@archlinux.org>
61554         * sysdeps/i386/fpu/libm-test-ulps: Update.
61556 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
61558         [BZ #15406]
61559         * math/s_catan.c: Include <float.h>.
61560         (__catan): Ensure underflow exception occurs for underflowed
61561         result.
61562         * math/s_catanf.c: Include <float.h>.
61563         (__catanf): Ensure underflow exception occurs for underflowed
61564         result.
61565         * math/s_catanh.c: Include <float.h>.
61566         (__catanh): Ensure underflow exception occurs for underflowed
61567         result.
61568         * math/s_catanhf.c: Include <float.h>.
61569         (__catanhf): Ensure underflow exception occurs for underflowed
61570         result.
61571         * math/s_catanhl.c: Include <float.h>.
61572         (__catanhl): Ensure underflow exception occurs for underflowed
61573         result.
61574         * math/s_catanl.c: Include <float.h>.
61575         (__catanl): Ensure underflow exception occurs for underflowed
61576         result.
61577         * math/libm-test.inc (catan_test): Add more tests.
61578         (catanh_test): Likewise.
61580         [BZ #15405]
61581         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
61582         underflowed result.
61583         * math/s_ccoshf.c (__ccoshf): Likewise.
61584         * math/s_ccoshl.c (__ccoshl): Likewise.
61585         * math/s_csin.c (__csin): Likewise.
61586         * math/s_csinf.c (__csinf): Likewise.
61587         * math/s_csinh.c (__csinh): Likewise.
61588         * math/s_csinhf.c (__csinhf): Likewise.
61589         * math/s_csinhl.c (__csinhl): Likewise.
61590         * math/s_csinl.c (__csinl): Likewise.
61591         * math/libm-test.inc (ccos_test): Add more tests.
61592         (ccosh_test): Likewise.
61593         (csin_test): Likewise.
61594         (csinh_test): Likewise.
61596 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61598         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
61599         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
61600         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
61601         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
61602         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
61603         powerpc/power5+/fpu folders.
61604         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
61607 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
61609         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61611 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
61613         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
61614         additions to variable.
61615         [$(config-machine) = x86_64] (modules-names): Likewise.
61616         ($(objpfx)tst-audit3): Remove dependency.
61617         ($(objpfx)tst-audit3.out): Likewise.
61618         ($(objpfx)tst-audit4): Likewise.
61619         ($(objpfx)tst-audit4.out): Likewise.
61620         ($(objpfx)tst-audit5): Likewise.
61621         ($(objpfx)tst-audit5.out): Likewise.
61622         ($(objpfx)tst-audit6): Likewise.
61623         ($(objpfx)tst-audit6.out): Likewise.
61624         ($(objpfx)tst-audit7): Likewise.
61625         ($(objpfx)tst-audit7.out): Likewise.
61626         (tst-audit3-ENV): Remove variable.
61627         (tst-audit4-ENV): Likewise.
61628         (tst-audit5-ENV): Likewise.
61629         (tst-audit6-ENV): Likewise.
61630         (tst-audit7-ENV): Likewise.
61631         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
61632         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
61633         addition to variable.
61634         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
61635         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
61636         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
61637         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
61638         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
61639         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
61640         tst-audit3, tst-audit4 and tst-audit5.
61641         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
61642         tst-audit6 and tst-audit7.
61643         [$(subdir) = elf] (modules-names): Add audit modules for those
61644         tests.
61645         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
61646         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
61647         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
61648         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
61649         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
61650         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
61651         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
61652         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
61653         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
61654         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
61655         [$(subdir) = elf] (tst-audit3-ENV): New variable.
61656         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
61657         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
61658         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
61659         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
61660         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
61661         Likewise.
61662         [$(subdir) = elf && $(config-cflags-avx) = yes]
61663         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
61664         [$(subdir) = elf && $(config-cflags-avx) = yes]
61665         (CFLAGS-tst-auditmod4a.c): Likewise.
61666         [$(subdir) = elf && $(config-cflags-avx) = yes]
61667         (CFLAGS-tst-auditmod4b.c): Likewise.
61668         [$(subdir) = elf && $(config-cflags-avx) = yes]
61669         (CFLAGS-tst-auditmod6b.c): Likewise.
61670         [$(subdir) = elf && $(config-cflags-avx) = yes]
61671         (CFLAGS-tst-auditmod6c.c): Likewise.
61672         [$(subdir) = elf && $(config-cflags-avx) = yes]
61673         (CFLAGS-tst-auditmod7b.c): Likewise.
61674         * elf/tst-audit3.c: Move to ...
61675         * sysdeps/x86_64/tst-audit3.c: ... here.
61676         * elf/tst-audit4.c: Move to ...
61677         * sysdeps/x86_64/tst-audit4.c: ... here.
61678         * elf/tst-audit5.c: Move to ...
61679         * sysdeps/x86_64/tst-audit5.c: ... here.
61680         * elf/tst-audit6.c: Move to ...
61681         * sysdeps/x86_64/tst-audit6.c: ... here.
61682         * elf/tst-audit7.c: Move to ...
61683         * sysdeps/x86_64/tst-audit7.c: ... here.
61684         * elf/tst-auditmod3a.c: Move to ...
61685         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
61686         * elf/tst-auditmod3b.c: Move to ...
61687         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
61688         * elf/tst-auditmod4a.c: Move to ...
61689         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
61690         * elf/tst-auditmod4b.c: Move to ...
61691         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
61692         * elf/tst-auditmod5a.c: Move to ...
61693         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
61694         * elf/tst-auditmod5b.c: Move to ...
61695         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
61696         * elf/tst-auditmod6a.c: Move to ...
61697         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
61698         * elf/tst-auditmod6b.c: Move to ...
61699         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
61700         * elf/tst-auditmod6c.c: Move to ...
61701         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
61702         * elf/tst-auditmod7a.c: Move to ...
61703         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
61704         * elf/tst-auditmod7b.c: Move to ...
61705         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
61707 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
61709         [BZ #15366]
61710         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
61711         define unconditionally.
61712         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
61713         define unconditionally.
61714         (INT8_C, INT16_C, etc.): Likewise.
61716 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
61718         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
61719         __ehdr_start with hidden visibility.
61721         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
61723 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
61725         * math/libm-test.inc (cos_test): Use accurate hex constants.
61726         (sincost_test): Likewise.
61728 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
61730         * math/libm-test.inc (catan_test): Add more tests.
61731         (catanh_test): Likewise.
61733         * math/s_catanf.c (__catanf): Use suffixed floating-point
61734         constants.
61735         * math/s_catanhf.c (__catanhf): Likewise.
61736         * math/s_catanhl.c (__catanhl): Likewise.
61737         * math/s_catanl.c (__catanl): Likewise.
61739         [BZ #15394]
61740         * math/s_catan.c (__catan): Calculate imaginary part of result
61741         with log1p not log unless computing log of number close to 0.
61742         * math/s_catanf.c (__catanf): Likewise.
61743         * math/s_catanl.c (__catanl): Likewise.
61744         * math/s_catanh.c (__catanh): Calculate real part of result with
61745         log1p not log unless computing log of number close to 0.
61746         * math/s_catanhf.c (__catanhf): Likewise.
61747         * math/s_catanhl.c (__catanhl): Likewise.
61748         * math/libm-test.inc (catan_test): Add more tests.
61749         (catanh_test): Likewise.
61750         * sysdeps/i386/fpu/libm-test-ulps: Update.
61751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61753 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
61755         * benchtests/Makefile: Mention files in which fast and slow
61756         paths of math functions are implemented.
61758 2013-04-23  Roland McGrath  <roland@hack.frob.com>
61760         * sysdeps/posix/timespec_get.c: New file.
61762 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61764         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
61765         POWER.
61766         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
61767         for POWER.
61768         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
61769         powerpc/power5/fpu folders.
61770         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
61771         * benchtests/Makefile: Add modf testcase.
61772         * benchtests/bench-modf.c: New file: Benchmark test for mo
61774 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
61776         [BZ #14888]
61777         * time/Makefile (tests): Add tst-strptime-whitespace.
61778         * time/strptime_l.c (get_number): Use ISSPACE.
61779         (__strptime_internal): Likewise.
61780         * time/tst-strptime-whitespace.c: New test case.
61782 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
61784         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
61785         member.
61786         (_nss_files_init): Set it here.
61788 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
61790         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
61791         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
61792         unsigned.
61794 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
61796         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
61798 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
61800         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
61801         size just once.
61803 2013-04-21  David S. Miller  <davem@davemloft.net>
61805         * po/ru.po: Update Russion translation from translation project.
61807 2013-04-17  Adam Conrad  <adconrad@0c3.net>
61809         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
61810         and setfsgid.
61812 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
61814         * configure.in: Remove i386 configure warning. Remove i386 case.
61815         * configure: Regenerate.
61816         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
61817         Add example to error message.
61818         * sysdeps/i386/configure: Regenerate.
61820 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
61822         * benchtests/Makefile (bench): Add cos, tan, slowcos and
61823         slowtan.
61824         * benchtests/cos-inputs: New file.
61825         * benchtests/slowcos-inputs: New file.
61826         * benchtests/slowcos.c: New file.
61827         * benchtests/slowtan-inputs: New file.
61828         * benchtests/slowtan.c: New file.
61829         * benchtests/tan-inputs: New file.
61831 2013-04-16  Roland McGrath  <roland@hack.frob.com>
61833         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
61834         considered kosher.
61836 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
61838         * benchtests/Makefile: Include cppflags-iterator.mk to add
61839         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
61841         * Makefile.in (bench-clean): New target.
61842         * benchtests/Makefile (bench-clean): Likewise.
61844 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
61846         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
61848 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
61850         * stdio-common/tstdiomisc.c: Fix coding-style violation.
61852 2013-04-15  Andreas Schwab  <schwab@suse.de>
61854         * nscd/grpcache.c (cache_addgr): Properly check for short write.
61855         * nscd/initgrcache.c (addinitgroupsX): Likewise.
61856         * nscd/pwdcache.c (cache_addpw): Likewise.
61857         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
61858         more than recsize.
61860 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
61862         * benchtests/Makefile (bench): Write all output to
61863         bench-out.tmp together.
61865 2013-04-15  Andreas Schwab  <schwab@suse.de>
61867         * nscd/nscd.c (main): Don't fork again after closing files.
61869 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
61871         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
61873         * benchtests/Rules (bench-deps): Collect dependencies into a
61874         single variable.  Add Makefile to dependencies.
61875         ($(objpfx)bench-%.c): Depend on bench-deps.
61877 2013-04-12  Roland McGrath  <roland@hack.frob.com>
61878             Xavier Roche  <roche+kml2@exalead.com>
61880         [BZ #15361]
61881         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
61882         just that it's a file descriptor.
61883         * manual/llio.texi (Synchronizing AIO Operations): Update description
61884         for EBADF error from aio_fsync.
61886 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
61888         * Rules (bench): Move target definition...
61889         * benchtests/Makefile: ... here.
61891 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
61893         * math/libm-test.inc (cos_test): Fix PI/2 test.
61894         (sincos_test): Likewise.
61895         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
61896         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
61898 2013-04-11  Andreas Schwab  <schwab@suse.de>
61900         [BZ #13988]
61901         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
61902         accept exponent character only when digits were seen.
61903         * stdio-common/Makefile (tests): Add bug26.
61904         * stdio-common/bug26.c: New file.
61906         [BZ #14293]
61907         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
61908         non-freeable.
61910 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
61912         * Makeconfig (rtld-prefix): Define built linker prefix.
61913         * Rules (run-bench): Use it.
61914         * math/Makefile (run-regen-ulps): Likewise.
61916         * Rules (bench): Remove eval.
61918 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
61919             Roland McGrath  <roland@hack.frob.com>
61920             Ondrej Bilka  <neleai@seznam.cz>
61922         [BZ #15346]
61923         * time/getdate.c: Include ctype.h and alloca.h.
61924         (__getdate_r): Trim leading and trailing spaces of input.
61925         * time/tst-getdate.c (tests): Add tests with leading and
61926         trailing spaces.
61928 2013-04-08  Roland McGrath  <roland@hack.frob.com>
61930         [BZ #14280]
61931         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
61932         when computing value.
61934 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
61936         * math/README.libm-test (How can I generate "libm-test-ulps"?):
61937         Use testrun.sh to run libm tests.
61939         [BZ #15309]
61940         * elf/dl-open.c (dl_open_worker): memset all of seen array.
61942 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
61944         [BZ #15264]
61945         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
61947 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
61949         * Makefile.in (regen-ulps): New target.
61950         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
61951         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
61952         [ifneq (no,$(PERL)] (regen-ulps): New target.
61953         [ifeq (no,$(PERL)] (regen-ulps): New target.
61954         * math/libm-test.inc (ulps_file_name): Define.
61955         (output_dir): New variable.
61956         (options): Add "output-dir" option.
61957         (parse_opt): Handle 'o' case.
61958         (main): If output_dir is non-NULL use it as a prefix
61959         otherwise use "".
61960         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
61962 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
61964         [BZ #10060, #10062]
61965         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
61966         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
61967         fail configure if __sync_val_compare_and_swap is not inlined.
61968         * sysdeps/i386/configure: Regenerate.
61969         * configure.in: Build for i686 when configured for i386.
61970         * configure: Regenerate.
61971         * README: Remove i386 reference.
61973 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
61975         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
61976         * sysdeps/s390/s390-64/sysdep.h: Likewise.
61978 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
61980         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
61981         (lmsnanval): New variables.
61982         (F): Add conversion tests.
61983         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
61984         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
61986         * stdio-common/tstdiomisc.c (F): Properly collect individual
61987         tests' results.
61989         [BZ #14686, #15336]
61990         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
61991         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
61992         Instead, use input NaN values or generate a qNaN by arithmetic
61993         operation.  Also fix bugs to comply with the standard.
61994         * math/libm-test.inc (remainder_test): Add more tests.
61996         [BZ #15335, #15342]
61997         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
61998         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
61999         input NaN values or generate a qNaN by arithmetic operation.
62001         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
62002         unreachable code.
62004         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
62005         definitions.
62007 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
62009         [BZ #14478]
62010         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
62011         underflowed result.
62012         * math/s_cexpf.c (__cexpf): Likewise.
62013         * math/s_cexpl.c (__cexpl): Likewise.
62014         * math/libm-test.inc (cexp_test): Add more tests.
62016 2013-04-03  Andreas Schwab  <schwab@suse.de>
62018         [BZ #15330]
62019         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
62020         order arrays from heap if bigger than alloca cutoff.
62022 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
62024         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
62025         (SNAN_TESTS_double): Refer to GCC PR56831.
62026         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
62027         GCC PR56828.
62029 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
62031         * Rules (bench): Move bench.out after the run is complete.
62033         * Rules (bench): Echo currently running benchmark.
62035         * benchtests/Makefile (bench): Add atan and slowatan.
62036         * benchtests/atan-inputs: New file.
62037         * benchtests/slowatan-inputs: New file.
62038         * benchtests/slowatan.c: New file.
62040         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
62041         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
62042         its value.
62044         [BZ #15305]
62045         * sysdeps/unix/sysv/linux/kernel-features.h
62046         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
62047         __ASSUME_XFS_RESTRICTED_CHOWN.
62048         * sysdeps/unix/sysv/linux/pathconf.c
62049         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
62050         Save and restore errno.
62052 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
62054         [BZ #15327]
62055         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
62056         arguments using __kernel_casinh.
62057         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
62058         arguments using __kernel_casinhf.
62059         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
62060         arguments using __kernel_casinhl.
62061         * math/libm-test.inc (cacosh_test): Add more tests.
62062         * sysdeps/i386/fpu/libm-test-ulps: Update.
62063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62065 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
62067         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
62068         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
62070         * bench/Makefile (bench): Add sin and slowsin.
62071         * benchtests/sin-inputs: New file.
62072         * benchtests/slowsin-inputs: New file.
62073         * benchtests/slowsin.c: New file.
62075         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
62076         (bench): Add slowexp and slowpow.
62077         (exp-ITER): Increase iterations.
62078         (pow-ITER): Likewise.
62079         * benchtests/exp-inputs: Change input.
62080         * benchtests/pow-inputs: Likewise.
62081         * benchtests/slowexp-inputs: New file.
62082         * benchtests/slowexp.c: New file.
62083         * benchtests/slowpow-inputs: New file.
62084         * benchtests/slowpow.c: New file.
62086 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62088         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
62089         instructions.
62090         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
62091         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
62092         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
62093         * benchtests/Makefile: Add rint benchtest.
62094         * benchtests/rint-inputs: Input for rint benchtest.
62096 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
62098         * Versions.def (libm): Add GLIBC_2.18.
62099         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
62100         hidden libm prototypes.
62101         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
62102         * math/Makefile (libm-calls): Add s_issignaling.
62103         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
62104         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
62105         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
62106         declaration.
62107         * math/math.h [__USE_GNU] (issignaling): New macro.
62108         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
62109         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
62110         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
62111         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
62112         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
62113         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
62114         * manual/arith.texi (issignaling): New section.
62115         * manual/libm-err-tab.pl (@all_functions): Update comment.
62116         * math/gen-libm-test.pl (parse_args): Apply special handling for
62117         issignaling.
62118         * math/libm-test.inc (print_float, issignaling_test): New
62119         functions.
62120         (check_float_internal): Add issignaling checks.
62121         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
62122         default definition.
62123         * sysdeps/powerpc/math-tests.h: New file.
62124         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
62125         tests.
62126         * math/test-snan.c (TEST_FUNC): Likewise.
62128 2013-03-30  David S. Miller  <davem@davemloft.net>
62130         * po/de.po: Update from translation team.
62132 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
62134         [BZ #10357]
62135         * math/k_casinh.c (__kernel_casinh): Handle arguments with
62136         imaginary part less than 1.0 and real part less than 0.5
62137         specially.
62138         * math/k_casinhf.c (__kernel_casinhf): Likewise.
62139         * math/k_casinhl.c (__kernel_casinhl): Likewise.
62140         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
62141         (cacos_test): Add more tests.
62142         (casin_test): Likewise.
62143         (casinh_test): Likewise.
62144         * sysdeps/i386/fpu/libm-test-ulps: Update.
62145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62147 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
62149         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
62150         ONE with its value.
62152         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
62153         (__pow_mp): Replace ONE and MONE with their values.
62154         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
62155         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
62156         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
62157         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
62158         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
62159         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
62161         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
62163         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
62164         (__pow_mp): Replace ZERO and MZERO with their values.
62165         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
62166         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
62167         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
62168         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
62169         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
62170         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
62171         (__sqr): Likewise.
62173         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
62175         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
62177 2013-03-28  Roland McGrath  <roland@hack.frob.com>
62179         * include/stdlib.h [!SHARED] (__call_tls_dtors):
62180         Declare with __attribute__ ((weak)).
62181         * stdlib/exit.c (__libc_atexit) [!SHARED]:
62182         Call __call_tls_dtors only if it's not NULL.
62184 2013-03-28  Roland McGrath  <roland@hack.frob.com>
62186         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
62187         didn't do it already, then set _dl_phdr and _dl_phnum based on the
62188         magic __ehdr_start linker symbol if it's defined.
62189         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
62190         them up here if it was already done.
62192         * elf/dl-support.c (_dl_phdr): Make pointer to const.
62193         (_dl_aux_init): Use const in cast when setting it.
62194         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
62195         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
62196         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
62198         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
62199         Declare them here.
62200         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
62201         * csu/libc-tls.c: Nor here.
62202         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
62204         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
62205         (__libc_message): Never call vsyslog.
62207 2013-03-28  Alan Modra  <amodra@gmail.com>
62209         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
62210         Define as empty.
62211         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
62212         Likewise.
62214 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62216         [BZ #15214]
62217         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
62218         underflow.
62219         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62221 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62223         [BZ #15304]
62224         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
62225         Don't add gid passed as argument.
62227         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
62229 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
62231         [BZ #15307]
62232         * math/k_casinh.c (__kernel_casinh): Handle arguments with
62233         imaginary part between 1.0 and 1.5 and real part less than 0.5
62234         specially.
62235         * math/k_casinhf.c (__kernel_casinhf): Likewise.
62236         * math/k_casinhl.c (__kernel_casinhl): Likewise.
62237         * math/libm-test.inc (cacos_test): Add more tests.
62238         (casin_test): Likewise.
62239         (casinh_test): Likewise.
62240         * sysdeps/i386/fpu/libm-test-ulps: Update.
62241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62243 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62245         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
62246         constants.
62247         (norm): Likewise.
62248         (denorm): Likewise.
62249         (__dbl_mp): Likewise.
62250         (add_magnitudes): Likewise.
62251         (sub_magnitudes): Likewise.
62252         (__add): Likewise.
62253         (__sub): Likewise.
62254         (__mul): Likewise.
62255         (__sqr): Likewise.
62256         (__inv): Likewise.
62257         (__dvd): Likewise.
62259         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
62260         commented code.
62261         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
62262         (__dubcos): Likewise.
62263         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
62264         (__ieee754_acos): Likewise.
62265         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
62266         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
62267         (__exp1): Likewise.
62268         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
62269         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
62270         (log1): Likewise.
62271         (my_log2): Likewise.
62272         (checkint): Likewise.
62273         * sysdeps/ieee754/dbl-64/e_remainder.c
62274         (__ieee754_remainder): Likewise.
62275         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
62276         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
62277         (bsloww): Likewise.
62278         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
62280         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
62281         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
62282         MANTISSA_STORE_T to store computations on mantissa.  Use
62283         macros for rounding and division.
62284         (denorm): Likewise.
62285         (__dbl_mp): Likewise.
62286         (add_magnitudes): Likewise.
62287         (sub_magnitudes): Likewise.
62288         (__mul): Likewise.
62289         (__sqr): Likewise.
62290         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
62291         powers of two in terms of TWOPOW macro.
62292         (mp_no): Make type of mantissa as MANTISSA_T.
62293         [!RADIXI]: Define RADIXI.
62294         [!TWO52]: Define TWO52.
62295         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
62297 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62299         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
62300         llroundl symbol when building for PPC32.
62302 2013-03-24  Mark H Weaver  <mhw@netris.org>
62304         * manual/arith.texi (Normalization Functions): Fix prototypes for
62305         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
62307 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62309         [BZ #13889]
62310         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
62311         high value to check if expl overflow.
62312         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
62313         to check for underflow and overflow.
62314         * math/libm-test.inc: Add exp test.
62316 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
62318         [BZ #11120]
62319         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
62320         with NOT_IN_libc.
62322 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62324         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
62325         symbol.
62327 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
62329         * math/gen-libm-test.pl (parse_args, special_functions): Properly
62330         wrap blocks consisting of several statements.
62332         * sysdeps/generic/math-tests.h: New file.
62333         * sysdeps/i386/fpu/math-tests.h: Likewise.
62334         * math/test-snan.c: Include it.
62335         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
62337 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
62339         [BZ #15285]
62340         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
62341         (__ieee754_j0l): Do not improve calculations using cos of twice
62342         input for inputs above LDBL_MAX / 2.0L.
62343         (__ieee754_y0l): Likewise.
62344         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
62345         (__ieee754_j1l): Do not improve calculations using cos of twice
62346         input for inputs above LDBL_MAX / 2.0L.
62347         (__ieee754_y1l): Likewise.
62348         * math/libm-test.inc (j0_test): Add another test.
62349         (j1_test): Likewise.
62350         (y0_test): Likewise.
62351         (y1_test): Likewise.
62352         * sysdeps/i386/fpu/libm-test-ulps: Update.
62354 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
62356         * Rules ($(objpfx)bench-%.c): Include code from a C source
62357         file.
62359 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
62361         [BZ #15287]
62362         * math/k_casinh.c (__kernel_casinh): Handle arguments with
62363         imaginary part 1.0 and real part less than 0.5 specially.
62364         * math/k_casinhf.c (__kernel_casinhf): Likewise.
62365         * math/k_casinhl.c (__kernel_casinhl): Likewise.
62366         * math/libm-test.inc (cacos_test): Add more tests.
62367         (casin_test): Likewise.
62368         (casinh_test): Likewise.
62369         * sysdeps/i386/fpu/libm-test-ulps: Update.
62370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62372 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
62374         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
62375         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
62377 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
62379         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
62380         * config.make.in (config-cflags-sse4): Remove variable.
62381         (config-cflags-avx): Likewise.
62382         (config-cflags-sse2avx): Likewise.
62383         (config-cflags-novzeroupper): Likewise.
62384         (config-asflags-i686): Likewise.
62385         (have-mfma4): Likewise.
62386         (have-as-vis3): Likewise.
62387         (MIG): Likewise.
62388         * configure.in (MIG): Do not AC_SUBST.
62389         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
62390         (libc_cv_cc_sse4): Do not AC_SUBST.
62391         (libc_cv_cc_avx): Likewise.
62392         (libc_cv_cc_sse2avx): Likewise.
62393         (libc_cv_cc_novzeroupper): Likewise.
62394         (libc_cv_cc_fma4): Likewise.
62395         (libc_cv_as_i686): Likewise.
62396         (libc_cv_sparc_as_vis3): Likewise.
62397         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
62398         LIBC_CONFIG_VAR.
62399         (config-asflags-i686): Likewise.
62400         (config-cflags-avx): Likewise.
62401         (config-cflags-sse2avx): Likewise.
62402         (have-mfma4): Likewise.
62403         (config-cflags-novzeroupper): Likewise.
62404         * sysdeps/mach/configure.in (MIG): Likewise.
62405         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
62406         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
62407         LIBC_CONFIG_VAR.
62408         (config-cflags-avx): Likewise.
62409         (config-cflags-sse2avx): Likewise.
62410         (have-mfma4): Likewise.
62411         (config-cflags-novzeroupper): Likewise.
62412         * configure: Regenerated.
62413         * sysdeps/i386/configure: Likewise.
62414         * sysdeps/mach/configure: Likewise.
62415         * sysdeps/sparc/configure: Likewise.
62416         * sysdeps/x86_64/configure: Likewise.
62418 2013-03-20  Roland McGrath  <roland@hack.frob.com>
62420         [BZ #14812]
62421         * locale/programs/localedef.c (options): Put N_ translation marker
62422         on argument names, not just descriptions.
62424 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
62426         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
62428 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
62430         [BZ #14176]
62431         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
62433 2013-03-19  Roland McGrath  <roland@hack.frob.com>
62435         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
62436         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
62437         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
62438         [!BEFORE_ABORT] (before_abort): New function.
62439         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
62440         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
62441         (writev_for_fatal): New function.
62442         (WRITEV_FOR_FATAL): New macro; call that.
62443         (backtrace_and_maps): New function.
62444         (BEFORE_ABORT): New macro; call that.
62445         (struct str_list): Type removed.
62446         (__libc_message, __libc_fatal): Functions removed.
62447         Include <sysdeps/posix/libc_fatal.c> instead.
62449 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
62451         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
62452         constants.
62453         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
62454         double constants.
62456 2013-03-19  Andreas Schwab  <schwab@suse.de>
62458         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
62459         * sysdeps/gnu/configure: Regenerate.
62461         * configure.in: Substitute libc_cv_rtlddir.
62462         * configure: Regenerate.
62463         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
62464         * Makeconfig (rtlddir, inst_rtlddir): New variables.
62465         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
62466         * elf/Makefile (install-others, CFLAGS-interp.c)
62467         (ldso_install, common-ldd-rewrite): Likewise.
62468         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
62469         $(inst_slibdir)/$(rtld-installed-name).
62470         * scripts/rellns-sh: Add -p option.
62471         * Makerules (make-shlib-link): Use rellns-sh to get relative name
62472         for source.
62474 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
62476         * manual/nptl.texi: Renamed to ...
62477         * manual/threads.texi: ... this.
62478         * manual/Makefile (chapters): Update.
62480 2013-03-18  Roland McGrath  <roland@hack.frob.com>
62482         [BZ #14812]
62483         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
62484         on argument names, not just descriptions.
62485         * malloc/memusagestat.c (options): Likewise.
62486         * nss/getent.c (options): Likewise.
62488 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
62490         [BZ #14812]
62491         * iconv/iconv_prog.c (options): Put N_ translation marker
62492         on argument names, not just descriptions.
62493         * iconv/iconvconfig.c (options): Likewise.
62495 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
62497         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
62498         implementation which is faster on all x86_64 architectures.
62499         Tested on AMD, Intel Nehalem, SNB, IVB.
62500         * sysdeps/x86_64/strnlen.S: Likewise.
62502         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
62503         Remove all multiarch strlen and strnlen versions.
62504         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
62505         Remove strlen and strnlen related parts.
62507         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
62508         Inline strlen part.
62509         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
62511         * sysdeps/x86_64/multiarch/strlen.S: Remove.
62512         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
62513         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
62514         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
62515         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
62516         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
62518 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
62520         * manual/memory.texi (Malloc Tunable Parameters):
62521         Sort parameters alphabetically. Add comments for missing entries.
62523 2013-03-17  David S. Miller  <davem@davemloft.net>
62525         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62527 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
62529         [BZ #15283]
62530         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
62531         for arguments at most half maximum finite value.
62532         * math/libm-test.inc (j0_test): Add more tests.
62533         (j1_test): Likewise.
62534         (y0_test): Likewise.
62535         (y1_test): Likewise.
62536         * sysdeps/i386/fpu/libm-test-ulps: Update.
62537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62539         [BZ #14155]
62540         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
62541         1 / x and functions P and Q for arguments above 0x1p256L.
62542         (__ieee754_y0l): Likewise.
62543         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
62544         (__ieee754_y1l): Likewise.
62545         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
62546         (j1_test): Likewise.
62547         (y0_test): Likewise.
62548         (y1_test): Likewise.
62550 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
62552         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
62553         variable.
62555 2013-03-15  Roland McGrath  <roland@hack.frob.com>
62557         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
62558         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
62559         zero since it's initialized to EXEC_PAGESIZE.
62561         * sysdeps/unix/sysv/linux/ldsodefs.h
62562         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
62563         * sysdeps/generic/ldsodefs.h: ... here.
62565 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
62567         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
62569         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
62570         math/test-snan.c.
62571         * math/test-snan.c: Renamed from
62572         sysdeps/powerpc/fpu/test-powerpc-snan.c.
62573         * math/Makefile (tests): Add test-snan.
62574         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
62575         test-powerpc-snan.
62577         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
62578         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
62579         functions.
62580         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
62581         __builtin_nan family of functions.
62582         * math/libm-test.inc (initialize): Initialize qnan_value with
62583         __builtin_nan family of functions.
62584         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
62585         Remove variables.
62586         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
62587         Remove functions.
62588         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
62589         storage class.  Initialize qNaN_var and sNaN_var with
62590         __builtin_nan and __builtin_nans families of functions,
62591         respectively.
62593         * math/libm-test.inc (acosh_test): Also test with qNaN input.
62594         (sqrt_test): Remove duplicate test with qNaN input.
62595         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
62596         (round_test, signbit_test, significand_test): Note missing +/-Inf
62597         as well as qNaN tests.
62599         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
62600         qNaN_var.  Fix a few strings, too.
62601         * math/libm-test.inc (nan_value): Rename to qnan_value.
62602         * math/gen-libm-test.pl (%beautify): Adjust to that.
62603         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
62604         * math/test-misc.c (main): Likewise.
62605         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
62606         to __qnan_bytes, and __qnan_union, respectively.
62607         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
62608         Likewise.
62609         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
62610         and lqnanval, respectively.
62611         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
62612         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
62613         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
62614         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
62616         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
62617         * math/test-misc.c (main) [__x86_64__]: Enable test for long
62618         doubles.
62620         * math/test-misc.c (main): Fix copy'n'pastos.
62621         * misc/tst-efgcvt.c (special): Likewise.
62623         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
62624         Remove declarations.
62626 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62628         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
62629         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
62630         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
62631         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
62633 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62635         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
62636         macro to return vdso values correctly in IFUNC implementations.
62637         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
62638         Optimization by using IFUNC.
62640 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62641             Richard Henderson  <rth@redhat.com>
62642             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62644         * Makefile.in (bench): New target.
62645         * NEWS: Mention the benchmark framework.
62646         * Rules (bench): Likewise.
62647         (binaries-bench): Generate binaries for functions to
62648         benchmark.
62649         * benchtests/Makefile: New makefile for benchmark tests.
62650         * benchtests/bench-skeleton.c: New skeleton file for benchmark
62651         programs.
62652         * benchtests/exp-inputs: New input file for EXP function.
62653         * benchtests/pow-inputs: New input file for POW function.
62654         * scripts/bench.pl: New script to generate source files for
62655         benchmark programs.
62657 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62659         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
62660         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
62661         computations on mantissa.  Use macros for rounding and
62662         division.
62663         (denorm): Likewise.
62664         (__dbl_mp): Likewise.
62665         (add_magnitudes): Likewise.
62666         (sub_magnitudes): Likewise.
62667         (__mul): Likewise.
62668         (__sqr): Likewise.
62669         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
62670         powers of two in terms of TWOPOW macro.
62671         (mp_no): Make type of mantissa as MANTISSA_T.
62672         [!RADIXI]: Define RADIXI.
62673         [!TWO52]: Define TWO52.
62674         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
62676         * manual/nptl.texi (cindex): Modify threads to pthreads.
62678 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
62680         * sysdeps/x86_64/preconfigure: Regenerated.
62682 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
62684         [BZ #14155]
62685         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
62686         0x1p28 and above.
62687         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
62688         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
62689         0x1p28 and above.
62690         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
62691         * math/libm-test.inc (j0_test): Do not allow one spurious
62692         underflow exception.
62693         (y1_test): Likewise.
62695 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
62697         * manual/Makefile (chapters): Add nptl.
62698         * manual/debug.texi (Debugging Support): Add link to Threads
62699         chapter.
62700         * manual/nptl.texi: New file.
62702         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
62704 2013-03-14  Petr Baudis  <pasky@ucw.cz>
62706         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
62707         for non-NULL pointer before the memory validity test. Pointed
62708         out by Holger Brunck <holger.brunck@keymile.com>.
62710 2013-03-13  Andreas Schwab  <schwab@suse.de>
62712         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
62713         instead of .os.
62715 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
62717         * timezone/zic.c: Update from tzcode 2013b.
62719 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
62721         * manual/install.texi (Configuring and compiling):
62722         Mention i686 and i586.
62723         * INSTALL: Regenerate.
62725 2013-03-12  Roland McGrath  <roland@hack.frob.com>
62727         * sysdeps/init_array/elf-init.c: New file.
62728         * csu/elf-init.c
62729         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
62730         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
62732         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
62733         __gmon_start__ as global, but as static with a .preinit_array pointer.
62734         * sysdeps/init_array/gmon-start.c: New file.  Use that.
62735         * sysdeps/init_array/crti.S: New file, empty except for comments.
62736         * sysdeps/init_array/crtn.S: Likewise.
62738 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
62740         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
62741         definining bcopy.
62742         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62743         Remove Prefer_SSE_for_memop.
62744         * sysdeps/x86_64/multiarch/init-arch.h: Remove
62745         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
62746         HAS_PREFER_SSE_FOR_MEMOP.
62747         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
62748         memset-x86-64.
62749         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
62750         Remove bzero, memset ifunc support.
62751         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
62752         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
62753         * sysdeps/x86_64/multiarch/memset.S: Likewise.
62754         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
62756 2013-03-11  Andreas Schwab  <schwab@suse.de>
62758         [BZ #15234]
62759         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
62760         by SHLIB_COMPAT.
62761         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
62762         (GLIBC_2.16): Remove pthread_atfork.
62764 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
62766         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
62767         (ptestcases.h): Likewise.
62769 2013-03-08  Roland McGrath  <roland@hack.frob.com>
62771         * Makeconfig ($(common-objpfx)config.status): Depend on
62772         sysdeps/*/preconfigure{,.in} too.
62774 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
62776         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
62777         (__free_hook): Use void * instead of __malloc_ptr_t.
62778         (__malloc_hook): Likewise.
62779         (__realloc_hook): Likewise.
62780         (__memalign_hook): Likewise.
62781         (__after_morecore_hook): Likewise.
62782         * malloc/arena.c (save_malloc_hook): Likewise.
62783         (save_free_hook): Likewise.
62784         * malloc/hooks.c (malloc_hook_ini): Likewise.
62785         (realloc_hook_ini): Likewise.
62786         (memalign_hook_ini): Likewise.
62787         * malloc/malloc.c (malloc_hook_ini): Likewise.
62788         (realloc_hook_ini): Likewise.
62789         (memalign_hook_ini): Likewise.
62790         (__free_hook): Likewise.
62791         (__malloc_hook): Likewise.
62792         (__realloc_hook): Likewise.
62793         (__memalign_hook): Likewise.
62794         (__libc_malloc): Likewise.
62795         (__libc_free): Likewise.
62796         (__libc_realloc): Likewise.
62797         (__libc_memalign): Likewise.
62798         (__libc_valloc): Likewise.
62799         (__libc_pvalloc): Likewise.
62800         (__libc_calloc): Likewise.
62801         (__posix_memalign): Likewise.
62802         * malloc/morecore.c (__sbrk): Likewise.
62803         (__default_morecore): Likewise.
62805         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
62807         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
62808         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
62809         __malloc_ptrdiff_t.
62811         * malloc/malloc.h (__malloc_size_t): Remove macro.
62812         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
62813         __malloc_size_t.
62814         (old_memalign_hook): Likewise.
62815         (old_realloc_hook): Likewise.
62816         (struct hdr): Likewise.
62817         (flood): Likewise.
62818         (mallochook): Likewise.
62819         (memalignhook): Likewise.
62820         (reallochook): Likewise.
62821         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
62822         (tr_old_realloc_hook): Likewise.
62823         (tr_old_memalign_hook): Likewise.
62824         (tr_mallochook): Likewise.
62825         (tr_reallochook): Likewise.
62826         (tr_memalignhook): Likewise.
62828 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62830         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
62831         default_ldbl_pack and using as default implementation.
62832         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
62833         implementation.
62834         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
62835         redundant definition.
62836         (ldbl_insert_mantissa): Likewise.
62837         (ldbl_canonicalize): Likewise.
62838         (ldbl_nearbyint): Likewise.
62839         (ldbl_pack): Rename to ldbl_pack_ppc.
62840         (ldbl_unpack): Rename to ldbl_unpack_ppc.
62841         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
62842         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
62844 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
62846         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
62847         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
62848         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
62849         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
62850         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
62851         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
62852         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
62853         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
62855 2013-03-07  Andreas Jaeger  <aj@suse.de>
62857         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62858         bits/mman-linux.h.
62860 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
62862         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
62863         Include mpa.h and declare __MPEXP.
62864         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
62865         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
62866         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
62867         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
62868         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
62869         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
62870         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
62872         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
62873         (__slowpow): Use long double EXPL and LOGL functions to
62874         compute POW.
62875         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
62876         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
62877         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
62878         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
62879         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
62880         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
62882         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
62883         intermediate variable to calculate exponent.
62884         (__sqr): Likewise.
62885         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
62886         Likewise.
62887         (__sqr): Likewise.
62889         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
62890         [!NO__SQR]: Define __sqr.
62891         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
62892         and NO__SQR.  Remove all code except __mul and __sqr.  Include
62893         sysdeps/ieee754/dbl-64/mpa.c.
62894         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
62896         [BZ #12723]
62897         * posix/Makefile (tests): Add tst-pathconf.
62898         * posix/tst-pathconf.c: New test case.
62899         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
62900         _PC_PIPE_BUF.
62901         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
62903 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
62905         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
62907 2013-03-06  Andreas Jaeger  <aj@suse.de>
62909         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
62910         definition via __MAP_ANONYMOUS.
62912         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
62913         it's not part of Linux headers.
62915         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
62916         (MAP_HUGE_MASK): Define.
62918         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
62919         Define.
62920         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
62921         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
62922         Define.
62923         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
62924         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
62925         Define.
62926         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
62927         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
62928         Define.
62929         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
62931         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
62932         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
62933         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
62934         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
62935         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
62936         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
62938         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
62939         Handle f2fs.
62941         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62942         Handle f2fs and efivarfs.
62944         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
62945         f2fs.
62947         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
62948         (EFIVARFS_MAGIC): Add.
62949         (F2FS_LINK_MAX): Add.
62951 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
62953         * stdio-common/vfprintf.c: Replace __builtin_expect with
62954         __glibc_unlikely.
62956 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
62958         [BZ #13550]
62959         * sysdeps/generic/bp-sym.h: Remove file.
62960         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
62961         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
62962         <bp-sym.h> and <bp-asm.h>.
62963         (__longjmp): Don't use BP_SYM.
62964         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
62965         and <bp-asm.h>.
62966         (memcpy): Don't use BP_SYM.
62967         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
62968         <bp-sym.h> and <bp-asm.h>.
62969         (memcpy): Don't use BP_SYM.
62970         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
62971         <bp-asm.h>.
62972         (memcpy): Don't use BP_SYM.
62973         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
62974         <bp-asm.h>.
62975         (memset): Don't use BP_SYM.
62976         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
62977         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
62978         (__bzero): Don't use BP_SYM.
62979         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
62980         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
62981         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
62982         <bp-sym.h> and <bp-asm.h>.
62983         (memcmp): Don't use BP_SYM.  Remove comment about bounded
62984         pointers.
62985         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
62986         <bp-sym.h> and <bp-asm.h>.
62987         (memcpy): Don't use BP_SYM.
62988         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
62989         <bp-sym.h> and <bp-asm.h>.
62990         (memset): Don't use BP_SYM.
62991         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
62992         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
62993         (__bzero): Don't use BP_SYM.
62994         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
62995         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
62996         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
62997         <bp-sym.h> and <bp-asm.h>.
62998         (strncmp): Don't use BP_SYM.  Remove comment about bounded
62999         pointers.
63000         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
63001         <bp-sym.h> and <bp-asm.h>.
63002         (memcpy): Don't use BP_SYM.
63003         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
63004         <bp-sym.h> and <bp-asm.h>.
63005         (memset): Don't use BP_SYM.
63006         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
63007         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
63008         (__bzero): Don't use BP_SYM.
63009         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
63010         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
63011         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
63012         <bp-sym.h> and <bp-asm.h>.
63013         (__memchr): Don't use BP_SYM.
63014         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
63015         <bp-sym.h> and <bp-asm.h>.
63016         (memcmp): Don't use BP_SYM.  Remove comment about bounded
63017         pointers.
63018         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
63019         <bp-sym.h> and <bp-asm.h>.
63020         (memcpy): Don't use BP_SYM.
63021         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
63022         <bp-sym.h> and <bp-asm.h>.
63023         (__mempcpy): Don't use BP_SYM.
63024         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
63025         <bp-sym.h> and <bp-asm.h>.
63026         (__memrchr): Don't use BP_SYM.
63027         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
63028         <bp-sym.h> and <bp-asm.h>.
63029         (memset): Don't use BP_SYM.
63030         (__bzero): Likewise.
63031         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
63032         <bp-sym.h> and <bp-asm.h>.
63033         (__rawmemchr): Don't use BP_SYM.
63034         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
63035         <bp-sym.h> and <bp-asm.h>.
63036         (__STRCMP): Don't use BP_SYM.
63037         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
63038         <bp-sym.h> and <bp-asm.h>.
63039         (strchr): Don't use BP_SYM.
63040         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
63041         <bp-sym.h> and <bp-asm.h>.
63042         (__strchrnul): Don't use BP_SYM.
63043         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
63044         <bp-sym.h> and <bp-asm.h>.
63045         (strlen): Don't use BP_SYM.
63046         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
63047         <bp-sym.h> and <bp-asm.h>.
63048         (strncmp): Don't use BP_SYM.  Remove comment about bounded
63049         pointers.
63050         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
63051         <bp-sym.h> and <bp-asm.h>.
63052         (__strnlen): Don't use BP_SYM.
63053         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
63054         <bp-sym.h> and <bp-asm.h>.
63055         (__GI__setjmp): Don't use BP_SYM.
63056         (_setjmp): Likewise.
63057         (__sigsetjmp): Likewise.
63058         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
63059         (L(start_addresses)): Don't use BP_SYM.
63060         (_start): Likewise.
63061         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
63062         <bp-asm.h>.
63063         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
63064         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
63065         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
63066         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
63067         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
63068         <bp-asm.h>.
63069         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
63070         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
63071         about bounded pointers.
63072         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
63073         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
63074         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
63075         <bp-asm.h>.
63076         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
63077         about bounded pointers.  Remove GKM FIXME comments.
63078         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
63079         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
63080         <bp-asm.h>.
63081         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
63082         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
63083         Remove GKM FIXME comments.
63084         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
63085         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
63086         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
63087         <bp-asm.h>.
63088         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
63089         about bounded pointers.  Remove GKM FIXME comment.
63090         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
63091         and <bp-asm.h>.
63092         (strncmp): Don't use BP_SYM.  Remove comment about bounded
63093         pointers.
63094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
63095         <bp-sym.h> and <bp-asm.h>.
63096         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
63097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
63098         <bp-sym.h> and <bp-asm.h>.
63099         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
63100         comment.
63102 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
63104         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
63105         call free(NULL).
63107 2013-03-05  David S. Miller  <davem@davemloft.net>
63109         * po/es.po: Update from translation team.
63111 2013-03-05  Andreas Jaeger  <aj@suse.de>
63113         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
63114         <bits/mman-linux.h>.
63115         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
63116         is fine.
63117         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
63118         <bits/mman-linux.h> to end of file.
63119         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
63120         is fine.
63121         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
63122         <bits/mman-linux.h> to end of file.
63123         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
63124         is fine.
63125         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
63126         <bits/mman-linux.h> to end of file.
63128         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
63129         (MCL_CURRENT, MCL_FUTURE): Define here.
63131 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63133         [BZ #15232]
63134         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
63135         attribute_hidden.
63136         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
63138 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63140         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
63141         fourth parameter needed for rt_sigprocmask syscall.
63142         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
63143         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
63144         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
63145         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
63146         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
63147         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
63149 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
63151         [BZ #13550]
63152         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
63153         comment about bounded pointers.
63154         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
63155         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
63157 2013-03-04  Andreas Jaeger  <aj@suse.de>
63159         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
63160         common definitions.
63162         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
63163         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
63164         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
63165         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
63166         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
63167         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
63169 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63171         [BZ #15055]
63172         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
63173         __ieee754_sqrl instead of __sqrl.
63175 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
63177         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
63178         * sysdeps/powerpc/fpu_control.h: ... here.
63179         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
63180         * sysdeps/powerpc/bits/fenvinline.h: ... here.
63181         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
63182         * sysdeps/powerpc/bits/mathinline.h: ... here.
63184 2013-03-01  Roland McGrath  <roland@hack.frob.com>
63186         * elf/dl-hwcaps.c (_dl_important_hwcaps):
63187         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
63188         to just [NEED_DL_SYSINFO_DSO].
63189         * elf/dl-support.c: Likewise.
63190         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
63191         * elf/rtld.c (dl_main): Likewise.
63192         * elf/setup-vdso.h (setup_vdso): Likewise.
63193         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
63194         * sysdeps/unix/sysv/linux/dl-sysdep.c
63195         (_dl_discover_osversion): Likewise.
63197 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
63199         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
63200         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
63202 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
63204         * NEWS: Mention libm performance improvements and non-x86 PI
63205         futex support.
63207         * csu/libc-start.c (__pthread_initialize_minimal): Change
63208         function arguments.
63209         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
63211 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
63213         [BZ #13550]
63214         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
63215         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
63216         <bp-sym.h> and <bp-asm.h>.
63217         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
63218         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
63219         and <bp-asm.h>.
63220         (memcpy): Don't use BP_SYM.
63221         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
63222         <bp-asm.h>.
63223         (__mpn_add_n): Don't use BP_SYM.
63224         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
63225         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
63226         and <bp-asm.h>.
63227         (__mpn_addmul_1): Don't use BP_SYM.
63228         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63229         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
63230         <bp-sym.h>.
63231         (_setjmp): Don't use BP_SYM.
63232         (__novmx_setjmp): Likewise.
63233         (__GI__setjmp): Likewise.
63234         (__vmx_setjmp): Likewise.
63235         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
63236         <bp-sym.h>.
63237         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
63238         (__bzero): Don't use BP_SYM.
63239         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
63240         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
63241         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
63242         <bp-sym.h> and <bp-asm.h>.
63243         (memcpy): Don't use BP_SYM.
63244         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
63245         <bp-sym.h> and <bp-asm.h>.
63246         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
63247         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
63248         <bp-sym.h> and <bp-asm.h>.
63249         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
63250         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
63251         <bp-asm.h>.
63252         (__mpn_lshift): Don't use BP_SYM.
63253         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63254         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
63255         <bp-asm.h>.
63256         (memset): Don't use BP_SYM.
63257         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
63258         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
63259         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
63260         <bp-asm.h>.
63261         (__mpn_mul_1): Don't use BP_SYM.
63262         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63263         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
63264         <bp-sym.h> and <bp-asm.h>.
63265         (memcmp): Don't use BP_SYM.
63266         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
63267         <bp-sym.h> and <bp-asm.h>.
63268         (memcpy): Don't use BP_SYM.
63269         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
63270         <bp-sym.h> and <bp-asm.h>.
63271         (memset): Don't use BP_SYM.
63272         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
63273         <bp-sym.h> and <bp-asm.h>.
63274         (strncmp): Don't use BP_SYM.
63275         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
63276         <bp-sym.h> and <bp-asm.h>.
63277         (memcpy): Don't use BP_SYM.
63278         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
63279         <bp-sym.h> and <bp-asm.h>.
63280         (memset): Don't use BP_SYM.
63281         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
63282         <bp-sym.h> and <bp-asm.h>.
63283         (__memchr): Don't use BP_SYM.
63284         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
63285         <bp-sym.h> and <bp-asm.h>.
63286         (memcmp): Don't use BP_SYM.
63287         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
63288         <bp-sym.h> and <bp-asm.h>.
63289         (memcpy): Don't use BP_SYM.
63290         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
63291         <bp-sym.h> and <bp-asm.h>.
63292         (__mempcpy): Don't use BP_SYM.
63293         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
63294         <bp-sym.h> and <bp-asm.h>.
63295         (__memrchr): Don't use BP_SYM.
63296         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
63297         <bp-sym.h> and <bp-asm.h>.
63298         (memset): Don't use BP_SYM.
63299         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
63300         <bp-sym.h> and <bp-asm.h>.
63301         (__rawmemchr): Don't use BP_SYM.
63302         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
63303         <bp-sym.h> and <bp-asm.h>.
63304         (__STRCMP): Don't use BP_SYM.
63305         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
63306         <bp-sym.h> and <bp-asm.h>.
63307         (strchr): Don't use BP_SYM.
63308         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
63309         <bp-sym.h> and <bp-asm.h>.
63310         (__strchrnul): Don't use BP_SYM.
63311         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
63312         <bp-sym.h> and <bp-asm.h>.
63313         (strlen): Don't use BP_SYM.
63314         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
63315         <bp-sym.h> and <bp-asm.h>.
63316         (strncmp): Don't use BP_SYM.
63317         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
63318         <bp-sym.h> and <bp-asm.h>.
63319         (__strnlen): Don't use BP_SYM.
63320         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
63321         <bp-asm.h>.
63322         (__mpn_rshift): Don't use BP_SYM.
63323         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63324         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
63325         <bp-sym.h> and <bp-asm.h>.
63326         (__sigsetjmp): Don't use BP_SYM.
63327         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
63328         (L(start_addresses)): Don't use BP_SYM.
63329         (_start): Likewise.
63330         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
63331         <bp-asm.h>.
63332         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
63333         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
63334         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
63335         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
63336         <bp-asm.h>.
63337         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
63338         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
63339         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
63340         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
63341         <bp-asm.h>.
63342         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
63343         comments.
63344         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
63345         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
63346         <bp-asm.h>.
63347         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
63348         FIXME comments.
63349         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
63350         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
63351         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
63352         <bp-asm.h>.
63353         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
63354         comment.
63355         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
63356         and <bp-asm.h>.
63357         (strncmp): Don't use BP_SYM,
63358         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
63359         <bp-asm.h>.
63360         (__mpn_sub_n): Don't use BP_SYM.
63361         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63362         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
63363         and <bp-asm.h>.
63364         (__mpn_submul_1): Don't use BP_SYM.
63365         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
63367         <bp-sym.h> and <bp-asm.h>.
63368         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
63369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
63370         <bp-sym.h> and <bp-asm.h>.
63371         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
63372         comment.
63374 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63376         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
63377         Use ZK to minimize writes to Z.
63378         (sub_magnitudes): Simplify code a bit.
63379         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
63380         Use ZK to minimize writes to Z.
63381         (sub_magnitudes): Simplify code a bit.
63383 2013-02-27  Roland McGrath  <roland@hack.frob.com>
63385         * csu/gmon-start.c: Add special exception to license text.
63387 2013-02-27  Richard Henderson  <rth@redhat.com>
63389         * scripts/config.guess: Update from config.git.
63390         * scripts/config.sub: Likewise.
63392 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
63394         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
63396         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
63398         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
63400         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
63402         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
63404 2013-02-26  Roland McGrath  <roland@hack.frob.com>
63406         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
63407         [$(build-shared = yes].
63409 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
63411         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
63412         (__mul): Reduce iterations for calculating mantissa.
63414         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
63415         MPTWO.
63416         (__mpranred): Likewise.
63418         [BZ #15160]
63419         * malloc/memusagestat.c (main): Draw graphs for heap and stack
63420         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
63422 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
63424         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
63425         Define __attribute__.
63427 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
63429         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
63430         unused.
63431         * posix/regex_internal.h (__attribute): Remove.
63432         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
63433         (re_string_context_at): Likewise.
63434         (bitset_not): Use __attribute__ and mark function as possibly
63435         unused.
63436         (bitset_merge): Likewise.
63437         (bitset_mask): Likewise.
63438         (re_string_char_size_at): Likewise.
63439         (re_string_wchar_at): Likewise.
63440         (re_string_elem_size_at): Likewise.
63442 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
63444         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
63445         code.
63446         (cc32): Likewise.
63448         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
63449         (__acr): Likewise.
63450         (__cpy): Likewise.
63451         (norm): Likewise.
63452         (denorm): Likewise.
63453         (__dbl_mp): Likewise.
63454         (add_magnitudes): Likewise.
63455         (sub_magnitudes): Likewise.
63456         (__mul): Likewise.
63457         (__inv): Likewise.
63459         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
63460         style.
63462         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
63463         style.
63465         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
63466         code.
63468         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
63469         up changes with default code.
63470         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
63471         Likewise.
63473 2013-02-24  Allan McRae  <allan@archlinux.org>
63475         * manual/socket.texi (The Internet Namespace): Order menu items
63476         to match that in the file.
63478         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
63479         node listing of the info page menu.
63481 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
63483         [BZ #13550]
63484         * sysdeps/i386/bp-asm.h: Remove file.
63485         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
63486         (PARMS): Do not use macros from bp-asm.h.
63487         (S1): Likewise.
63488         (S2): Likewise.
63489         (SIZE): Likewise.
63490         (__mpn_add_n): Do not use BP_SYM
63491         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
63492         "bp-asm.h".
63493         (PARMS): Do not use macros from bp-asm.h.
63494         (S1): Likewise.
63495         (SIZE): Likewise.
63496         (__mpn_addmul_1): Do not use BP_SYM
63497         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
63498         "bp-asm.h".
63499         (PARMS): Do not use macros from bp-asm.h.
63500         (SIGMSK): Likewise.
63501         (_setjmp): Likewise.  Do not use BP_SYM.
63502         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
63503         "bp-asm.h".
63504         (PARMS): Do not use macros from bp-asm.h.
63505         (SIGMSK): Likewise.
63506         (setjmp): Likewise.  Do not use BP_SYM.
63507         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
63508         "bp-asm.h".
63509         (PARMS): Do not use macros from bp-asm.h.
63510         (__frexp): Do not use BP_SYM.
63511         (frexp): Likewise.
63512         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
63513         "bp-asm.h".
63514         (PARMS): Do not use macros from bp-asm.h.
63515         (__frexpf): Do not use BP_SYM.
63516         (frexpf): Likewise.
63517         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
63518         "bp-asm.h".
63519         (PARMS): Do not use macros from bp-asm.h.
63520         (__frexpl): Do not use BP_SYM.
63521         (frexpl): Likewise.
63522         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
63523         "bp-asm.h".
63524         (PARMS): Do not use macros from bp-asm.h.
63525         (__remquo): Do not use BP_SYM.
63526         (remquo): Likewise.
63527         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
63528         "bp-asm.h".
63529         (PARMS): Do not use macros from bp-asm.h.
63530         (__remquof): Do not use BP_SYM.
63531         (remquof): Likewise.
63532         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
63533         "bp-asm.h".
63534         (PARMS): Do not use macros from bp-asm.h.
63535         (__remquol): Do not use BP_SYM.
63536         (remquol): Likewise.
63537         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
63538         "bp-asm.h".
63539         (PARMS): Do not use macros from bp-asm.h.
63540         (DEST): Likewise.
63541         (SRC): Likewise.
63542         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
63543         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
63544         "bp-asm.h".
63545         (PARMS): Do not use macros from bp-asm.h.
63546         (strlen): Do not use BP_SYM.
63547         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
63548         "bp-asm.h".
63549         (PARMS): Do not use macros from bp-asm.h.
63550         (S1): Likewise.
63551         (S2): Likewise.
63552         (SIZE): Likewise.
63553         (__mpn_add_n): Do not use BP_SYM.
63554         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
63555         "bp-asm.h".
63556         (PARMS): Do not use macros from bp-asm.h.
63557         (S1): Likewise.
63558         (SIZE): Likewise.
63559         (__mpn_addmul_1): Do not use BP_SYM.
63560         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
63561         weak_alias.
63562         (bzero): Likewise.
63563         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
63564         "bp-asm.h".
63565         (PARMS): Do not use macros from bp-asm.h.
63566         (S): Likewise.
63567         (SIZE): Likewise.
63568         (__mpn_lshift): Do not use BP_SYM.
63569         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
63570         "bp-asm.h".
63571         (PARMS): Do not use macros from bp-asm.h.
63572         (DEST): Likewise.
63573         (SRC): Likewise.
63574         (LEN): Likewise.
63575         (memcpy): Likewise.  Do not use BP_SYM.
63576         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
63577         libc_hidden_def and weak_alias.
63578         (mempcpy): Do not use BP_SYM in weak_alias.
63579         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
63580         "bp-asm.h".
63581         (PARMS): Do not use macros from bp-asm.h.
63582         (DEST): Likewise.
63583         (LEN): Likewise.
63584         [!BZERO_P] (CHR): Likewise.
63585         (memset): Likewise.  Do not use BP_SYM.
63586         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
63587         "bp-asm.h".
63588         (PARMS): Do not use macros from bp-asm.h.
63589         (S1): Likewise.
63590         (SIZE): Likewise.
63591         (__mpn_mul_1): Do not use BP_SYM.
63592         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
63593         "bp-asm.h".
63594         (PARMS): Do not use macros from bp-asm.h.
63595         (S): Likewise.
63596         (SIZE): Likewise.
63597         (__mpn_rshift): Do not use BP_SYM.
63598         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
63599         "bp-asm.h".
63600         (PARMS): Do not use macros from bp-asm.h.
63601         (STR): Likewise.
63602         (CHR): Likewise.
63603         (strchr): Likewise.  Do not use BP_SYM.
63604         (index): Do not use BP_SYM in weak_alias.
63605         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
63606         "bp-asm.h".
63607         (PARMS): Do not use macros from bp-asm.h.
63608         (DEST): Likewise.
63609         (SRC): Likewise.
63610         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
63611         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
63612         "bp-asm.h".
63613         (PARMS): Do not use macros from bp-asm.h.
63614         (strlen): Do not use BP_SYM.
63615         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
63616         "bp-asm.h".
63617         (PARMS): Do not use macros from bp-asm.h.
63618         (S1): Likewise.
63619         (S2): Likewise.
63620         (SIZE): Likewise.
63621         (__mpn_sub_n): Do not use BP_SYM.
63622         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
63623         "bp-asm.h".
63624         (PARMS): Do not use macros from bp-asm.h.
63625         (S1): Likewise.
63626         (SIZE): Likewise.
63627         (__mpn_submul_1): Do not use BP_SYM.
63628         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
63629         "bp-asm.h".
63630         (PARMS): Do not use macros from bp-asm.h.
63631         (S1): Likewise.
63632         (S2): Likewise.
63633         (SIZE): Likewise.
63634         (__mpn_add_n): Do not use BP_SYM.
63635         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
63636         weak_alias.
63637         (bzero): Likewise.
63638         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
63639         "bp-asm.h".
63640         (PARMS): Do not use macros from bp-asm.h.
63641         (BLK2): Likewise.
63642         (LEN): Likewise.
63643         (memcmp): Do not use BP_SYM.
63644         (bcmp): Do not use BP_SYM in weak_alias.
63645         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
63646         "bp-asm.h".
63647         (PARMS): Do not use macros from bp-asm.h.
63648         (DEST): Likewise.
63649         (SRC): Likewise.
63650         (LEN): Likewise.
63651         (memcpy): Likewise.  Do not use BP_SYM.
63652         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
63653         "bp-asm.h".
63654         (PARMS): Do not use macros from bp-asm.h.
63655         (DEST): Likewise.
63656         (SRC): Likewise.
63657         (LEN): Likewise.
63658         (memmove): Likewise.  Do not use BP_SYM.
63659         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
63660         "bp-asm.h".
63661         (PARMS): Do not use macros from bp-asm.h.
63662         (DEST): Likewise.
63663         (SRC): Likewise.
63664         (LEN): Likewise.
63665         (__mempcpy): Likewise.  Do not use BP_SYM.
63666         (mempcpy): Do not use BP_SYM in weak_alias.
63667         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
63668         "bp-asm.h".
63669         (PARMS): Do not use macros from bp-asm.h.
63670         (DEST): Likewise.
63671         (LEN): Likewise.
63672         [!BZERO_P] (CHR): Likewise.
63673         (memset): Likewise.  Do not use BP_SYM.
63674         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
63675         "bp-asm.h".
63676         (PARMS): Do not use macros from bp-asm.h.
63677         (STR2): Likewise.
63678         (strcmp): Do not use BP_SYM.
63679         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
63680         "bp-asm.h".
63681         (PARMS): Do not use macros from bp-asm.h.
63682         (STR): Likewise.
63683         (DELIM): Likewise.
63684         [USE_AS_STRTOK_R] (SAVE): Likewise.
63685         (FUNCTION): Likewise.  Do not use BP_SYM.
63686         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
63687         aliases.
63688         (strtok_r): Likewise.
63689         (__GI___strtok_r): Likewise.
63690         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
63691         (PARMS): Do not use macros from bp-asm.h.
63692         (S): Likewise.
63693         (SIZE): Likewise.
63694         (__mpn_lshift): Do not use BP_SYM.
63695         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
63696         (PARMS): Do not use macros from bp-asm.h.
63697         (STR): Likewise.
63698         (CHR): Likewise.
63699         (__memchr): Do not use BP_SYM.
63700         (memchr): Do not use BP_SYM in weak_alias.
63701         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
63702         (PARMS): Do not use macros from bp-asm.h.
63703         (BLK2): Likewise.
63704         (LEN): Likewise.
63705         (memcmp): Do not use BP_SYM.
63706         (bcmp): Do not use BP_SYM in weak_alias.
63707         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
63708         (PARMS): Do not use macros from bp-asm.h.
63709         (S1): Likewise.
63710         (SIZE): Likewise.
63711         (__mpn_mul_1): Do not use BP_SYM.
63712         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
63713         "bp-asm.h".
63714         (PARMS): Do not use macros from bp-asm.h.
63715         (STR): Likewise.
63716         (CHR): Likewise.
63717         (__rawmemchr): Do not use BP_SYM.
63718         (rawmemchr): Do not use BP_SYM in weak_alias.
63719         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
63720         (PARMS): Do not use macros from bp-asm.h.
63721         (S): Likewise.
63722         (SIZE): Likewise.
63723         (__mpn_rshift): Do not use BP_SYM.
63724         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
63725         (PARMS): Do not use macros from bp-asm.h.
63726         (SIGMSK): Likewise.
63727         (__sigsetjmp): Likewise.  Do not use BP_SYM.
63728         * sysdeps/i386/start.S: Do not include "bp-sym.h".
63729         (_start): Do not use BP_SYM.
63730         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
63731         (PARMS): Do not use macros from bp-asm.h.
63732         (DEST): Likewise.
63733         (SRC): Likewise.
63734         (__stpcpy): Likewise.  Do not use BP_SYM.
63735         (stpcpy): Do not use BP_SYM in weak_alias.
63736         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
63737         "bp-asm.h".
63738         (PARMS): Do not use macros from bp-asm.h.
63739         (DEST): Likewise.
63740         (SRC): Likewise.
63741         (LEN): Likewise.
63742         (__stpncpy): Likewise.  Do not use BP_SYM.
63743         (stpncpy): Do not use BP_SYM in weak_alias.
63744         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
63745         (PARMS): Do not use macros from bp-asm.h.
63746         (STR): Likewise.
63747         (CHR): Likewise.
63748         (strchr): Likewise.  Do not use BP_SYM.
63749         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
63750         "bp-asm.h".
63751         (PARMS): Do not use macros from bp-asm.h.
63752         (STR): Likewise.
63753         (CHR): Likewise.
63754         (__strchrnul): Likewise.  Do not use BP_SYM.
63755         (strchrnul): Do not use BP_SYM in weak_alias.
63756         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
63757         "bp-asm.h".
63758         (PARMS): Do not use macros from bp-asm.h.
63759         (STOP): Likewise.
63760         (strcspn): Do not use BP_SYM.
63761         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
63762         "bp-asm.h".
63763         (PARMS): Do not use macros from bp-asm.h.
63764         (STR): Likewise.
63765         (STOP): Likewise.
63766         (strpbrk): Likewise.  Do not use BP_SYM.
63767         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
63768         "bp-asm.h".
63769         (PARMS): Do not use macros from bp-asm.h.
63770         (STR): Likewise.
63771         (CHR): Likewise.
63772         (strrchr): Likewise.  Do not use BP_SYM.
63773         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
63774         (PARMS): Do not use macros from bp-asm.h.
63775         (SKIP): Likewise.
63776         (strspn): Do not use BP_SYM.
63777         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
63778         (PARMS): Do not use macros from bp-asm.h.
63779         (STR): Likewise.
63780         (DELIM): Likewise.
63781         (SAVE): Likewise.
63782         (FUNCTION): Likewise.  Do not use BP_SYM.
63783         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
63784         aliases.
63785         (strtok_r): Likewise.
63786         (__GI___strtok_r): Likewise.
63787         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
63788         (PARMS): Do not use macros from bp-asm.h.
63789         (S1): Likewise.
63790         (S2): Likewise.
63791         (SIZE): Likewise.
63792         (__mpn_sub_n): Do not use BP_SYM.
63793         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
63794         "bp-asm.h".
63795         (PARMS): Do not use macros from bp-asm.h.
63796         (S1): Likewise.
63797         (SIZE): Likewise.
63798         (__mpn_submul_1): Do not use BP_SYM.
63799         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
63800         <bp-sym.h>.
63801         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
63802         and <bp-asm.h>.
63803         (PARMS): Do not use macros from bp-asm.h.
63804         (FLAGS): Likewise.
63805         (PTID): Likewise.
63806         (TLS): Likewise.
63807         (CTID): Likewise.
63808         (__clone): Do not use BP_SYM.
63809         (clone): Do not use BP_SYM in weak_alias.
63810         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
63811         and <bp-asm.h>.
63812         (PARMS): Do not use macros from bp-asm.h.
63813         (LEN): Likewise.
63814         (__mmap64): Do not use BP_SYM.
63815         (mmap64): Do not use BP_SYM in weak_alias.
63816         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
63817         <bp-sym.h> and <bp-asm.h>.
63818         (PARMS): Do not use macros from bp-asm.h.
63819         (__posix_fadvise64_l64): Do not use BP_SYM.
63820         * sysdeps/unix/sysv/linux/i386/semtimedop.S
63821         (PARMS): Do not use macros from bp-asm.h.
63822         (NSOPS): Likewise.
63823         (semtimedop): Do not use BP_SYM.
63824         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
63825         and <bp-asm.h>.
63827 2013-02-21  Allan McRae  <allan@archlinux.org>
63829         * manual/message.texi (Charset conversion in gettext):
63830         Move @end statement to beginning of line.
63832 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63834         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
63835         static.
63836         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
63837         Likewise.
63839         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
63840         (denorm): Likewise.
63841         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
63842         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
63844 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63846         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
63847         tail-call to the resolved function if pltexit isn't needed.
63849 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63851         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
63852         or Y being zero as being unlikely.
63853         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
63854         Likewise.
63856 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
63858         * manual/nss.texi (System Databases and Name Service Switch):
63859         Remove frobnicate @pxref.
63861 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
63863         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
63864         __attribute__ ((unused)) to __attribute__ ((__unused__)).
63866 2013-02-20  Petr Machata  <pmachata@redhat.com>
63868         * elf/elf.h (R_ARM_TARGET1): New macro.
63869         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
63870         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
63871         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
63872         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
63873         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
63874         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
63875         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
63876         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
63877         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
63878         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
63879         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
63880         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
63881         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
63882         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
63883         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
63884         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
63885         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
63886         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
63887         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
63888         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
63889         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
63890         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
63891         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
63892         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
63893         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
63894         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
63895         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
63896         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
63897         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
63898         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
63899         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
63900         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
63901         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
63902         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
63903         (R_ARM_THM_GOT_BREL12): Likewise.
63904         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
63905         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
63906         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
63907         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
63908         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
63909         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
63910         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
63911         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
63912         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
63914 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
63916         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
63917         __attribute_used__ to __attribute__ ((unused)).
63919 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
63921         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
63922         powerpc mpa.c.
63923         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
63924         comment formatting.
63925         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
63927 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
63929         [BZ #13550]
63930         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
63931         Remove macro.
63932         (ENTER): Remove both macro definitions.
63933         (LEAVE): Likewise.
63934         (CHECK_BOUNDS_LOW): Likewise.
63935         (CHECK_BOUNDS_HIGH): Likewise.
63936         (CHECK_BOUNDS_BOTH): Likewise.
63937         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
63938         (RETURN_BOUNDED_POINTER): Likewise.
63939         (RETURN_NULL_BOUNDED_POINTER): Likewise.
63940         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
63941         (POP_ERRNO_LOCATION_RETURN): Likewise.
63942         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
63943         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63944         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
63945         macros.
63946         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63947         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
63948         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
63949         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
63950         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
63951         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
63952         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
63953         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
63954         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
63955         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
63956         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
63957         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
63958         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63959         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
63960         removed macros.
63961         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63962         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
63963         macros.
63964         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63965         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
63966         * sysdeps/i386/i586/memset.S (memset): Likewise.
63967         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
63968         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63969         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
63970         macros.
63971         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63972         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
63973         Change uses of L(2) to L(out).
63974         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
63975         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
63976         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
63977         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63978         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
63979         removed macros.
63980         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63981         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
63982         macros.
63983         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63984         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
63985         (RETURN): Do not use macro LEAVE.
63986         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
63987         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
63988         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
63989         * sysdeps/i386/i686/memset.S (memset): Likewise.
63990         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
63991         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
63992         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
63993         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
63994         Likewise.
63995         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
63996         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
63997         L(1_2) and L(1_3) into L(1).
63998         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
63999         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
64000         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64001         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
64002         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
64003         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
64004         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
64005         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64006         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
64007         macros.
64008         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
64009         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64010         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
64011         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
64012         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
64013         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
64014         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
64015         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
64016         * sysdeps/i386/strcspn.S (strcspn): Likewise.
64017         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
64018         * sysdeps/i386/strrchr.S (strrchr): Likewise.
64019         * sysdeps/i386/strspn.S (strspn): Likewise.
64020         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
64021         conditional code.
64022         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
64023         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
64024         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
64025         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
64026         L(1_3) into L(1_1).
64027         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
64028         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64029         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
64030         macros.
64031         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64033 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
64035         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
64036         macro.
64038 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
64040         * math/atest-exp.c (exp_mpn): Remove ROUND.
64041         * math/atest-exp2.c (exp_mpn): Likewise.
64042         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
64044         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
64045         * stdlib/tst-tls-atexit-lib.c: Likewise.
64046         * stdlib/tst-tls-atexit.c: Likewise.
64048 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
64050         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
64051         and __attribute_alloc_size__.
64053 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
64055         * include/programs/xmalloc.h: Change __attribute_alloc_size to
64056         __attribute_alloc_size__.
64057         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
64058         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
64060 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
64062         * include/programs/xmalloc.h: New file.
64063         * catgets/gencat.c: Include it.
64064         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
64065         * elf/pldd.c: Likewise.
64066         * iconv/iconv_charmap.c: Likewise.
64067         * iconv/iconvconfig.c: Likewise.
64068         * iconv/strtab.c: Likewise.
64069         * locale/programs/locale.c: Likewise.
64070         * locale/programs/localedef.h: Likewise.
64071         * locale/programs/simple-hash.c: Likewise.
64072         * nscd/nscd.h: Likewise.
64073         * nss/makedb.c: Likewise.
64074         * sysdeps/generic/ldconfig.h: Likewise.
64076 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
64078         * Versions.def: Add GLIBC_2.18.
64079         * include/link.h (struct link_map): New member l_tls_dtor_count.
64080         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
64081         (__call_tls_dtors): Likewise.
64082         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
64083         __cxa_thread_atexit_impl.
64084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64085         Likewise.
64086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64087         Likewise.
64088         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
64089         Likewise.
64090         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
64091         Likewise.
64092         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
64093         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
64094         Likewise.
64095         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
64096         Likewise.
64097         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
64098         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
64099         Likewise.
64100         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
64101         (tests): Add test case tst-tls-atexit.
64102         (modules-names): Add shared library for tst-tls-atexit.
64103         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
64104         (GLIBC_PRIVATE): Add __call_tls_dtors.
64105         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
64106         for libstdc++.
64107         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
64108         * stdlib/tst-tls-atexit.c: New test case.
64109         * stdlib/tst-tls-atexit-lib.c: New test case.
64111         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
64113         * elf/Versions (ld): Add _dl_find_dso_for_object.
64114         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
64115         * elf/dl-open.c (_dl_find_dso_for_object): New function.
64116         (dl_open_worker): Use _dl_find_dso_for_object.
64117         * elf/dl-sym.c (do_sym): Likewise.
64118         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
64120 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64122         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
64123         Syntactic changes only.
64124         (_dl_runtime_profile): Do a tail-call to the resolved function.
64126 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
64128         [BZ #13550]
64129         * sysdeps/x86_64/bp-asm.h: Remove file.
64130         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
64131         <bp-sym.h> and <bp-asm.h>.
64132         (__clone): Do not use BP_SYM.
64133         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
64134         <bp-sym.h> and <bp-asm.h>.
64135         * sysdeps/unix/x86_64/sysdep.S: Likewise.
64136         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
64137         "bp-asm.h".
64138         (_setjmp): Do not use BP_SYM.
64139         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
64140         "bp-asm.h".
64141         (setjmp): Do not use BP_SYM.
64142         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
64143         libc_hidden_def.
64144         (mempcpy): Do not use BP_SYM in weak_alias.
64145         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
64146         "bp-asm.h".
64147         (strchr): Do not use BP_SYM.
64148         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
64149         "bp-asm.h".
64150         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
64151         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
64152         (_start): Do not use BP_SYM.
64153         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
64154         "bp-asm.h".
64155         (strcat): Do not use BP_SYM.
64156         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
64157         "bp-asm.h".
64158         (STRCMP): Do not use BP_SYM.
64159         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
64160         "bp-asm.h".
64161         (STRCPY): Do not use BP_SYM.
64162         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
64163         "bp-asm.h".
64164         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
64165         "bp-asm.h".
64166         (FUNCTION): Do not use BP_SYM.
64167         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
64168         weak_alias.
64169         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
64171 2013-02-17  Andreas Jaeger  <aj@suse.de>
64173         * time/Versions: Sort entries.
64174         * string/Versions: Likewise.
64175         * resolv/Versions: Likewise.
64176         * posix/Versions: Likewise.
64177         * iconv/Versions: Likewise.
64178         * elf/Versions: Likewise.
64179         * wcsmbs/Versions: Likewise.
64181 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
64183         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
64184         loop termination condition.
64186         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
64187         variable to calculate EZ.
64188         (__sqr): Likewise.
64190         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
64191         the lower precision input.
64193 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
64195         [BZ #13550]
64196         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
64197         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
64198         (run-via-rtld-prefix): Do not handle %-bp tests.
64199         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
64200         (all-object-suffixes): Remove .ob.
64201         (bppfx): Remove variable.
64202         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
64203         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
64204         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
64205         [$(build-bounded) = yes] (libtype.ob): Likewise.
64206         * Makerules (elide-routines.ob): Remove variable.
64207         (do-tests-clean): Do not handle *-bp.out.
64208         (common-mostlyclean): Do not handle *-bp and *-bp.out.
64209         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
64210         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
64211         (tests): Do not include $(tests-bp.out).
64212         (xtests): Do not include $(xtests-bp.out).
64213         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
64214         [$(build-bounded) = yes] ($(addprefix
64215         $(objpfx),$(binaries-bounded))): Remove rule.
64216         ($(objpfx)%-bp.out): Remove rule.
64217         * config.make.in (build-bounded): Remove variable.
64218         * crypt/Makefile [$(build-bounded) = yes]
64219         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
64220         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
64221         append to variable.
64222         [$(build-bounded) = yes] (install-lib): Likewise.
64223         [$(build-bounded) = yes] (generated): Likewise.
64224         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
64225         Remove rule.
64226         * intl/Makefile [$(build-bounded) = yes]
64227         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
64228         * math/Makefile [$(build-bounded) = yes]
64229         ($(tests:%=$(objpfx)%-bp): Likewise.
64230         * misc/Makefile [$(build-bounded) = yes]
64231         ($(objpfx)tst-tsearch-bp): Likewise.
64232         * nptl/Makeconfig (bounded-thread-library): Remove variable.
64233         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
64234         Remove dependency.
64235         * string/Makefile (o-objects.ob): Remove variable.
64236         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
64237         (CFLAGS-.ob): Remove variable.
64238         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
64239         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
64240         both definitions of variable.
64241         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
64242         (ASFLAGS-.ob): Remove variable.
64244 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
64246         [BZ #13550]
64247         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
64248         Remove __BOUNDED_POINTERS__ from condition.
64249         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
64250         * string/bits/string2.h [!__NO_STRING_INLINES &&
64251         !__BOUNDED_POINTERS__]: Likewise.
64252         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
64253         Likewise.
64254         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
64255         Remove conditional code.
64256         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
64257         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
64258         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
64259         condition.
64261         [BZ #13550]
64262         * csu/libc-start.c: Do not include <bp-sym.h>.
64263         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
64264         * elf/dl-open.c: Do not include <bp-sym.h>.
64265         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
64266         * math/fegetenv.c: Do not include <bp-sym.h>.
64267         (fegetenv): Do not use BP_SYM in versioned symbols.
64268         * nptl/sysdeps/pthread/bits/libc-lockP.h
64269         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
64270         <bp-sym.h>.
64271         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64272         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
64273         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64274         (__pthread_mutex_destroy): Likewise.
64275         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64276         (__pthread_mutex_lock): Likewise.
64277         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64278         (__pthread_mutex_trylock): Likewise.
64279         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64280         (__pthread_mutex_unlock): Likewise.
64281         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64282         (__pthread_mutexattr_init): Likewise.
64283         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64284         (__pthread_mutexattr_destroy): Likewise.
64285         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64286         (__pthread_mutexattr_settype): Likewise.
64287         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64288         (__pthread_rwlock_init): Likewise.
64289         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64290         (__pthread_rwlock_destroy): Likewise.
64291         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64292         (__pthread_rwlock_rdlock): Likewise.
64293         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64294         (__pthread_rwlock_tryrdlock): Likewise.
64295         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64296         (__pthread_rwlock_wrlock): Likewise.
64297         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64298         (__pthread_rwlock_trywrlock): Likewise.
64299         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64300         (__pthread_rwlock_unlock): Likewise.
64301         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64302         (__pthread_key_create): Likewise.
64303         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64304         (__pthread_setspecific): Likewise.
64305         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64306         (__pthread_getspecific): Likewise.
64307         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
64308         Likewise.
64309         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64310         (_pthread_cleanup_push_defer): Likewise.
64311         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64312         (_pthread_cleanup_pop_restore): Likewise.
64313         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64314         (pthread_setcancelstate): Likewise.
64315         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
64316         <bp-sym.h>.
64317         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
64318         (memchr): Do not use BP_SYM in weak_alias.
64319         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
64320         (fegetenv): Do not use BP_SYM in versioned symbols.
64321         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
64322         (fesetenv): Do not use BP_SYM in versioned symbols.
64323         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
64324         (feupdateenv): Do not use BP_SYM in versioned symbols.
64325         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
64326         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
64327         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
64328         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
64329         (open64): Do not use BP_SYM in weak_alias.
64330         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
64331         (fegetenv): Do not use BP_SYM in versioned symbols.
64332         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
64333         (fesetenv): Do not use BP_SYM in versioned symbols.
64334         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
64335         (feupdateenv): Do not use BP_SYM in versioned symbols.
64336         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
64337         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
64338         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
64339         (feraiseexcept): Do not use BP_SYM in versioned symbols.
64340         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
64341         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
64342         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
64343         <bp-sym.h>.
64344         (__libc_start_main): Do not use BP_SYM.
64346 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
64348         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
64349         redundant return line.
64350         (norm): Likewise.
64351         (denorm): Likewise.
64352         (dbl_mp): Likewise.
64353         (sub_magnitudes): Likewise.
64354         (__add): Likewise.
64355         (__sub): Likewise.
64356         (__mul): Likewise.
64357         (__inv): Likewise.
64358         (__dvd): Likewise.
64359         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
64360         (norm): Likewise.
64361         (denorm): Likewise.
64362         (dbl_mp): Likewise.
64363         (sub_magnitudes): Likewise.
64364         (__add): Likewise.
64365         (__sub): Likewise.
64366         (__mul): Likewise.
64367         (__inv): Likewise.
64368         (__dvd): Likewise.
64370         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
64371         instead of __mul.
64372         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
64373         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
64374         (cc32): Likewise.
64376         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
64377         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
64378         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
64379         of __mul for squares.
64380         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
64381         function
64382         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
64383         Likewise.
64384         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
64385         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
64387 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
64389         [BZ #13550]
64390         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
64391         code.
64392         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
64393         prototype or function definition.  Rename ubp_* variables and
64394         parameters.  Remove argv definitions conditional on
64395         [__BOUNDED_POINTERS__].
64396         * debug/backtrace.c (__backtrace): Do not use __unbounded.
64397         * elf/dl-runtime.c (_dl_fixup): Likewise.
64398         * include/set-hooks.h (RUN_HOOK): Likewise.
64399         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
64400         definition.
64401         * string/strcpy.c (strcpy): Do not use __unbounded.
64402         * sysdeps/generic/frame.h (struct layout): Likewise.
64403         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
64404         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
64405         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
64406         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
64407         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
64408         (__backtrace): Likewise.
64409         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
64410         use __ptrvalue.
64411         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
64412         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
64413         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
64414         Likewise.
64415         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
64416         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
64417         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
64418         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
64419         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
64420         Do not use __unbounded.
64421         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
64422         Rename __unboundedrlimits parameter to rlimits in prototype.
64423         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
64424         Do not use __unbounded.
64425         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
64426         not use __ptrvalue.
64427         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
64428         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
64429         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
64430         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
64431         __ptrvalue or __unbounded.
64432         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
64433         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
64434         use __unbounded.
64435         (__new_msgctl): Do not use __ptrvalue.
64436         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
64437         __unbounded.
64438         (__libc_msgrcv): Do not use __ptrvalue.
64439         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
64440         startup_info): Do not use __unbounded.
64441         (__libc_start_main): Likewise.  Rename ubp_* variables and
64442         parameters.  Remove argv definitions conditional on
64443         [__BOUNDED_POINTERS__].
64444         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
64445         __ptrvalue.
64446         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
64447         use __unbounded.
64448         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
64449         or __ptrvalue.
64450         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
64451         use __unbounded.
64452         (__new_shmctl): Do not use __ptrvalue.
64453         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
64454         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
64455         Likewise.
64456         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
64457         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
64458         (__libc_sigaction): Likewise.
64459         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
64460         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
64461         Likewise.
64462         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
64464 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
64466         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
64468         * string/mempcpy.c: Implement by calling memcpy.
64470 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
64472         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
64474         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
64475         evaluation.
64477         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
64478         values in the mantissa.
64480         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
64481         minimize writes to Z.
64482         (sub_magnitudes): Simplify code a bit.
64484 2013-02-12  Roland McGrath  <roland@hack.frob.com>
64486         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
64487         from the message.  The linker prefixes all warnings with that already.
64489 2013-02-12  Andreas Schwab  <schwab@suse.de>
64491         [BZ #15078]
64492         * posix/regexec.c (extend_buffers): Add parameter min_len.
64493         (check_matching): Pass minimum needed length.
64494         (clean_state_log_if_needed): Likewise.
64495         (get_subexp): Likewise.
64496         * posix/Makefile (tests): Add bug-regex34.
64497         (bug-regex34-ENV): Define.
64498         * posix/bug-regex34.c: New file.
64500         [BZ #11561]
64501         * posix/regcomp.c (parse_bracket_exp): When looking up collating
64502         elements compare against the byte sequence of it, not its name.
64503         * posix/Makefile (tests): Add bug-regex35.
64504         (bug-regex35-ENV): Define.
64505         * posix/bug-regex35.c: New file.
64507 2013-02-11  Tom de Vries  <tom@codesourcery.com>
64509         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
64510         comment.
64511         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
64512         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
64513         (CHECK_EOL): Add undef.
64515 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
64517         * bits/stdlib-bsearch.h: New file.
64518         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
64519         * stdlib/stdlib.h: Likewise.
64521 2013-02-11  Roland McGrath  <roland@hack.frob.com>
64523         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
64524         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
64525         declaration.
64526         * manual/search.texi (Array Search Function): Add missing const in
64527         lfind prototype.
64528         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
64529         declaration to use rlim_t.
64530         (Basic Scheduling Functions): Remove erroneous const from
64531         sched_getparam prototype.  Remove erroneous * from
64532         sched_get_priority_max and sched_get_priority_min prototypes.
64533         (Resource Usage): Fix summary @comment on vtimes to refer to
64534         sys/vtimes.h rather than vtimes.h.
64535         Add missing *s in vtimes prototype.
64536         (Limits on Resources): Fix ulimit prototype to return long int.
64537         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
64538         prototypes to use long int rather than double.
64539         (BSD Random): Fix initstate and setstate to use char *, not void *.
64540         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
64541         prototype to make second argument 'struct aiocb64 *const[]'.
64542         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
64543         (Status of AIO Operations): Remove erroneous const in aio_return and
64544         aio_return64 prototypes.
64545         (Synchronizing I/O): Fix sync prototype to return void.
64546         * manual/startup.texi (Suboptions): Remove an erroneous const in
64547         getsubopt prototype.
64548         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
64549         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
64550         use size_t rather than int.
64551         (Scanning All Users): Likewise for getpwent_r.
64552         (Setting Groups): Add missing const to setgroups prototype.
64553         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
64554         * manual/socket.texi (Host Names): Fix gethostbyaddr and
64555         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
64556         'const void *' rather than 'const char *'.
64557         (Host Address Functions): Likewise for inet_ntop.
64558         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
64559         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
64560         ssize_t for return value.
64561         (Sending Data): Likewise for send, sendto, sendmsg.
64562         (Socket Option Functions): Add a missing const in setsockopt prototype.
64563         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
64564         use wchar_t for the argument.
64565         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
64566         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
64567         take no arguments.
64568         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
64569         double/float/long double for second argument.
64570         Fix return types of significand, significandf, significandl.
64571         * manual/filesys.texi (Setting Permissions): Use mode_t for second
64572         argument in fchmod prototype.
64573         (File Owner): Use uid_t and gid_t in fchown prototype.
64574         (File Times): Add const to utimes, futimes, and lutimes prototypes.
64575         (Making Special Files): Use mode_t and dev_t in mknod prototype.
64576         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
64577         use 'const struct dirent **' as argument types to CMP function pointer
64578         argument.
64579         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
64580         (File Times): Fix summary magic @comment for struct utimbuf and utime
64581         to refer to utime.h, not time.h.
64582         * manual/string.texi (Argz Functions): Add missing const in
64583         argz_extract and argz_next prototypes.
64584         (Finding Tokens in a String): Likewise for basename.
64585         (String/Array Comparison): Fix typo in wcscasecmp prototype.
64586         (Copying and Concatenation): Fix typo in wmemmove prototype.
64587         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
64588         (Signal Stack): Remove erroneous const in sigstack prototype.
64589         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
64590         prototype.
64591         (Simple Calendar Time): Likewise for stime.
64592         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
64593         prototype.
64594         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
64595         say sys/sysctl.h instead.
64596         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
64597         and vsyslog prototypes.
64599 2013-02-11  Tom de Vries  <tom@codesourcery.com>
64601         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
64602         Remove.
64604 2013-02-11  Roland McGrath  <roland@hack.frob.com>
64606         * misc/sys/mman.h: Fix typo in mremap comment.
64608 2013-02-08  Roland McGrath  <roland@hack.frob.com>
64610         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
64611         the '\0' terminator.
64613 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
64615         [BZ #13550]
64616         * debug/segfault.c: Don't include <bp-checks.h>.
64617         * sysdeps/generic/bp-checks.h: Remove file.
64618         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
64619         (__GETDENTS): Don't use CHECK_N.
64620         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
64621         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
64622         (__getgroups): Don't use CHECK_N.
64623         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
64624         (setgroups): Don't use CHECK_N.
64625         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
64626         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
64627         (__libc_msgrcv): Don't use CHECK_N.
64628         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
64629         (__libc_msgsnd): Don't use CHECK_N.
64630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
64631         <bp-checks.h>.
64632         (__libc_pread): Don't use CHECK_N.
64633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
64634         include <bp-checks.h>.
64635         (__libc_pread64): Don't use CHECK_N.
64636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
64637         include <bp-checks.h>.
64638         (__libc_pwrite): Don't use CHECK_N.
64639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
64640         include <bp-checks.h>.
64641         (__libc_pwrite64): Don't use CHECK_N.
64642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
64643         <bp-checks.h>.
64644         (__libc_pread): Don't use CHECK_N.
64645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
64646         include <bp-checks.h>.
64647         (__libc_pread64): Don't use CHECK_N.
64648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
64649         include <bp-checks.h>.
64650         (__libc_pwrite): Don't use CHECK_N.
64651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
64652         include <bp-checks.h>.
64653         (__libc_pwrite64): Don't use CHECK_N.
64654         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
64655         (do_pread): Don't use CHECK_N.
64656         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
64657         (do_pread64): Don't use CHECK_N.
64658         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
64659         (do_pwrite): Don't use CHECK_N.
64660         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
64661         (do_pwrite64): Don't use CHECK_N.
64662         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
64663         (__libc_readv): Don't use CHECK_N.
64664         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
64665         (semop): Don't use CHECK_N.
64666         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
64667         <bp-checks.h>.
64668         (semtimedop): Don't use CHECK_N.
64669         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
64670         (__libc_pread): Don't use CHECK_N.
64671         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
64672         <bp-checks.h>.
64673         (__libc_pread64): Don't use CHECK_N.
64674         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
64675         <bp-checks.h>.
64676         (__libc_pwrite): Don't use CHECK_N.
64677         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
64678         <bp-checks.h>.
64679         (__libc_pwrite64): Don't use CHECK_N.
64680         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
64681         <bp-checks.h>.
64682         (__libc_msgrcv): Don't use CHECK_N.
64683         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
64684         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
64685         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
64686         (__libc_writev): Don't use CHECK_N.
64688 2013-02-08  Roland McGrath  <roland@hack.frob.com>
64690         * string/strcpy.c: Removed unused variable.
64692         * Makeconfig (+sysdep-includes): Define with := rather than =.
64693         Use an existing include/ subdir of each sysdeps dir before it.
64695 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
64697         * nscd/connection.c (register_traced_file): Comment function.
64698         [HAVE_INOTIFY] (union __inev): Define.
64699         [HAVE_INOTIFY] (inotify_check_files): New function.
64700         [HAVE_INOTIFY] (clear_db_cache): Likewise.
64701         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
64702         clear_db_cache.
64703         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
64705 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
64707         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
64708         loaded if not already and that a failure is permanent.
64710 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
64712         [BZ #15006]
64713         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
64714         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
64716 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
64718         [BZ #13550]
64719         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
64720         (CHECK_1_NULL_OK): Likewise.
64721         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
64722         (__fxstat): Do not use CHECK_1.
64723         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
64724         <bp-checks.h>.
64725         (___fxstat64): Do not use CHECK_1.
64726         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
64727         <bp-checks.h>.
64728         (__fxstatat): Do not use CHECK_1.
64729         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
64730         <bp-checks.h>.
64731         (__fxstatat64): Do not use CHECK_1.
64732         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
64733         <bp-checks.h>.
64734         (__fxstat): Do not use CHECK_1.
64735         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
64736         <bp-checks.h>.
64737         (__fxstatat): Do not use CHECK_1.
64738         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
64739         <bp-checks.h>.
64740         (__getresgid): Do not use CHECK_1.
64741         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
64742         <bp-checks.h>.
64743         (__getresuid): Do not use CHECK_1.
64744         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
64745         <bp-checks.h>.
64746         (__lxstat): Do not use CHECK_1.
64747         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
64748         <bp-checks.h>.
64749         (__old_msgctl): Do not use CHECK_1.
64750         (__new_msgctl): Likewise.
64751         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
64752         <bp-checks.h>.
64753         (__new_setrlimit): Do not use CHECK_1.
64754         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
64755         <bp-checks.h>.
64756         (__old_shmctl): Do not use CHECK_1.
64757         (__new_shmctl): Likewise.
64758         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
64759         <bp-checks.h>.
64760         (__xstat): Do not use CHECK_1.
64761         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
64762         (__lxstat): Do not use CHECK_1.
64763         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
64764         <bp-checks.h>.
64765         (___lxstat64): Do not use CHECK_1.
64766         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
64767         (__old_msgctl): Do not use CHECK_1.
64768         (__new_msgctl): Likewise.
64769         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
64770         <bp-checks.h>.
64771         (__gettimeofday): Do not use CHECK_1.
64772         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
64773         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
64774         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
64775         <bp-checks.h>.
64776         (__gettimeofday): Do not use CHECK_1.
64777         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
64778         (__old_shmctl): Do not use CHECK_1_NULL_OK.
64779         (__new_shmctl): Do not use CHECK_1.
64780         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
64781         <bp-checks.h>.
64782         (do_sigtimedwait): Do not use CHECK_1.
64783         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
64784         <bp-checks.h>.
64785         (do_sigwaitinfo): Do not use CHECK_1.
64786         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
64787         <bp-checks.h>.
64788         (msgctl): Do not use CHECK_1.
64789         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
64790         <bp-checks.h>.
64791         (shmctl): Do not use CHECK_1.
64792         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
64793         (ustat): Do not use CHECK_1.
64794         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
64795         <bp-checks.h>.
64796         (__fxstat): Do not use CHECK_1.
64797         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
64798         <bp-checks.h>.
64799         (__fxstatat): Do not use CHECK_1.
64800         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
64801         <bp-checks.h>.
64802         (__lxstat): Do not use CHECK_1.
64803         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
64804         <bp-checks.h>.
64805         (__xstat): Do not use CHECK_1.
64806         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
64807         (__xstat): Do not use CHECK_1.
64808         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
64809         (___xstat64): Do not use CHECK_1.
64811         [BZ #13550]
64812         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
64813         definitions.
64814         (CHECK_BOUNDS_HIGH): Likewise.
64815         * string/strcpy.c: Do not include <bp-checks.h>.
64816         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
64818 2013-02-07  Roland McGrath  <roland@hack.frob.com>
64820         * nscd/nscd-client.h (__nscd_drop_map_ref):
64821         Add __attribute__ ((unused)).
64822         * nis/nss-nisplus.h (niserr2nss): Likewise.
64824         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
64825         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
64827         * csu/libc-tls.c (init_static_tls, init_slotinfo):
64828         Remove inline keyword.
64829         * include/rounding-mode.h (round_away): Likewise.
64830         * libio/wfileops.c (adjust_wide_data): Likewise.
64831         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
64832         (__m128i_strloadu_tolower): Likewise.
64833         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
64834         (__m128i_strloadu_tolower): Likewise.
64835         * time/mktime.c (ydhms_diff): Likewise.
64836         * locale/elem-hash.h (elem_hash): Likewise.
64837         * locale/setlocale.c (setdata): Likewise.
64838         * posix/regex_internal.h (re_string_char_size_at): Likewise.
64839         (re_string_wchar_at): Likewise.
64840         (bitset_not, bitset_merge, bitset_mask): Likewise.
64841         [!(__GNUC__ > 3)] (inline): Remove macro.
64842         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
64843         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
64844         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
64845         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
64846         * string/memcmp.c (memcmp_bytes): Likewise.
64847         * locale/programs/locarchive.c (compute_hashval): Likewise.
64848         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
64849         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
64850         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
64851         * nss/getent.c (print_rpc, print_protocols): Likewise.
64852         (print_passwd, print_group, print_aliases): Likewise.
64853         * nis/nss-nisplus.h (niserr2nss): Likewise.
64854         * nscd/connections.c (restart_p): Likewise.
64855         Change return type to bool.
64857 2013-02-05  Roland McGrath  <roland@hack.frob.com>
64859         * Makeconfig (all-Depend-files): Add existing
64860         $(sorted-subdirs:=/Depend) files.
64861         (all-subdirs): Remove nss.
64862         * sysdeps/unix/inet/Subdirs: Add it here instead.
64863         * hesiod/Depend: New file.
64865         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
64866         instead of calling alloca.
64868         * io/lseek.c (__lseek): Rename to __libc_lseek.
64869         Define __lseek as an alias.
64871         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
64873 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
64875         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
64876         else clause and remove check for non-standard endianness.
64878 2013-02-04  David S. Miller  <davem@davemloft.net>
64880         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64882 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
64884         [BZ #13550]
64885         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
64886         (__ubp_memchr): Remove prototype.
64887         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
64888         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
64889         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
64890         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
64891         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
64892         Remove alias.
64893         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
64894         (__ubp_memchr): Likewise.
64895         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
64896         (__ubp_memchr): Likewise.
64897         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
64898         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
64899         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
64900         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
64901         CHECK_STRING.
64902         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
64903         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
64904         (__getcwd): Do not use CHECK_STRING.
64905         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
64906         <bp-checks.h>.
64907         (__real_chown): Do not use CHECK_STRING.
64908         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
64909         <bp-checks.h>.
64910         (fchownat): Do not use CHECK_STRING.
64911         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
64912         CHECK_STRING.
64913         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
64914         <bp-checks.h>.
64915         (__lchown): Do not use CHECK_STRING.
64916         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
64917         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
64918         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
64919         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
64920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
64921         include <bp-checks.h>.
64922         (truncate64): Do not use CHECK_STRING.
64923         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
64924         <bp-checks.h>.
64925         (__real_chown): Do not use CHECK_STRING.
64926         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
64927         <bp-checks.h>.
64928         (__lchown): Do not use CHECK_STRING.
64929         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
64930         <bp-checks.h>.
64931         (__chown): Do not use CHECK_STRING.
64932         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
64933         <bp-checks.h>.
64934         (truncate64): Do not use CHECK_STRING.
64935         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
64936         Likewise.
64937         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
64938         (__xmknod): Do not use CHECK_STRING.
64939         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
64940         <bp-checks.h>.
64941         (__xmknodat): Do not use CHECK_STRING.
64942         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
64943         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
64945 2013-02-04  Andreas Schwab  <schwab@suse.de>
64947         [BZ #14142]
64948         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
64949         * include/netdb.h: Likewise for h_errno.
64950         * elf/tst-stackguard1.c: Include <tls.h>.
64952 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
64954         * elf/link.h (struct link_map): Extend the l_addr comment.
64955         * include/link.h (struct link_map): Likewise.
64957 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
64959         [BZ #13550]
64960         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
64961         (BOUNDED_1): Remove macro.
64962         * debug/backtrace.c: Don't include <bp-checks.h>.
64963         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
64964         (__backtrace): Likewise.
64965         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
64966         <bp-checks.h>.
64967         (__backtrace): Don't use BOUNDED_1.
64968         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
64969         <bp-checks.h>.
64970         (__backtrace): Don't use BOUNDED_1.
64971         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
64972         (__backtrace): Don't use BOUNDED_1.
64973         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
64974         (shmat): Don't use BOUNDED_N.
64976 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
64978         [BZ #13550]
64979         * sysdeps/generic/bp-start.h: Remove file.
64980         * csu/libc-start.c: Don't include <bp-start.h>.
64981         (LIBC_START_MAIN): Set up __environ directly instead of using
64982         INIT_ARGV_and_ENVIRON.
64983         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
64984         <bp-start.h>.
64986         [BZ #13550]
64987         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
64988         definitions.
64989         (CHECK_FCNTL): Likewise.
64990         (CHECK_N_PAGES): Likewise.
64992         [BZ #13550]
64993         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
64994         definitions.
64995         (CHECK_SIGSET_NULL_OK): Likewise.
64996         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
64997         <bp-checks.h>.
64998         (sigpending): Don't use CHECK_SIGSET.
64999         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
65000         <bp-checks.h>.
65001         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
65002         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
65003         <bp-checks.h>.
65004         (do_sigsuspend): Don't use CHECK_SIGSET.
65005         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
65006         use CHECK_SIGSET.
65007         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
65008         (do_sigwait): Don't use CHECK_SIGSET.
65009         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
65010         use CHECK_SIGSET.
65011         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
65012         include <bp-checks.h>.
65013         (sigpending): Don't use CHECK_SIGSET.
65014         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
65015         include <bp-checks.h>.
65016         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
65017         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
65018         <bp-checks.h>.
65019         (sigpending): Don't use CHECK_SIGSET.
65020         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
65021         <bp-checks.h>.
65022         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
65024         [BZ #13550]
65025         * sysdeps/generic/bp-semctl.h: Remove file.
65026         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
65027         <bp-checks.h> and <bp-semctl.h>.
65028         (__old_semctl): Don't use CHECK_SEMCTL.
65029         (__new_semctl): Likewise.
65030         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
65031         and <bp-semctl.h>.
65032         (__old_semctl): Don't use CHECK_SEMCTL.
65033         (__new_semctl): Likewise.
65034         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
65035         <bp-checks.h> and <bp-semctl.h>.
65036         (__old_semctl): Don't use CHECK_SEMCTL.
65037         (__new_semctl): Likewise.
65038         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
65039         <bp-checks.h> and <bp-semctl.h>.
65040         (semctl): Don't use CHECK_SEMCTL.
65042         [BZ #13550]
65043         * Makerules (elide-bp-thunks): Remove variable.
65044         (elide-routines.oS): Don't use $(elide-bp-thunks).
65045         (elide-routines.os): Likewise.
65046         (elide-routines.o): Likewise.
65047         (elide-routines.op): Likewise.
65048         (elide-routines.og): Likewise.
65049         (objects): Don't use $(bp-thunks).
65050         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
65051         include.
65052         (common-generated): Do not add s-proto-bp.d.
65053         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
65054         (int): Likewise.
65055         (typ): Likewise.
65056         Do not generate makefile rules for bounded-pointer thunks.
65057         * sysdeps/generic/bp-thunks.h: Remove file.
65058         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
65059         * sysdeps/unix/s-proto-bp.S: Likewise.
65061         [BZ #15062]
65062         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
65063         parts of result separately when argument is not close to line from
65064         -i to i and one part of argument is small.
65065         * math/k_casinhf.c (__kernel_casinhf): Likewise.
65066         * math/k_casinhl.c (__kernel_casinhl): Likewise.
65067         * math/libm-test.inc (cacos_test): Add more tests.
65068         (casin_test): Likewise.
65069         (casinh_test): Likewise.
65070         * sysdeps/i386/fpu/libm-test-ulps: Update.
65071         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65073 2013-01-31  David S. Miller  <davem@davemloft.net>
65075         * po/de.po: Update from translation team.
65077 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
65079         * time/tzfile.c: Include stdint.h for SIZE_MAX.
65081 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
65083         * configure.in (_AC_PROG_CC_C89): New definition.
65084         * configure: Regenerate.
65086         * configure.in (AC_PROG_CPP): New definition.
65087         * configure: Regenerate.
65089 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
65091         * debug/tst-backtrace.h: New file.
65092         * debug/tst-backtrace2.c: Include tst-backtrace.h.
65093         (ret): Remove variable.
65094         (x): Likewise.
65095         (FAIL): Remove macro.
65096         (NO_INLINE): Likewise.
65097         (fn1): Use match function instead of strstr.
65098         * debug/tst-backtrace3.c: Include tst-backtrace.h.
65099         (ret): Remove variable.
65100         (x): Likewise.
65101         (FAIL): Remove macro.
65102         (NO_INLINE): Likewise.
65103         (fn): Use match function instead of strstr.
65104         * debug/tst-backtrace4.c: Include tst-backtrace.h.
65105         (ret): Remove variable.
65106         (x): Likewise.
65107         (FAIL): Remove macro.
65108         (NO_INLINE): Likewise.
65109         (handle_signal): Use match function instead of strstr.
65110         * debug/tst-backtrace5.c: Include tst-backtrace.h.
65111         (ret): Remove variable.
65112         (x): Likewise.
65113         (FAIL): Remove macro.
65114         (NO_INLINE): Likewise.
65115         (handle_signal): Use match function instead of strstr.
65117 2013-01-23  Roland McGrath  <roland@hack.frob.com>
65119         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
65121 2013-01-23  David S. Miller  <davem@davemloft.net>
65123         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
65124         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
65125         argument of CAS if possible.
65126         * sysdeps/sparc/sparc64/bits/atomic.h
65127         (__arch_compare_and_exchange_val_32_acq): Likewise.
65128         (__arch_compare_and_exchange_val_64_acq): Likewise.
65130 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
65132         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
65133         * sysdeps/posix/ulimit.c: ... this.
65134         Include <limits.h>.
65135         * sysdeps/unix/bsd/ulimit.c: Remove file.
65137 2013-01-23  Adam Conrad  <adconrad@0c3.net>
65139         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
65140         (LDFLAGS-tst-array5): Likewise.
65142 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
65144         [BZ #15036]
65145         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
65146         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
65147         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
65148         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
65150 2013-01-21  David S. Miller  <davem@davemloft.net>
65152         * sysdeps/sparc/backtrace.c: New file.
65153         * sysdeps/sparc/sparc32/backtrace.h: New file.
65154         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
65155         * sysdeps/sparc/sparc64/backtrace.h: New file.
65156         * sysdeps/sparc/sparc64/backtrace.c: Delete.
65157         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
65158         -funwind-tables.
65160 2013-01-21  Andreas Schwab  <schwab@suse.de>
65162         [BZ #15020]
65163         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
65164         closed its stdout.
65166 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
65168         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
65169         "mpa2.h".
65170         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
65172 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
65173             Mark Mitchell  <mark@codesourcery.com>
65174             Tom de Vries  <tom@codesourcery.com>
65175             Paul Pluzhnikov  <ppluzhnikov@google.com>
65177         * debug/tst-backtrace2.c: New file.
65178         * debug/tst-backtrace3.c: Likewise.
65179         * debug/tst-backtrace4.c: Likewise.
65180         * debug/tst-backtrace5.c: Likewise.
65181         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
65182         (CFLAGS-tst-backtrace3.c): Likewise.
65183         (CFLAGS-tst-backtrace4.c): Likewise.
65184         (CFLAGS-tst-backtrace5.c): Likewise.
65185         (LDFLAGS-tst-backtrace2): Likewise.
65186         (LDFLAGS-tst-backtrace3): Likewise.
65187         (LDFLAGS-tst-backtrace4): Likewise.
65188         (LDFLAGS-tst-backtrace5): Likewise.
65189         (tests): Add new tests tst-backtrace2, tst-backtrace3,
65190         tst-backtrace4 and tst-backtrace5.
65192 2013-01-18  Anton Blanchard  <anton@samba.org>
65193             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
65195         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
65196         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
65197         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
65198         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
65199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
65200         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
65201         "+r" and remove output regs list as redundant.  Add explicit inline
65202         asm to specify register of return val to work around compiler codegen
65203         bug.  Remove (int) cast on return value.  Add return type parameter to
65204         use in macro so that this macro does not truncate return value for
65205         64-bit values.
65206         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
65207         pass to INTERNAL_VSYSCALL_NCS.
65208         (INLINE_VSYSCALL): Add 'long int' as return type to
65209         INTERNAL_VSYSCALL_NCS macro invocation.
65210         (INTERNAL_VSYSCALL): Add 'long int' as return type to
65211         INTERNAL_VSYSCALL_NCS macro invocation.
65212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
65214 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
65216         [BZ #14496]
65217         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
65218         Fix application of SIMD FP exception mask.
65220         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
65221         mp_no from a power of two.
65222         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
65223         __mpexp_twomm1.  Use __pow_mp.
65225         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
65226         multiplication.
65228 2013-01-17  David S. Miller  <davem@davemloft.net>
65230         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65232 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
65234         [BZ #15023]
65235         * include/complex.h: Condition contents on [!_COMPLEX_H].
65236         (__kernel_casinhf): New prototype.
65237         (__kernel_casinh): Likewise.
65238         (__kernel_casinhl): Likewise.
65239         * math/Makefile (libm_calls): Add k_casinh.
65240         * math/k_casinh.c: New file.
65241         * math/k_casinhf.c: Likewise.
65242         * math/k_casinhl.c: Likewise.
65243         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
65244         finite nonzero arguments.
65245         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
65246         finite nonzero arguments.
65247         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
65248         finite nonzero arguments.
65249         * math/s_casinh.c: Do not include <float.h>.
65250         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
65251         * math/s_casinhf.c: Do not include <float.h>.
65252         (__casinhf): Move code for finite nonzero arguments to
65253         k_casinhf.c.
65254         * math/s_casinhl.c: Do not include <float.h>.
65255         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
65256         redefine.
65257         (__casinhl): Move code for finite nonzero arguments to
65258         k_casinhl.c.
65259         * math/libm-test.inc (cacos_test): Add more tests.
65260         * sysdeps/i386/fpu/libm-test-ulps: Update.
65261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65263 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
65265         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
65266         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
65267         [!HAVE_MREMAP]: Remove [defined linux] case.
65268         * malloc/arena.c: Do not include <malloc-sysdep.h>.
65270 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
65272         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
65274 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
65276         * elf/elf.h (R_386_SIZE32): New relocation.
65277         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
65278         R_386_SIZE32.
65279         (elf_machine_rela): Likewise.
65280         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
65281         R_X86_64_SIZE64 and R_X86_64_SIZE32.
65283 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
65285         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
65286         (FP_FAST_FMA): Do not define.
65287         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
65288         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
65289         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
65290         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
65291         !_SOFT_FLOAT]: Likewise.
65292         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
65293         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
65294         value.
65295         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
65296         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
65297         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
65298         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
65299         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
65300         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
65301         file.
65303 2013-01-16  Andreas Schwab  <schwab@suse.de>
65305         [BZ #14327]
65306         * include/stdlib.h (__mktemp): Add declaration.
65307         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
65308         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
65310 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
65312         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
65313         definitions.
65314         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
65315         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
65316         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
65317         definitions here.
65318         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
65319         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
65320         definitions.
65321         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
65322         and ONE.
65323         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
65324         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
65325         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
65326         definitions.
65327         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
65328         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
65329         definitions.
65330         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
65332         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
65334 2013-01-15  David S. Miller  <davem@davemloft.net>
65336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
65337         trunc{,f} to libm-sysdep_routes.
65338         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
65339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
65340         file.
65341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
65342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
65343         file.
65344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
65345         file.
65346         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
65347         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
65348         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
65349         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
65350         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
65351         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
65352         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
65353         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
65355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
65356         nearbyint{,f} to libm-sysdep_routes.
65357         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
65358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
65359         New file.
65360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
65361         file.
65362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
65363         New file.
65364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
65365         file.
65366         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
65367         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
65368         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
65369         file.
65370         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
65371         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
65372         file.
65373         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
65374         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
65375         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
65377         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
65378         libc_feholdexcept and libc_fesetenv.
65380 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
65382         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
65384 2013-01-14  David S. Miller  <davem@davemloft.net>
65386         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
65387         (SPARC_ASM_VIS2_IFUNC): Likewise.
65388         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
65389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
65390         use of 'siam' instruction.
65391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
65392         Likewise.
65393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
65394         Likewise.
65395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
65396         Likewise.
65397         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
65398         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
65399         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
65400         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
65401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
65402         file.
65403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
65404         file.
65405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
65406         file.
65407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
65408         file.
65409         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
65410         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
65411         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
65412         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
65413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
65414         new VIS2 routines.
65415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
65416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
65417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
65418         Likewise.
65419         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
65420         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
65421         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
65422         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
65423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
65424         routines to libm-sysdep_routines.
65425         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
65427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
65428         fdim/fdimf to libm-sysdep_routines.
65429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
65430         file.
65431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
65432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
65433         file.
65434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
65435         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
65436         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
65437         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
65438         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
65439         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
65440         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
65442 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
65444         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
65445         to optimize copies.
65447         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
65448         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
65449         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
65451         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
65452         local variable MPTWO.
65453         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
65454         Likewise.
65456 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
65458         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
65459         GLOB_NOESCAPE.
65461 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
65463         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
65465 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
65467         * manual/pattern.texi (glob_t): Document gl_flags.
65468         (glob64_t): Likewise.
65470 2013-01-11  David S. Miller  <davem@davemloft.net>
65472         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
65473         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
65474         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
65475         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
65476         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
65477         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
65478         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
65479         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
65480         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
65481         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
65482         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
65483         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
65484         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
65486         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
65487         sparc V9 rather than using V8 code.
65488         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
65489         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
65491         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
65492         Move to...
65493         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
65494         Here.
65496 2013-01-11  Roland McGrath  <roland@hack.frob.com>
65498         [BZ #14941]
65499         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
65500         not in the main loop.
65501         * configure: Regenerated.
65503 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
65505         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
65506         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
65507         to just #else.
65508         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
65509         [!__GLIBC_HAVE_LONG_LONG] case.
65510         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
65511         condition to just #else.
65512         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
65513         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
65514         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
65515         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
65516         unconditional.
65517         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
65518         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
65519         #elif condition to just #else.
65520         * sysdeps/unix/sysv/linux/sys/sysmacros.h
65521         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
65522         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
65523         #elif condition to just #else.
65525 2013-01-11  Steve Ellcey  <sellcey@mips.com>
65527         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
65528         (EF_MIPS_ARCH_64): Fix value.
65529         (EF_MIPS_ARCH_32R2): New.
65530         (EF_MIPS_ARCH_64R2): New.
65532 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
65534         * Makeconfig (+link-pie-before-libc): New.
65535         (+link-pie-after-libc): Likewise.
65536         (+link-pie-tests): Likewise.
65537         (+link-pie): Rewritten.
65538         (link-before-libc): Remove $(config-LDFLAGS).
65539         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
65540         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
65541         (config-LDFLAGS): Renamed to ...
65542         (rtld-LDFLAGS): This.
65543         (rtld-tests-LDFLAGS): New macro.
65544         (link-libc-rpath-link): Likewise.
65545         (link-libc-tests-rpath-link): Likewise.
65546         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
65547         (link-libc): Prepand $(link-libc-rpath-link).
65548         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
65549         (test-program-prefix): New macro.
65550         (test-via-rtld-prefix): Likewise.
65551         (test-program-cmd): Likewise.
65552         (host-test-program-cmd): Likewise.
65553         * Makefile ($(common-objpfx)testrun.sh): Replace
65554         $(run-program-prefix) with $(test-program-prefix).
65555         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
65556         $(rtld-LDFLAGS).
65557         ($(common-objpfx)shlib.lds): Likewise.
65558         (build-module-helper): Likewise.
65559         ($(common-objpfx)format.lds): Likewise.
65560         * Rules (binaries-pie-tests): New.
65561         (binaries-pie-notests): Likewise.
65562         (binaries-pie): Rewritten.
65563         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
65564         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
65565         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
65566         (make-test-out): Replace $(host-built-program-cmd) with
65567         $(host-test-program-cmd).
65568         * config.make.in (build-hardcoded-path-in-tests): New variable.
65569         * configure.in (--enable-hardcoded-path-in-tests): New configure
65570         option.
65571         (hardcoded_path_in_tests): New AC_SUBST.
65572         * configure: Regenerated.
65573         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
65574         $(built-program-cmd) with $(test-program-cmd).
65575         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
65576         (test_program_cmd): This.
65577         * elf/Makefile ($(objpfx)order.out): Run test with
65578         $(test-program-prefix).
65579         ($(objpfx)order2.out): Likewise.
65580         ($(objpfx)tst-initorder.out): Likewise.
65581         ($(objpfx)tst-initorder2.out): Likewise.
65582         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
65583         $(test-program-cmd).
65584         ($(objpfx)tst-array1-static.out): Likewise.
65585         ($(objpfx)tst-array2.out): Likewise.
65586         ($(objpfx)tst-array3.out): Likewise.
65587         ($(objpfx)tst-array4.out): Likewise.
65588         ($(objpfx)tst-array5.out): Likewise.
65589         ($(objpfx)tst-array5-static.out): Likewise.
65590         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
65591         $(test-program-cmd).
65592         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
65593         $(run-program-prefix) with $(test-program-prefix).
65594         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
65595         (test_program_prefix): This.
65596         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
65597         $(run-program-prefix) with $(test-program-prefix).
65598         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
65599         (test_program_prefix): This.
65600         * iconvdata/tst-tables.sh: Likewise.
65601         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
65602         $(run-program-prefix) with $(test-program-prefix).
65603         ($(objpfx)tst-translit.out): Likewise.
65604         ($(objpfx)tst-gettext2.out): Likewise.
65605         ($(objpfx)tst-gettext4.out): Likewise.
65606         ($(objpfx)tst-gettext6.out): Likewise.
65607         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
65608         (test_program_prefix): This.
65609         * intl/tst-gettext2.sh: Likewise.
65610         * intl/tst-gettext4.sh  Likewise.
65611         * intl/tst-gettext6.sh: Likewise.
65612         * intl/tst-translit.sh: Likewise.
65613         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
65614         with $(test-program-cmd).
65615         * libio/Makefile ($(objpfx)test-freopen.out): Replace
65616         $(run-program-prefix) with $(test-program-prefix).
65617         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
65618         (test_program_prefix): This.
65619         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
65620         $(run-program-prefix) with $(test-program-prefix).
65621         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
65622         (test_program_prefix): This.
65623         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
65624         * posix/Makefile ($(objpfx)globtest.out): Replace
65625         $(run-via-rtld-prefix) and $(test-wrapper) with
65626         $(test-program-prefix) and $(test-via-rtld-prefix).
65627         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
65628         $(test-program-prefix).
65629         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
65630         $(host-test-program-cmd).
65631         (tst-spawn-ARGS): Likewise.
65632         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
65633         $(test-program-prefix).
65634         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
65635         (test_via_rtld_prefix): This.
65636         (test_wrapper): Renamed to ...
65637         (test_program_prefix): This.
65638         (run_program_prefix): Replaced by test_program_prefix.
65639         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
65640         (test_program_prefix): This.
65641         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
65642         with $(host-test-program-cmd).
65643         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
65644         $(run-program-prefix) with $(test-program-prefix).
65645         ($(objpfx)tst-printf.out): Likewise.
65646         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
65647         $(test-program-cmd).
65648         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
65649         (test_program_prefix): This.
65650         * stdio-common/tst-unbputc.sh: Likewise.
65651         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
65652         $(run-program-prefix) with $(test-program-prefix).
65653         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
65654         (test_program_prefix): This.
65655         * string/Makefile ($(objpfx)tst-svc.out):  Replace
65656         $(built-program-cmd) with $(test-program-cmd).
65658 2013-01-11  Andreas Jaeger  <aj@suse.de>
65660         [BZ #15003]
65661         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
65662         value. Sync with Linux 3.7.
65664 2013-01-10  David S. Miller  <davem@davemloft.net>
65666         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
65667         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
65668         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
65670 2013-01-10  Roland McGrath  <roland@hack.frob.com>
65672         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
65673         never set.
65674         * configure: Regenerated.
65676 2013-01-10  David S. Miller  <davem@davemloft.net>
65678         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
65679         sparc V9 rather than using V8 code.
65680         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
65681         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
65683 2013-01-10  Roland McGrath  <roland@hack.frob.com>
65685         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
65686         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
65687         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
65688         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
65689         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
65690         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
65691         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
65692         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
65693         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
65694         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
65695         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
65696         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
65697         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
65698         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
65699         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
65700         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
65701         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
65702         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
65703         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
65704         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
65705         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
65706         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
65707         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
65708         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
65709         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
65710         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
65711         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
65713 2013-01-10  David S. Miller  <davem@davemloft.net>
65715         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65717 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
65719         * posix/Makefile (tests-static): New variable.
65720         (tests): Add $(tests-static).
65721         (tst-exec-static-ARGS): New variable.
65722         (tst-spawn-static-ARGS): Likewise.
65723         * posix/tst-exec-static.c: New file.
65724         * posix/tst-spawn-static.c: Likewise.
65725         * posix/tst-exec.c: Support run directly.
65726         * posix/tst-spawn.c: Likewise.
65728 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
65730         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
65731         long.
65732         * math/bits/mathcalls.h (llrint): Likewise.
65733         (llround): Likewise.
65734         * stdlib/stdlib.h (struct drand48_data): Likewise.
65735         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
65736         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
65737         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
65738         Likewise.
65739         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
65740         Likewise.
65741         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
65742         (elf_greg_t): Likewise.
65743         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
65744         (__jmp_buf): Likewise.
65745         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
65746         definitions.
65747         (llrint): Likewise, for all definitions.
65748         (llrintl): Likewise.
65750         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
65751         Remove [__GNUC__] condition.
65752         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
65753         condition to just [__USE_ISOC99].
65754         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
65756 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
65758         [BZ #14200]
65759         * sysdeps/unix/sysv/linux/x86/bits/environments.h
65760         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
65761         defined.
65762         (_POSIX_V6_ILP32_OFF32): Likewise.
65763         (_XBS5_ILP32_OFF32): Likewise.
65764         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
65765         (__ILP32_OFFBIG_LDFLAGS): Likewise.
65767 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
65769         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
65771         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
65772         doubles __mpexp_twomm1.  Adjust usage.
65773         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
65774         Remove.
65776 2013-01-10  Andreas Schwab  <schwab@suse.de>
65778         [BZ #14964]
65779         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
65780         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
65782 2013-01-09  David S. Miller  <davem@davemloft.net>
65784         [BZ #15003]
65785         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
65786         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
65787         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
65788         (TCP_FASTOPEN): Define.
65789         (tcp_repair_opt): New structure.
65790         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
65791         enum values.
65792         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
65793         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
65794         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
65795         (tcp_cookie_transactions): New structure.
65797 2013-01-09  Anton Blanchard  <anton@samba.org>
65799         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
65800         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
65801         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
65802         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
65804 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
65806         * include/features.h (__USE_ANSI): Remove.
65808 2013-01-09  Roland McGrath  <roland@hack.frob.com>
65810         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
65812         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
65814 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
65816         * sysdeps/s390/fpu/libm-test-ulps: Update.
65818         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65820         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
65821         (__acr): Likewise.
65822         (__cpy): Likewise.
65823         (norm): Likewise.
65824         (denorm): Likewise.
65825         (__mp_dbl): Likewise.
65826         (__dbl_mp): Likewise.
65827         (add_magnitudes): Likewise.
65828         (sub_magnitudes): Likewise.
65829         (__add): Likewise.
65830         (__sub): Likewise.
65831         (__mul): Likewise.
65832         (__inv): Likewise.
65833         (__dvd): Likewise.
65834         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
65835         (__acr): Likewise.
65836         (__cpy): Likewise.
65837         (norm): Likewise.
65838         (denorm): Likewise.
65839         (__mp_dbl): Likewise.
65840         (__dbl_mp): Likewise.
65841         (add_magnitudes): Likewise.
65842         (sub_magnitudes): Likewise.
65843         (__add): Likewise.
65844         (__sub): Likewise.
65845         (__mul): Likewise.
65846         (__inv): Likewise.
65847         (__dvd): Likewise.
65848         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
65849         (__acr): Likewise.
65850         (__cpy): Likewise.
65851         (norm): Likewise.
65852         (denorm): Likewise.
65853         (__mp_dbl): Likewise.
65854         (__dbl_mp): Likewise.
65855         (add_magnitudes): Likewise.
65856         (sub_magnitudes): Likewise.
65857         (__add): Likewise.
65858         (__sub): Likewise.
65859         (__mul): Likewise.
65860         (__inv): Likewise.
65861         (__dvd): Likewise.
65863 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
65865         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
65866         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
65867         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
65868         2 && __USE_EXTERN_INLINES]: Likewise.
65870 2013-01-08  Andreas Jaeger  <aj@suse.de>
65872         [BZ #14985]
65873         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
65874         Remove.
65875         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
65876         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
65878 2013-01-07  Anton Blanchard  <anton@samba.org>
65880         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
65881         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
65882         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
65883         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
65884         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
65885         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
65886         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
65887         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
65888         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
65889         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
65890         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
65891         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
65892         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
65893         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
65894         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
65895         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
65896         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
65897         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
65898         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
65899         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
65900         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
65901         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
65902         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
65903         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
65904         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
65905         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
65906         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
65907         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
65908         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
65909         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
65910         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
65911         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
65912         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
65913         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
65914         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
65915         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
65916         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
65917         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
65918         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
65919         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
65920         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
65921         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
65922         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
65924 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
65926         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
65927         (__MALLOC_PMT): Likewise.
65928         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
65929         [__GNUC__], only on [_LIBC].
65930         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
65931         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
65932         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
65933         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
65934         forward declaration.
65935         (realloc_hook_ini): Likewise.
65936         (memalign_hook_ini): Likewise.
65937         (__libc_memalign): Do not use __MALLOC_PMT in variable
65938         declaration.
65939         (__libc_valloc): Likewise.
65940         (__libc_pvalloc): Likewise.
65941         (__libc_calloc): Likewise.
65942         (__posix_memalign): Likewise.
65944         [BZ #14996]
65945         * math/s_casinh.c: Include <float.h>.
65946         (__casinh): Do not do computation with squaring and square root
65947         for large arguments.
65948         * math/s_casinhf.c: Include <float.h>.
65949         (__casinhf): Do not do computation with squaring and square root
65950         for large arguments.
65951         * math/s_casinhl.c: Include <float.h>.
65952         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
65953         (__casinhl): Do not do computation with squaring and square root
65954         for large arguments.
65955         * math/libm-test.inc (casin_test): Add more tests.
65956         (casinh_test): Likewise.
65957         * sysdeps/i386/fpu/libm-test-ulps: Update.
65958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65960 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
65962         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
65963         (__x86_64_raw_data_cache_size): Likewise.
65964         (__x86_64_data_cache_size_half): Likewise.
65965         (__x86_64_raw_data_cache_size_half): Likewise.
65966         (__x86_64_shared_cache_size): Likewise.
65967         (__x86_64_raw_shared_cache_size): Likewise.
65968         (__x86_64_shared_cache_size_half): Likewise.
65969         (__x86_64_raw_shared_cache_size_half): Likewise.
65970         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
65971         to ...
65972         (__x86_data_cache_size): This.
65973         (__x86_64_raw_data_cache_size): Renamed to ...
65974         (__x86_raw_data_cache_size): This.
65975         (__x86_64_data_cache_size_half): Renamed to ...
65976         (__x86_data_cache_size_half): This.
65977         (__x86_64_raw_data_cache_size_half): Renamed to ...
65978         (__x86_raw_data_cache_size_half): This.
65979         (__x86_64_shared_cache_size): Renamed to ...
65980         (__x86_shared_cache_size): This.
65981         (__x86_64_raw_shared_cache_size): Renamed to ...
65982         (__x86_raw_shared_cache_size): This.
65983         (__x86_64_shared_cache_size_half): Renamed to ...
65984         (__x86_shared_cache_size_half): This.
65985         (__x86_64_raw_shared_cache_size_half): Renamed to ...
65986         (__x86_raw_shared_cache_size_half): This.
65987         * sysdeps/x86_64/memcpy.S: Updated.
65988         * sysdeps/x86_64/memset.S: Likewise.
65989         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
65990         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
65991         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
65993 2013-01-04  David S. Miller  <davem@davemloft.net>
65995         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65997 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
65999         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
66000         1 to avoid redefinition warning.
66001         (__USE_GNU): Don't define.
66002         (init_signaling_nan): Protoize.
66004         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66006 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
66008         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
66009         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
66010         (__cpymn): Likewise.
66011         (norm): Remove commented code.
66012         (denorm): Likewise.
66013         (__mp_dbl): Likewise.
66014         (__inv): Likewise.
66015         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
66016         (__cpymn): Likewise.
66017         (norm): Remove commented code.
66018         (denorm): Likewise.
66019         (__mp_dbl): Likewise.
66020         (__inv): Likewise.
66022         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
66023         mp_no value for 1.0 and 2.0.
66024         (norm): Use RADIXI instead of radixi.d.
66025         (denorm): Likewise.
66026         (__mul): Use 0.0 instead of zero.d.
66027         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
66028         mp_no value for 1.0 and 2.0.
66029         (norm): Use RADIXI instead of radixi.d.
66030         (denorm): Likewise.
66031         (__mul): Use 0.0 instead of zero.d.
66033 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
66035         [BZ #14994]
66036         * math/s_casinh.c (__casinh): Reduce finite argument to first
66037         quadrant then set signs of results at the end.
66038         * math/s_casinhf.c (__casinhf): Likewise.
66039         * math/s_casinhl.c (__casinhl): Likewise.
66040         * math/libm-test.inc (casin_test): Add more tests.
66041         (casinh_test): Likewise.
66042         * sysdeps/i386/fpu/libm-test-ulps: Update.
66043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66045 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
66047         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
66049         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
66051         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
66052         declarations.
66053         (denorm): Likewise.
66054         (__mp_dbl): Likewise.
66055         (__inv): Likewise.
66057         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
66058         and adjust the header comment.
66060         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
66061         variable name from declaration.
66063 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
66065         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66066         Initialize COMMON_CPUID_INDEX_7 element.
66067         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
66068         (CPUID_RTM): Likewise.
66069         (HAS_RTM): Likewise.
66070         (COMMON_CPUID_INDEX_7): New enum.
66072 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
66074         [BZ #14981]
66075         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
66076         size is zero, record memory as freed.
66078 2013-01-03  Andreas Jaeger  <aj@suse.de>
66080         * po/ia.po: Add new Interlingua translation.
66082 2012-01-03  Allan McRae  <allan@archlinux.org>
66084         * locale/programs/localedef.c: Fix description of '--posix' flag.
66086 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
66088         * NEWS: Update dates in second copyright notice.
66089         * README: Update copyright dates in example.
66090         * manual/libc.texinfo: Update copyright dates.
66091         * scripts/test-installation.pl: Update copyright date in --version
66092         output.
66094         * hurd/ctty-input.c: Fix copyright notice formatting.
66095         * hurd/ctty-output.c: Likewise.
66096         * hurd/dtable.c: Likewise.
66097         * hurd/hurd-raise.c: Likewise.
66098         * hurd/hurdprio.c: Likewise.
66099         * hurd/msgportdemux.c: Likewise.
66100         * misc/sys/file.h: Likewise.
66101         * misc/sys/ioctl.h: Likewise.
66102         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
66103         * sysdeps/mach/hurd/chdir.c: Likewise.
66104         * sysdeps/mach/hurd/fchdir.c: Likewise.
66105         * sysdeps/mach/hurd/rename.c: Likewise.
66106         * sysdeps/mach/hurd/rmdir.c: Likewise.
66107         * sysdeps/mach/hurd/seekdir.c: Likewise.
66108         * sysdeps/mach/hurd/setsid.c: Likewise.
66109         * sysdeps/posix/wait3.c: Likewise.
66111         * All files with FSF copyright notices: Update copyright dates
66112         using scripts/update-copyrights.
66113         * intl/plural.c: Regenerated.
66114         * locale/programs/charmap-kw.h: Likewise.
66115         * locale/programs/locfile-kw.h: Likewise.
66117 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
66119         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
66120         four values.
66122         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
66123         calculation loop and add branch prediction.
66125         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
66126         check access beyond bounds of m1np.
66128         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
66129         MPTWO.
66130         (__inv): Remove local variable MPTWO to use the global
66131         constant.
66132         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
66133         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
66134         variable MPTWO.
66135         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
66136         MP3HALFS static const.
66138 2013-01-01  David S. Miller  <davem@davemloft.net>
66140         * po/ca.po: Update from translation team.
66142 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
66144         * scripts/update-copyrights: New file.
66145         * Makeconfig: Reformat copyright notice.
66146         * ctype/ctype.h: Likewise.
66147         * debug/swprintf_chk.c: Likewise.
66148         * elf/dl-cache.c: Likewise.
66149         * elf/dl-debug.c: Likewise.
66150         * elf/dl-object.c: Likewise.
66151         * grp/initgroups.c: Likewise.
66152         * hurd/Makefile: Likewise.
66153         * hurd/hurd/signal.h: Likewise.
66154         * hurd/hurdfault.c: Likewise.
66155         * hurd/hurdioctl.c: Likewise.
66156         * hurd/hurdlookup.c: Likewise.
66157         * hurd/intr-msg.c: Likewise.
66158         * iconv/gconv_open.c: Likewise.
66159         * libio/swprintf.c: Likewise.
66160         * locale/lc-ctype.c: Likewise.
66161         * locale/nl_langinfo.c: Likewise.
66162         * mach/Machrules: Likewise.
66163         * mach/Makefile: Likewise.
66164         * malloc/obstack.h: Likewise.
66165         * manual/Makefile: Likewise.
66166         * manual/tsort.awk: Likewise.
66167         * misc/bits/stab.def: Likewise.
66168         * nis/nis_print_group_entry.c: Likewise.
66169         * nis/nis_table.c: Likewise.
66170         * nis/nss_compat/compat-pwd.c: Likewise.
66171         * nis/nss_compat/compat-spwd.c: Likewise.
66172         * po/Makefile: Likewise.
66173         * posix/fnmatch.c: Likewise.
66174         * posix/regex.h: Likewise.
66175         * resolv/Makefile: Likewise.
66176         * resolv/nss_dns/dns-network.c: Likewise.
66177         * resolv/res_hconf.c: Likewise.
66178         * scripts/gen-sorted.awk: Likewise.
66179         * soft-fp/soft-fp.h: Likewise.
66180         * stdio-common/printf.h: Likewise.
66181         * stdlib/monetary.h: Likewise.
66182         * stdlib/random.c: Likewise.
66183         * stdlib/random_r.c: Likewise.
66184         * sysdeps/generic/Makefile: Likewise.
66185         * sysdeps/gnu/Makefile: Likewise.
66186         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
66187         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66188         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
66189         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66190         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66191         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66192         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66193         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
66194         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
66195         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66196         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
66197         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
66198         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
66199         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
66200         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
66201         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
66202         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
66203         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66204         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
66205         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66206         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
66207         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
66208         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
66209         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
66210         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
66211         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
66212         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
66213         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
66214         * sysdeps/mach/hurd/errnos.awk: Likewise.
66215         * sysdeps/mach/hurd/fork.c: Likewise.
66216         * sysdeps/mach/hurd/getcwd.c: Likewise.
66217         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
66218         * sysdeps/mach/hurd/mmap.c: Likewise.
66219         * sysdeps/mach/hurd/utimes.c: Likewise.
66220         * sysdeps/mach/hurd/xmknod.c: Likewise.
66221         * sysdeps/posix/profil.c: Likewise.
66222         * sysdeps/posix/readdir_r.c: Likewise.
66223         * sysdeps/powerpc/bits/mathdef.h: Likewise.
66224         * sysdeps/powerpc/bits/setjmp.h: Likewise.
66225         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
66226         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
66227         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
66228         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
66229         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
66230         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
66231         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
66232         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
66233         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
66234         * sysdeps/pthread/lio_listio.c: Likewise.
66235         * sysdeps/sparc/dl-procinfo.h: Likewise.
66236         * sysdeps/unix/i386/sysdep.S: Likewise.
66237         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
66238         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
66239         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
66240         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
66241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
66242         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
66243         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
66244         * sysdeps/unix/sysv/linux/speed.c: Likewise.
66245         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
66246         * sysdeps/wordsize-32/divdi3.c: Likewise.
66247         * time/sys/time.h: Likewise.
66248         * wcsmbs/Makefile: Likewise.
66250 2013-01-01  David S. Miller  <davem@davemloft.net>
66252         * po/fr.po: Update from translation team.
66254         * catgets/gencat.c: Update copyright year.
66255         * csu/version.c: Likewise.
66256         * debug/catchsegv.sh: Likewise.
66257         * debug/pcprofiledump.c: Likewise.
66258         * debug/xtrace.sh: Likewise.
66259         * elf/ldconfig.c: Likewise.
66260         * elf/ldd.bash.in: Likewise.
66261         * elf/pldd.c: Likewise.
66262         * elf/sotruss.ksh: Likewise.
66263         * elf/sprof.c: Likewise.
66264         * iconv/iconv_prog.c: Likewise.
66265         * iconv/iconvconfig.c: Likewise.
66266         * locale/programs/locale.c: Likewise.
66267         * locale/programs/localedef.c: Likewise.
66268         * login/programs/pt_chown.c: Likewise.
66269         * malloc/memusage.sh: Likewise.
66270         * malloc/memusagestat.c: Likewise.
66271         * malloc/mtrace.pl: Likewise.
66272         * nscd/nscd.c: Likewise.
66273         * nss/getent.c: Likewise.
66274         * nss/makedb.c: Likewise.
66275         * posix/getconf.c: Likewise.
66277 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
66279         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
66280         numbers.
66282 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
66284         * math/bits/mathcalls.h (modf): Use __nonnull.
66286 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
66288         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
66289         (split): Use macro CN instead of the bare value.
66290         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
66291         could be used.
66292         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
66293         instead of the bare value.
66294         (power1): Likewise.
66296 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66298         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
66299         __ATAN_TWOM.
66300         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
66302         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
66303         their values.
66304         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
66305         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
66306         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
66307         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
66309 2012-12-28  Andreas Jaeger  <aj@suse.de>
66311         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
66312         values are from Linux 3.7.
66314         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
66315         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
66317 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66319         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
66320         TRUE case.
66322         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
66323         (norm): Likewise.
66324         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
66325         variables with preprocessor constants.
66326         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
66327         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
66328         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
66330 2012-12-27  Bruno Haible  <bruno@clisp.org>
66332         [BZ #14317]
66333         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
66334         only if needed.
66336 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
66338         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
66339         and use variable directly.
66340         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
66342         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
66343         MPONE.
66344         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
66345         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
66346         variable MPONE.
66347         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
66348         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
66349         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
66350         include directive.  Remove local variable MPONE.
66351         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
66352         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
66353         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
66355 2012-12-25  David S. Miller  <davem@davemloft.net>
66357         * version.h (RELEASE): Set to "development".
66358         (VERSION): Set to "2.17.90".
66359         * NEWS: Add 2.18 section.
66361 2012-12-21  David S. Miller  <davem@davemloft.net>
66363         * po/hr.po: Update from translation team.
66365 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66367         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
66369 2012-12-19  Steve Ellcey  <sellcey@mips.com>
66371         * NEWS:  Mention new memcpy for MIPS.
66373 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66375         * manual/contrib.texi (Contributors): Spelling correction.
66377 2012-12-15  David S. Miller  <davem@davemloft.net>
66379         * po/ru.po: Update from translation team.
66381 2012-12-13  David S. Miller  <davem@davemloft.net>
66383         * NEWS: Mention IFUNC testsuite enhancements.
66385         * po/pl.po: Update from translation team.
66386         * po/bg.po: Likewise.
66388         * manual/contrib.texi (Contributors): Update entries for Hongjiu
66389         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
66391 2012-12-11  David S. Miller  <davem@davemloft.net>
66393         * po/sv.po: Update from translation team.
66395         * po/vi.po: Update from translation team.
66397         * po/cs.po: Update from translation team.
66399         * po/de.po: Update from translation team.
66400         * po/eo.po: Likewise.
66401         * po/nl.po: Likewise.
66403 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
66405         [BZ #14246]
66406         * manual/argp.texi (Argp Helper Functions): Move node to follow
66407         Argp Parsing State.
66409         [BZ #14872]
66410         * manual/conf.texi (Limits on File System Capacity): Mention if
66411         terminating null is included in the max size.
66413 2012-12-10  Andreas Jaeger  <aj@suse.de>
66415         * po/cs.po: Update from translation team.
66417 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
66419         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
66420         void pointer and cast to uintptr_t.
66421         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
66422         path.
66423         * sysdeps/s390/s390-64/memcpy.S: Likewise.
66424         * sysdeps/s390/s390-64/memset.S: Likewise.
66426 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
66428         [BZ #14833]
66429         * menual/message.texi (Message Translation): Fix typos.
66430         (Helper programs for gettext): Likewise.
66432 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
66434         [BZ #14898]
66435         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
66436         Change to -1.
66438 2012-12-07  David S. Miller  <davem@davemloft.net>
66440         * po/libc.pot: Update.
66442 2012-12-07  Richard Henderson  <rth@redhat.com>
66444         [BZ #10114]
66445         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
66446         normal/normal case to before the switch.
66447         (_FP_DIV): Likewise.
66449 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
66450             Mike Frysinger  <vapier@gentoo.org>
66452         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
66453         check for __NR_fadvise64_64.
66455 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
66457         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
66458         0, not just to plain "0" as a statement.
66459         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
66460         with cw.
66462 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
66464         * NEWS: Use sourceware.org in Bugzilla URL.
66466 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
66468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
66469         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
66471         * stdio-common/tst-put-error.c (do_test): Add newline to the
66472         padded test to ensure flush.
66474 2012-12-05  Jeff Law  <law@redhat.com>
66476         * sunrpc/etc.rpc (fedfs_admin): Add entry.
66478 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
66480         * README: Don't refer to ports add-on as distributed separately.
66481         Mention AArch64 in list of systems supported in the ports add-on.
66483         * LICENSES: Add more non-FSF copyright and license notices.
66485         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
66486         ((unused)).
66488         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
66490         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
66491         10000 as width of padded output.
66493 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
66495         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
66497         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
66498         variable LX with __attribute__ ((unused)).
66499         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
66500         Likewise.
66501         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
66502         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
66503         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
66504         with __attribute__ ((unused)).
66506 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
66508         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
66510 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
66512         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
66513         (CFLAGS-nldbl-acos.c): New variable.
66514         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
66515         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
66516         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
66517         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
66518         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
66519         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
66520         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
66521         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
66522         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
66523         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
66524         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
66525         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
66526         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
66527         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
66528         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
66529         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
66530         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
66531         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
66532         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
66533         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
66534         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
66535         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
66536         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
66537         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
66538         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
66539         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
66540         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
66541         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
66542         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
66543         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
66544         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
66545         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
66546         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
66547         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
66548         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
66549         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
66550         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
66551         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
66552         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
66553         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
66554         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
66555         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
66556         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
66557         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
66558         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
66559         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
66560         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
66561         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
66562         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
66563         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
66564         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
66565         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
66566         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
66567         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
66568         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
66569         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
66570         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
66571         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
66572         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
66573         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
66574         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
66575         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
66576         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
66577         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
66578         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
66579         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
66580         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
66581         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
66582         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
66583         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
66584         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
66585         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
66586         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
66587         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
66588         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
66589         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
66590         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
66591         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
66592         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
66593         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
66594         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
66595         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
66596         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
66597         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
66598         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
66599         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
66600         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
66601         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
66602         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
66603         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
66604         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
66605         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
66606         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
66607         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
66608         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
66609         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
66610         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
66612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
66613         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
66615         [BZ #14914]
66616         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
66617         whole low double instead of just low 47 bits when splitting values
66618         into two parts.
66620 2012-12-03  Allan McRae  <allan@archlinux.org>
66622         * manual/stdio.texi (Predefined Printf Handlers): Remove
66623         @hsep and @vsep usage.
66625 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
66627         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
66628         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
66630 2012-12-03  Jeff Law  <law@redhat.com>
66632         * time/sys/time.h (settimeofday): Do not mark TV argument
66633         as __nonnull.
66635 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
66637         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
66638         when currently writing and seek to current position when not.
66639         * libio/Makefile (tests): Remove bug-fclose1.
66640         * libio/bug-fclose1.c: Delete.
66642 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
66644         * manual/arith.texi (feenableexcept): Fix typo.
66645         (fedisableexcept): Likewise.
66647 2012-11-30  Roland McGrath  <roland@hack.frob.com>
66649         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
66650         second, differently-typed declaration, rather than a cast.
66652 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
66654         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
66655         * include/rpc/svc.h: ... here.
66657 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
66659         [BZ #13013]
66660         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
66661         depending n and resplen2 to catch cases where answer
66662         equals answerp2.
66664 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
66666         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
66667         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
66669 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
66671         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
66673 2012-11-29  Roland McGrath  <roland@hack.frob.com>
66675         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
66677 2012-11-28  Jeff Law  <law@redhat.com>
66679         [BZ #13761]
66680         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
66681         dataset_temporary.  Track alloca usage into alloca_used.
66682         If dataset is large allocate and release it via malloc/free.
66684 2012-06-04  Florian Weimer  <fweimer@redhat.com>
66686         [BZ #14197]
66687         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
66689 2012-11-28  David S. Miller  <davem@davemloft.net>
66691         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66693 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
66695         [BZ #14803]
66696         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
66697         of pi/2 rounded to nearest to 64 bits.
66698         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
66699         nearest to 64 bits.
66700         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
66701         bits.
66703 2012-11-28  Jeff Law <law@redhat.com>
66704             Martin Osvald <mosvald@redhat.com>
66706         [BZ #14889]
66707         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
66708         * sunrpc/svc.c: Include time.h.
66709         (__svc_accept_failed): New function.
66710         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
66711         any reason other than EINTR, call __svc_accept_failed.
66712         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
66713         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
66715 2012-11-28  Andreas Schwab  <schwab@suse.de>
66717         * scripts/abilist.awk: Also handle indirect functions in .opd
66718         section.
66720 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
66722         [BZ #13881]
66723         * sysdeps/x86/fpu/powl_helper.c: New file.
66724         * sysdeps/x86/fpu/Makefile: Likewise.
66725         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
66726         (p3): New object.
66727         (__ieee754_powl): Use __powl_helper for finite arguments except
66728         integer exponents below 8.
66729         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
66730         (p3): New object.
66731         (__ieee754_powl): Use __powl_helper for finite arguments except
66732         integer exponents below 8.
66733         * math/libm-test.inc (pow_test): Add more tests and enable some
66734         previously disabled tests.
66735         * sysdeps/i386/fpu/libm-test-ulps: Update.
66736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66738 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66739             Carlos O'Donell  <carlos_odonell@mentor.com>
66741         * nss/makedb.c (is_prime): Assert that input is odd and greater
66742         than 4.  Note that fact in a comment too.
66743         (next_prime): Add 4 to input.
66745 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
66747         [BZ #11741]
66748         * libio/Makefile (tests): Add test case tst-fwrite-error.
66749         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
66750         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
66751         * libio/tst-fwrite-error.c: New test case.
66753 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
66755         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
66756         before casting to void *.
66757         * include/libc-internal.h (__pointer_type): New macro.
66758         (__integer_if_pointer_type_sub): Likewise.
66759         (__integer_if_pointer_type): Likewise.
66760         (cast_to_integer): Likewise.
66761         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
66762         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
66763         before casting to atomic64_t.
66764         (atomic_exchange_acq): Likewise.
66765         (__arch_exchange_and_add_body): Likewise.
66766         (__arch_add_body): Likewise.
66767         (atomic_add_negative): Likewise.
66768         (atomic_add_zero): Likewise.
66770 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
66772         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
66773         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
66774         (add_fdes): Likewise.
66775         (linear_search_fdes): Likewise.
66776         (binary_search_unencoded_fdes): Likewise.
66778 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
66780         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
66782 2012-11-24  Adam Conrad  <adconrad@0c3.net>
66784         * configure.in: Autodetect C++ header directories.
66785         * configure: Regenerated.
66787 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
66789         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
66791 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
66793         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66795 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
66797         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
66798         LDBL_MANT_DIG == 106]: Disable some tests.
66799         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
66800         Likewise.
66801         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
66802         Likewise.
66804         [BZ #14871]
66805         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
66806         input for small inputs.  Return +/- pi/2 for large inputs.
66807         * math/libm-test.inc (atan_test): Add more tests.
66809         * sysdeps/generic/unwind-dw2-fde-glibc.c
66810         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
66811         __attribute__ ((unused)).
66813         [BZ #14645]
66814         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
66815         x * y if x and y are nonzero and z is zero.
66817         [BZ #14811]
66818         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
66819         nonzero exponents with absolute value below 0x1p-117 to +/-
66820         0x1p-117.
66822         [BZ #14869]
66823         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
66824         up arguments below 2**-450, not just those below 2**-500.
66825         * math/libm-test.inc (hypot_test): Add another test.
66827         [BZ #14868]
66828         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
66829         Return a+b for ratio over 2**120, not 2**60.
66830         * math/libm-test.inc (hypot_test): Add another test.
66832         * math/libm-test.inc (clog_test): Use
66833         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
66834         (clog10_test): Likewise.
66836         [BZ #6778]
66837         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
66839 2012-11-22  Andreas Schwab  <schwab@suse.de>
66841         * sysdeps/i386/fpu/libm-test-ulps: Update.
66843 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
66845         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
66846         printf output with newline.
66848 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
66850         [BZ #14865]
66851         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
66852         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
66853         -z nodlopen, -z initfirst and -z execstack support.
66854         * configure: Regenerated.
66856         * elf/elf.h (DF_1_NODIRECT): New macro.
66857         (DF_1_IGNMULDEF): Likewise.
66858         (DF_1_NOKSYMS): Likewise.
66859         (DF_1_NOHDR): Likewise.
66860         (DF_1_EDITED): Likewise.
66861         (DF_1_NORELOC): Likewise.
66862         (DF_1_SYMINTPOSE): Likewise.
66863         (DF_1_GLOBAUDIT): Likewise.
66864         (DF_1_SINGLETON): Likewise.
66865         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
66866         DT_1_SUPPORTED_MASK bits.
66867         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
66869 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
66871         * sysdeps/unix/make-syscalls.sh: Document prefixes.
66873 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
66875         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
66876         macro.
66878         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
66879         (sendmmsg): Move declarations...
66880         * socket/sys/socket.h: ... here.
66881         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
66882         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
66883         include it from...
66884         * socket/recvmmsg.c: ... this new file.
66885         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
66886         (sendmmsg): Rename to __sendmmsg, create weak alias and make
66887         definition of __sendmmsg hidden.
66888         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
66889         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
66890         Move ENOSYS stub into and include it from...
66891         * socket/sendmmsg.c: ... this new file.
66892         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
66893         (sysdep_routines): Move recvmmsg and sendmmsg...
66894         * socket/Makefile (routines): ... here.
66895         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
66896         (GLIBC_PRIVATE): Add __sendmmsg.
66897         * include/sys/socket.h (__sendmmsg): Add declarations.
66898         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
66899         sendmmsg.
66901 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
66903         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
66904         variable I1 with __attribute__ ((unused)).
66905         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
66907 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
66909         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
66910         DUMMY variables with __attribute__ ((unused)).
66912         * bits/byteswap.h: Include <bits/types.h>.
66913         (__bswap_64): Use __uint64_t instead of unsigned long long int.
66915 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
66917         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
66918         string_t.  Do not manually set errno.
66919         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
66920         length with __strnlen.  Make sure to both set errno and return it on
66921         failure.
66923 2012-11-19  David S. Miller  <davem@davemloft.net>
66925         With help from Joseph Myers.
66926         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
66927         very large arguments properly.
66928         * math/libm-test.inc (atan_test): New tests.
66929         (atan2_test): New tests.
66930         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66931         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66933 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
66935         [BZ #14856]
66936         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
66937         Define to 3.
66939         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
66940         [POSIX] (EADDRNOTAVAIL): Likewise.
66941         [POSIX] (EAFNOSUPPORT): Likewise.
66942         [POSIX] (EALREADY): Likewise.
66943         [POSIX] (ECONNABORTED): Likewise.
66944         [POSIX] (ECONNREFUSED): Likewise.
66945         [POSIX] (ECONNRESET): Likewise.
66946         [POSIX] (EDESTADDRREQ): Likewise.
66947         [POSIX] (EDQUOT): Likewise.
66948         [POSIX] (EHOSTUNREACH): Likewise.
66949         [POSIX] (EIDRM): Likewise.
66950         [POSIX] (EISCONN): Likewise.
66951         [POSIX] (ELOOP): Likewise.
66952         [POSIX] (EMULTIHOP): Likewise.
66953         [POSIX] (ENETDOWN): Likewise.
66954         [POSIX] (ENETUNREACH): Likewise.
66955         [POSIX] (ENOBUFS): Likewise.
66956         [POSIX] (ENODATA): Likewise.
66957         [POSIX] (ENOLINK): Likewise.
66958         [POSIX] (ENOMSG): Likewise.
66959         [POSIX] (ENOPROTOOPT): Likewise.
66960         [POSIX] (ENOSR): Likewise.
66961         [POSIX] (ENOSTR): Likewise.
66962         [POSIX] (ENOTCONN): Likewise.
66963         [POSIX] (ENOTSOCK): Likewise.
66964         [POSIX] (EOPNOTSUPP): Likewise.
66965         [POSIX] (EOVERFLOW): Likewise.
66966         [POSIX] (EPROTO): Likewise.
66967         [POSIX] (EPROTONOSUPPORT): Likewise.
66968         [POSIX] (EPROTOTYPE): Likewise.
66969         [POSIX] (ESTALE): Likewise.
66970         [POSIX] (ETIME): Likewise.
66971         [POSIX] (ETXTBSY): Likewise.
66972         [POSIX] (EWOULDBLOCK): Likewise.
66973         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
66974         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
66975         [POSIX] (SEEK_CUR): Likewise.
66976         [POSIX] (SEEK_END): Likewise.
66977         [POSIX || UNIX98] (mode_t): Do not require.
66978         [POSIX] (off_t): Likewise.
66979         [POSIX] (pid_t): Likewise.
66980         [POSIX] (sys/stat.h): Do not allow header.
66981         [POSIX] (unistd.h): Likewise.
66982         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
66983         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
66984         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
66985         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
66986         require.
66987         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
66988         sigevent): Specify elements.
66989         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
66990         entry.
66991         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
66992         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
66994         * conform/data/cpio.h-data [POSIX]: Disable whole file.
66995         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
66996         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
66997         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
66998         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
66999         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
67000         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
67001         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
67002         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
67003         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
67004         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
67005         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
67006         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
67007         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
67008         Likewise.
67009         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
67010         Likewise.
67011         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
67012         Likewise.
67013         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
67014         Likewise.
67015         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
67016         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
67017         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
67018         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
67019         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
67020         Specify lower bound on value.
67021         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
67022         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
67023         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
67024         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
67025         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
67026         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
67027         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
67028         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
67029         value.
67030         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
67031         as optional.
67032         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
67033         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
67034         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
67035         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
67036         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
67037         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
67038         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
67039         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
67040         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
67041         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
67042         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
67043         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
67044         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
67045         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
67046         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
67047         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
67048         entry.
67049         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
67050         optional.
67051         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
67052         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
67053         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
67054         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
67055         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
67056         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
67057         Likewise.
67058         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
67059         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
67060         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
67061         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
67062         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
67063         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
67064         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
67065         as optional.
67066         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
67067         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
67068         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
67069         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
67070         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
67071         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
67072         specify as optional.
67073         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
67074         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
67075         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
67076         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
67077         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
67078         [XPG3] (NL_LANGMAX): Likewise.
67079         [POSIX || XPG3] (NL_MSGMAX): Likewise.
67080         [POSIX || XPG3] (NL_NMAX): Likewise.
67081         [POSIX || XPG3] (NL_SETMAX): Likewise.
67082         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
67083         [XPG3] (NZERO): Likewise.
67084         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
67085         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
67086         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
67087         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
67088         (REG_ERANGE): Expect.
67089         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
67090         optional-constant.
67091         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
67092         Use (void) in prototype.
67093         [POSIX] (*_t): Allow.
67094         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
67095         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
67096         (WRDE_BADVAL): Expect.
67098         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
67099         expect.
67100         [XPG3 || XPG4] (O_RSYNC): Likewise.
67101         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
67102         Likewise.
67103         [XPG3 || XPG4] (pthread_sigmask): Likewise.
67104         [XPG3 || XPG4] (sigqueue): Likewise.
67105         [XPG3 || XPG4] (sigtimedwait): Likewise.
67106         [XPG3 || XPG4] (sigwaitinfo): Likewise.
67107         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
67108         [XPG3 || XPG4] (vsnprintf): Likewise.
67109         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
67110         Likewise.
67111         [XPG3 || XPG4] (blksize_t): Likewise.
67112         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
67113         Likewise.
67114         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
67115         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
67116         [XPG3 || XPG4] (struct itimerspec): Likewise.
67117         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
67118         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
67119         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
67120         [XPG3 || XPG4] (clockid_t): Likewise.
67121         [XPG3 || XPG4] (timer_t): Likewise.
67122         [XPG3 || XPG4] (clock_getres): Likewise.
67123         [XPG3 || XPG4] (clock_gettime): Likewise.
67124         [XPG3 || XPG4] (clock_settime): Likewise.
67125         [XPG3 || XPG4] (nanosleep): Likewise.
67126         [XPG3 || XPG4] (timer_create): Likewise.
67127         [XPG3 || XPG4] (timer_delete): Likewise.
67128         [XPG3 || XPG4] (timer_gettime): Likewise.
67129         [XPG3 || XPG4] (timer_getoverrun): Likewise.
67130         [XPG3 || XPG4] (timer_settime): Likewise.
67131         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
67132         [XPG3 || XPG4] (getlogin_r): Likewise.
67133         [XPG3 || XPG4] (pread): Likewise.
67134         [XPG3 || XPG4] (pthread_atfork): Likewise.
67135         [XPG3 || XPG4] (pwrite): Likewise.
67137         [BZ #14835]
67138         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
67139         <bits/siginfo.h>.
67141 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
67143         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
67144         finalizing MALLSTREAM.
67146         * sysdeps/mach/hurd/syncfs.c: New file.
67148 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
67150         [BZ #14719]
67151         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
67152         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
67153         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
67154         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
67155         (_nss_dns_gethostbyname4_r): Likewise.
67156         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
67157         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
67159 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
67161         [BZ #13763]
67162         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
67164 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
67166         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
67167         * elf/cache.c (print_entry): Print ",AArch64" for
67168         FLAG_AARCH64_LIB64
67170         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
67171         * elf/cache.c (print_entry): Print ",hard-float" for
67172         FLAG_ARM_LIBHF.
67174 2012-11-18  David S. Miller  <davem@davemloft.net>
67176         With help from Joseph Myers.
67177         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
67178         cutoff to 2**-13.
67179         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
67180         cutoff to 2**-25.
67181         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
67182         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
67183         small.
67184         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
67185         * math/libm-test.inc (y0_test): New tests.
67186         (y1_test): New tests.
67187         * sysdeps/i386/fpu/libm-test-ulps: Update.
67188         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67189         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67191 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
67193         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
67194         64-bit targets.
67195         * configure: Regenerated.
67197 2012-11-17  David S. Miller  <davem@davemloft.net>
67199         [BZ #14811]
67200         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
67201         nonzero exponents with absolute value below 0x1p-128 to +/-
67202         0x1p-128.
67204 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
67206         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
67208         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
67210         * posix/getconf-speclist.c: New file.
67211         * posix/posix-envs.def: Likewise.
67212         * posix/confstr.c (START_ENV_GROUP): New macro.
67213         (END_ENV_GROUP): Likewise.
67214         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
67215         (KNOWN_PRESENT_ENV_STRING): Likewise.
67216         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
67217         (UNKNOWN_ENVIRONMENT): Likewise.
67218         (confstr): Include posix-envs.def instead of handling
67219         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
67220         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
67221         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
67222         (END_ENV_GROUP): Likewise.
67223         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
67224         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
67225         (UNKNOWN_ENVIRONMENT): Likewise.
67226         (__sysconf): Include posix-envs.def instead of handling associated
67227         cases directly here.
67228         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
67229         preprocessing getconf-speclist.c rather than running getconf or
67230         generating empty file.
67232 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
67234         * scripts/check-local-headers.sh: Ignore 'mach' headers.
67236 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
67238         [BZ #14672]
67239         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
67241 2012-11-16  David S. Miller  <davem@davemloft.net>
67243         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
67244         smaller than LDBL_EPSILON/2.0L, just return xm1.
67246 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
67248         * elf/tst-array1.c (init): Set constructor priority to 1000.
67249         (fini): Set destructor priority to 1000.
67250         * elf/tst-array2dep.c: Likewise.
67252 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
67254         [BZ #11741]
67255         * libio/fileops.c (_IO_new_file_write): Correctly return error.
67256         (_IO_new_file_xsputn): Also return EOF if none of the input
67257         data was written when overflow failed.
67258         * libio/iopadn.c (_IO_padn): Likewise.
67259         * libio/iowpadn.c (_IO_wpadn): Likewise.
67260         * stdio-common/tst-put-error.c: Add copyright notice.
67261         (do_test): Add case for printing padded string.
67262         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
67263         _IO_padn returned error.
67264         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
67265         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
67266         return EOF.
67268 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
67270         * libio/libioP.h: Add comment note that the references to C++
67271         bits are now obsolete.
67273 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67275         * math/libm-test.inc (check_complex): Use asprintf.
67277 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
67279         * debug/pcprofiledump.c (print_version): Update copyright year.
67280         * malloc/memusagestat.c (print_version): Likewise.
67282 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
67284         [BZ #14831]
67285         * elf/Makefile (tests): Add tst-audit8.
67286         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
67287         ($(objpfx)tst-audit8.out): New target.
67288         (tst-audit8-ENV): New variable.
67289         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
67290         audit if l_reloc_result is NULL.
67291         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
67292         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
67293         * elf/tst-audit8.c: New file.
67295 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67297         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
67298         * misc/Makefile (CFLAGS-select.c): Define.
67299         * posix/Makefile (CFLAGS-pause.c): Define.
67301 2012-11-13  David S. Miller  <davem@davemloft.net>
67303         * crypt/Makefile: Move test targets after toplevel Rules
67304         inclusion.  Grab any necessary sysdep routines when linking.
67305         * crypt/md5.c (md5_process_block): Remove define, we will always
67306         name it __md5_process_block.
67307         (md5_finish_ctx): Update md5_process_block call.
67308         (md5_stream): Likewise.
67309         (md5_process_bytes): Likewise.
67310         (md5_process_block): Rename to __md5_process_block and move to ...
67311         * crypt/md5-block.c: ... here.
67312         * crypt/sha256.c (sha256_process_block): Move to ...
67313         * crypt/sha256-block.c: ... here.
67314         * crypt/sha512.c (sha512_process_block): Move to ...
67315         * crypt/sha512-block.c: ... here.
67316         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
67317         path.
67318         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
67319         * sysdeps/sparc/sparc64/multiarch/Makefile
67320         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
67321         crypt subdir.
67322         (localedef-aux): Add md5 crypto assembler when in locale subdir.
67323         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
67324         multiarch changes.
67325         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
67326         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
67327         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
67328         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
67329         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
67330         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
67331         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
67332         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
67333         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
67334         file.
67335         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
67336         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
67337         file.
67338         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
67340 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
67342         * timezone/tzselect.ksh: Update from tzcode git revision
67343         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
67344         * timezone/zdump.c: Likewise.
67345         * timezone/zic.c: Likewise.
67346         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
67347         in TZVERSION setting, not $(PKGVERSION).
67348         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
67349         REPORT_BUGS_TO settings.
67351         [BZ #14838]
67352         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
67353         macro.
67355 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67357         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
67358         detection to immediately after _FP_ROUND().
67359         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
67360         bits are 0.
67362 2012-11-11  David S. Miller  <davem@davemloft.net>
67364         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
67365         inttypes.h
67366         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
67367         __close rather than their public counterparts.
67369 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
67371         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
67372         file.
67373         [UNIX98] (sem_timedwait): Do not expect.
67374         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
67375         [XPG4 || UNIX98] (sockatmark): Do not expect.
67376         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
67377         (clock_getcpuclockid): Do not expect.
67378         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
67379         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
67380         Do not expect.
67381         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
67382         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
67383         [UNIX98] (vwscanf): Likewise.
67384         [UNIX98] (vswscanf): Likewise.
67386 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
67388         * timezone/version.h: Remove file.
67389         * timezone/README: Do not refer to version.h.
67390         * timezone/Makefile ($(objpfx)zic.o): New dependency on
67391         $(objpfx)version.h.
67392         ($(objpfx)zdump.o): Likewise.
67393         ($(objpfx)version.h): New target.
67395         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
67396         2012i.
67397         * timezone/README: Don't mention modification to tzselect.ksh.
67398         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
67399         work on unmodified tzselect.ksh.  Substitute version numbers in
67400         tzselect.ksh.
67402         * Makefile (format-me): Remove.
67403         (INSTALL): Adjust indentation.  Use commands directly instead of
67404         using $(format-me).
67406         * aclocal.m4 (ACX_PKGVERSION): New macro.
67407         (ACX_BUGURL): Likewise.
67408         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
67409         (PKGVERSION): New AC_DEFINE_UNQUOTED.
67410         (REPORT_BUGS_TO): Likewise.
67411         * configure: Regenerated.
67412         * config.h.in (PKGVERSION): New macro.
67413         (REPORT_BUGS_TO): Likewise.
67414         * config.make.in (PKGVERSION): New variable.
67415         (PKGVERSION_TEXI): Likewise.
67416         (REPORT_BUGS_TO): Likewise.
67417         (REPORT_BUGS_TEXI): Likewise.
67418         * Makefile (format-me): Use -I$(common-objpfx)manual.
67419         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
67420         ($(common-objpfx)manual/%): New target.
67421         (manual/%): Remove target.
67422         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
67423         (print_version): Use PKGVERSION.
67424         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
67425         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
67426         and REPORT_BUGS_TO.
67427         ($(objpfx)xtrace): Likewise.
67428         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
67429         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
67430         (print_version): Use PKGVERSION.
67431         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
67432         (do_version): Use PKGVERSION.
67433         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
67434         REPORT_BUGS_TO.
67435         (common-ldd-rewrite): Likewise.
67436         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
67437         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
67438         (print_version): Use PKGVERSION.
67439         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
67440         * elf/pldd.c (argp_program_bug_address): Remove variable.
67441         (more_help): New function.
67442         (argp): Use more_help.
67443         (print_version): Use PKGVERSION.
67444         * elf/sln.c (main): Use PKGVERSION.
67445         (usage): Use REPORT_BUGS_TO.
67446         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
67447         (top level): Use PKGVERSION.
67448         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
67449         (print_version): Use PKGVERSION.
67450         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
67451         (print_version): Use PKGVERSION.
67452         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
67453         (print_version): Use PKGVERSION.
67454         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
67455         (print_version): Use PKGVERSION.
67456         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
67457         (print_version): Use PKGVERSION.
67458         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
67459         (print_version): Use PKGVERSION.
67460         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
67461         and BUGURL.
67462         ($(objpfx)memusage): Likewise.
67463         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
67464         (do_version): Use PKGVERSION.
67465         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
67466         (print_version): Use PKGVERSION.
67467         * malloc/mtrace.pl ($PACKAGE): Remove variable.
67468         ($PKGVERSION): New variable.
67469         ($REPORT_BUGS_TO): Likewise.
67470         (usage): Use $REPORT_BUGS_TO.
67471         (top level): Use $PKGVERSION.
67472         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
67473         ($(objpfx)pkgvers.texi): New rule.
67474         ($(objpfx)stamp-pkgvers): Likewise.
67475         * manual/install.texi: Include pkgvers.texi.
67476         (--with-pkgversion): Document new configure option.
67477         (--with-bugurl): Likewise.
67478         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
67479         than necessarily for this particular distribution.  Use
67480         REPORT_BUGS_TO for where to report bugs.
67481         * INSTALL: Regenerated.
67482         * manual/libc.texinfo: Include pkgvers.texi.
67483         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
67484         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
67485         (print_version): Use PKGVERSION.
67486         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
67487         (print_version): Use PKGVERSION.
67488         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
67489         (print_version): Use PKGVERSION.
67490         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
67491         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
67492         macro.
67493         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
67494         (print_version): Use PKGVERSION.
67495         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
67496         (print_version): Use PKGVERSION.
67497         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
67498         and PKGVERSION.
67500         * timezone/checktab.awk: Update from tzcode 2012i.
67501         * timezone/ialloc.c: Likewise.
67502         * timezone/private.h: Likewise.
67503         * timezone/scheck.c: Likewise.
67504         * timezone/tzfile.h: Likewise.
67505         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
67506         (TZVERSION): Hardcode tzcode version number.
67507         * timezone/zdump.c: Update from tzcode 2012i.
67508         * timezone/zic.c: Likewise.
67509         * timezone/version.h: New file.
67510         * timezone/README: Describe version.h.  Update upstream location.
67512         [BZ #14824]
67513         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
67514         (mktemp): Enable declaration.
67515         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
67516         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
67517         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
67518         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
67519         Likewise.
67520         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
67521         Likewise.
67522         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
67523         Likewise.
67524         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
67525         Likewise.
67526         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
67527         Likewise.
67528         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
67529         Likewise.
67531         [BZ #14821]
67532         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
67533         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
67534         for copies of such integer values.
67535         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
67536         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
67538 2012-11-09  Andreas Jaeger  <aj@suse.de>
67540         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
67541         definitions and declarations that are provided by
67542         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
67544 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67546         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
67547         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
67548         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
67549         definition.
67551 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67553         * elf/elf.h: Update comment before AArch64 relocations.
67555 2012-11-07  David S. Miller  <davem@davemloft.net>
67557         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
67558         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
67559         (__start_context): Declare.
67560         (__makecontext_ret): Delete.
67561         (__makecontext): Hook up __start_context instead of
67562         __makecontext_ret.
67563         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
67564         (sysdep_routines): Add __start_context when in stdlib.
67566 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
67568         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
67569         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
67570         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
67571         hardcoded "nm".
67572         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
67573         (READELF): New variable.  Use it instead of hardcoded "readelf".
67575 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
67577         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
67578         * sysdeps/x86/Makefile: Here.
67579         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
67580         * sysdeps/x86/tst-xmmymm.sh: This.
67582 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
67584         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
67585         expectations.
67586         [UNIX98] (pthread_barrier_t): Do not expect.
67587         [UNIX98] (pthread_barrierattr_t): Likewise.
67588         [UNIX98] (pthread_spinlock_t): Likewise.
67589         [UNIX98] (pthread_barrier_destroy): Likewise.
67590         [UNIX98] (pthread_barrier_init): Likewise.
67591         [UNIX98] (pthread_barrier_wait): Likewise.
67592         [UNIX98] (pthread_barrierattr_destroy): Likewise.
67593         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
67594         [UNIX98] (pthread_barrierattr_init): Likewise.
67595         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
67596         [UNIX98] (pthread_getcpuclockid): Likewise.
67597         [UNIX98] (pthread_mutex_timedlock): Likewise.
67598         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
67599         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
67600         [UNIX98] (pthread_sigmask): Likewise.
67601         [UNIX98] (pthread_spin_destroy): Likewise.
67602         [UNIX98] (pthread_spin_init): Likewise.
67603         [UNIX98] (pthread_spin_lock): Likewise.
67604         [UNIX98] (pthread_spin_trylock): Likewise.
67605         [UNIX98] (pthread_spin_unlock): Likewise.
67606         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
67607         Do not expect.
67608         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
67609         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
67610         [XPG3 || XPG4] (pthread_cond_t): Likewise.
67611         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
67612         [XPG3 || XPG4] (pthread_key_t): Likewise.
67613         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
67614         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
67615         [XPG3 || XPG4] (pthread_once_t): Likewise.
67616         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
67617         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
67618         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
67619         [XPG3 || XPG4] (pthread_t): Likewise.
67621         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
67622         not expect.
67623         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
67625         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
67626         Change function return type to int.
67628         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
67629         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
67630         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
67631         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
67632         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
67633         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
67634         [!POSIX] (posix_madvise): Likewise.
67635         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
67636         && !UNIX98].
67637         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
67638         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
67639         (mode_t): Likewise.
67640         (posix_mem_offset): Likewise.
67641         (posix_typed_mem_get_info): Likewise.
67642         (posix_typed_mem_open): Likewise.
67644         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
67645         Change condition to [XOPEN2K8].
67647         * conform/conformtest.pl: Preprocess allow-header data with -x c
67648         instead of from stdin.
67649         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
67650         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
67651         [C99-based standards] (cerfc): Likewise.
67652         [C99-based standards] (cexp2): Likewise.
67653         [C99-based standards] (cexpm1): Likewise.
67654         [C99-based standards] (clog10): Likewise.
67655         [C99-based standards] (clog1p): Likewise.
67656         [C99-based standards] (clog2): Likewise.
67657         [C99-based standards] (clgamma): Likewise.
67658         [C99-based standards] (ctgamma): Likewise.
67659         [C99-based standards] (cerff): Likewise.
67660         [C99-based standards] (cerfcf): Likewise.
67661         [C99-based standards] (cexp2f): Likewise.
67662         [C99-based standards] (cexpm1f): Likewise.
67663         [C99-based standards] (clog10f): Likewise.
67664         [C99-based standards] (clog1pf): Likewise.
67665         [C99-based standards] (clog2f): Likewise.
67666         [C99-based standards] (clgammaf): Likewise.
67667         [C99-based standards] (ctgammaf): Likewise.
67668         [C99-based standards] (cerfl): Likewise.
67669         [C99-based standards] (cerfcl): Likewise.
67670         [C99-based standards] (cexp2l): Likewise.
67671         [C99-based standards] (cexpm1l): Likewise.
67672         [C99-based standards] (clog10l): Likewise.
67673         [C99-based standards] (clog1pl): Likewise.
67674         [C99-based standards] (clog2l): Likewise.
67675         [C99-based standards] (clgammal): Likewise.
67676         [C99-based standards] (ctgammal): Likewise.
67677         * conform/data/inttypes.h-data [C99-based standards]: Include
67678         stdint.h-data.  Remove all expectations for stdint.h contents.
67679         [C99-based standards] (PRI*): Do not allow.
67680         [C99-based standards] (SCN*): Likewise.
67681         [C99-based standards] (*_t): Likewise.
67682         [C99-based-standards] (PRId8): Expect macro.
67683         [C99-based-standards] (PRIi8): Likewise.
67684         [C99-based-standards] (PRIo8): Likewise.
67685         [C99-based-standards] (PRIu8): Likewise.
67686         [C99-based-standards] (PRIx8): Likewise.
67687         [C99-based-standards] (PRIX8): Likewise.
67688         [C99-based-standards] (SCNd8): Likewise.
67689         [C99-based-standards] (SCNi8): Likewise.
67690         [C99-based-standards] (SCNo8): Likewise.
67691         [C99-based-standards] (SCNu8): Likewise.
67692         [C99-based-standards] (SCNx8): Likewise.
67693         [C99-based-standards] (PRIdLEAST8): Likewise.
67694         [C99-based-standards] (PRIiLEAST8): Likewise.
67695         [C99-based-standards] (PRIoLEAST8): Likewise.
67696         [C99-based-standards] (PRIuLEAST8): Likewise.
67697         [C99-based-standards] (PRIxLEAST8): Likewise.
67698         [C99-based-standards] (PRIXLEAST8): Likewise.
67699         [C99-based-standards] (SCNdLEAST8): Likewise.
67700         [C99-based-standards] (SCNiLEAST8): Likewise.
67701         [C99-based-standards] (SCNoLEAST8): Likewise.
67702         [C99-based-standards] (SCNuLEAST8): Likewise.
67703         [C99-based-standards] (SCNxLEAST8): Likewise.
67704         [C99-based-standards] (PRIdFAST8): Likewise.
67705         [C99-based-standards] (PRIiFAST8): Likewise.
67706         [C99-based-standards] (PRIoFAST8): Likewise.
67707         [C99-based-standards] (PRIuFAST8): Likewise.
67708         [C99-based-standards] (PRIxFAST8): Likewise.
67709         [C99-based-standards] (PRIXFAST8): Likewise.
67710         [C99-based-standards] (SCNdFAST8): Likewise.
67711         [C99-based-standards] (SCNiFAST8): Likewise.
67712         [C99-based-standards] (SCNoFAST8): Likewise.
67713         [C99-based-standards] (SCNuFAST8): Likewise.
67714         [C99-based-standards] (SCNxFAST8): Likewise.
67715         [C99-based-standards] (PRId16): Likewise.
67716         [C99-based-standards] (PRIi16): Likewise.
67717         [C99-based-standards] (PRIo16): Likewise.
67718         [C99-based-standards] (PRIu16): Likewise.
67719         [C99-based-standards] (PRIx16): Likewise.
67720         [C99-based-standards] (PRIX16): Likewise.
67721         [C99-based-standards] (SCNd16): Likewise.
67722         [C99-based-standards] (SCNi16): Likewise.
67723         [C99-based-standards] (SCNo16): Likewise.
67724         [C99-based-standards] (SCNu16): Likewise.
67725         [C99-based-standards] (SCNx16): Likewise.
67726         [C99-based-standards] (PRIdLEAST16): Likewise.
67727         [C99-based-standards] (PRIiLEAST16): Likewise.
67728         [C99-based-standards] (PRIoLEAST16): Likewise.
67729         [C99-based-standards] (PRIuLEAST16): Likewise.
67730         [C99-based-standards] (PRIxLEAST16): Likewise.
67731         [C99-based-standards] (PRIXLEAST16): Likewise.
67732         [C99-based-standards] (SCNdLEAST16): Likewise.
67733         [C99-based-standards] (SCNiLEAST16): Likewise.
67734         [C99-based-standards] (SCNoLEAST16): Likewise.
67735         [C99-based-standards] (SCNuLEAST16): Likewise.
67736         [C99-based-standards] (SCNxLEAST16): Likewise.
67737         [C99-based-standards] (PRIdFAST16): Likewise.
67738         [C99-based-standards] (PRIiFAST16): Likewise.
67739         [C99-based-standards] (PRIoFAST16): Likewise.
67740         [C99-based-standards] (PRIuFAST16): Likewise.
67741         [C99-based-standards] (PRIxFAST16): Likewise.
67742         [C99-based-standards] (PRIXFAST16): Likewise.
67743         [C99-based-standards] (SCNdFAST16): Likewise.
67744         [C99-based-standards] (SCNiFAST16): Likewise.
67745         [C99-based-standards] (SCNoFAST16): Likewise.
67746         [C99-based-standards] (SCNuFAST16): Likewise.
67747         [C99-based-standards] (SCNxFAST16): Likewise.
67748         [C99-based-standards] (PRId32): Likewise.
67749         [C99-based-standards] (PRIi32): Likewise.
67750         [C99-based-standards] (PRIo32): Likewise.
67751         [C99-based-standards] (PRIu32): Likewise.
67752         [C99-based-standards] (PRIx32): Likewise.
67753         [C99-based-standards] (PRIX32): Likewise.
67754         [C99-based-standards] (SCNd32): Likewise.
67755         [C99-based-standards] (SCNi32): Likewise.
67756         [C99-based-standards] (SCNo32): Likewise.
67757         [C99-based-standards] (SCNu32): Likewise.
67758         [C99-based-standards] (SCNx32): Likewise.
67759         [C99-based-standards] (PRIdLEAST32): Likewise.
67760         [C99-based-standards] (PRIiLEAST32): Likewise.
67761         [C99-based-standards] (PRIoLEAST32): Likewise.
67762         [C99-based-standards] (PRIuLEAST32): Likewise.
67763         [C99-based-standards] (PRIxLEAST32): Likewise.
67764         [C99-based-standards] (PRIXLEAST32): Likewise.
67765         [C99-based-standards] (SCNdLEAST32): Likewise.
67766         [C99-based-standards] (SCNiLEAST32): Likewise.
67767         [C99-based-standards] (SCNoLEAST32): Likewise.
67768         [C99-based-standards] (SCNuLEAST32): Likewise.
67769         [C99-based-standards] (SCNxLEAST32): Likewise.
67770         [C99-based-standards] (PRIdFAST32): Likewise.
67771         [C99-based-standards] (PRIiFAST32): Likewise.
67772         [C99-based-standards] (PRIoFAST32): Likewise.
67773         [C99-based-standards] (PRIuFAST32): Likewise.
67774         [C99-based-standards] (PRIxFAST32): Likewise.
67775         [C99-based-standards] (PRIXFAST32): Likewise.
67776         [C99-based-standards] (SCNdFAST32): Likewise.
67777         [C99-based-standards] (SCNiFAST32): Likewise.
67778         [C99-based-standards] (SCNoFAST32): Likewise.
67779         [C99-based-standards] (SCNuFAST32): Likewise.
67780         [C99-based-standards] (SCNxFAST32): Likewise.
67781         [C99-based-standards] (PRId64): Likewise.
67782         [C99-based-standards] (PRIi64): Likewise.
67783         [C99-based-standards] (PRIo64): Likewise.
67784         [C99-based-standards] (PRIu64): Likewise.
67785         [C99-based-standards] (PRIx64): Likewise.
67786         [C99-based-standards] (PRIX64): Likewise.
67787         [C99-based-standards] (SCNd64): Likewise.
67788         [C99-based-standards] (SCNi64): Likewise.
67789         [C99-based-standards] (SCNo64): Likewise.
67790         [C99-based-standards] (SCNu64): Likewise.
67791         [C99-based-standards] (SCNx64): Likewise.
67792         [C99-based-standards] (PRIdLEAST64): Likewise.
67793         [C99-based-standards] (PRIiLEAST64): Likewise.
67794         [C99-based-standards] (PRIoLEAST64): Likewise.
67795         [C99-based-standards] (PRIuLEAST64): Likewise.
67796         [C99-based-standards] (PRIxLEAST64): Likewise.
67797         [C99-based-standards] (PRIXLEAST64): Likewise.
67798         [C99-based-standards] (SCNdLEAST64): Likewise.
67799         [C99-based-standards] (SCNiLEAST64): Likewise.
67800         [C99-based-standards] (SCNoLEAST64): Likewise.
67801         [C99-based-standards] (SCNuLEAST64): Likewise.
67802         [C99-based-standards] (SCNxLEAST64): Likewise.
67803         [C99-based-standards] (PRIdFAST64): Likewise.
67804         [C99-based-standards] (PRIiFAST64): Likewise.
67805         [C99-based-standards] (PRIoFAST64): Likewise.
67806         [C99-based-standards] (PRIuFAST64): Likewise.
67807         [C99-based-standards] (PRIxFAST64): Likewise.
67808         [C99-based-standards] (PRIXFAST64): Likewise.
67809         [C99-based-standards] (SCNdFAST64): Likewise.
67810         [C99-based-standards] (SCNiFAST64): Likewise.
67811         [C99-based-standards] (SCNoFAST64): Likewise.
67812         [C99-based-standards] (SCNuFAST64): Likewise.
67813         [C99-based-standards] (SCNxFAST64): Likewise.
67814         [C99-based-standards] (PRIdMAX): Likewise.
67815         [C99-based-standards] (PRIiMAX): Likewise.
67816         [C99-based-standards] (PRIoMAX): Likewise.
67817         [C99-based-standards] (PRIuMAX): Likewise.
67818         [C99-based-standards] (PRIxMAX): Likewise.
67819         [C99-based-standards] (PRIXMAX): Likewise.
67820         [C99-based-standards] (SCNdMAX): Likewise.
67821         [C99-based-standards] (SCNiMAX): Likewise.
67822         [C99-based-standards] (SCNoMAX): Likewise.
67823         [C99-based-standards] (SCNuMAX): Likewise.
67824         [C99-based-standards] (SCNxMAX): Likewise.
67825         [C99-based-standards] (PRIdPTR): Likewise.
67826         [C99-based-standards] (PRIiPTR): Likewise.
67827         [C99-based-standards] (PRIoPTR): Likewise.
67828         [C99-based-standards] (PRIuPTR): Likewise.
67829         [C99-based-standards] (PRIxPTR): Likewise.
67830         [C99-based-standards] (PRIXPTR): Likewise.
67831         [C99-based-standards] (SCNdPTR): Likewise.
67832         [C99-based-standards] (SCNiPTR): Likewise.
67833         [C99-based-standards] (SCNoPTR): Likewise.
67834         [C99-based-standards] (SCNuPTR): Likewise.
67835         [C99-based-standards] (SCNxPTR): Likewise.
67836         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
67837         allow.
67838         * conform/data/stdint.h-data: Update comments to clarify
67839         requirements.
67840         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
67841         type.
67842         [C99-based standards] (INT8_MAX): Likewise.
67843         [C99-based standards] (INT16_MIN): Likewise.
67844         [C99-based standards] (INT16_MAX): Likewise.
67845         [C99-based standards] (INT32_MIN): Likewise.
67846         [C99-based standards] (INT32_MAX): Likewise.
67847         [C99-based standards] (INT64_MIN): Likewise.
67848         [C99-based standards] (INT64_MAX): Likewise.
67849         [C99-based standards] (UINT8_MAX): Likewise.
67850         [C99-based standards] (UINT16_MAX): Likewise.
67851         [C99-based standards] (UINT32_MAX): Likewise.
67852         [C99-based standards] (UINT64_MAX): Likewise.
67853         [C99-based standards] (INT_LEAST8_MIN): Likewise.
67854         [C99-based standards] (INT_LEAST8_MAX): Likewise.
67855         [C99-based standards] (INT_LEAST16_MIN): Likewise.
67856         [C99-based standards] (INT_LEAST16_MAX): Likewise.
67857         [C99-based standards] (INT_LEAST32_MIN): Likewise.
67858         [C99-based standards] (INT_LEAST32_MAX): Likewise.
67859         [C99-based standards] (INT_LEAST64_MIN): Likewise.
67860         [C99-based standards] (INT_LEAST64_MAX): Likewise.
67861         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
67862         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
67863         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
67864         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
67865         [C99-based standards] (INT_FAST8_MIN): Likewise.
67866         [C99-based standards] (INT_FAST8_MAX): Likewise.
67867         [C99-based standards] (INT_FAST16_MIN): Likewise.
67868         [C99-based standards] (INT_FAST16_MAX): Likewise.
67869         [C99-based standards] (INT_FAST32_MIN): Likewise.
67870         [C99-based standards] (INT_FAST32_MAX): Likewise.
67871         [C99-based standards] (INT_FAST64_MIN): Likewise.
67872         [C99-based standards] (INT_FAST64_MAX): Likewise.
67873         [C99-based standards] (UINT_FAST8_MAX): Likewise.
67874         [C99-based standards] (UINT_FAST16_MAX): Likewise.
67875         [C99-based standards] (UINT_FAST32_MAX): Likewise.
67876         [C99-based standards] (UINT_FAST64_MAX): Likewise.
67877         [C99-based standards] (INTPTR_MIN): Likewise.
67878         [C99-based standards] (INTPTR_MAX): Likewise.
67879         [C99-based standards] (UINTPTR_MAX): Likewise.
67880         [C99-based standards] (INTMAX_MIN): Likewise.
67881         [C99-based standards] (INTMAX_MAX): Likewise.
67882         [C99-based standards] (UINTMAX_MAX): Likewise.
67883         [C99-based standards] (PTRDIFF_MIN): Likewise.
67884         [C99-based standards] (PTRDIFF_MAX): Likewise.
67885         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
67886         [C99-based standards] (SIZE_MAX): Likewise.
67887         [C99-based standards] (WCHAR_MAX): Likewise.
67888         [C99-based standards] (WINT_MAX): Likewise.
67889         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
67890         constraint on value.
67891         [C99-based standards] (WCHAR_MIN): Likewise.
67892         [C99-based standards] (WINT_MIN): Likewise.
67893         [C99-based standards] (*_t): Allow.
67894         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
67895         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
67896         Include math.h-data and complex.h-data.  Remove all expectations
67897         of math.h and complex.h contents.
67898         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
67899         at end of line.
67900         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
67901         (struct tm): Expect tag.
67902         [C99-based-standards] (wcstof): Expect function.
67903         [C99-based-standards] (wcstold): Likewise.
67904         [C99-based-standards] (wcstoll): Likewise.
67905         [C99-based-standards] (wcstoull): Likewise.
67906         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
67907         macro-int-constant.  Specify type.
67908         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
67909         constraint on value.
67910         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
67911         Specify type.
67912         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
67913         Specify value.
67914         [ISO C standards]: Do not allow headers.
67915         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
67916         wcs[abcdefghijklmnopqrstuvwxyz]*.
67917         [ISO C standards] (*_t): Do not allow.
67918         * conform/data/wctype.h-data [C99-based standards] (iswblank):
67919         Expect function.
67920         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
67921         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
67922         Specify type.
67923         [ISO C standards]: Do not allow headers.
67924         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
67925         is[abcdefghijklmnopqrstuvwxyz]*.
67926         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
67927         to[abcdefghijklmnopqrstuvwxyz]*.
67928         [ISO C standards] (*_t): Do not allow.
67929         * conform/data/stdalign.h-data: New file.
67930         * conform/data/stdbool.h-data: Likewise.
67931         * conform/data/stdnoreturn.h-data: Likewise.
67933 2012-11-07  Roland McGrath  <roland@hack.frob.com>
67935         [BZ #14815]
67936         * manual/filesys.texi (Directory Entries): Typo fix.
67937         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
67939 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67941         * elf/elf.h (EM_AARCH64): New macro.
67942         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
67943         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
67944         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
67945         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
67946         (R_AARCH64_TLSDESC): Likewise.
67947         (NT_ARM_TLS): Likewise.
67948         (NT_ARM_HW_BREAK): Likewise.
67949         (NT_ARM_HW_WATCH): Likewise.
67951 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
67953         [BZ #14811]
67954         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
67955         (__ieee754_powl): Saturate nonzero exponents with absolute value
67956         below 0x1p-79 to +/- 0x1p-79.
67957         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
67958         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
67959         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
67960         nonzero exponents with absolute value below 0x1p-32 to +/-
67961         0x1p-32.
67962         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
67963         (__ieee754_powl): Saturate nonzero exponents with absolute value
67964         below 0x1p-79 to +/- 0x1p-79.
67965         * math/libm-test.inc (pow_test): Add more tests.
67967 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67969         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
67970         _dl_s390_cap_flags with kernel. Increase string length.
67971         (_dl_s390_platforms): Add z196 and zEC12.
67973 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
67975         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
67976         Change XOPEN21K to XOPEN2K.
67978 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
67980         * string/memmove.c: Use memcpy when possible.
67982 2012-11-06  Andreas Jaeger  <aj@suse.de>
67984         * po/eo.po: Update from translation team.
67986 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
67988         [BZ #14793]
67989         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
67990         exponent and small x and y exponents, scale x or y up.  Increase
67991         by 2 the exponent used in scaling up.
67992         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
67993         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
67994         * math/libm-test.inc (fma_test): Add more tests.
67995         (fma_test_towardzero): Likewise.
67996         (fma_test_downward): Likewise.
67997         (fma_test_upward): Likewise.
67999 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
68001         [BZ #14805]
68002         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
68003         fenv_t *.
68005         [BZ #14801]
68006         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
68007         namespace for names of struct fields.
68008         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
68009         fenv_t fields.
68010         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
68011         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
68013 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68015         [BZ #3665]
68016         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
68018 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
68020         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
68021         PTR_DEMANGLE.
68023         [BZ #5246]
68024         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
68025         PTR_DEMANGLE.
68027 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
68029         [BZ #14797]
68030         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
68031         definitely overflow as x * y not x * y + z.
68032         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68033         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68034         * math/libm-test.inc (fma_test): Add more tests.
68035         (fma_test_towardzero): Likewise.
68036         (fma_test_downward): Likewise.
68037         (fma_test_upward): Likewise.
68039 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
68041         [BZ #157]
68043         * include/stub-tag.h: Remove file.
68044         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
68045         '#include' of it.
68046         * manual/maint.texi (Porting): Don't reference it.
68047         * Makerules ($(objpfx)stubs): Likewise.
68048         * dirent/closedir.c: Don't include <stub-tag.h>.
68049         * dirent/dirfd.c: Likewise.
68050         * dirent/fdopendir.c: Likewise.
68051         * dirent/getdents.c: Likewise.
68052         * dirent/getdents64.c: Likewise.
68053         * dirent/opendir.c: Likewise.
68054         * dirent/readdir.c: Likewise.
68055         * dirent/readdir64.c: Likewise.
68056         * dirent/readdir64_r.c: Likewise.
68057         * dirent/readdir_r.c: Likewise.
68058         * dirent/rewinddir.c: Likewise.
68059         * dirent/seekdir.c: Likewise.
68060         * dirent/telldir.c: Likewise.
68061         * gmon/profil.c: Likewise.
68062         * grp/setgroups.c: Likewise.
68063         * inet/if_index.c: Likewise.
68064         * io/access.c: Likewise.
68065         * io/chdir.c: Likewise.
68066         * io/chmod.c: Likewise.
68067         * io/chown.c: Likewise.
68068         * io/close.c: Likewise.
68069         * io/dup.c: Likewise.
68070         * io/dup2.c: Likewise.
68071         * io/dup3.c: Likewise.
68072         * io/euidaccess.c: Likewise.
68073         * io/faccessat.c: Likewise.
68074         * io/fchdir.c: Likewise.
68075         * io/fchmod.c: Likewise.
68076         * io/fchmodat.c: Likewise.
68077         * io/fchown.c: Likewise.
68078         * io/fchownat.c: Likewise.
68079         * io/fcntl.c: Likewise.
68080         * io/flock.c: Likewise.
68081         * io/fstatfs.c: Likewise.
68082         * io/fstatfs64.c: Likewise.
68083         * io/fstatvfs.c: Likewise.
68084         * io/fstatvfs64.c: Likewise.
68085         * io/futimens.c: Likewise.
68086         * io/fxstat.c: Likewise.
68087         * io/fxstat64.c: Likewise.
68088         * io/fxstatat.c: Likewise.
68089         * io/fxstatat64.c: Likewise.
68090         * io/getcwd.c: Likewise.
68091         * io/isatty.c: Likewise.
68092         * io/lchmod.c: Likewise.
68093         * io/lchown.c: Likewise.
68094         * io/link.c: Likewise.
68095         * io/linkat.c: Likewise.
68096         * io/lseek.c: Likewise.
68097         * io/lseek64.c: Likewise.
68098         * io/lxstat64.c: Likewise.
68099         * io/mkdir.c: Likewise.
68100         * io/mkdirat.c: Likewise.
68101         * io/mkfifo.c: Likewise.
68102         * io/mkfifoat.c: Likewise.
68103         * io/open.c: Likewise.
68104         * io/open64.c: Likewise.
68105         * io/openat.c: Likewise.
68106         * io/openat64.c: Likewise.
68107         * io/pipe.c: Likewise.
68108         * io/pipe2.c: Likewise.
68109         * io/poll.c: Likewise.
68110         * io/posix_fadvise.c: Likewise.
68111         * io/posix_fadvise64.c: Likewise.
68112         * io/posix_fallocate.c: Likewise.
68113         * io/posix_fallocate64.c: Likewise.
68114         * io/read.c: Likewise.
68115         * io/readlink.c: Likewise.
68116         * io/readlinkat.c: Likewise.
68117         * io/rmdir.c: Likewise.
68118         * io/sendfile.c: Likewise.
68119         * io/sendfile64.c: Likewise.
68120         * io/statfs.c: Likewise.
68121         * io/statfs64.c: Likewise.
68122         * io/statvfs.c: Likewise.
68123         * io/statvfs64.c: Likewise.
68124         * io/symlink.c: Likewise.
68125         * io/symlinkat.c: Likewise.
68126         * io/ttyname.c: Likewise.
68127         * io/ttyname_r.c: Likewise.
68128         * io/umask.c: Likewise.
68129         * io/unlink.c: Likewise.
68130         * io/unlinkat.c: Likewise.
68131         * io/utime.c: Likewise.
68132         * io/utimensat.c: Likewise.
68133         * io/write.c: Likewise.
68134         * io/xmknod.c: Likewise.
68135         * io/xmknodat.c: Likewise.
68136         * io/xstat.c: Likewise.
68137         * io/xstat64.c: Likewise.
68138         * login/getpt.c: Likewise.
68139         * login/grantpt.c: Likewise.
68140         * login/unlockpt.c: Likewise.
68141         * math/e_acoshl.c: Likewise.
68142         * math/e_acosl.c: Likewise.
68143         * math/e_asinl.c: Likewise.
68144         * math/e_atan2l.c: Likewise.
68145         * math/e_atanhl.c: Likewise.
68146         * math/e_coshl.c: Likewise.
68147         * math/e_expl.c: Likewise.
68148         * math/e_fmodl.c: Likewise.
68149         * math/e_gammal_r.c: Likewise.
68150         * math/e_hypotl.c: Likewise.
68151         * math/e_j0l.c: Likewise.
68152         * math/e_j1l.c: Likewise.
68153         * math/e_jnl.c: Likewise.
68154         * math/e_lgammal_r.c: Likewise.
68155         * math/e_log10l.c: Likewise.
68156         * math/e_log2l.c: Likewise.
68157         * math/e_logl.c: Likewise.
68158         * math/e_powl.c: Likewise.
68159         * math/e_rem_pio2l.c: Likewise.
68160         * math/e_sinhl.c: Likewise.
68161         * math/e_sqrtl.c: Likewise.
68162         * math/fclrexcpt.c: Likewise.
68163         * math/fedisblxcpt.c: Likewise.
68164         * math/feenablxcpt.c: Likewise.
68165         * math/fegetenv.c: Likewise.
68166         * math/fegetexcept.c: Likewise.
68167         * math/fegetround.c: Likewise.
68168         * math/feholdexcpt.c: Likewise.
68169         * math/fesetenv.c: Likewise.
68170         * math/fesetround.c: Likewise.
68171         * math/feupdateenv.c: Likewise.
68172         * math/fgetexcptflg.c: Likewise.
68173         * math/fraiseexcpt.c: Likewise.
68174         * math/fsetexcptflg.c: Likewise.
68175         * math/ftestexcept.c: Likewise.
68176         * math/k_cosl.c: Likewise.
68177         * math/k_rem_pio2l.c: Likewise.
68178         * math/k_sinl.c: Likewise.
68179         * math/k_tanl.c: Likewise.
68180         * math/s_asinhl.c: Likewise.
68181         * math/s_atanl.c: Likewise.
68182         * math/s_cbrtl.c: Likewise.
68183         * math/s_erfl.c: Likewise.
68184         * math/s_expm1l.c: Likewise.
68185         * math/s_log1pl.c: Likewise.
68186         * math/s_tanhl.c: Likewise.
68187         * misc/acct.c: Likewise.
68188         * misc/brk.c: Likewise.
68189         * misc/chflags.c: Likewise.
68190         * misc/chroot.c: Likewise.
68191         * misc/fchflags.c: Likewise.
68192         * misc/fgetxattr.c: Likewise.
68193         * misc/flistxattr.c: Likewise.
68194         * misc/fremovexattr.c: Likewise.
68195         * misc/fsetxattr.c: Likewise.
68196         * misc/fsync.c: Likewise.
68197         * misc/ftruncate.c: Likewise.
68198         * misc/futimes.c: Likewise.
68199         * misc/futimesat.c: Likewise.
68200         * misc/getdomain.c: Likewise.
68201         * misc/getdtsz.c: Likewise.
68202         * misc/gethostid.c: Likewise.
68203         * misc/gethostname.c: Likewise.
68204         * misc/getloadavg.c: Likewise.
68205         * misc/getpagesize.c: Likewise.
68206         * misc/getsysstats.c: Likewise.
68207         * misc/getxattr.c: Likewise.
68208         * misc/gtty.c: Likewise.
68209         * misc/ioctl.c: Likewise.
68210         * misc/lgetxattr.c: Likewise.
68211         * misc/listxattr.c: Likewise.
68212         * misc/llistxattr.c: Likewise.
68213         * misc/lremovexattr.c: Likewise.
68214         * misc/lsetxattr.c: Likewise.
68215         * misc/lutimes.c: Likewise.
68216         * misc/madvise.c: Likewise.
68217         * misc/mincore.c: Likewise.
68218         * misc/mlock.c: Likewise.
68219         * misc/mlockall.c: Likewise.
68220         * misc/mmap.c: Likewise.
68221         * misc/mprotect.c: Likewise.
68222         * misc/msync.c: Likewise.
68223         * misc/munlock.c: Likewise.
68224         * misc/munlockall.c: Likewise.
68225         * misc/munmap.c: Likewise.
68226         * misc/preadv.c: Likewise.
68227         * misc/preadv64.c: Likewise.
68228         * misc/ptrace.c: Likewise.
68229         * misc/pwritev.c: Likewise.
68230         * misc/pwritev64.c: Likewise.
68231         * misc/readv.c: Likewise.
68232         * misc/reboot.c: Likewise.
68233         * misc/remap_file_pages.c: Likewise.
68234         * misc/removexattr.c: Likewise.
68235         * misc/revoke.c: Likewise.
68236         * misc/select.c: Likewise.
68237         * misc/setdomain.c: Likewise.
68238         * misc/setegid.c: Likewise.
68239         * misc/seteuid.c: Likewise.
68240         * misc/sethostid.c: Likewise.
68241         * misc/sethostname.c: Likewise.
68242         * misc/setregid.c: Likewise.
68243         * misc/setreuid.c: Likewise.
68244         * misc/setxattr.c: Likewise.
68245         * misc/sstk.c: Likewise.
68246         * misc/stty.c: Likewise.
68247         * misc/swapoff.c: Likewise.
68248         * misc/swapon.c: Likewise.
68249         * misc/sync.c: Likewise.
68250         * misc/syncfs.c: Likewise.
68251         * misc/syscall.c: Likewise.
68252         * misc/truncate.c: Likewise.
68253         * misc/ualarm.c: Likewise.
68254         * misc/usleep.c: Likewise.
68255         * misc/ustat.c: Likewise.
68256         * misc/utimes.c: Likewise.
68257         * misc/vhangup.c: Likewise.
68258         * misc/writev.c: Likewise.
68259         * posix/_exit.c: Likewise.
68260         * posix/alarm.c: Likewise.
68261         * posix/execve.c: Likewise.
68262         * posix/fexecve.c: Likewise.
68263         * posix/fork.c: Likewise.
68264         * posix/fpathconf.c: Likewise.
68265         * posix/getaddrinfo.c: Likewise.
68266         * posix/getegid.c: Likewise.
68267         * posix/geteuid.c: Likewise.
68268         * posix/getgid.c: Likewise.
68269         * posix/getgroups.c: Likewise.
68270         * posix/getlogin.c: Likewise.
68271         * posix/getlogin_r.c: Likewise.
68272         * posix/getpgid.c: Likewise.
68273         * posix/getpid.c: Likewise.
68274         * posix/getppid.c: Likewise.
68275         * posix/getresgid.c: Likewise.
68276         * posix/getresuid.c: Likewise.
68277         * posix/getsid.c: Likewise.
68278         * posix/getuid.c: Likewise.
68279         * posix/glob64.c: Likewise.
68280         * posix/nanosleep.c: Likewise.
68281         * posix/pathconf.c: Likewise.
68282         * posix/pause.c: Likewise.
68283         * posix/posix_madvise.c: Likewise.
68284         * posix/pread.c: Likewise.
68285         * posix/pread64.c: Likewise.
68286         * posix/pwrite.c: Likewise.
68287         * posix/pwrite64.c: Likewise.
68288         * posix/sched_getaffinity.c: Likewise.
68289         * posix/sched_getp.c: Likewise.
68290         * posix/sched_gets.c: Likewise.
68291         * posix/sched_primax.c: Likewise.
68292         * posix/sched_primin.c: Likewise.
68293         * posix/sched_rr_gi.c: Likewise.
68294         * posix/sched_setaffinity.c: Likewise.
68295         * posix/sched_setp.c: Likewise.
68296         * posix/sched_sets.c: Likewise.
68297         * posix/sched_yield.c: Likewise.
68298         * posix/setgid.c: Likewise.
68299         * posix/setlogin.c: Likewise.
68300         * posix/setpgid.c: Likewise.
68301         * posix/setresgid.c: Likewise.
68302         * posix/setresuid.c: Likewise.
68303         * posix/setsid.c: Likewise.
68304         * posix/setuid.c: Likewise.
68305         * posix/sleep.c: Likewise.
68306         * posix/spawni.c: Likewise.
68307         * posix/sysconf.c: Likewise.
68308         * posix/times.c: Likewise.
68309         * posix/wait.c: Likewise.
68310         * posix/wait3.c: Likewise.
68311         * posix/wait4.c: Likewise.
68312         * posix/waitpid.c: Likewise.
68313         * resolv/gai_sigqueue.c: Likewise.
68314         * resource/getpriority.c: Likewise.
68315         * resource/getrlimit.c: Likewise.
68316         * resource/getrusage.c: Likewise.
68317         * resource/nice.c: Likewise.
68318         * resource/setpriority.c: Likewise.
68319         * resource/setrlimit.c: Likewise.
68320         * resource/ulimit.c: Likewise.
68321         * rt/aio_cancel.c: Likewise.
68322         * rt/aio_fsync.c: Likewise.
68323         * rt/aio_read.c: Likewise.
68324         * rt/aio_sigqueue.c: Likewise.
68325         * rt/aio_suspend.c: Likewise.
68326         * rt/aio_write.c: Likewise.
68327         * rt/clock_getres.c: Likewise.
68328         * rt/clock_gettime.c: Likewise.
68329         * rt/clock_nanosleep.c: Likewise.
68330         * rt/clock_settime.c: Likewise.
68331         * rt/lio_listio.c: Likewise.
68332         * rt/mq_close.c: Likewise.
68333         * rt/mq_getattr.c: Likewise.
68334         * rt/mq_notify.c: Likewise.
68335         * rt/mq_open.c: Likewise.
68336         * rt/mq_receive.c: Likewise.
68337         * rt/mq_send.c: Likewise.
68338         * rt/mq_setattr.c: Likewise.
68339         * rt/mq_timedreceive.c: Likewise.
68340         * rt/mq_timedsend.c: Likewise.
68341         * rt/mq_unlink.c: Likewise.
68342         * rt/shm_open.c: Likewise.
68343         * rt/shm_unlink.c: Likewise.
68344         * rt/timer_create.c: Likewise.
68345         * rt/timer_delete.c: Likewise.
68346         * rt/timer_getoverr.c: Likewise.
68347         * rt/timer_gettime.c: Likewise.
68348         * rt/timer_settime.c: Likewise.
68349         * setjmp/__longjmp.c: Likewise.
68350         * setjmp/setjmp.c: Likewise.
68351         * signal/kill.c: Likewise.
68352         * signal/killpg.c: Likewise.
68353         * signal/raise.c: Likewise.
68354         * signal/sigaction.c: Likewise.
68355         * signal/sigaltstack.c: Likewise.
68356         * signal/sigblock.c: Likewise.
68357         * signal/sigignore.c: Likewise.
68358         * signal/sigintr.c: Likewise.
68359         * signal/signal.c: Likewise.
68360         * signal/sigpause.c: Likewise.
68361         * signal/sigpending.c: Likewise.
68362         * signal/sigqueue.c: Likewise.
68363         * signal/sigreturn.c: Likewise.
68364         * signal/sigset.c: Likewise.
68365         * signal/sigsetmask.c: Likewise.
68366         * signal/sigstack.c: Likewise.
68367         * signal/sigsuspend.c: Likewise.
68368         * signal/sigtimedwait.c: Likewise.
68369         * signal/sigvec.c: Likewise.
68370         * signal/sigwait.c: Likewise.
68371         * signal/sigwaitinfo.c: Likewise.
68372         * signal/sysv_signal.c: Likewise.
68373         * socket/accept.c: Likewise.
68374         * socket/accept4.c: Likewise.
68375         * socket/bind.c: Likewise.
68376         * socket/connect.c: Likewise.
68377         * socket/getpeername.c: Likewise.
68378         * socket/getsockname.c: Likewise.
68379         * socket/getsockopt.c: Likewise.
68380         * socket/isfdtype.c: Likewise.
68381         * socket/listen.c: Likewise.
68382         * socket/recv.c: Likewise.
68383         * socket/recvfrom.c: Likewise.
68384         * socket/recvmsg.c: Likewise.
68385         * socket/send.c: Likewise.
68386         * socket/sendmsg.c: Likewise.
68387         * socket/sendto.c: Likewise.
68388         * socket/setsockopt.c: Likewise.
68389         * socket/shutdown.c: Likewise.
68390         * socket/sockatmark.c: Likewise.
68391         * socket/socket.c: Likewise.
68392         * socket/socketpair.c: Likewise.
68393         * stdio-common/ctermid.c: Likewise.
68394         * stdio-common/cuserid.c: Likewise.
68395         * stdio-common/remove.c: Likewise.
68396         * stdio-common/rename.c: Likewise.
68397         * stdio-common/renameat.c: Likewise.
68398         * stdio-common/tempname.c: Likewise.
68399         * stdlib/getcontext.c: Likewise.
68400         * stdlib/makecontext.c: Likewise.
68401         * stdlib/setcontext.c: Likewise.
68402         * stdlib/swapcontext.c: Likewise.
68403         * stdlib/system.c: Likewise.
68404         * streams/fattach.c: Likewise.
68405         * streams/fdetach.c: Likewise.
68406         * streams/getmsg.c: Likewise.
68407         * streams/getpmsg.c: Likewise.
68408         * streams/putmsg.c: Likewise.
68409         * streams/putpmsg.c: Likewise.
68410         * sysdeps/unix/bsd/getpt.c: Likewise.
68411         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
68412         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
68413         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
68414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
68415         Likewise.
68416         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
68417         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
68418         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
68419         * sysvipc/msgctl.c: Likewise.
68420         * sysvipc/msgget.c: Likewise.
68421         * sysvipc/msgrcv.c: Likewise.
68422         * sysvipc/msgsnd.c: Likewise.
68423         * sysvipc/semctl.c: Likewise.
68424         * sysvipc/semget.c: Likewise.
68425         * sysvipc/semop.c: Likewise.
68426         * sysvipc/semtimedop.c: Likewise.
68427         * sysvipc/shmat.c: Likewise.
68428         * sysvipc/shmctl.c: Likewise.
68429         * sysvipc/shmdt.c: Likewise.
68430         * sysvipc/shmget.c: Likewise.
68431         * termios/tcdrain.c: Likewise.
68432         * termios/tcflow.c: Likewise.
68433         * termios/tcflush.c: Likewise.
68434         * termios/tcgetattr.c: Likewise.
68435         * termios/tcgetpgrp.c: Likewise.
68436         * termios/tcsendbrk.c: Likewise.
68437         * termios/tcsetattr.c: Likewise.
68438         * termios/tcsetpgrp.c: Likewise.
68439         * time/adjtime.c: Likewise.
68440         * time/clock.c: Likewise.
68441         * time/getitimer.c: Likewise.
68442         * time/gettimeofday.c: Likewise.
68443         * time/setitimer.c: Likewise.
68444         * time/settimeofday.c: Likewise.
68445         * time/stime.c: Likewise.
68446         * time/time.c: Likewise.
68448 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
68450         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
68451         /usr/old/bin.
68453         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
68454         instead of spaces.
68455         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
68457 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
68459         [BZ #14796]
68460         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
68461         FE_TONEAREST before applying Dekker multiplication and Knuth
68462         addition.  Clear inexact exceptions and check for exact zero
68463         results afterwards.
68464         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68465         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
68466         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68467         * math/libm-test.inc (fma_test): Add more tests.
68468         (fma_test_towardzero): Likewise.
68469         (fma_test_downward): Likewise.
68470         (fma_test_upward): Likewise.
68471         * sysdeps/generic/math_private.h (default_libc_fesetround): New
68472         function.
68473         (libc_fesetround): New macro.
68474         (libc_fesetroundf): Likewise.
68475         (libc_fesetroundl): Likewise.
68476         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
68477         function.
68478         (libc_fesetround_387): Likewise.
68479         (libc_fesetroundf): New macro.
68480         (libc_fesetround): Likewise.
68481         (libc_fesetroundl): Likewise.
68482         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
68483         function.
68484         (libc_fesetroundf): New macro.
68485         (libc_fesetround): Likewise.
68486         (libc_fesetroundl): Likewise.
68487         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
68488         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
68489         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
68490         libm_hidden_ver.
68491         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
68492         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
68493         libm_hidden_def.
68494         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
68495         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
68496         libm_hidden_ver.
68497         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
68498         libm_hidden_def.
68500         [BZ #3439]
68501         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
68502         integer constant usable in #if and use that to give value to enum
68503         constant.
68504         (FE_DIVBYZERO): Likewise.
68505         (FE_UNDERFLOW): Likewise.
68506         (FE_OVERFLOW): Likewise.
68507         (FE_INVALID): Likewise.
68508         (FE_INVALID_SNAN): Likewise.
68509         (FE_INVALID_ISI): Likewise.
68510         (FE_INVALID_IDI): Likewise.
68511         (FE_INVALID_ZDZ): Likewise.
68512         (FE_INVALID_IMZ): Likewise.
68513         (FE_INVALID_COMPARE): Likewise.
68514         (FE_INVALID_SOFTWARE): Likewise.
68515         (FE_INVALID_SQRT): Likewise.
68516         (FE_INVALID_INTEGER_CONVERSION): Likewise.
68517         (FE_TONEAREST): Likewise.
68518         (FE_TOWARDZERO): Likewise.
68519         (FE_UPWARD): Likewise.
68520         (FE_DOWNWARD): Likewise.
68521         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
68522         (FE_DIVBYZERO): Likewise.
68523         (FE_OVERFLOW): Likewise.
68524         (FE_UNDERFLOW): Likewise.
68525         (FE_INEXACT): Likewise.
68526         (FE_TONEAREST): Likewise.
68527         (FE_DOWNWARD): Likewise.
68528         (FE_UPWARD): Likewise.
68529         (FE_TOWARDZERO): Likewise.
68530         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
68531         (FE_UNDERFLOW): Likewise.
68532         (FE_OVERFLOW): Likewise.
68533         (FE_DIVBYZERO): Likewise.
68534         (FE_INVALID): Likewise.
68535         (FE_TONEAREST): Likewise.
68536         (FE_TOWARDZERO): Likewise.
68537         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
68538         (FE_OVERFLOW): Likewise.
68539         (FE_UNDERFLOW): Likewise.
68540         (FE_DIVBYZERO): Likewise.
68541         (FE_INEXACT): Likewise.
68542         (FE_TONEAREST): Likewise.
68543         (FE_TOWARDZERO): Likewise.
68544         (FE_UPWARD): Likewise.
68545         (FE_DOWNWARD): Likewise.
68546         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
68547         (FE_DIVBYZERO): Likewise.
68548         (FE_OVERFLOW): Likewise.
68549         (FE_UNDERFLOW): Likewise.
68550         (FE_INEXACT): Likewise.
68551         (FE_TONEAREST): Likewise.
68552         (FE_DOWNWARD): Likewise.
68553         (FE_UPWARD): Likewise.
68554         (FE_TOWARDZERO): Likewise.
68556 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
68558         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
68560 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
68562         * scripts/cross-test-ssh.sh (command): Use newlines to separate
68563         commands.  Quote $PWD.
68564         (blacklist_exports): Don't use remove_newlines.  Replace "declare
68565         -x" by "export".
68566         (remove_newlines): Remove.
68568 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
68570         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
68571         * stdlib/stdlib.h (atof): Moved to ...
68572         * include/bits/stdlib-float.h: Here.  New file.
68573         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
68574         * stdlib/bits/stdlib-float.h: New file.
68575         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
68576         -mno-sse -mno-mmx.
68577         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
68578         <xmmintrin.h>.
68580 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
68582         * conform/conformtest.pl (@headers): Add fenv.h.
68583         * conform/data/fenv.h-data: New file.
68584         * include/fenv.h [_ISOMAC]: Disable all contents of file except
68585         include of <math/fenv.h>.
68587         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
68588         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
68589         && !UNIX98].  Enables tests for XOPEN2K8.
68590         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
68591         POSIX2008]: Likewise.
68593         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
68594         (struct rusage): Do not expect type or its members.
68596         [BZ #3439]
68597         * math/math.h (FP_NAN): Define macro to integer constant usable in
68598         #if and use that to give value to enum constant.
68599         (FP_INFINITE): Likewise.
68600         (FP_ZERO): Likewise.
68601         (FP_SUBNORMAL): Likewise.
68602         (FP_NORMAL): Likewise.
68604 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
68606         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
68607         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
68608         arguments.
68610 2012-11-02  Roland McGrath  <roland@hack.frob.com>
68612         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
68613         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
68614         autoconf-time if not.
68615         * configure.in: Remove AC_PREREQ.
68617 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68619         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
68620         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
68621         of the internal implementation.
68623 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
68625         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
68626         except include of <misc/sys/syslog.h>.
68628 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
68630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
68631         function returns with a NULL context exit with zero.
68633 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68635         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
68637 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
68639         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
68640         (run_program_cmd): This.
68641         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
68642         (tst_langinfo): New variable.  Use it.
68644 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
68646         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
68647         floating point opcodes.
68649 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
68651         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
68652         variable.
68654         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
68656         * sysdeps/mach/hurd/powerpc: Remove directory.
68657         * sysdeps/mach/powerpc: Likewise.
68659 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
68661         * scripts/check-local-headers.sh: Ignore c++ headers.
68663 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
68665         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
68666         __libc_cleanup_region_start argument.
68668 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
68670         [BZ #14784]
68671         [BZ #14785]
68672         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
68673         x * y using scaling, not as x * y + z.
68674         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68675         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68676         * math/libm-test.inc (fma_test): Add more tests.
68677         (fma_test_towardzero): Likewise.
68678         (fma_test_downward): Likewise.
68679         (fma_test_upward): Likewise.
68681 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
68683         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
68685 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
68687         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
68688         New variable.
68690 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
68692         * rt/tst-shm.c (worker): Correct checking for mmap failure.
68694 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
68696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68697         Fix sort order.
68698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68699         Likewise.
68701 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68704         Fix the order of the list for glibc 2.17.
68705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68706         Likewise.
68708 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
68710         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68712 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
68714         [BZ #14610]
68715         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
68716         for low part of x being zero before using __atanl (y).
68717         * math/libm-test.inc (atan2_test): Add another test.
68719         * manual/install.texi (Configuring and compiling): Document
68720         general use of test-wrapper and test-wrapper-env.
68721         * INSTALL: Regenerated.
68723         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
68724         (__fma): Do not extract and scale down low bits on after-rounding
68725         systems when result rounded to normal precision would have normal
68726         exponent.
68727         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
68728         (__fmal): Do not extract and scale down low bits on after-rounding
68729         systems when result rounded to normal precision would have normal
68730         exponent.
68731         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
68732         (__fmal): Do not extract and scale down low bits on after-rounding
68733         systems when result rounded to normal precision would have normal
68734         exponent.
68735         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
68736         macro.
68737         (fma_test): Add more tests.
68738         (fma_test_towardzero): Likewise.
68739         (fma_test_downward): Likewise.
68740         (fma_test_upward): Likewise.
68742 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
68744         * sysdeps/i386/tininess.h: Renamed to ...
68745         * sysdeps/x86/tininess.h: This.
68746         * sysdeps/x86_64/tininess.h: Removed.
68748 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
68750         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
68751         input.  Use $(build-program-cmd).
68752         ($(objpfx)tst-array1-static.out): Likewise.
68753         ($(objpfx)tst-array2.out): Likewise.
68754         ($(objpfx)tst-array3.out): Likewise.
68755         ($(objpfx)tst-array4.out): Likewise.
68756         ($(objpfx)tst-array5.out): Likewise.
68757         ($(objpfx)tst-array5-static.out): Likewise.
68759 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
68761         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
68762         if defined.
68764         * nss/nsswitch.h (nss_interface_function): Provide new
68765         macro for use with NSS functions.
68766         * grp/initgroups.c: Use new macro.
68767         * nss/getXXbyYY.c: Likewise.
68768         * nss/getXXbyYY_r.c: Likewise.
68769         * nss/getXXent.c: Likewise.
68770         * nss/getXXent_r.c: Likewise.
68771         * sysdeps/posix/getaddrinfo.c: Likewise.
68773 2012-10-30  Andreas Jaeger  <aj@suse.de>
68775         * po/ru.po: Update Russion translation from translation project.
68777 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
68779         [BZ #14152]
68780         [BZ #14783]
68781         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
68782         result and shift together with sticky bit instead of replicating
68783         round-to-nearest rounding.
68784         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68785         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68786         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
68787         missing underflow exceptions.
68788         (fma_test_towardzero): Add more tests.
68789         (fma_test_downward): Likewise.
68790         (fma_test_upward): Likewise.
68792         [BZ #14047]
68793         * sysdeps/generic/tininess.h: New file.
68794         * sysdeps/i386/tininess.h: Likewise.
68795         * sysdeps/sh/tininess.h: Likewise.
68796         * sysdeps/x86_64/tininess.h: Likewise.
68797         * stdlib/tst-strtod-underflow.c: Likewise.
68798         * stdlib/tst-tininess.c: Likewise.
68799         * stdlib/strtod_l.c: Include <tininess.h>.
68800         (round_and_return): Do not set errno for exact underflow cases.
68801         Force an underflow exception when setting errno for underflow.
68802         Determine underflow based on rounding to normal precision if
68803         TININESS_AFTER_ROUNDING.
68804         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
68805         ERANGE for exact underflow cases.
68806         * stdlib/Makefile (tests): Add tst-tininess and
68807         tst-strtod-underflow.
68808         ($(objpfx)tst-tininess): Use $(link-libm).
68809         ($(objpfx)tst-strtod-underflow): Likewise.
68811 2012-10-30  Andreas Jaeger  <aj@suse.de>
68813         [BZ #14767]
68814         * elf/Makefile (tests): Remove conditional for have-initfini-array
68815         since this is now always required and the variable does not exist
68816         anymore.
68817         (tests-static): Likewise.
68818         (modules-names): Likewise.
68820         * po/eo.po: Add Esperanto translation from translation project.
68822         * elf/tst-array1.c (fini_array): Make writeable so that it can be
68823         merged with constructor/destructor.
68824         (init_array): Likewise.
68825         * elf/tst-array2dep.c (fini_array): Likewise.
68826         (init_array): Likewise.
68828 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
68830         * manual/message.texi: Delete @cartouche tags.
68832 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
68834         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
68835         EOPNOTSUPP.
68836         * sysdeps/mach/hurd/fsync.c: Likewise.
68838         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
68839         [_POSIX_REALTIME_SIGNALS]: Change condition to
68840         [_POSIX_REALTIME_SIGNALS > 0].
68842 2012-10-27  Andreas Jaeger  <aj@suse.de>
68844         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
68845         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
68846         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
68847         [__WORDSIZE != 64]: Likewise.
68849 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
68851         *  iconvdata/tst-table.sh: Remove ${SHELL}.
68852         *  iconvdata/tst-tables.sh: Likewise.
68854 2012-10-25  David S. Miller  <davem@davemloft.net>
68856         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68857         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
68858         of strtoull.
68860         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
68861         ifunc-impl-list.c
68862         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
68863         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
68864         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
68865         file.
68867 2012-10-25  Roland McGrath  <roland@hack.frob.com>
68869         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68870         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
68871         __getdirentries.
68873 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
68874             Jim Blandy  <jimb@codesourcery.com>
68876         * scripts/cross-test-ssh.sh: New file.
68877         * manual/install.texi (Configuring and compiling): Document use of
68878         cross-test-ssh.sh.
68879         * INSTALL: Regenerated.
68881 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
68883         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
68884         EOPNOTSUPP.
68886 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
68888         * Makeconfig (run-program-prefix): Fix comment.
68890 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
68891             Jim Blandy  <jimb@codesourcery.com>
68893         * Makeconfig (test-wrapper): New variable,
68894         (test-wrapper-env): Likewise.
68895         [$(cross-compiling) = yes && $(test-wrapper) != ""]
68896         (run-built-tests): Define to yes.
68897         (run-program-prefix): Use $(test-wrapper).
68898         (built-program-cmd): Likewise.
68899         * Rules (make-test-out): Use $(test-wrapper-env) and
68900         $(host-built-program-cmd).
68901         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
68902         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
68903         tst-pathopt.sh.
68904         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
68905         $(test-wrapper-env) to tst-rtld-load-self.sh.
68906         ($(objpfx)order2.out): Use $(test-wrapper).
68907         ($(objpfx)tst-initorder.out): Likewise.
68908         ($(objpfx)tst-initorder2.out): Likewise.
68909         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
68910         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
68911         (test_wrapper_env): New variable.  Use it to run ld.so.
68912         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
68913         Use it to run ld.so.
68914         (test_wrapper_env): Likewise.
68915         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
68916         $(test-wrapper) to run-iconv-test.sh.
68917         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
68918         (ICONV): Use $test_wrapper.
68919         * posix/Makefile ($(objpfx)globtest.out): Pass
68920         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
68921         globtest.sh, not $(run-program-prefix).
68922         * posix/globtest.sh (run_via_rtld_prefix): New variable.
68923         (test_wrapper): Likewise.
68924         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
68925         set together with run_via_rtld_prefix.
68926         (run_program_prefix): Define in terms of test_wrapper and
68927         run_via_rtld_prefix.
68929 2012-10-24  Roland McGrath  <roland@hack.frob.com>
68931         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
68932         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
68933         Targets removed.
68935         [BZ #14743]
68936         * include/time.h: Remove librt_hidden_proto (clock_gettime).
68937         Declare __clock_getres, __clock_gettime, __clock_settime,
68938         __clock_nanosleep, and __clock_getcpuclockid.
68939         * rt/clock_gettime.c: Define __clock_gettime as an alias.
68940         Remove librt_hidden_def (clock_gettime).
68941         * sysdeps/unix/clock_gettime.c: Likewise.
68942         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
68943         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
68944         * rt/clock_getres.c: Define __clock_getres as an alias.
68945         * sysdeps/posix/clock_getres.c: Likewise.
68946         * rt/clock_settime.c: Define __clock_settime as an alias.
68947         * sysdeps/unix/clock_settime.c: Likewise.
68948         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
68949         * sysdeps/unix/clock_nanosleep.c: Likewise.
68950         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
68951         * rt/clock-compat.c: New file.
68952         * rt/Makefile (librt-routines): Add clock-compat and move
68953         $(clock-routines) to ...
68954         (routines): ... here, new variable.
68955         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
68956         Don't add get_clockfreq here.
68957         * rt/Versions (libc: GLIBC_2.17): New version set.
68958         Add clock_* symbols here.
68959         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
68960         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
68961         (GLIBC_2.17): Add clock_* symbols.
68962         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
68963         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
68964         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
68965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68966         Likewise.
68967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68968         Likewise.
68969         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
68970         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
68971         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
68972         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
68973         * NEWS: Mention the move.
68975         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
68976         Use __open, __read, __close rather than their public counterparts.
68977         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68978         (__get_clockfreq_via_cpuinfo): Likewise.
68979         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
68980         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
68982         * config.h.in (HAVE_IFUNC): New #undef.
68983         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
68984         was successful.
68985         * configure: Regenerated.
68987 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
68989         * configure.in: Move READELF check to start of file.
68990         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
68991         libc_cv_asm_gnu_indirect_function in the process.
68992         * configure: Regenerated.
68994 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
68996         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
68997         send the output to /dev/null.
68998         (libc_cv_cc_with_libunwind): Likewise.
68999         (libc_cv_as_noexecstack): Likewise.
69000         * configure: Regenerate.
69002 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
69004         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
69006         * posix/globtest.sh (TMPDIR): Do not set.
69007         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
69008         (testout): Likewise.
69010 2012-10-24  Andreas Jaeger  <aj@suse.de>
69012         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
69013         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
69014         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
69015         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
69016         posix_fadvise64, posix_fallocate64.
69018         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
69019         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
69020         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
69021         Likewise.
69022         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
69023         Likewise.
69024         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
69026         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
69027         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
69028         <bits/fcntl-linux.h>.
69029         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
69031         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
69032         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
69033         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
69034         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
69035         [__WORDSIZE != 64]: Likewise.
69037 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
69039         * Makeconfig (run-built-tests): New variable.
69040         * Rules [$(cross-compiling) = yes]: Change condition to
69041         [$(run-built-tests) = no].
69042         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
69043         to [$(run-built-tests) = yes].
69044         * elf/Makefile [$(cross-compiling) = no]: Likewise.
69045         * grp/Makefile [$(cross-compiling) = no]: Likewise.
69046         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
69047         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
69048         * intl/Makefile [$(cross-compiling) = no]: Likewise.
69049         * io/Makefile [$(cross-compiling) = no]: Likewise.
69050         * libio/Makefile [$(cross-compiling) = no]: Likewise.
69051         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
69052         * misc/Makefile [$(cross-compiling) = no]: Likewise.
69053         * posix/Makefile [$(cross-compiling) = no]: Likewise.
69054         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
69055         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
69056         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
69057         * string/Makefile [$(cross-compiling) = no]: Likewise.
69059         * posix/Makefile ($(objpfx)globtest.out): Pass
69060         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
69061         $(rtld-installed-name).
69062         * posix/globtest.sh (elf_objpfx): Remove variable.
69063         (rtld_installed_name): Likewise.
69064         (library_path): Likewise.
69065         (run_program_prefix): New variable.  Use for running globtest
69066         binary.
69068 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
69069             Joseph Myers  <joseph@codesourcery.com>
69071         * Makeconfig (host-built-program-cmd): New variable.
69072         * elf/Makefile (tst-stackguard1-ARGS): Use
69073         $(host-built-program-cmd).
69074         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
69075         (tst-spawn-ARGS): Likewise.
69076         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
69078 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
69079             Jim Blandy  <jimb@codesourcery.com>
69081         * Makeconfig (run-via-rtld-prefix): New variable.
69082         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
69083         (built-program-cmd): Likewise.
69085 2012-10-22  Andreas Jaeger  <aj@suse.de>
69087         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
69088         __O_RSYNC if it exists, otherwise to O_SYNC.
69090 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
69091             Joseph Myers  <joseph@codesourcery.com>
69093         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
69094         /dev/null.
69095         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
69096         from /dev/null
69097         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
69098         /dev/null.
69100 2012-10-22  Andreas Jaeger  <aj@suse.de>
69102         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
69103         Define always.
69104         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
69106         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69107         bits/fcntl-linux.h.
69109         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
69110         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
69112         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
69113         to __O_LARGEFILE.
69114         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
69115         to __O_LARGEFILE.
69117 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
69118             Joseph Myers  <joseph@codesourcery.com>
69120         * config.make.in (NM): New variable.
69122 2012-10-21  Andreas Jaeger  <aj@suse.de>
69124         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
69125         definitions and declarations that are provided by
69126         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
69128 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
69130         [BZ #14683]
69131         * elf/Makefile (tests-static): Add tst-leaks1-static.
69132         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
69133         ($(objpfx)tst-leaks1-static): New rule.
69134         ($(objpfx)tst-leaks1-static-mem): Likewise.
69135         (tst-leaks1-static-ENV): New macro.
69136         * elf/dl-open.c (dl_open_worker): Check the main application
69137         only if SHARED is defined.
69138         * elf/tst-leaks1-static.c: New file.
69140 2012-10-20  Andreas Jaeger  <aj@suse.de>
69142         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
69143         generic values for Linux.
69144         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
69145         and declarations that are provided by <bits/fcntl-linux.h> and
69146         include <bits/fcntl-linux.h>.
69147         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
69148         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
69150 2012-10-20  Roland McGrath  <roland@hack.frob.com>
69152         * io/fcntl.h: Move include of <bits/types.h> to the top and
69153         include it unconditionally.
69155 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
69157         * wcsmbs/Makefile (tests-ifunc): New variable.
69158         (tests): Add $(tests-ifunc).
69159         * wcsmbs/test-wcschr-ifunc.c: New file.
69160         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
69161         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
69162         * wcsmbs/test-wcslen-ifunc.c: Likewise.
69163         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
69164         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
69166         * string/Makefile (tests-ifunc): New variable.
69167         (tests): Add $(tests-ifunc).
69168         * string/test-memccpy.c (TEST_NAME): New macro.
69169         * string/test-memchr.c (TEST_NAME): Likewise.
69170         * string/test-memcmp.c (TEST_NAME): Likewise.
69171         * string/test-memcpy.c (TEST_NAME): Likewise.
69172         * string/test-memmem.c (TEST_NAME): Likewise.
69173         * string/test-memmove.c (TEST_NAME): Likewise.
69174         * string/test-memset.c (TEST_NAME): Likewise.
69175         * string/test-rawmemchr.c (TEST_NAME): Likewise.
69176         * string/test-stpcpy.c (TEST_NAME): Likewise.
69177         * string/test-stpncpy.c (TEST_NAME): Likewise.
69178         * string/test-strcasecmp.c (TEST_NAME): Likewise.
69179         * string/test-strcasestr.c (TEST_NAME): Likewise.
69180         * string/test-strcat.c (TEST_NAME): Likewise.
69181         * string/test-strchr.c (TEST_NAME): Likewise.
69182         * string/test-strcmp.c(TEST_NAME): Likewise.
69183         * string/test-strcpy.c (TEST_NAME): Likewise.
69184         * string/test-strcspn.c (TEST_NAME): Likewise.
69185         * string/test-strlen.c (TEST_NAME): Likewise.
69186         * string/test-strncasecmp.c (TEST_NAME): Likewise.
69187         * string/test-strncmp.c (TEST_NAME): Likewise.
69188         * string/test-strncpy.c (TEST_NAME): Likewise.
69189         * string/test-strnlen.c (TEST_NAME): Likewise.
69190         * string/test-strpbrk.c (TEST_NAME): Likewise.
69191         * string/test-strrchr.c (TEST_NAME): Likewise.
69192         * string/test-strspn.c (TEST_NAME): Likewise.
69193         * string/test-strstr.c (TEST_NAME): Likewise.
69194         * string/test-bcopy-ifunc.c: New file.
69195         * string/test-bzero-ifunc.c: Likewise.
69196         * string/test-memccpy-ifunc.c: Likewise.
69197         * string/test-memchr-ifunc.c: Likewise.
69198         * string/test-memcmp-ifunc.c: Likewise.
69199         * string/test-memcpy-ifunc.c: Likewise.
69200         * string/test-memmem-ifunc.c: Likewise.
69201         * string/test-memmove-ifunc.c: Likewise.
69202         * string/test-mempcpy-ifunc.c: Likewise.
69203         * string/test-memset-ifunc.c: Likewise.
69204         * string/test-rawmemchr-ifunc.c: Likewise.
69205         * string/test-stpcpy-ifunc.c: Likewise.
69206         * string/test-stpncpy-ifunc.c: Likewise.
69207         * string/test-strcasecmp-ifunc.c: Likewise.
69208         * string/test-strcasestr-ifunc.c: Likewise.
69209         * string/test-strcat-ifunc.c: Likewise.
69210         * string/test-strchr-ifunc.c: Likewise.
69211         * string/test-strchrnul-ifunc.c: Likewise.
69212         * string/test-strcmp-ifunc.c: Likewise.
69213         * string/test-strcpy-ifunc.c: Likewise.
69214         * string/test-strcspn-ifunc.c: Likewise.
69215         * string/test-strlen-ifunc.c: Likewise.
69216         * string/test-strncasecmp-ifunc.c: Likewise.
69217         * string/test-strncat-ifunc.c: Likewise.
69218         * string/test-strncmp-ifunc.c: Likewise.
69219         * string/test-strncpy-ifunc.c: Likewise.
69220         * string/test-strnlen-ifunc.c: Likewise.
69221         * string/test-strpbrk-ifunc.c: Likewise.
69222         * string/test-strrchr-ifunc.c: Likewise.
69223         * string/test-strspn-ifunc.c: Likewise.
69224         * string/test-strstr-ifunc.c: Likewise.
69226         * debug/Makefile (tests-ifunc): New variable.
69227         (tests): Add $(tests-ifunc).
69228         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
69229         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
69230         * debug/test-stpcpy_chk-ifunc.c: New file.
69231         * debug/test-strcpy_chk-ifunc.c: Likewise.
69233 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
69235         [BZ #13601]
69236         * elf/dl-load.c (open_verify): Retry read if the entire ELF
69237         header is not read in.
69239 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
69241         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
69242         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
69243         directly.  Pass built executable to script as
69244         $(built-program-cmd).
69245         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
69246         $testprogram without using LD_LIBRARY_PATH and $ldso.
69248         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
69249         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
69250         $(rtld-installed-name).
69251         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
69252         (rtld_installed_name): Likewise.
69253         (library_path): Likewise.
69254         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
69255         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
69256         $(run-program-prefix) to tst-tables.sh.
69257         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
69258         it to run tst-table-from and tst-table-to.
69259         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
69260         Pass it to tst-table.sh.
69261         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
69262         $(run-program-prefix) to tst-gettext.sh.
69263         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
69264         tst-translit.sh.
69265         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
69266         tst-gettext2.sh.
69267         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
69268         to run tst-gettext.
69269         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
69270         to run tst-gettext2.
69271         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
69272         to run tst-translit.
69273         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
69274         $(run-program-prefix) to tst-mtrace.sh.
69275         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
69276         to run tst-mtrace.
69277         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
69278         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
69279         $(rtld-installed-name).
69280         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
69281         (rtld_installed_name): Likewise.
69282         (run_program_prefix): New variable.  Use it to run wordexp-test.
69284         * Makeconfig (ARCH): Remove all definitions.
69285         (machine): Likewise.
69286         [ARCH]: Remove conditional code.
69287         [!objdir]: Give error.
69288         [!objdir] (objpfx): Remove.
69289         [!objdir] (common-objpfx): Likewise.
69290         [!objdir] (common-objdir): Likewise.
69291         * configure.in (config_makefile): Remove.  Hardcode Makefile in
69292         AC_CONFIG_FILES call.
69293         * configure: Regenerated.
69295         [BZ #13888]
69296         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
69297         or TMPDIR.
69298         (testout): Likewise.
69300         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
69301         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
69302         $(rtld-installed-name).
69303         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
69304         (rtld_installed_name): Likewise.
69305         (runit): Remove function.
69306         (run_getconf): New variable,  Use it for running getconf binary.
69308 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
69310         [BZ #14716]
69311         * string/test-memmem.c (check_result): New function.
69312         (do_one_test): Use it.
69313         (check1): New function.
69314         (test_main): Use it.
69316 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
69318         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
69320 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
69322         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
69323         (_G_LSEEK64): Likewise.
69324         (_G_MMAP64): Likewise.
69325         (_G_FSTAT64): Likewise.
69326         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
69327         (_G_LSEEK64): Likewise.
69328         (_G_MMAP64): Likewise.
69329         (_G_FSTAT64): Likewise.
69330         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
69331         unconditional.  Call __mmap64 directly.
69332         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
69333         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
69334         __lseek64 directly.
69335         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
69336         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
69337         __mmap64 directly.
69338         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
69339         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
69340         __lseek64 directly.
69341         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
69342         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
69343         __lseek64 directly.
69344         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
69345         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
69346         __lseek64 directly.
69347         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
69348         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
69349         __fxstat64 directly.
69350         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
69351         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
69352         unconditional.
69353         (freopen64) [!_G_OPEN64]: Remove conditional code.
69354         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
69355         unconditional.
69356         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
69357         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
69358         unconditional.
69359         (ftello64) [!_G_LSEEK64]: Remove conditional code.
69360         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
69361         unconditional.
69362         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
69363         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
69364         unconditional.
69365         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
69366         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
69367         unconditional.
69368         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
69369         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
69370         unconditional.
69371         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
69372         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
69373         unconditional.
69374         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
69376 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
69378         [BZ #12140]
69379         * manual/memory.texi (Malloc Tunable Parameters): Add note
69380         about free list pointers overwriting some perturb bytes.
69381         Wording suggested by Roland McGrath.
69383 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
69385         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
69386         (lgamma_test): Likewise.
69387         (tgamma_test): Likewise.
69389 2012-10-16  Florian Weimer  <fweimer@redhat.com>
69391         [BZ #14700]
69392         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
69393         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
69395 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
69397         * NEWS: Mention BZ #14716.
69398         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
69399         when removing AVAILABLE1_USES_J macro.
69401 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
69403         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
69404         (__bswap_64): __uint64_t for unsigned 64-bit int.
69406 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
69408         * include/string.h (memmem): Declare libc hidden alias.
69409         * string/memmem.c (memmem): Define libc hidden alias.
69410         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
69411         __read, __close instead of open, read, close.
69413 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
69415         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
69416         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
69417         global and hidden.
69418         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
69419         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
69420         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
69421         Likewise.
69422         (__rawmemchr_sse2): Likewise.
69423         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
69424         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
69425         (__strchr_sse2): Likewise.
69426         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
69427         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
69428         (__strcasecmp_sse2): Likewise.
69429         (__strncasecmp_sse2): Likewise.
69430         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
69431         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
69432         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
69433         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
69434         (__strrchr_sse2): Likewise.
69435         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
69436         ifunc-impl-list.c.
69437         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
69438         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
69439         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
69440         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
69441         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
69442         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
69443         * sysdeps/x86_64/multiarch/memset.S: Likewise.
69444         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
69445         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
69446         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
69447         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
69448         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
69449         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
69450         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
69451         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
69452         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
69453         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
69454         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
69455         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
69456         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
69457         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
69458         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
69459         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
69460         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
69461         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
69462         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
69463         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
69464         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
69465         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
69466         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
69468         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
69469         global and hidden.
69470         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
69471         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
69472         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
69473         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
69474         Likewise.
69475         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
69476         Likewise.
69477         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
69478         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
69479         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
69480         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
69481         ifunc-impl-list.c.
69482         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
69483         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
69484         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
69485         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
69486         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
69487         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
69488         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
69489         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
69490         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
69491         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
69492         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
69493         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
69494         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
69495         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
69496         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
69497         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
69498         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
69499         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
69500         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
69501         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
69502         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
69503         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
69504         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
69505         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
69506         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
69507         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
69508         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
69509         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
69510         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
69511         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
69512         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
69513         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
69514         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
69515         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
69516         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
69517         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
69518         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
69519         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
69520         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
69521         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
69522         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
69524         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
69525         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
69526         * include/ifunc-impl-list.h: New file.
69527         * misc/ifunc-impl-list.c: Likewise.
69528         * misc/Makefile (routines): Add ifunc-impl-list.
69529         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
69530         * string/test-string.h: Include <ifunc-impl-list.h>.
69531         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
69532         TEST_NAME]: New variables.
69533         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
69534         are defined.
69535         (test_init): Call __libc_ifunc_impl_list to initialize
69536         func_list if TEST_IFUNC and TEST_NAME are defined.
69538         * string/Makefile (strop-tests): Add bcopy and bzero.
69539         * string/test-bcopy.c: New file.
69540         * string/test-bzero.c: Likewise.
69541         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
69542         defined.
69543         * string/test-memset.c: Support bzero test if TEST_BZERO is
69544         defined.
69545         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
69546         __libc_memmove.
69547         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
69548         __libc_memset.
69549         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
69550         of memset.
69552 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
69554         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
69555         * configure: Regenerated.
69557         * Makeconfig (+link-static-before-libc): Don't include
69558         $(link-static-libc).
69560         * libio/libio.h (_IO_pos_t): Remove.
69562 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
69564         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
69565         McGrath.
69567 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
69569         * crypt/crypt-entry.c: Include fips-private.h.
69570         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
69571         * crypt/md5c-test.c (main): Tolerate disabled MD5.
69572         * sysdeps/unix/sysv/linux/fips-private.h: New file.
69573         * sysdeps/generic/fips-private.h: New file, dummy fallback.
69575 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
69577         * crypt/crypt-private.h: Include stdbool.h.
69578         (_ufc_setup_salt_r): Return bool.
69579         * crypt/crypt-entry.c: Include errno.h.
69580         (__crypt_r): Return NULL with EINVAL for bad salt.
69581         * crypt/crypt_util.c (bad_for_salt): New.
69582         (_ufc_setup_salt_r): Check that salt is long enough and within
69583         the specified alphabet.
69584         * crypt/badsalttest.c: New file.
69585         * crypt/Makefile (tests): Add it.
69586         ($(objpfx)badsalttest): New.
69588 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
69590         * NEWS: Add entry for BZ #14602.
69592 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
69594         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
69595         type-generic.
69596         * math/libm-test.inc: Update comment listing what functions and
69597         macros are tested.
69598         (isgreater_test): New function.
69599         (isgreaterequal_test): Likewise.
69600         (isless_test): Likewise.
69601         (islessequal_test): Likewise.
69602         (islessgreater_test): Likewise.
69603         (isunordered_test): Likewise.
69604         (main): Call the new functions.
69606 2012-10-09  Roland McGrath  <roland@hack.frob.com>
69608         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
69609         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
69610         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
69611         * sysdeps/i386/configure: Regenerated.
69612         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
69613         * sysdeps/mach/configure: Regenerated.
69614         * sysdeps/mach/hurd/configure: Regenerated.
69615         * sysdeps/powerpc/configure: Regenerated.
69616         * sysdeps/powerpc/powerpc32/configure: Regenerated.
69617         * sysdeps/powerpc/powerpc64/configure: Regenerated.
69618         * sysdeps/s390/s390-32/configure: Regenerated.
69619         * sysdeps/s390/s390-64/configure: Regenerated.
69620         * sysdeps/sh/configure: Regenerated.
69621         * sysdeps/sparc/configure: Regenerated.
69622         * sysdeps/unix/sysv/linux/configure: Regenerated.
69623         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
69624         * sysdeps/x86_64/configure: Regenerated.
69626         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
69627         defined.  Don't check if MAP is NULL.
69629 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
69631         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
69632         (_G_stat64): Likewise.
69633         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
69634         (_G_stat64): Likewise.
69635         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
69636         instead of struct _G_stat64.
69637         * libio/fileops.c (mmap_remap_check): Likewise.
69638         (decide_maybe_mmap): Likewise.
69639         (_IO_new_file_seekoff): Likewise.
69640         (_IO_file_stat): Likewise.
69641         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
69642         _G_off64_t.
69643         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
69644         instead of struct _G_stat64.
69645         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
69647 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
69649         [BZ #14602]
69650         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
69651         Replace with ...
69652         (CHECK_EOL): New macro.
69653         (two_way_short_needle): Check beginning of haystack for EOL.  Use
69654         CHECK_EOL.
69655         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
69656         Replace with CHECK_EOL.
69657         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
69658         Replace with CHECK_EOL.
69660 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
69662         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
69663         type-generic.
69664         * math/libm-test.inc: Update comment listing what functions and
69665         macros are tested.
69666         (finite_test): New function.
69667         (isinf_test): Likewise.
69668         (isnan_test): Likewise.
69669         (fpclassify_test): Test subnormal input.
69670         (isfinite_test): Likewise.
69671         (isnormal_test): Likewise.
69672         (main): Call the new functions.
69674 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
69676         [BZ #14660]
69677         * Makerules (%.dynsym): Force C locale when running
69678         $(OBJDUMP) --dynamic-syms.
69680 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
69682         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
69683         <stdint.h>.
69685 2012-10-06  David S. Miller  <davem@davemloft.net>
69687         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
69688         upper 32-bits of the length value in %o2 since we use branch-on-register
69689         tests which consider the entire 64-bit register.
69691 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
69693         * string/test-strstr.c (check2): Add a test for page boundary.
69695 2012-10-05  David S. Miller  <davem@davemloft.net>
69697         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
69698         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
69699         file.
69700         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
69701         sysdep_routines.
69702         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
69703         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
69704         and bzero when HWCAP_SPARC_CRYPTO is present.
69706 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
69708         [BZ #14602]
69709         * string/test-strstr.c (check2): New function.
69710         (test_main): Call check2.
69712         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
69713         and bug-strchr1.
69714         * string/bug-strcasestr1.c (do_test): Moved to ...
69715         * string/test-strcasestr.c (check1): Here.  New function.
69716         (do_one_test): Break out result checking code into ...
69717         (check_result): This.  New function.
69718         (do_one_test): Call check_result.
69719         (test_main): Call check1.
69720         * string/bug-strchr1.c (do_test): Moved to ...
69721         * string/test-strchr.c (check1): Here.  New function.
69722         (do_one_test): Break out result checking code into ...
69723         (check_result): This.  New function.
69724         (do_one_test): Call check_result.
69725         (test_main): Call check1.
69726         * string/bug-strstr1.c (main): Moved to ...
69727         * string/test-strstr.c (check1): Here.  New function.
69728         (do_one_test): Break out result checking code into ...
69729         (check_result): This.  New function.
69730         (do_one_test): Call check_result.
69731         (test_main): Call check1.
69732         * string/bug-strcasestr1.c: Removed.
69733         * string/bug-strchr1.c: Likewise.
69734         * string/bug-strstr1.c: Likewise.
69736         * elf/Makefile (dl-routines): Add hwcaps.
69737         * elf/dl-support.c (_dl_important_hwcaps): Removed.
69738         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
69739         (_dl_important_hwcaps): Moved to ...
69740         * elf/dl-hwcaps.c: Here.  New file.
69741         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
69743         [BZ #14557]
69744         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
69745         if IS_IN_rtld isn't defined.
69747         * elf/dl-support.c (_dl_sysinfo_map): New.
69748         Include "get-dynamic-info.h" and "setup-vdso.h".
69749         (_dl_non_dynamic_init): Call setup_vdso.
69750         * elf/dynamic-link.h: Don't include <assert.h>.
69751         (elf_get_dynamic_info): Moved to ...
69752         * elf/get-dynamic-info.h: Here.  New file.
69753         * elf/dynamic-link.h: Include "get-dynamic-info.h".
69754         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
69755         * elf/setup-vdso.h: Here.  New file.
69756         * elf/rtld.c: Include "setup-vdso.h".
69757         (dl_main): Call setup_vdso.
69759 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
69761         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
69762         creal in comment listing functions tested.  List finite, isinf,
69763         isnan, isless, islessequal, isgreater, isgreaterequal,
69764         islessgreater, isunordered, lgamma_r and pow10 as functions and
69765         macros not tested.  Mention which functions not tested are aliases
69766         for other functions.  Fix typo.  Note that signs of NaNs are not
69767         tested.
69769         * scripts/config.guess: Update from config.git.
69770         * scripts/config.sub: Likewise.
69772 2012-10-04  Roland McGrath  <roland@hack.frob.com>
69774         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
69775         * misc/madvise.c (madvise): Renamed to __madvise.
69776         Make madvise a weak alias.
69777         * include/sys/mman.h: Declare __madvise.
69778         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
69779         * sysdeps/unix/syscalls.list
69780         (madvise): Make __madvise the strong name, and madvise a weak alias.
69781         * sysdeps/unix/sysv/linux/syscalls.list
69782         (madvise, mmap): Remove redundant entries.
69783         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
69784         * malloc/malloc.c (mtrim): Likewise.
69785         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
69787 2012-10-03  Roland McGrath  <roland@hack.frob.com>
69789         * sysdeps/mach/hurd/dl-cache.c: File removed.
69790         * config.h.in (USE_LDCONFIG): New #undef.
69791         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
69792         * configure: Regenerated.
69793         * elf/Makefile (dl-routines): Add dl-cache only under
69794         [$(use-ldconfig) = yes].
69795         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
69796         cache on [USE_LDCONFIG].
69797         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
69798         [USE_LDCONFIG].
69799         * elf/rtld.c (dl_main): Likewise.
69801 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
69803         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
69804         _SC_LEVEL4_CACHE_LINESIZE.
69806 2012-10-03  Roland McGrath  <roland@hack.frob.com>
69808         * sysdeps/unix/bsd/confstr.h: File removed.
69810 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
69812         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
69813         sys/sdt-config.h.
69815 2012-10-02  Roland McGrath  <roland@hack.frob.com>
69817         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
69818         Make 'mapoff' field ElfW(Off) rather than off_t.
69820 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
69822         * nscd/Makefile: Remove nscd-cflags and all its users.
69823         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
69824         (CFLAGS-nonlib): Add compiler flags for nscd modules.
69826         [BZ #10631]
69827         * malloc.c (malloc_printerr): Clarify error message.
69829 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
69831         [BZ #14648]
69832         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69833         Set bit_FMA_Usable if FMA is supported.
69834         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
69835         macro.
69836         (bit_FMA4_Usable): Updated.
69837         (index_FMA_Usable): New macro.
69838         (CPUID_FMA): Likewise.
69839         (HAS_FMA): Defined with bit_FMA_Usable.
69841 2012-10-01  Roland McGrath  <roland@hack.frob.com>
69843         * bits/types.h (__swblk_t): Type removed.
69844         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
69845         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
69846         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69847         (__SWBLK_T_TYPE): Likewise.
69848         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
69849         (__SWBLK_T_TYPE): Likewise.
69850         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69851         (__SWBLK_T_TYPE): Likewise.
69852         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
69853         (__SWBLK_T_TYPE): Likewise.
69855 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
69856             Honza Horak <hhorak@redhat.com>
69858         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
69859         (xdr_mapname): Use YPMAXMAP as maxsize.
69860         (xdr_peername): Use YPMAXPEER as maxsize.
69861         (xdr_keydat): Use YPAXRECORD as maxsize.
69862         (xdr_valdat): Use YPMAXRECORD as maxsize.
69864 2012-10-01  Roland McGrath  <roland@hack.frob.com>
69866         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
69868         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
69869         * csu/init-first.c: ... here.
69870         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
69871         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
69872         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
69873         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
69874         * sysdeps/i386/init-first.c: File removed.
69875         * sysdeps/sh/init-first.c: File removed.
69877 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
69879         [BZ #14645]
69880         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
69881         if x * y might underflow to zero and z is zero.
69882         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69883         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69884         * math/libm-test.inc (min_subnorm_value): New variable.
69885         (fma_test): Add more tests.
69886         (fma_test_towardzero): Likewise.
69887         (fma_test_downward): Likewise.
69888         (fma_test_upward): Likewise.
69889         (initialize): Set min_subnorm_value.
69891 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
69893         [BZ #14638]
69894         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
69895         0 + 0.
69896         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
69897         mode for addition resulting in exact zero.
69898         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
69899         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
69900         exact 0 + 0.
69901         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
69902         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69903         * math/libm-test.inc (fma_test): Add more tests.
69904         (fma_test_towardzero): New function.
69905         (fma_test_downward): Likewise.
69906         (fma_test_upward): Likewise.
69907         (main): Call the new functions.
69909 2012-09-28  David S. Miller  <davem@davemloft.net>
69911         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
69913 2012-09-28  Roland McGrath  <roland@hack.frob.com>
69915         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
69916         instead of SIGALRM.
69918         * sysdeps/gnu/_G_config.h: Moved to ...
69919         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
69920         * sysdeps/mach/hurd/_G_config.h: Moved to ...
69921         * sysdeps/generic/_G_config.h: ... here.
69923         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
69925         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
69927         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
69928         Conditionalize target on [libnss_test1.so-version].
69930         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
69932         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
69933         (elfobjdir): Move out of conditionals.
69935         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
69936         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
69937         (__nss_lookup_function): Conditionalize label remove_from_tree on
69938         [!DO_STATIC_NSS || SHARED], matching its only use.
69940 2012-09-28  David S. Miller  <davem@davemloft.net>
69942         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
69943         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
69944         file.
69945         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
69946         sysdep_routines.
69947         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
69948         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
69949         when HWCAP_SPARC_CRYPTO is present.
69951 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
69953         * io/tst-mknodat.c: Create a FIFO instead of a socket.
69955 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
69957         [BZ #6530]
69958         * stdio-common/vfprintf.c (process_string_arg): Revert
69959         2000-07-22 change.
69961 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
69963         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
69964         for testcase.
69965         * stdio-common/tst-sprintf.c: Include <locale.h>
69966         (main): Test sprintf's handling of incomplete multibyte
69967         characters.
69969 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
69971         * elf/dl-runtime.c (VERSYMIDX): Removed.
69972         * elf/dl-version.c (VERSYMIDX): Likewise.
69973         * elf/do-rel.h (VERSYMIDX): Likewise.
69974         (VALIDX): Likewise.
69975         * elf/dynamic-link.h (VERSYMIDX): Likewise.
69976         * elf/rtld.c (VALIDX): Likewise.
69977         (ADDRIDX): Likewise.
69978         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
69979         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
69980         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
69981         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
69982         (VALIDX): Likewise.
69983         (ADDRIDX): Likewise.
69985 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
69987         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
69989 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
69991         [BZ #11438]
69992         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
69993         to global scope.
69994         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
69995         addresses are in the same scope as 192.0.2/24.
69996         * posix/gai.conf: Document new scope table defaults.
69998 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70000         [BZ #5298]
70001         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
70002         for ftell.  Compute offsets from write pointers instead.
70003         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
70005 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70007         [BZ #14543]
70008         * libio/Makefile (tests): New test case tst-fseek.
70009         * libio/tst-fseek.c: New test case to verify that fseek/ftell
70010         combination works in wide mode.
70011         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
70012         state when the external buffer state changes.
70014 2012-09-27  David S. Miller  <davem@davemloft.net>
70016         [BZ #14376]
70017         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
70018         pass reloc->r_addend in as the 'high' argument to
70019         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
70021         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70023 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
70025         * rt/tst-aio2.c: Include <pthread.h>.
70026         * rt/tst-aio3.c: Likewise.
70028 2012-09-27  Steve Ellcey  <sellcey@mips.com>
70030         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
70032 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
70034         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
70035         contents on [SHARED].
70037 2012-09-26  Marek Polacek  <polacek@redhat.com>
70039         [BZ #14530]
70040         [BZ #13741]
70041         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
70042         for C++ and GCC <4.3 as well as for non GCC compilers.
70044 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
70046         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70048 2012-09-25  Roland McGrath  <roland@hack.frob.com>
70050         * Makefile.in (all, install): Declare with .PHONY.
70051         Reported by Michael Hope <michael.hope@linaro.org>.
70053 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
70055         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
70056         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
70057         system header.
70058         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
70059         Likewise.
70060         (sydep_routines): Add the new and the internal functions.
70061         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
70062         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
70063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
70064         (GLIBC_2.17): Add the new function.
70065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
70066         (GLIBC_2.17): Likewise.
70067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
70068         (GLIBC_2.17): Likewise.
70069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
70070         (GLIBC_2.17): Likewise.
70071         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
70073 2012-09-25  Alan Modra  <amodra@gmail.com>
70075         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
70076         Add release barrier before setting once_control to say
70077         initialisation is done.  Add hints on lwarx.  Use macro in
70078         place of isync.
70079         (clear_once_control): Add release barrier.
70081 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
70083         [BZ #13629]
70084         * math/s_clog.c (__clog): Handle more values close to |z| = 1
70085         specially.
70086         * math/s_clog10.c (__clog10): Likewise.
70087         * math/s_clog10f.c (__clog10f): Likewise.
70088         * math/s_clog10l.c (__clog10l): Likewise.
70089         * math/s_clogf.c (__clogf): Likewise.
70090         * math/s_clogl.c (__clogl): Likewise.
70091         * math/Makefile (libm-calls): Add x2y2m1.
70092         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
70093         (__x2y2m1): Likewise.
70094         (__x2y2m1l): Likewise.
70095         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
70096         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
70097         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
70098         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
70099         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
70100         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
70101         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
70102         * sysdeps/i386/fpu/libm-test-ulps: Update.
70103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70105         [BZ #14621]
70106         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
70107         int as type of variable DEPTH.
70108         (glob): Use size_t instead of int as type of variables NEWCOUNT
70109         and OLD_PATHC.
70111 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70113         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
70114         Add s_sincosf-sse2.
70115         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
70116         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
70117         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
70118         macros for using routine as __sincosf_ia32.
70119         Use macro for function declaration and weak_alias.
70120         * sysdeps/i386/fpu/libm-test-ulps: Update.
70122         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
70123         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70125         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
70126         subnormal argument.
70127         * math/s_cexpf.c (__cexpf): Likewise.
70128         * math/s_csinf.c (__csinf): Likewise.
70129         * math/s_csinhf.c (__csinhf): Likewise.
70130         * math/s_ctanf.c (__ctanf): Likewise.
70131         * math/s_ctanhf.c (__ctanhf): Likewise.
70132         * math/s_ccosh.c (__ccoshf): Likewise.
70133         * math/s_cexp.c (__cexpl): Likewise.
70134         * math/s_csin.c (__csin): Likewise.
70135         * math/s_csinh.c (__csinh): Likewise.
70136         * math/s_ctan.c (__ctan): Likewise.
70137         * math/s_ctanh.c (ctanh): Likewise.
70138         * math/s_ccoshl.c (__ccoshl): Likewise.
70139         * math/s_cexpl.c (__cexpl): Likewise.
70140         * math/s_csinl.c (__csinl): Likewise.
70141         * math/s_csinhl.c (__csinhl): Likewise.
70142         * math/s_ctanl.c (__ctanl): Likewise.
70143         * math/s_ctanhl.c (__ctanhl): Likewise.
70145 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
70147         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
70148         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
70149         (_IO_off_t): Define to __off_t, not _G_off_t.
70150         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
70151         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
70152         (_IO_wint_t): Define to wint_t, not _G_wint_t.
70153         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
70154         type of __dummy and __dummy2 fields.
70155         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
70156         (_G_ssize_t): Likewise.
70157         (_G_off_t): Likewise.
70158         (_G_pid_t): Likewise.
70159         (_G_uid_t): Likewise.
70160         (_G_wchar_t): Likewise.
70161         (_G_wint_t): Likewise.
70162         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
70163         (_G_ssize_t): Likewise.
70164         (_G_off_t): Likewise.
70165         (_G_pid_t): Likewise.
70166         (_G_uid_t): Likewise.
70167         (_G_wchar_t): Likewise.
70168         (_G_wint_t): Likewise.
70169         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
70170         (_G_ssize_t): Likewise.
70171         (_G_off_t): Likewise.
70172         (_G_pid_t): Likewise.
70173         (_G_uid_t): Likewise.
70174         (_G_wchar_t): Likewise.
70175         (_G_wint_t): Likewise.
70177 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
70179         * malloc/arena.c: Include malloc-sysdep.h.
70180         (shrink_heap): Use check_may_shrink_heap to decide if madvise
70181         is sufficient to shrink the heap or an unmap is needed.
70182         * sysdeps/generic/malloc-sysdep.h: New file.  Define
70183         new function check_may_shrink_heap.
70184         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
70185         new function check_may_shrink_heap.
70187 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
70189         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
70190         comments.
70192 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
70194         * catgets/test-gencat.sh: Add "set -e".
70195         * elf/tst-pathopt.sh: Likewise.
70196         * grp/tst_fgetgrent.sh: Likewise.
70197         * iconvdata/run-iconv-test.sh: Likewise.
70198         * intl/tst-gettext.sh: Likewise.
70199         * intl/tst-gettext2.sh: Likewise.
70200         * intl/tst-gettext4.sh: Likewise.
70201         * intl/tst-gettext6.sh: Likewise.
70202         * intl/tst-translit.sh: Likewise.
70203         * io/ftwtest-sh: Likewise.
70204         * libio/test-freopen.sh: Likewise.
70205         * malloc/tst-mtrace.sh: Likewise.
70206         * posix/globtest.sh: Likewise.
70207         * posix/tst-getconf.sh: Likewise.
70208         * posix/wordexp-tst.sh: Likewise.
70209         * stdio-common/tst-printf.sh: Likewise.
70210         * stdio-common/tst-unbputc.sh: Likewise.
70211         * stdlib/tst-fmtmsg.sh: Likewise.
70212         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
70213         * catgets/Makefile: Do not specify -e option when running
70214         testsuite shell scripts.
70215         * elf/Makefile: Likewise.
70216         * grp/Makefile: Likewise.
70217         * iconvdata/Makefile: Likewise.
70218         * intl/Makefile: Likewise.
70219         * io/Makefile: Likewise.
70220         * libio/Makefile: Likewise.
70221         * malloc/Makefile: Likewise.
70222         * posix/Makefile: Likewise.
70223         * stdio-common/Makefile: Likewise.
70224         * stdlib/Makefile: Likewise.
70225         * sysdeps/x86_64/Makefile: Likewise.
70227         * io/ftwtest-sh: Add copyright header.
70228         * posix/globtest.sh: Likewise.
70229         * posix/tst-getconf.sh: Likewise.
70230         * posix/wordexp-tst.sh: Likewise.
70231         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
70233 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
70235         [BZ #13679]
70236         * Makeconfig (+link): Defined as $(+link-static) if
70237         $(build-shared) isn't yes.
70238         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
70239         isn't yes.
70240         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
70242         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
70244         [BZ #14562]
70245         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
70246         new chunk size with MALLOC_ALIGN_MASK.
70248 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
70250         [BZ #5044]
70251         * stdio-common/printf_fphex.c: Include <stdbool.h> and
70252         <rounding-mode.h>.
70253         (__printf_fphex): Determine rounding using get_rounding_mode and
70254         round_away.
70255         * stdio-common/tst-printf-round.c (struct hex_test): New
70256         structure.
70257         (hex_tests): New variable.
70258         (test_hex_in_one_mode): New function.
70259         (do_test): Also run tests for hex float output.
70261 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
70263         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
70264         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
70265         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
70266         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
70267         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
70268         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
70269         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
70270         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
70272 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
70274         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
70275         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
70276         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
70277         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
70279 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
70281         [BZ #14579]
70282         * elf/rtld.c (dl_main): Limit the check for self loading to normal
70283         mode only.
70284         * elf/tst-rtld-load-self.sh: New test.
70285         * elf/Makefile: Run it.
70287 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
70289         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
70290         (tst-writev-ENV): Remove.
70291         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
70293 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
70295         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
70297 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
70299         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
70300         unconditional.
70301         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
70302         Likewise.
70303         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
70304         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
70305         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
70306         Likewise.
70308 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
70310         [BZ #14587]
70311         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
70312         * config.make.in (have-cpp-asm-debuginfo): Removed.
70313         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
70314         * configure: Regenerated.
70316 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
70318         [BZ #5044]
70319         * stdio-common/printf_fp.c: Include <stdbool.h> and
70320         <rounding-mode.h>.
70321         (___printf_fp): Determine rounding using get_rounding_mode and
70322         round_away.
70323         * stdio-common/tst-printf-round.c: New file.
70324         * stdio-common/Makefile (tests): Add tst-printf-round.
70325         (link-libm): New variable.
70326         ($(objpfx)tst-printf-round): Depend in $(link-libm).
70328 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
70330         [BZ #14576]
70331         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
70332         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
70333         Likewise.
70334         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
70335         Likewise.
70337 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
70339         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
70340         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
70341         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
70342         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
70344 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
70346         [BZ #14518]
70347         * include/rounding-mode.h: New file.
70348         * sysdeps/generic/get-rounding-mode.h: Likewise.
70349         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
70350         * stdlib/strtod_l.c: Include <rounding-mode.h>.
70351         (MAX_VALUE): New macro.
70352         (MIN_VALUE): Likewise.
70353         (overflow_value): New function.
70354         (underflow_value): Likewise.
70355         (round_and_return): Use overflow_value and underflow_value to
70356         determine return values in overflow and underflow cases.  Use
70357         round_away to determine rounding depending on rounding mode.
70358         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
70359         determine return values in overflow and underflow cases.
70360         * stdlib/tst-strtod-round.c: Include <fenv.h>.
70361         (struct test_results): New structure.
70362         (struct test): Use struct test_results to store expected results
70363         for all rounding modes.
70364         (TEST): Include expected results for all rounding modes.
70365         (test_in_one_mode): New function.
70366         (do_test): Use test_in_one_mode to compute and check results.
70367         Check results for all rounding modes.
70368         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
70369         $(link-libm).
70371 2012-12-09  Allan McRae  <allan@archlinux.org>
70373         * sysdeps/i386/fpu/libm-test-ulps: Update
70375 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
70377         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
70378         (_G_int32_t): Likewise.
70379         (_G_uint16_t): Likewise.
70380         (_G_uint32_t): Likewise.
70381         (_G_HAVE_BOOL): Likewise.
70382         (_G_HAVE_ATEXIT): Likewise.
70383         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
70384         (_G_HAVE_IO_FILE_OPEN): Likewise.
70385         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
70386         (_G_int32_t): Likewise.
70387         (_G_uint16_t): Likewise.
70388         (_G_uint32_t): Likewise.
70389         (_G_HAVE_BOOL): Likewise.
70390         (_G_HAVE_ATEXIT): Likewise.
70391         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
70392         (_G_HAVE_IO_FILE_OPEN): Likewise.
70393         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
70394         (_G_int32_t): Likewise.
70395         (_G_uint16_t): Likewise.
70396         (_G_uint32_t): Likewise.
70397         (_G_HAVE_BOOL): Likewise.
70398         (_G_HAVE_ATEXIT): Likewise.
70399         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
70400         (_G_HAVE_IO_FILE_OPEN): Likewise.
70402 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
70404         * csu/libc-tls.c: Update copyright years.
70406 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
70408         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
70409         [!_G_USING_THUNKS]: Remove conditional code.
70410         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
70411         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
70413         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
70414         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
70415         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
70416         (_G_VTABLE_LABEL_PREFIX): Likewise.
70417         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
70418         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
70419         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
70420         (_G_VTABLE_LABEL_PREFIX): Likewise.
70421         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
70422         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
70423         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
70424         (_G_VTABLE_LABEL_PREFIX): Likewise.
70425         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
70427 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
70429         * libio/Makefile: Include ../Makeconfig before tests.
70430         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
70431         only if $(build-shared) is yes.
70433         * iconv/gconv_db.c: Update copyright years.
70435 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70437         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
70438         unwind info if defined PIC. Fix special cases description.
70439         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
70441         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
70442         DP_HI_MASK entry.
70443         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
70445 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
70447         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
70449         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
70450         is NULL.
70452         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
70453         (LDLIBS-tst-chk4): This.
70454         (LDFLAGS-tst-chk5): Renamed to ...
70455         (LDLIBS-tst-chk5): This.
70456         (LDFLAGS-tst-chk6): Renamed to ...
70457         (LDLIBS-tst-chk6): This.
70458         (LDFLAGS-tst-lfschk4): Renamed to ...
70459         (LDLIBS-tst-lfschk4): This.
70460         (LDFLAGS-tst-lfschk5): Renamed to ...
70461         (LDLIBS-tst-lfschk5): This.
70462         (LDFLAGS-tst-lfschk6): Renamed to ...
70463         (LDLIBS-tst-lfschk6): This.
70465         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
70466         on $(common-objpfx)soversions.mk.
70468 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
70470         [BZ #10014]
70471         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
70472         example host name.
70474 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
70476         * malloc/arena.c (arena_get_retry): New function that gets
70477         another arena for the caller to try its request on.
70478         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
70479         current arena cannot fulfill the request.
70480         (__libc_memalign): Likewise.
70481         (__libc_memalign): Likewise.
70482         (__libc_pvalloc): Likewise.
70483         (__libc_calloc): Likewise.
70485 2012-09-05  John Tobey  <john.tobey@gmail.com>
70487         [BZ #13542]
70488         * manual/arith.texi (Operations on Complex): Fix description
70489         of carg branch cut.
70491 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
70493         [BZ #10014]
70494         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
70495         host name.
70497         [BZ #10038]
70498         * manual/memory.texi (Memory): Make order of menu items match
70499         order of sections.
70501 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
70503         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
70504         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
70505         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
70507 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
70509         * csu/libc-tls.c (static_dtv): Renamed to ...
70510         (_dl_static_dtv): This.  Make it global.
70511         (_dl_initial_dtv): Removed.
70512         (__libc_setup_tls): Updated.
70513         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
70514         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
70515         DL_INITIAL_DTV.
70517 2012-09-06  Petr Machata  <pmachata@redhat.com>
70519         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
70520         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
70521         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
70522         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
70524 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
70526         [BZ #14545]
70527         * csu/libc-tls.c (_dl_initial_dtv): New variable.
70528         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
70529         freeing dtv[-1].
70531 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
70533         [BZ #14544]
70534         * Makeconfig (link-static-before-libc): Replace $(+prector)
70535         with $(+prectorT).
70536         (link-static-after-libc): Replace $(+postctor) with
70537         $(+postctorT).
70538         (link-bounded): Replace $(+prector)/$(+postctor) with
70539         $(+prectorT)/$(+postctorT).
70540         (+prectorT): New macro.
70541         (+postctorT): Likewise.
70543 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
70545         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
70546         (round_str): Handle values above the maximum for IBM long double
70547         as inexact.
70548         * stdlib/tst-strtod-round.c (tests): Regenerated.
70550 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70552         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
70553         assembler flag.
70554         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
70555         zarch_nohighgprs around the zarch optimized routines.
70556         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
70557         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
70558         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
70559         for zarch.
70561 2012-09-05  David S. Miller  <davem@davemloft.net>
70563         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70565         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
70566         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
70567         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
70568         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
70569         entries.
70571 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
70573         * malloc/arena.c: Fold copyright years.
70574         * malloc/mcheck.c, malloc/memusage.c: Likewise.
70576 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
70578         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
70580 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
70582         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
70584 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
70586         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
70587         change internal state upon failure.
70589 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
70591         * malloc/mcheck.c (mcheck_check_all): Fix typo.
70592         * malloc/memusage.c (mmap): Likewise.
70593         (mmap64, mremap): Likewise.  Adjust name in comment.
70595 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
70597         * libio/fileops.c: Fix typos in comments.
70598         * libio/oldfileops.c: Likewise.
70599         * libio/wfileops.c: Likewise.
70601 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
70603         [BZ #1349]
70604         * malloc/Makefile (tests): Add tst-malloc-usable test case.
70605         (tst-malloc-usable-ENV): Set environment for test case.
70606         * malloc/hooks.c (malloc_check_get_size): New function to get
70607         requested size.
70608         * malloc/malloc.c (musable): Use malloc_check_get_size.
70609         * malloc/tst-malloc-usable.c: New test case.
70611 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
70613         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
70615 2012-09-05  Allan McRae  <allan@archlinux.org>
70617         [BZ #13966]
70618         * configure.in (CXX_SYSINCLUDES): Use compiler output to
70619         determine header location.
70620         * configure: Regenerated.
70622 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
70624         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
70625         float format.
70626         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
70627         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
70628         format.
70629         (test): Regenerate.
70631 2012-09-04  David S. Miller  <davem@davemloft.net>
70633         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
70634         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
70635         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
70637 2012-09-04  Florian Weimer  <fweimer@redhat.com>
70639         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
70640         failures.
70642         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
70644 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
70646         [BZ #9914]
70647         * libio/iogetdelim.c: Include <limits.h>.
70648         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
70649         + len + 1 would overflow.
70651 2012-09-03  Andreas Jaeger  <aj@suse.de>
70653         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70654         * sysdeps/i386/fpu/libm-test-ulps: Update.
70656 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70658         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
70659         Add s_sinf-sse2, s_conf-sse2.
70661         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
70662         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
70663         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
70664         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
70666         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
70667         for using routine as __sinf_ia32.
70668         Use macro for function declaration and weak_alias.
70669         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
70670         for using routine as __cosf_ia32.
70671         Use macro for function declaration and weak_alias.
70673         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
70674         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
70676         * sysdeps/x86_64/fpu/s_sinf.S: New file.
70677         * sysdeps/x86_64/fpu/s_cosf.S: New file.
70678         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70680         * math/libm-test.inc (cos_test): Add more test cases.
70681         (sin_test): Likewise.
70682         (sincos_test): Likewise.
70684 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70686         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
70687         (IFUNC_RESOLVE): Make pointers to the specialized implementations
70688         hidden.
70689         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
70691 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
70693         [BZ #14538]
70694         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
70695         first element of the GOT.
70696         (elf_machine_load_address): Return the difference between
70697         the runtime address of _DYNAMIC and elf_machine_dynamic ().
70699 2012-09-01  Allan McRae  <allan@archlinux.org>
70701         [BZ #13412]
70702         * configure.in (AWK): Require gawk version 3.0 or later.
70703         * configure: Regenerated.
70705 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
70707         * sysdeps/unix/sysv/linux/kernel-features.h
70708         (__ASSUME_POSIX_CPU_TIMERS): Remove.
70709         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
70710         [__NR_clock_getres]: Make code unconditional.
70711         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
70712         (clock_getcpuclockid): Remove code left unreachable by removal of
70713         conditionals.
70714         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
70715         code unconditional.
70716         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
70717         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
70718         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
70719         Make code unconditional.
70720         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
70721         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
70722         * sysdeps/unix/sysv/linux/clock_settime.c
70723         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
70724         conditional code.
70725         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
70726         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
70728 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
70730         [BZ #14476]
70731         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
70732         scripts/test-installation.pl.
70734         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
70735         and $ld_so_version if it is set.
70737 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
70739         [BZ #14516]
70740         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
70741         failure if reading from procfs failed.
70742         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
70744 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
70746         * sysdeps/unix/sysv/linux/kernel-features.h
70747         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
70748         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
70749         Remove conditional code.
70750         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70751         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
70752         Remove conditional code.
70753         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70754         * sysdeps/unix/sysv/linux/i386/fxstat.c
70755         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
70756         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70757         * sysdeps/unix/sysv/linux/i386/fxstatat.c
70758         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
70759         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70760         * sysdeps/unix/sysv/linux/i386/lxstat.c
70761         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
70762         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70763         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
70764         Remove conditional code.
70765         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70766         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
70767         Remove conditional code.
70768         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70769         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
70770         <kernel-features.h>.
70771         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
70772         Remove.
70773         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
70774         Remove conditional code.
70775         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70776         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
70777         Remove conditional.
70779 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
70781         [BZ #5400]
70782         * NEWS: Add fixed bug number.
70784 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
70786         [BZ #14519]
70787         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
70788         underflowing exponent in case of negative sign.
70789         * stdlib/tst-strtod-round-data: Add more tests.
70790         * stdlib/tst-strtod-round.c (tests): Regenerated.
70792         [BZ #3479]
70793         * stdlib/strtod_l.c (NDIG): Remove.
70794         (HEXNDIG): Likewise.
70795         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
70796         smallest representable value.
70797         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
70798         lie within an exact representation of 1/2 ulp of the result.
70799         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
70800         unconditionally.
70801         (TENS_P9_IDX): Define unconditionally.
70802         (TENS_P9_SIZE): Likewise.
70803         (TENS_P10_IDX): Likewise.
70804         (TENS_P10_SIZE): Likewise.
70805         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
70806         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
70807         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
70808         entries for 10^2^13 and 10^2^14.
70809         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
70810         (TENS_P13_IDX): Define.
70811         (TENS_P13_SIZE): Likewise.
70812         (TENS_P14_IDX): Likewise.
70813         (TENS_P14_SIZE): Likewise.
70814         (_fpioconst_pow10): Change array size to
70815         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
70816         unconditional.
70817         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
70818         1024]: Add entries for 10^2^13 and 10^2^14.
70819         [LAST_POW10 > _LAST_POW10]: Remove #error.
70820         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
70821         (_fpioconst_pow10): Change array size to
70822         FPIOCONST_POW10_ARRAY_SIZE.
70823         * stdlib/gen-fpioconst.c: New file.
70824         * stdlib/gen-tst-strtod-round.c: Likewise.
70825         * stdlib/tst-strtod-round-data: Likewise.
70826         * stdlib/tst-strtod-round.c: Likewise.
70827         * stdlib/Makefile (tests): Add tst-strtod-round.
70829         [BZ #14459]
70830         * stdlib/strtod_l.c: Include <stdint.h>.
70831         (NDEBUG): Do not define.
70832         (round_and_return): Change EXPONENT parameter to type intmax_t.
70833         Rearrange calculations to avoid internal overflow possibilities.
70834         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
70835         Rearrange calculations to avoid internal overflow possibilities.
70836         Assert that number fits inside MPNSIZE limbs.
70837         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
70838         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
70839         calculations and add assertions to avoid internal overflow
70840         possibilities.  Add casts to avoid signed/unsigned operations.
70841         * stdlib/tst-strtod-overflow.c: New file.
70842         * stdlib/Makefile (tests): Add tst-strtod-overflow.
70844 2012-08-25  Marek Polacek  <polacek@redhat.com>
70846         * time/time.h: Fix some typos in comments.
70848 2012-08-23  Roland McGrath  <roland@hack.frob.com>
70850         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
70851         * posix/tst-rfc3484-2.c: Likewise.
70852         * posix/tst-rfc3484-3.c: Likewise.
70854 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
70856         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
70857         (EF_ARM_ABI_FLOAT_HARD): Likewise.
70859 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
70861         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
70862         #include of fxstatat64.c.
70864 2012-08-22  Roland McGrath  <roland@hack.frob.com>
70866         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
70867         * shadow/getspent_r.c: Likewise.
70868         * shadow/getspnam.c: Likewise.
70869         * shadow/getspnam_r.c: Likewise.
70870         * gshadow/getsgent.c: Likewise.
70871         * gshadow/getsgent_r.c: Likewise.
70872         * gshadow/getsgnam.c: Likewise.
70873         * gshadow/getsgnam_r.c: Likewise.
70874         * inet/getnetbyad.c: Likewise.
70875         * inet/getnetbyad_r.c: Likewise.
70876         * inet/getnetbynm.c: Likewise.
70877         * inet/getnetbynm_r.c: Likewise.
70878         * inet/getnetent.c: Likewise.
70879         * inet/getnetent_r.c: Likewise.
70880         * inet/getproto.c: Likewise.
70881         * inet/getproto_r.c: Likewise.
70882         * inet/getprtent.c: Likewise.
70883         * inet/getprtent_r.c: Likewise.
70884         * inet/getprtname.c: Likewise.
70885         * inet/getprtname_r.c: Likewise.
70886         * inet/getrpcbyname.c: Likewise.
70887         * inet/getrpcbyname_r.c: Likewise.
70888         * inet/getrpcbynumber.c: Likewise.
70889         * inet/getrpcbynumber_r.c: Likewise.
70890         * inet/getrpcent.c: Likewise.
70891         * inet/getrpcent_r.c: Likewise.
70892         * inet/getaliasent.c: Likewise.
70893         * inet/getaliasent_r.c: Likewise.
70894         * inet/getaliasname.c: Likewise.
70895         * inet/getaliasname_r.c: Likewise.
70896         * nscd/getgrgid_r.c: Likewise.
70897         * nscd/getgrnam_r.c: Likewise.
70898         * nscd/gethstbyad_r.c: Likewise.
70899         * nscd/gethstbynm3_r.c: Likewise.
70900         * nscd/getpwnam_r.c: Likewise.
70901         * nscd/getpwuid_r.c: Likewise.
70902         * nscd/getsrvbynm_r.c: Likewise.
70903         * nscd/getsrvbypt_r.c: Likewise.
70904         * nscd/gai.c: Likewise.
70906         * configure.in (build_nscd): New substituted variable, set
70907         by --disable-build-nscd and defaults to $use_nscd.
70908         * configure: Regenerated.
70909         * config.make.in (build-nscd): New substituted variable.
70910         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
70911         Change conditional to require [$(build-nscd) = yes] as well.
70912         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
70914         [BZ #13696]
70915         * configure.in (use_nscd): New substituted variable, set by
70916         --disable-nscd.  If enabled, define USE_NSCD.
70917         * configure: Regenerated.
70918         * config.h.in: Add USE_NSCD.
70919         * config.make.in (use-nscd): New substituted variable.
70920         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
70921         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
70922         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
70923         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
70924         (CFLAGS-getgrnam_r.c): Likewise.
70925         (CFLAGS-initgroups.c): Likewise.
70926         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
70927         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
70928         Variables removed.
70929         * inet/getnetgrent_r.c
70930         (nscd_setnetgrent): New function, broken out of ...
70931         (setnetgrent): ... here.  Call it.
70932         (innetgr): Conditionalize nscd bits on [USE_NSCD].
70933         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
70934         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
70935         * nscd/Makefile (routines, aux): Move definitions after include of
70936         Makeconfig.  Conditionalize on [$(use-nscd) != no].
70937         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
70938         Conditionalize on [USE_NSCD].
70939         (is_nscd, nscd_init_cb): Likewise.
70940         (nss_load_library): Conditionalize init callback on [USE_NSCD].
70941         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
70942         * nss/nss_db/db-init.c: Likewise.
70943         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
70944         [USE_NSCD].
70945         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
70946         (make_request): Use it.
70947         (cache_valid_p): New function.
70948         (__check_pf): Use it.
70949         * NEWS: Add item for --disable-nscd.
70951 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
70953         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
70954         to support sed >= 4.2.1-20-ga9bf076.
70955         * configure: Regenerated.
70957 2012-08-22  Roland McGrath  <roland@hack.frob.com>
70959         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
70960         Conditionalize whole body on [IREL].
70962 2012-08-22  Jeff Law <law@redhat.com>
70964         [BZ #14505]
70965         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
70966         if the family is PF_UNSPEC.
70968 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
70970         * Makerules (lib-version): Rename from V.
70971         (install-lib-nosubdir): Change V to lib-version.
70973 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
70975         [BZ #14252]
70976         * powerpc32/power6/wcschr.c: New file.
70977         * powerpc32/power6/wcscpy.c: New file.
70978         * powerpc32/power6/wcsrchr.c: New file.
70979         * powerpc64/power6/wcschr.c: New file.
70980         * powerpc64/power6/wcscpy.c: New file.
70981         * powerpc64/power6/wcsrchr.c: New file.
70983 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
70985         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
70986         (two_way_short_needle): Use it.
70987         * string/strstr.c (AVAILABLE1_USES_J): Define.
70988         * string/strcasestr.c: Likewise.
70990         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
70991         array references.
70992         * string/strcasestr.c (TOLOWER): Make side-effect safe.
70994         [BZ #11607]
70995         * NEWS: Add an entry.
70996         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
70997         define their defaults.
70998         (two_way_short_needle): Detect end-of-string on-the-fly.
70999         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
71000         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
71001         * string/bug-strcasestr1.c: New test.
71002         * string/Makefile: Run it.
71004 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
71006         [BZ #11607]
71007         * string/str-two-way.h (two_way_short_needle): Optimize matching of
71008         the first character.
71010 2012-08-21  Roland McGrath  <roland@hack.frob.com>
71012         * csu/elf-init.c (__libc_csu_irel): Function removed.
71013         * csu/libc-start.c (apply_irel): New function.
71014         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
71016 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
71018         * sysdeps/unix/sysv/linux/kernel-features.h
71019         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
71020         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
71021         <kernel-features.h>.
71022         [__NR_fadvise64_64]: Make code unconditional.
71023         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
71024         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
71025         !__NR_fadvise64_64)]: Likewise.
71026         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
71027         !__NR_fadvise64_64))]: Likewise.
71028         [__NR_fadvise64]: Make code unconditional.
71029         [!__NR_fadvise64]: Remove conditional code.
71030         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
71031         <kernel-features.h>.
71032         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
71033         unconditional.
71034         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
71035         conditional code.
71036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
71037         not include <kernel-features.h>.
71038         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
71039         unconditional.
71040         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
71041         conditional code.
71042         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
71043         include <kernel-features.h>.
71044         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
71045         unconditional.
71046         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
71047         conditional code.
71049 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
71051         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
71052         slight instruction rearrangements per scrollpipe analysis.
71053         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
71055 2012-08-20  Roland McGrath  <roland@hack.frob.com>
71057         * manual/syslog.texi (syslog; vsyslog, closelog):
71058         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
71059         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
71061         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
71062         DSOCAPS to match condition on defining it.
71064 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
71066         * sysdeps/unix/sysv/linux/kernel-features.h
71067         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
71068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
71069         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
71070         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
71071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
71072         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
71073         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
71074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
71075         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
71076         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
71078         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
71079         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
71081         * sysdeps/unix/sysv/linux/kernel-features.h
71082         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
71083         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
71084         unconditional.
71085         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71086         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
71087         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
71088         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71089         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
71090         Make code unconditional.
71091         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71092         (__mmap64) [!__NR_mmap2]: Likewise.
71093         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
71094         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
71095         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71096         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
71097         [__NR_mmap2]: Make code unconditional.
71098         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71099         (__mmap64) [!__NR_mmap2]: Likewise.
71101 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71103         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
71105 2012-08-18  Andreas Jaeger  <aj@suse.de>
71107         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
71109 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
71111         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
71112         * include/unistd.h (__have_sock_cloexec): Likewise.
71113         (__have_pipe2): Likewise.
71114         (__have_dup3): Likewise.
71116 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
71118         [BZ #9685]
71119         * include/unistd.h (__have_pipe2): Change define into an extern int.
71120         (__have_dup3): Likewise.
71121         * socket/have_sock_cloexec.c: Include fcntl.h.
71122         (__have_pipe2): New variable.
71123         (__have_dup3): Likewise.
71125 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
71127         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
71129 2012-08-17  Marek Polacek  <polacek@redhat.com>
71131         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
71132         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
71134 2012-08-17  Roland McGrath  <roland@hack.frob.com>
71136         * configure.in: Add AC_SUBST for sysheaders.
71137         * configure: Regenerated.
71138         * config.make.in (sysheaders): New substituted variable.
71140         * sysdeps/unix/mkfifo.c: Moved ...
71141         * sysdeps/posix/mkfifo.c: ... here.
71142         * sysdeps/unix/mkfifoat.c: Moved ...
71143         * sysdeps/posix/mkfifoat.c: ... here.
71145         * sysdeps/unix/utime.c: Moved ...
71146         * sysdeps/posix/utime.c: ... here.
71148         * sysdeps/unix/time.c: Moved ...
71149         * sysdeps/posix/time.c: ... here.
71150         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
71151         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
71153         * sysdeps/unix/nice.c: Moved ...
71154         * sysdeps/posix/nice.c: ... here.
71156         * sysdeps/unix/alarm.c: Moved ...
71157         * sysdeps/posix/alarm.c: ... here.
71159         * intl/Makefile ($(codeset_mo)): Depend on the input file.
71161 2012-08-17  Jeff Law <law@redhat.com>
71163         * intl/Makefile (codeset_mo): New variable.
71164         ($(codeset_mo)): New target.
71165         (tst-codeset.out): Depend on that.  Remove explicit rule.
71166         (tst-gettext3.out, tst-gettext5.out): Likewise.
71167         (LOCPATH-ENV, tst-codeset-ENV): New variables.
71168         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
71169         * intl/tst-codeset.sh: Remove.
71170         * intl/tst-gettext3.sh: Likewise.
71171         * intl/tst-gettext5.sh: Likewise.
71173 2012-08-17  Roland McGrath  <roland@hack.frob.com>
71175         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
71176         * sysdeps/unix/syscalls.list: ... here.
71178         * sysdeps/posix/getaddrinfo.c
71179         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
71180         (gaiconf_init, gaiconf_reload): Use them.
71181         [!_STATBUF_ST_NSEC]
71182         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
71183         Define using time_t rather than struct timespec.
71185         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
71186         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
71187         Macros removed.
71188         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
71189         [!NO_THREADS].
71190         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
71191         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
71192         Likewise.
71194         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
71195         __libc_cleanup_push argument.
71197         * bits/param.h: New file.
71198         * misc/sys/param.h: New file.
71199         * include/sys/param.h: New file.
71200         * misc/Makefile (headers): Add bits/param.h.
71201         * sysdeps/generic/sys/param.h: File removed.
71202         * sysdeps/unix/sysv/linux/bits/param.h: New file.
71203         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
71204         * sysdeps/mach/hurd/bits/param.h: New file.
71205         * sysdeps/mach/hurd/sys/param.h: File removed.
71207         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
71208         last change.
71210         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
71211         [_IO_MTSAFE_IO].
71212         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
71213         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
71214         New macros.
71216         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
71217         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
71218         rather than -D_IO_MTSAFE_IO conditionally.
71219         * stdio-common/Makefile (CPPFLAGS): Likewise.
71220         * wcsmbs/Makefile (CPPFLAGS): Likewise.
71221         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
71222         Use $(libio-mtsafe).
71223         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
71224         of -D_IO_MTSAFE_IO.
71225         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
71226         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
71227         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
71228         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
71229         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
71230         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
71231         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
71232         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
71233         (CFLAGS-fread_u_chk.c): Likewise.
71234         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
71235         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
71236         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
71237         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
71238         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
71239         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
71240         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
71241         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
71242         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
71244         * libio/Makefile: Test [$(libc-reentrant) = yes]
71245         instead of [$(filter %REENTRANT, $(defines)) nonempty].
71247         * Makeconfig
71248         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
71249         * sysdeps/pthread/configure: File removed.
71250         * sysdeps/pthread/Makeconfig: New file.
71251         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
71252         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
71254 2012-08-16  Gary Benson  <gbenson@redhat.com>
71256         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
71257         unmapping the first object in a namespace.
71259 2012-08-16  Roland McGrath  <roland@hack.frob.com>
71261         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
71262         (__internal_setnetgrent): ... this.  Add internal_function to
71263         definition.  Add libc_hidden_def.
71264         (setnetgrent): Update caller.
71265         (internal_endnetgrent): Renamed to ...
71266         (__internal_endnetgrent): ... this.  Add internal_function to
71267         definition.  Add libc_hidden_def.
71268         (endnetgrent): Update caller.
71269         (internal_getnetgrent_r): Renamed to ...
71270         (__internal_getnetgrent_r): ... this.  Add internal_function to
71271         definition.  Add libc_hidden_def.
71272         (__getnetgrent_r): Update caller.
71273         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
71275 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
71277         * stdlib/longlong.h: Update from GCC.
71279 2012-08-16  Roland McGrath  <roland@hack.frob.com>
71281         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
71282         on _QL, which is set by umul_ppmm but never used.
71283         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
71284         variables, which are set by GMP macros but never used.
71285         * stdio-common/_itowa.c (_itowa): Likewise.
71286         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
71287         * stdlib/mod_1.c (mpn_mod_1): Likewise.
71289 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
71291         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
71292         struct La_sh_regs is not constant.
71293         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
71294         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
71295         and struct La_sparc64_regs are not constant.
71297 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
71299         * sysdeps/unix/sysv/linux/kernel-features.h
71300         (__ASSUME_POSIX_TIMERS): Remove.
71301         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
71302         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
71303         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
71304         Make code unconditional.
71305         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
71306         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
71307         Make code unconditional.
71308         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
71309         * sysdeps/unix/sysv/linux/clock_nanosleep.c
71310         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
71311         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
71312         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
71313         Make code unconditional.
71314         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
71315         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
71316         (__libc_missing_posix_timers): Remove.
71318 2012-08-15  Roland McGrath  <roland@hack.frob.com>
71320         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
71321         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
71323         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
71325         * elf/dl-sym.c: Include <stdlib.h>.
71327         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
71328         constants, which avoids warnings in 32-bit builds.
71330         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
71331         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
71333         * misc/lseek.c: File moved to ...
71334         * io/lseek.c: ... here.
71336         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
71338         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
71339         shifting LEN more than 31 bits at once.
71341 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71343         [BZ #14195]
71344         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
71345         segmentation fault for a case of two empty input strings.
71346         * string/test-strncasecmp.c (check1): Renamed to...
71347         (bz12205): ...this.
71348         (bz14195): Add new testcase for two empty input strings and N > 0.
71349         (test_main): Call new testcase, adapt for renamed function.
71351 2012-08-15  Andreas Jaeger  <aj@suse.de>
71353         [BZ #14090]
71354         * crypt/md5test2.c: New test, based on test supplied by Serge
71355         Belyshev <belyshev@depni.sinp.msu.ru>.
71356         * crypt/Makefile (xtests): Add md5test-giant..
71357         * crypt/Makefile ($(objpfx)md5test-giant): Add.
71359 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
71361         [BZ #14090]
71362         * crypt/md5.c (md5_process_block): Don't assume the buffer
71363         length is less than 2**32.
71364         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
71365         length is less than 2**64.
71367 2012-08-15  Roland McGrath  <roland@hack.frob.com>
71369         * string/str-two-way.h: Include <sys/param.h>.
71370         (MAX): Macro removed.
71372         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
71373         Move #define and #undef of memmove to just before and after
71374         including <string.h>.
71376         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
71377         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
71378         and after including <string.h>.  Move declarations of
71379         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
71380         to before #include "string/memmove.c".
71382         * include/dirent.h: Declare __getdirentries.
71384         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
71385         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
71387 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
71389         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
71390         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
71391         * sysdeps/i386/configure: Regenerated.
71392         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
71393         STABS_CURRENT_FILE, and STABS_FUN.
71394         (END): Remove call to STABS_FUN_END.
71395         (STABS_CURRENT_FILE1): Delete.
71396         (STABS_CURRENT_FILE): Likewise.
71397         (STABS_FUN): Likewise.
71398         (STABS_FUN_END): Likewise.
71399         (STABS_FUN2): Likewise.
71400         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
71401         * sysdeps/x86_64/configure: Regenerated.
71403 2012-08-14  Roland McGrath  <roland@hack.frob.com>
71405         * elf/dl-open.c: Include <atomic.h>.
71406         * elf/dl-lookup.c: Likewise.
71408 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
71410         * sysdeps/unix/sysv/linux/kernel-features.h
71411         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
71412         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
71413         unconditionally.
71414         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
71415         unconditionally.
71416         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
71417         condition on __ASSUME_CLONE_THREAD_FLAGS.
71419 2012-08-14  Andreas Jaeger  <aj@suse.de>
71421         * sysdeps/i386/fpu/libm-test-ulps: Update.
71423 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
71425         * include/atomic.h (atomic_exchange_and_add): Split into ...
71426         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
71427         New atomic macros.
71429 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
71431         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71433 2012-08-13  Jeff Law <law@redhat.com>
71435         * manual/stdio.texi (snprintf): Clarify handling of the trailing
71436         null byte in the output string.
71438 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
71440         * sysdeps/unix/sysv/linux/kernel-features.h
71441         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
71442         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
71443         (__ASSUME_ARG_MAX_STACK_BASED): Define.
71444         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
71445         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
71446         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
71447         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
71449 2012-08-09  Jeff Law <law@redhat.com>
71451         [BZ #13939]
71452         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
71453         When avoid_arena is set, don't retry in the that arena.  Pick the
71454         next one, whatever it might be.
71455         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
71456         (arena_lock): Pass in new parameter to arena_get2.
71457         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
71458         arena_get2.
71459         (__libc_malloc): Unify retrying after main arena failure with
71460         __libc_memalign version.
71461         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
71463 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
71465         [BZ #14166]
71466         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
71467         to __redirect_strstr.
71468         (__strstr_sse42): Use typeof __redirect_strstr.
71469         (__strstr_ia32): Likewise.
71470         (__libc_strstr): New prototype.
71471         (strstr): Renamed to ...
71472         (__libc_strstr): This.
71473         (strstr): New strong alias of __libc_strstr.
71474         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
71475         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
71476         __redirect_time.
71477         Include <time.h>.
71478         (__libc_time): New prototype.
71479         (time_ifunc): Replace time with __libc_time.
71480         (time): New strong alias and hidden definition of __libc_time.
71481         (__GI_time): Remove strong alias.
71482         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
71483         Include <stddef.h>.
71484         (memmove): Redefined to __redirect_memmove.
71485         (__memmove_sse2): Use typeof __redirect_memmove.
71486         (__memmove_ssse3): Likewise.
71487         (__memmove_ssse3_back): Likewise.
71488         (__libc_memmove): New prototype.
71489         (memmove): Renamed to ...
71490         (__libc_memmove): This.
71491         (memmove): New strong alias of __libc_memmove.
71493 2012-08-08  Mark Salter  <msalter@redhat.com>
71495         * elf/elf.h
71496         (R_MN10300_TLS_GD): Define.
71497         (R_MN10300_TLS_LD): Likewise.
71498         (R_MN10300_TLS_LDO): Likewise.
71499         (R_MN10300_TLS_GOTIE): Likewise.
71500         (R_MN10300_TLS_IE): Likewise.
71501         (R_MN10300_TLS_LE): Likewise.
71502         (R_MN10300_TLS_DTPMOD): Likewise.
71503         (R_MN10300_TLS_DTPOFF): Likewise.
71504         (R_MN10300_TLS_TPOFF): Likewise.
71505         (R_MN10300_SYM_DIFF): Likewise.
71506         (R_MN10300_ALIGN): Likewise.
71507         (R_MN10300_NUM): Update.
71509 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
71511         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
71512         Remove.
71514 2012-08-08  Roland McGrath  <roland@hack.frob.com>
71516         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
71518         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
71519         sysdeps/unix -> sysdeps/posix move.
71520         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
71522 2012-08-07      Allan McRae     <allan@archlinux.org>
71524         [BZ #14303]
71525         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
71526         (SUNOS_CPP): Likewise.
71527         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
71528         not found.
71529         (open_input): Call CPP using execvp.
71531 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
71533         * sysdeps/unix/sysv/linux/kernel-features.h
71534         (__ASSUME_PROT_GROWSUPDOWN): Remove.
71535         (__ASSUME_NO_CLONE_DETACHED): Likewise.
71536         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
71537         (__ASSUME_WAITID_SYSCALL): Likewise.
71538         * sysdeps/unix/sysv/linux/dl-execstack.c
71539         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
71540         code unconditional.
71541         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
71542         conditional code.
71543         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
71544         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
71545         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
71546         code.
71547         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
71548         unconditional.
71549         [__ASSUME_WAITID_SYSCALL]: Likewise.
71550         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
71552 2012-08-07  Roland McGrath  <roland@hack.frob.com>
71554         * sysdeps/unix/closedir.c: Renamed to ...
71555         * sysdeps/posix/closedir.c: ... here.
71556         * sysdeps/unix/dirfd.c: Renamed to ...
71557         * sysdeps/posix/dirfd.c: ... here.
71558         * sysdeps/unix/dirstream.h: Renamed to ...
71559         * sysdeps/posix/dirstream.h: ... here.
71560         * sysdeps/unix/fdopendir.c: Renamed to ...
71561         * sysdeps/posix/fdopendir.c: ... here.
71562         * sysdeps/unix/opendir.c: Renamed to ...
71563         * sysdeps/posix/opendir.c: ... here.
71564         * sysdeps/unix/readdir.c: Renamed to ...
71565         * sysdeps/posix/readdir.c: ... here.
71566         * sysdeps/unix/readdir_r.c: Renamed to ...
71567         * sysdeps/posix/readdir_r.c: ... here.
71568         * sysdeps/unix/rewinddir.c: Renamed to ...
71569         * sysdeps/posix/rewinddir.c: ... here.
71570         * sysdeps/unix/seekdir.c: Renamed to ...
71571         * sysdeps/posix/seekdir.c: ... here.
71572         * sysdeps/unix/telldir.c: Renamed to ...
71573         * sysdeps/posix/telldir.c: ... here.
71574         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
71575         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
71576         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
71577         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
71579         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
71580         * bits/fcntl.h: ... here.
71582         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
71583         not 0.
71584         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
71585         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
71586         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
71587         (struct flock): Move l_start, l_len to the beginning.
71588         Use __pid_t for l_pid.
71589         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
71590         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
71591         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
71592         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
71593         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
71594         [__USE_LARGEFILE64] (struct flock64): New type.
71595         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
71597         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
71598         * bits/dirent.h: ... here.
71600         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
71601         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
71603 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
71605         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
71606         Change from 2.6.0 to 2.6.16.
71607         * sysdeps/unix/sysv/linux/configure: Regenerated.
71608         * sysdeps/unix/sysv/linux/kernel-features.h
71609         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
71610         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
71611         version.
71612         (__ASSUME_UTIMES): Likewise.
71613         (__ASSUME_CLONE_STOPPED): Remove.
71614         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
71615         architectures, not kernel version.
71616         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
71617         (__ASSUME_NO_CLONE_DETACHED): Likewise.
71618         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
71619         (__ASSUME_WAITID_SYSCALL): Likewise.
71620         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
71621         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
71622         * README: State 2.6.16 as minimum Linux kernel version.  Do not
71623         refer to older versions.
71625 2012-08-06  Roland McGrath  <roland@hack.frob.com>
71627         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
71628         Define alphasort64 as an alias.
71629         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
71630         Define versionsort64 as an alias.
71631         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
71632         Define scandir64 as an alias.
71633         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
71634         Define scandirat64 as an alias.
71635         * dirent/alphasort64.c (alphasort64):
71636         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
71637         * dirent/versionsort64.c: Likewise.
71638         * dirent/scandir64.c: Likewise.
71639         * dirent/scandirat64.c: Likewise.
71640         * sysdeps/wordsize-64/alphasort.c: File removed.
71641         * sysdeps/wordsize-64/alphasort64.c: File removed.
71642         * sysdeps/wordsize-64/scandir.c: File removed.
71643         * sysdeps/wordsize-64/scandir64.c: File removed.
71644         * sysdeps/wordsize-64/scandirat.c: File removed.
71645         * sysdeps/wordsize-64/scandirat64.c: File removed.
71646         * sysdeps/wordsize-64/versionsort.c: File removed.
71647         * sysdeps/wordsize-64/versionsort64.c: File removed.
71648         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
71649         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
71650         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
71651         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
71652         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
71653         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
71654         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
71655         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
71657         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
71658         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
71659         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
71660         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71661         [defined __arch64__ || defined __sparcv9]
71662         (__INO_T_MATCHES_INO64_T): New macro.
71663         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
71664         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
71665         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
71666         * sysdeps/unix/sysv/linux/bits/dirent.h
71667         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
71668         (_DIRENT_MATCHES_DIRENT64): New macro.
71670         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
71671         Define lockf64 as an alias.
71672         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
71673         Define fseeko64 as an alias.
71674         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
71675         Define ftello64 as an alias.
71676         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
71677         Define _IO_fgetpos64 and fgetpos64 as aliases.
71678         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
71679         Define _IO_fsetpos64 and fsetpos64 as aliases.
71680         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
71681         Conditionalize body on this.
71682         * libio/fseeko64.c: Likewise.
71683         * libio/ftello64.c: Likewise.
71684         * libio/iofgetpos64.c: Likewise.
71685         * libio/iofsetpos64.c: Likewise.
71686         * sysdeps/wordsize-64/lockf.c: File removed.
71687         * sysdeps/wordsize-64/lockf64.c: File removed.
71688         * sysdeps/wordsize-64/fseeko.c: File removed.
71689         * sysdeps/wordsize-64/fseeko64.c: File removed.
71690         * sysdeps/wordsize-64/ftello.c: File removed.
71691         * sysdeps/wordsize-64/ftello64.c: File removed.
71692         * sysdeps/wordsize-64/iofgetpos.c: File removed.
71693         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
71694         * sysdeps/wordsize-64/iofsetpos.c: File removed.
71695         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
71696         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
71697         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
71698         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
71699         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
71700         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
71701         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
71702         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
71703         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
71704         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
71705         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
71707         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
71708         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
71709         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
71710         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71711         [defined __arch64__ || defined __sparcv9]
71712         (__OFF_T_MATCHES_OFF64_T): New macro.
71713         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
71714         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
71715         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71716         (__OFF_T_MATCHES_OFF64_T): New macro.
71718 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
71720         * stdlib/secure-getenv.c (__secure_getenv): Replace
71721         GLIBC_2_16 with GLIBC_2_17.
71723 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
71725         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
71726         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
71728 2012-08-03  David S. Miller  <davem@davemloft.net>
71730         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71732 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
71734         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
71735         Remove.
71736         (__ASSUME_CORRECT_SI_PID): Likewise.
71737         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
71738         (__ASSUME_TMPFS_NAME): Likewise.
71739         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
71740         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
71741         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
71742         (HAVE_AUX_SECURE): Make definition unconditional.
71743         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
71744         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
71746 2012-08-03  Roland McGrath  <roland@hack.frob.com>
71748         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
71749         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
71750         * sysdeps/mach/hurd/eloop-threshold.h: New file.
71751         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
71752         __eloop_threshold instead of SYMLOOP_MAX.
71754         * sysdeps/generic/eloop-threshold.h: New file.
71755         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
71756         of MAXSYMLINKS.
71757         * elf/chroot_canon.c (chroot_canon): Likewise.
71759 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
71761         [BZ #13717]
71762         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
71763         Change to 2.6.0 everywhere.
71764         * sysdeps/unix/sysv/linux/configure: Regenerated.
71765         * sysdeps/unix/sysv/linux/kernel-features.h
71766         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
71767         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
71768         kernel versions.
71769         (__ASSUME_POSIX_TIMERS): Define unconditionally.
71770         (__ASSUME_FUTEX_REQUEUE): Remove.
71771         (__ASSUME_STATFS64): Define unconditionally.
71772         (__ASSUME_AT_SECURE): Likewise.
71773         (__ASSUME_CORRECT_SI_PID): Likewise.
71774         (__ASSUME_TGKILL): Define without depending on kernel version for
71775         i386.
71776         (__ASSUME_UTIMES): Likewise.
71777         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
71778         kernel version.
71779         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
71780         (__ASSUME_TMPFS_NAME): Likewise.
71781         * README: Update reference to Linux kernel versions.
71783 2012-08-02  Marek Polacek  <polacek@redhat.com>
71785         [BZ #14150]
71786         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
71787         libc_cv_asm_type_prefix with %.
71788         * configure: Regenerated.
71789         * include/libc-symbols.h: Remove comment about
71790         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
71791         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
71792         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
71793         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
71794         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
71795         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
71796         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
71797         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
71798         * elf/tst-unique2mod1.c: Likewise.
71799         * elf/tst-unique1mod2.c: Likewise.
71800         * elf/tst-unique1mod1.c: Likewise.
71801         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
71802         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
71803         Replace ASM_TYPE_DIRECTIVE with .type.
71804         * sysdeps/s390/s390-64/sysdep.h: Likewise.
71805         * sysdeps/i386/sysdep.h: Likewise.
71806         * sysdeps/x86_64/sysdep.h: Likewise.
71807         * sysdeps/sh/sysdep.h: Likewise.
71808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
71809         Do not define ASM_TYPE_DIRECTIVE.
71810         * sysdeps/powerpc/sysdep.h: Likewise.
71811         * sysdeps/powerpc/powerpc32/sysdep.h:
71812         Replace ASM_TYPE_DIRECTIVE with .type.
71813         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
71814         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
71815         * sysdeps/i386/fpu/e_powf.S: Likewise.
71816         * sysdeps/i386/fpu/e_expl.S: Likewise.
71817         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
71818         * sysdeps/i386/fpu/e_acosh.S: Likewise.
71819         * sysdeps/i386/fpu/e_pow.S: Likewise.
71820         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
71821         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
71822         * sysdeps/i386/fpu/s_expm1.S: Likewise.
71823         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
71824         * sysdeps/i386/fpu/e_log2.S: Likewise.
71825         * sysdeps/i386/fpu/e_log2l.S: Likewise.
71826         * sysdeps/i386/fpu/e_scalb.S: Likewise.
71827         * sysdeps/i386/fpu/e_powl.S: Likewise.
71828         * sysdeps/i386/fpu/e_log10f.S: Likewise.
71829         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
71830         * sysdeps/i386/fpu/e_logl.S: Likewise.
71831         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
71832         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
71833         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
71834         * sysdeps/i386/fpu/e_log2f.S: Likewise.
71835         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
71836         * sysdeps/i386/fpu/e_log.S: Likewise.
71837         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
71838         * sysdeps/i386/fpu/e_logf.S: Likewise.
71839         * sysdeps/i386/fpu/e_log10l.S: Likewise.
71840         * sysdeps/i386/fpu/e_atanh.S: Likewise.
71841         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
71842         * sysdeps/i386/fpu/e_log10.S: Likewise.
71843         * sysdeps/i386/fpu/s_frexp.S: Likewise.
71844         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
71845         * sysdeps/i386/fpu/s_asinh.S: Likewise.
71846         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
71847         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
71848         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
71849         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
71850         * sysdeps/i386/i686/strtok.S: Likewise.
71851         * sysdeps/i386/i386-mcount.S: Likewise.
71852         * sysdeps/i386/strtok.S: Likewise.
71853         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
71854         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
71855         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
71856         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
71857         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
71858         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
71859         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
71860         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
71861         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
71862         * sysdeps/x86_64/_mcount.S: Likewise.
71863         * sysdeps/x86_64/strtok.S: Likewise.
71864         * sysdeps/sh/_mcount.S: Likewise.
71866 2012-08-01  Roland McGrath  <roland@hack.frob.com>
71868         * libio/iofopen.c: Include <fcntl.h>.
71869         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
71870         (_IO_fopen64, fopen64): Define as aliases.
71871         * libio/iofopen64.c: Include <fcntl.h>.
71872         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
71873         Conditionalize body on this.
71874         * sysdeps/wordsize-64/iofopen.c: File removed.
71875         * sysdeps/wordsize-64/iofopen64.c: File removed.
71877 2012-08-01  Marek Polacek  <polacek@redhat.com>
71879         * libc/Makeconfig: Use elf in place of binfmt-subdir.
71880         Use dlfcn directly instead of a variable.
71881         (binfmt-subdir): Do not define.
71882         (dlfcn): Likewise.
71884 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
71886         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
71887         Remove all definitions.
71888         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
71889         <kernel-features.h>.
71890         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
71891         (miss_F_GETOWN_EX): Remove all definitions.
71892         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
71893         macro definition.
71894         [!__ASSUME_FCNTL64]: Remove conditional code.
71895         [__ASSUME_FCNTL64]: Make code unconditional.
71896         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
71897         <kernel-features.h>.
71898         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
71899         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
71900         (lockf64) [__NR_fcntl64]: Make code unconditional.
71901         (lockf64) [__ASSUME_FCNTL64]: Likewise.
71903         * sysdeps/unix/sysv/linux/kernel-features.h
71904         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
71905         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
71906         Make code unconditional.
71907         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
71908         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
71909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
71910         [__NR_vfork]: Make code unconditional.
71911         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
71912         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
71913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
71914         [__NR_vfork]: Make code unconditional.
71915         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
71916         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
71918 2012-08-01  Roland McGrath  <roland@hack.frob.com>
71920         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
71921         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
71923         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
71924         Define mkstemp64 as an alias.
71925         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
71926         Define mkstemps64 as an alias.
71927         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
71928         Define mkostemp64 as an alias.
71929         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
71930         Define mkostemps64 as an alias.
71931         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
71932         Conditionalize body on this.
71933         * misc/mkostemp64.c: Likewise.
71934         * misc/mkostemps64.c: Likewise.
71935         * misc/mkstemps64.c: Likewise.
71936         * sysdeps/wordsize-64/mkstemp64.c: File removed.
71937         * sysdeps/wordsize-64/mkostemp64.c: File removed.
71938         * sysdeps/wordsize-64/mkostemp.c: File removed.
71939         * sysdeps/wordsize-64/mkstemp.c: File removed.
71940         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
71941         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
71942         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
71943         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
71945         [BZ #14138]
71946         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
71947         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
71948         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
71949         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
71951         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
71952         compat_symbol macros from <shlib-compat.h> rather than the underlying
71953         default_symbol_version and symbol_version macros, so that DEFAULT
71954         lines in shlib-versions are respected.
71955         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
71957 2012-08-01  Florian Weimer  <fweimer@redhat.com>
71959         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
71960         Declare with warn_unused_result.
71961         (setgid, setregid, setegid, setresgid): Likewise.
71962         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
71963         Likewise.
71964         * WUR-REPORT: Remove set*id functions.
71966 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
71968         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
71970 2012-07-31  Roland McGrath  <roland@hack.frob.com>
71972         [BZ #10191]
71973         * include/sys/socket.h (__libc_accept, __libc_accept4):
71974         Add attribute_hidden.
71975         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
71977         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
71978         use of PTR_MANGLE.
71979         * inet/getnetgrent_r.c (setup): Likewise.
71981         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
71983 2012-07-31  David S. Miller  <davem@davemloft.net>
71985         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71987 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
71989         [BZ #13629]
71990         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
71991         value between 1.0 and 2.0 and smaller part has absolute value less
71992         than 1.0.
71993         * math/s_clog10.c (__clog10): Likewise.
71994         * math/s_clog10f.c (__clog10f): Likewise.
71995         * math/s_clog10l.c (__clog10l): Likewise.
71996         * math/s_clogf.c (__clogf): Likewise.
71997         * math/s_clogl.c (__clogl): Likewise.
71998         * math/libm-test.inc (clog_test): Add more tests.
71999         (clog10_test): Likewise.
72000         * sysdeps/i386/fpu/libm-test-ulps: Update.
72001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72003 2012-07-31  Florian Weimer  <fweimer@redhat.com>
72005         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
72006         Exit with zero in case no suitable GID is found, and write a
72007         message to standard error.
72009 2012-07-30  Roland McGrath  <roland@hack.frob.com>
72011         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
72012         rather than to 1.
72013         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
72014         (MAXPATHLEN): Removed.
72015         (NOGROUP, NODEV): New macros.
72016         (setbit, clrbit, isset, isclr): New macros.
72017         (howmany, roundup, powerof2): New macros.
72018         (DEV_BSIZE): New macro.
72020         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
72021         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
72023         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
72024         definition on [!__NO_LONG_DOUBLE_MATH].
72026         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
72027         PTR_MANGLE and PTR_DEMANGLE.
72029         * socket/accept4.c (accept4): Rename to __libc_accept4.
72030         Define accept4 as a weak alias.
72032         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
72033         on [_DIRENT_HAVE_D_TYPE].
72034         * io/ftw.c (ftw_dir): Likewise.
72036         * io/xmknod.c (__xmknod): Don't check PATH for being null.
72038         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
72040         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
72041         Use the BSD numbers rather than the arbitrary ones we had.
72042         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
72043         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
72044         (SIGXCPU, SIGXFSZ): New macros.
72045         (_NSIG): Now 32.
72047         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
72048         initializer on [_LIBC_REENTRANT].
72050         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
72051         definitions inside [_POSIX_MAPPED_FILES].
72053         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
72055         * dirent/opendir.c: Include <fcntl.h>.
72057         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
72058         (__libc_getspecific): Likewise.
72059         (__libc_key_create): Likewise.
72061         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
72062         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
72063         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
72064         (tmpfile64): Define as alias.
72065         * sysdeps/wordsize-64/tmpfile.c: File removed.
72066         * sysdeps/wordsize-64/tmpfile64.c: File removed.
72067         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
72068         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
72070         * stdio-common/vfscanf.c: Include <stdbool.h>.
72071         * nss/makedb.c: Likewise.
72072         * stdio-common/_i18n_number.h: Likewise.
72073         * argp/argp-help.c: Likewise.
72074         * posix/wordexp.c: Likewise.
72075         * sysdeps/posix/spawni.c: Likewise.
72076         * nss/nss_files/files-initgroups.c: Likewise.
72077         * stdio-common/reg-modifier.c: Include <stdlib.h>.
72078         * nss/nss_files/files-initgroups.c: Likewise.
72079         * nss/nss_db/db-netgrp.c: Likewise.
72080         * nss/nss_db/db-initgroups.c: Likewise.
72081         * io/fchmodat.c: Include <sys/stat.h>.
72083         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
72084         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
72086         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
72087         [HAVE_MMAP].
72089         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
72090         Add multiple inclusion protection.
72092 2012-07-27  David S. Miller  <davem@davemloft.net>
72094         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72096 2012-07-27  Gary Benson  <gbenson@redhat.com>
72098         [BZ #14298]
72099         * elf/rtld.c: Include <stap-probe.h>.
72100         (dl_main): Added static probes "init_start" and "init_complete".
72101         * elf/dl-load.c: Include <stap-probe.h>.
72102         (lose): Take new parameter "nsid".
72103         Added static probe "map_failed".
72104         (_dl_map_object_from_fd): Pass namespace id to lose.
72105         Added static probe "map_start".
72106         (open_verify): Pass namespace id to lose.
72107         * elf/dl-open.c: Include <stap-probe.h>.
72108         (dl_open_worker) Added static probes "map_complete", "reloc_start"
72109         and "reloc_complete".
72110         * elf/dl-close.c: Include <stap-probe.h>.
72111         (_dl_close_worker): Added static probes "unmap_start" and
72112         "unmap_complete".
72113         * elf/rtld-debugger-interface.txt: New file documenting the above.
72115 2012-07-26  Roland McGrath  <roland@hack.frob.com>
72117         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
72118         rather than a string variable.
72119         * sunrpc/rpc_main.c (h_output): Likewise.
72120         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
72122 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
72124         * inet/check_native.c: New file.
72126 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
72128         [BZ #13629]
72129         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
72130         if larger part has absolute value 1.0.
72131         * math/s_clog10.c (__clog10): Likewise.
72132         * math/s_clog10f.c (__clog10f): Likewise.
72133         * math/s_clog10l.c (__clog10l): Likewise.
72134         * math/s_clogf.c (__clogf): Likewise.
72135         * math/s_clogl.c (__clogl): Likewise.
72136         * math/libm-test.inc (clog_test): Add more tests.
72137         (clog10_test): Likewise.
72138         * sysdeps/i386/fpu/libm-test-ulps: Update.
72139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72141         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
72142         (pltexit): Likewise.
72143         (La_regs): Likewise.
72144         (La_retval): Likewise.
72145         (int_retval): Likewise.
72146         Update #error for removed macros to refer only to definitions in
72147         tst-audit.h.
72148         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
72149         macro.
72150         (pltexit): Likewise.
72151         (La_regs): Likewise.
72152         (La_retval): Likewise.
72153         (int_retval): Likewise.
72154         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
72155         macro.
72156         (pltexit): Likewise.
72157         (La_regs): Likewise.
72158         (La_retval): Likewise.
72159         (int_retval): Likewise.
72160         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
72161         macro.
72162         (pltexit): Likewise.
72163         (La_regs): Likewise.
72164         (La_retval): Likewise.
72165         (int_retval): Likewise.
72166         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
72167         macro.
72168         (pltexit): Likewise.
72169         (La_regs): Likewise.
72170         (La_retval): Likewise.
72171         (int_retval): Likewise.
72172         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
72173         macro.
72174         (pltexit): Likewise.
72175         (La_regs): Likewise.
72176         (La_retval): Likewise.
72177         (int_retval): Likewise.
72178         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
72179         macro.
72180         (pltexit): Likewise.
72181         (La_regs): Likewise.
72182         (La_retval): Likewise.
72183         (int_retval): Likewise.
72184         * sysdeps/generic/tst-audit.h: Update comment to refer only to
72185         macro definitions in tst-audit.h.
72186         * sysdeps/i386/tst-audit.h: New file.
72187         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
72188         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
72189         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
72190         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
72191         * sysdeps/sh/tst-audit.h: Likewise.
72192         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
72193         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
72194         * sysdeps/x86_64/tst-audit.h: Likewise.
72196 2012-07-26  Andreas Jaeger  <aj@suse.de>
72198         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
72199         ptrace.
72201         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
72202         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
72203         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
72204         PTRACE_O_MASK.
72205         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
72206         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
72207         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
72209         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
72210         value.
72212         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
72213         _sigsys.
72214         (si_call_addr, si_syscall, si_arch): Define new macro.
72215         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
72216         _sigsys.
72217         (si_call_addr, si_syscall, si_arch): Define new marcro.
72218         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
72219         _sigsys.
72220         (si_call_addr, si_syscall, si_arch): Define new macro.
72221         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
72222         _sigsys.
72223         (si_call_addr, si_syscall, si_arch): Define new macro.
72225 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
72227         [BZ #13717]
72228         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
72229         Change to 2.4.21 where previously 2.4.1.
72230         * sysdeps/unix/sysv/linux/configure: Regenerated.
72231         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
72232         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
72233         Linux kernel version.
72234         (__ASSUME_STD_AUXV): Remove.
72235         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
72236         kernel version.
72237         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
72238         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
72239         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
72240         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
72241         (__ASSUME_NETLINK_SUPPORT): Likewise.
72242         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
72243         (__no_netlink_support): Remove conditional definition.
72244         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
72245         Remove.
72246         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
72247         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
72248         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
72249         (if_nameindex_ioctl): Remove.
72250         (if_nameindex_netlink): Do not handle __no_netlink_support.
72251         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
72252         code.
72253         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
72254         Remove conditional code.
72255         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
72256         code.
72257         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
72258         unconditional.
72259         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
72260         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
72261         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
72262         Remove.
72263         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
72264         [!__ASSUME_STD_AUXV]: Remove conditional code.
72265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
72266         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
72267         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
72268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
72269         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
72270         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
72271         code.
72272         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
72273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
72274         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
72275         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
72276         conditional code.
72277         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
72278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
72279         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
72280         code.
72281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
72282         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
72283         conditional code.
72284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
72285         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
72286         code unconditional.
72287         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72288         conditional code.
72289         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
72290         unconditional.
72291         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72292         conditional code.
72293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
72294         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
72295         unconditional.
72296         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72297         conditional code.
72298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
72299         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
72300         code unconditional.
72301         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72302         conditional code.
72303         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
72304         unconditional.
72305         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72306         conditional code.
72307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
72308         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
72309         code unconditional.
72310         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72311         conditional code.
72312         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
72313         unconditional.
72314         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72315         conditional code.
72317 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
72319         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
72320         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
72321         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
72322         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
72323         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
72324         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
72325         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
72326         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
72327         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
72328         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
72329         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
72330         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
72331         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
72332         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
72333         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
72334         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
72335         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
72336         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
72337         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
72338         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
72339         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
72340         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
72341         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
72343 2012-07-25  Florian Weimer  <fweimer@redhat.com>
72345         * Versions.def: Add GLIBC_2.17.
72346         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
72347         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
72348         Introduce __libc_secure_getenv.
72349         * stdlib/Versions (2.17): Add secure_getenv
72350         (GLIBC_PRIVATE): Add __libc_secure_getenv.
72351         * stdlib/secure-getenv.c: Rename __secure_getenv to
72352         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
72353         symbol __secure_getenv for GLIBC_2.0.
72354         * stdlib/tst-secure-getenv.c: New.
72355         * stdlib/Makefile (tests): Add testcase.
72356         * manual/startup.texi (Environment Access): Document
72357         secure_getenv.
72358         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
72359         __libc_secure_getenv.
72360         * inet/ruserpass.c (ruserpass): Likewise.
72361         * malloc/mtrace.c (mtrace): Likewise.
72362         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
72363         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
72364         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
72365         * sysdeps/posix/tempname.c: Likewise.  Evaluate
72366         HAVE_SECURE_GETENV.
72367         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
72368         __secure_getenv to __libc_secure_getenv.
72369         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
72370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
72371         Likewise.
72372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
72373         Likewise.
72374         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
72375         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
72376         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
72377         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
72378         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
72379         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
72380         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
72382 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
72384         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
72385         (struct La_i86_retval): Likewise.
72386         (struct La_x86_64_regs): Likewise.
72387         (struct La_x86_64_retval): Likewise.
72388         (struct La_x32_regs): Likewise.
72389         (struct La_x32_retval): Likewise.
72390         (struct La_ppc32_regs): Likewise.
72391         (struct La_ppc32_retval): Likewise.
72392         (struct La_ppc64_regs): Likewise.
72393         (struct La_ppc64_retval): Likewise.
72394         (struct La_sh_regs): Likewise.
72395         (struct La_sh_retval): Likewise.
72396         (struct La_s390_32_regs): Likewise.
72397         (struct La_s390_32_retval): Likewise.
72398         (struct La_s390_64_regs): Likewise.
72399         (struct La_s390_64_retval): Likewise.
72400         (struct La_sparc32_regs): Likewise.
72401         (struct La_sparc32_retval): Likewise.
72402         (struct La_sparc64_regs): Likewise.
72403         (struct La_sparc64_retval): Likewise.
72404         (struct audit_ifaces): Remove architecture-specific pltenter and
72405         pltexit members.
72406         * sysdeps/i386/ldsodefs.h: New file.
72407         * sysdeps/powerpc/ldsodefs.h: Likewise.
72408         * sysdeps/s390/ldsodefs.h: Likewise.
72409         * sysdeps/sh/ldsodefs.h: Likewise.
72410         * sysdeps/sparc/ldsodefs.h: Likewise.
72411         * sysdeps/x86_64/ldsodefs.h: Likewise.
72413 2012-07-25  Marek Polacek  <polacek@redhat.com>
72415         [BZ #6808]
72416         * math/libm-test.inc (yn_test): Add another test.
72417         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
72418         to ERANGE when the result is +-Inf.
72419         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
72420         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
72421         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
72422         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
72424 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
72426         * conform/data/time.h-data (NULL): Use macro-constant.  Require
72427         equal to 0.
72428         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
72429         clock_t.
72430         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
72432 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
72434         * configure.in <sysdeps resolving>: Correct printing
72435         Implies_before.
72436         * configure: Regenerate.
72438 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
72440         * math/w_ilogb.c: Include <limits.h>.
72441         * math/w_ilogbl.c: Likewise.
72443 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
72445         * manual/lang.texi (__va_copy): Document primarily as ISO C99
72446         va_copy.  Document allowing for unavailable va_copy only as
72447         pre-C99 compatibility.
72448         * manual/string.texi (Copying and Concatenation): Use va_copy
72449         instead of __va_copy in concat example.
72451 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
72453         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
72454         (__sendto): Use create_address_port.  Initialize APORT and deallocate
72455         it if not null.
72457         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
72458         with O_NOLINK passed to __file_name_lookup.
72460         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
72461         with O_NOLINK passed to __file_name_lookup.
72463         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
72464         negative N or less than NGIDS.
72466         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
72467         type to string_t.  Set ERANGE as errno and return it if NAME is not big
72468         enough.  Use memcpy instead of strncpy.
72470 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
72472         * elf/Makefile (check-data): Remove.
72473         (localplt.data): New vpath directive.
72474         ($(objpfx)check-localplt.out): Use localplt.data from vpath
72475         instead of $(check-data).
72476         * scripts/data/localplt-generic.data: Move to ...
72477         * sysdeps/generic/localplt.data: ... here.
72478         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
72479         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
72480         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
72481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
72482         ... here.
72483         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
72484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
72485         ... here.
72486         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
72487         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
72488         ... here.
72489         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
72490         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
72491         ... here.
72492         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
72493         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
72494         ... here.
72495         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
72496         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
72497         ... here.
72499 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72501         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
72502         PPC32 and PPC64 files.
72503         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
72504         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
72506 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72508         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
72509         __makecontext_ret to ...
72510         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
72511         ... here and call exit if uc_link is NULL.  New file.
72512         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
72513         __makecontext_ret.S.
72514         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
72515         __makecontext_ret to ...
72516         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
72517         ... here and call exit if uc_link is NULL.  New file.
72518         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
72519         __makecontext_ret.S.
72521 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72523         * elf/elf.h (R_390_IRELATIVE): New definition.
72524         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
72525         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
72526         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
72527         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
72528         (elf_machine_lazy_rel): Likewise.
72529         * sysdeps/s390/dl-irel.h: New file.
72530         * sysdeps/s390/s390-64/memcpy.S: New asm code.
72531         * sysdeps/s390/s390-64/memset.S: New asm code.
72532         * sysdeps/s390/s390-64/memcmp.S: New asm code.
72533         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
72534         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
72535         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
72536         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
72537         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
72538         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
72539         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
72540         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
72541         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
72542         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
72543         * sysdeps/s390/s390-32/memcpy.S: New asm code.
72544         * sysdeps/s390/s390-32/memset.S: New asm code.
72545         * sysdeps/s390/s390-32/memcmp.S: New asm code.
72547 2012-07-17  Marek Polacek  <polacek@redhat.com>
72549         [BZ #14349]
72550         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
72551         * sysdeps/s390/s390-64/configure.in: Likewise.
72552         * sysdeps/sparc/configure.in: Likewise.
72553         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
72554         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
72555         * sysdeps/i386/configure.in: Likewise.
72556         * sysdeps/x86_64/configure.in: Likewise.
72557         * sysdeps/sh/configure.in: Likewise.
72558         * sysdeps/s390/s390-32/configure: Regenerated.
72559         * sysdeps/s390/s390-64/configure: Likewise.
72560         * sysdeps/x86_64/configure: Likewise.
72561         * sysdeps/sh/configure: Likewise.
72562         * sysdeps/powerpc/powerpc64/configure: Likewise.
72563         * sysdeps/powerpc/powerpc32/configure: Likewise.
72564         * sysdeps/sparc/configure: Likewise.
72565         * sysdeps/i386/configure: Likewise.
72567         * elf/dl-open.c: Comment fixes.
72569 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
72571         * Makefile [CXX] (check-data): Remove.
72572         [CXX] (c++-types.data): New vpath directive.
72573         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
72574         vpath.  Do not allow for C++ type data being missing.
72575         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
72576         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
72577         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
72578         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
72579         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
72580         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
72581         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
72582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
72583         ... here.
72584         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
72585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
72586         ... here.
72587         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
72588         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
72589         ... here.
72590         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
72591         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
72592         ... here.
72593         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
72594         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
72595         ... here.
72596         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
72597         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
72598         ... here.
72599         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
72600         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
72601         ... here.
72602         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
72603         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
72605         * elf/tls-macros.h (TLS_LE): Move architecture-specific
72606         definitions to architecture-specific files.
72607         (TLS_IE): Likewise.
72608         (TLS_LD): Likewise.
72609         (TLS_GD): Likewise.
72610         * sysdeps/i386/tls-macros.h: New file.
72611         * sysdeps/powerpc/tls-macros.h: Likewise.
72612         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
72613         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
72614         * sysdeps/sh/tls-macros.h: Likewise.
72615         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
72616         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
72617         * sysdeps/x86_64/tls-macros.h: Likewise.
72619 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
72621         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
72622         zero value for regular exit case.
72624         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
72625         (__start_context): Preserve zero value for regular exit case.
72627 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
72628             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72630         * manual/setjmp.texi (setcontext): Clarify normal process
72631         termination when uc_link is the null pointer.
72632         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
72633         exit call.
72635 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
72637         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
72638         preprocessor.  Test for each exception mask separately.
72640 2012-07-16  Andreas Jaeger  <aj@suse.de>
72642         * po/ru.po: Update from translation team.
72644 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
72646         * conform/data/string.h-data (NULL): Use macro-constant.  Require
72647         equal to 0.
72648         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
72649         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
72650         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
72651         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
72652         [ISO || ISO99 || ISO11] (*_t): Do not allow.
72654 2012-07-13  Andreas Jaeger  <aj@suse.de>
72656         * po/fr.po: Update from translation team.
72658 2012-07-12  Marek Polacek  <polacek@redhat.com>
72660         [BZ #14173]
72661         * math/libm-test.inc (yn_test): Add test for BZ #14173.
72662         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
72663         loop condition.
72665 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
72667         [BZ #13717]
72668         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
72669         Change to 2.4.1 where previously 2.4.0.
72670         * sysdeps/unix/sysv/linux/configure: Regenerated.
72671         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
72672         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
72673         version.
72674         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
72675         (__ASSUME_AT_CLKTCK): Remove.
72676         (__ASSUME_AT_PAGESIZE): Likewise.
72677         (__ASSUME_AT_XID): Likewise.
72678         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
72679         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
72680         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
72681         unconditionally.
72682         (HAVE_AUX_PAGESIZE): Likewise.
72683         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
72684         [__ASSUME_AT_CLKTCK]: Make code unconditional.
72685         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
72687 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
72689         [BZ #14307]
72690         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
72691         the temporary buffer used to invoke __gethostbyname2_r,
72692         __gethostbyaddr_r and gethostbyname4_r to make room for struct
72693         host_data / struct gaih_addrtuple.
72694         * resolv/nss_dns/dns-host.c (global scope): Move definition of
72695         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
72696         header file nss/nsswitch.h.
72697         * nss/nsswitch.h (global scope): Add definition of implementation
72698         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
72699         resolv/nss_dns/dns-host.c).
72701 2012-07-11  Andreas Jaeger  <aj@suse.de>
72703         * po/fr.po: Update from translation team.
72705         * po/sv.po: Update from translation team
72706         * po/fr.po: Another update from translation team.
72708 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72710         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
72711         for subnormals or multiply small sinh result by itself.
72712         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
72713         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72715 2012-07-11  David S. Miller  <davem@davemloft.net>
72717         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72719 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
72721         [BZ #14347]
72722         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
72723         (INTERNAL_MARK): Shift it here.
72725 2012-07-10  Marek Polacek  <polacek@redhat.com>
72727         [BZ #14151]
72728         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
72729         libc_cv_asm_global_directive with .globl.
72730         * configure: Regenerated.
72731         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
72732         with .globl.
72733         * sysdeps/i386/configure: Regenerated.
72734         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
72735         with .globl.
72736         * sysdeps/x86_64/configure: Regenerated.
72737         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
72738         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
72739         * elf/tst-unique2mod2.c: Likewise.
72740         * elf/tst-unique2mod1.c: Likewise.
72741         * elf/tst-unique1mod2.c: Likewise.
72742         * elf/tst-unique1mod1.c: Likewise.
72743         * sysdeps/s390/s390-32/sysdep.h: Likewise.
72744         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
72745         * sysdeps/s390/s390-64/sysdep.h: Likewise.
72746         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
72747         * sysdeps/mach/sysdep.h: Likewise.
72748         * sysdeps/i386/sysdep.h: Likewise.
72749         * sysdeps/i386/i386-mcount.S: Likewise.
72750         * sysdeps/x86_64/_mcount.S: Likewise.
72751         * sysdeps/x86_64/sysdep.h: Likewise.
72752         * sysdeps/sh/_mcount.S: Likewise.
72753         * sysdeps/sh/sysdep.h: Likewise.
72754         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
72755         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
72756         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
72757         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
72758         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
72759         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
72760         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
72761         * locale/localeinfo.h: Likewise.
72762         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
72763         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
72765 2012-07-09  Roland McGrath  <roland@hack.frob.com>
72767         [BZ #14336]
72768         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
72769         system".
72770         * manual/message.texi (The Uniforum approach): Likewise.
72771         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
72772         (glibc iconv Implementation): Likewise.
72774 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
72776         [BZ #14337]
72777         * math/s_clog.c (__clog): Avoid scaling a value down where that
72778         could result in underflow.
72779         * math/s_clog10.c (__clog10): Likewise.
72780         * math/s_clog10f.c (__clog10f): Likewise.
72781         * math/s_clog10l.c (__clog10l): Likewise.
72782         * math/s_clogf.c (__clogf): Likewise.
72783         * math/s_clogl.c (__clogl): Likewise.
72784         * math/libm-test.inc (clog_test): Add more tests.
72785         (clog10_test): Likewise.
72786         * sysdeps/i386/fpu/libm-test-ulps: Update.
72787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72789 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
72791         [BZ #14283]
72792         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
72793         by 7 not 8 to examine high bit of fractional part.
72795         [BZ #14042]
72796         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
72797         for call to __mcount_internal.
72798         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
72799         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
72800         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
72802 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
72804         [BZ #14154]
72805         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
72806         approximation for values within 0x1p-13f of an odd multiple of
72807         pi/4.
72808         * math/libm-test.inc (tan_test): Do not allow spurious underflow
72809         exception.  Add more tests.
72810         * sysdeps/i386/fpu/libm-test-ulps: Update.
72812         [BZ #6778]
72813         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
72814         inputs and return -1 for them.  Do not check for +Inf in case not
72815         reachable for +Inf.
72816         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
72817         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
72818         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
72819         and return -1 for them.  Do not check for +Inf in case not
72820         reachable for +Inf.
72821         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
72822         define.
72823         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
72824         and return -1 for them.  Do not check for +Inf in case not
72825         reachable for +Inf.
72826         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
72827         spurious underflow.
72828         * sysdeps/i386/fpu/libm-test-ulps: Update.
72829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72831 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
72833         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
72835 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
72837         [BZ #14157]
72838         [BZ #14331]
72839         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
72840         could result in spurious underflow.  Scale down values above
72841         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
72842         * math/s_csqrtf.c (__csqrtf): Likewise.
72843         * math/s_csqrtl.c (__csqrtl): Likewise.
72844         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
72845         spurious underflow.
72846         * sysdeps/i386/fpu/libm-test-ulps: Update.
72847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72849 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
72851         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
72852         xopen-msg.sed.
72853         * catgets/xopen-msg.awk: New file.
72854         * catgets/xopen-msg.sed: Removed.
72856         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
72857         po2text.sed.
72858         * intl/po2test.awk: New file.
72859         * intl/po2test.sed: Removed.
72861 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
72863         [BZ #14328]
72864         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
72865         or multiply small sinh result by itself.
72866         * math/s_ctanf.c (__ctanf): Likewise.
72867         * math/s_ctanh.c (__ctanh): Likewise.
72868         * math/s_ctanhf.c (__ctanhf): Likewise.
72869         * math/s_ctanhl.c (__ctanhl): Likewise.
72870         * math/s_ctanl.c (__ctanl): Likewise.
72871         * math/libm-test.inc (ctan_test_tonearest): New function.
72872         (ctan_test_towardzero): Likewise.
72873         (ctan_test_downward): Likewise.
72874         (ctan_test_upward): Likewise.
72875         (ctanh_test_tonearest): Likewise.
72876         (ctanh_test_towardzero): Likewise.
72877         (ctanh_test_downward): Likewise.
72878         (ctanh_test_upward): Likewise.
72879         (main): Call these new functions.
72880         * sysdeps/i386/fpu/libm-test-ulps: Update.
72881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72883 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
72885         * .gitignore: Delete /ports entry.
72887 2012-07-03  Andreas Jaeger  <aj@suse.de>
72889         * po/bg.po: Update from translation team.
72890         * po/cs.po: Likewise.
72891         * po/de.po: Likewise.
72892         * po/hr.po: Likewise.
72893         * po/nl.pl: Likewise.
72894         * po/pl.po: Likewise.
72895         * po/vi.po: Likewise.
72897 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
72899         * Makeconfig [!+link] (+link-before-libc): New variable.
72900         [!+link] (+link-after-libc): Likewise.
72901         [!+link] (+link-tests): Likewise.
72902         [!+link] (+link): Define in terms of $(+link-before-libc) and
72903         $(+link-after-libc).
72904         [!+link-static] (+link-static-before-libc): New variable.
72905         [!+link-static] (+link-static-after-libc): Likewise.
72906         [!+link-static] (+link-static-tests): Likewise.
72907         [!+link-static] (+link-static): Define in terms of
72908         $(+link-static-before-libc) and $(+link-static-after-libc).
72909         [build-shared] (link-libc-before-gnulib): New variable.
72910         [build-shared] (link-libc-tests): Likewise.
72911         [build-shared] (link-libc): Define in terms of
72912         $(link-libc-before-gnulib).
72913         [!build-shared] (link-libc-tests): New variable.
72914         (link-libc-static-tests): New variable.
72915         [!gnulib] (gnulib-arch): New variable.
72916         [!gnulib] (gnulib-tests): Likewise.
72917         [!gnulib] (static-gnulib-arch): Likewise.
72918         [!gnulib] (static-gnulib-tests): Likewise.
72919         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
72920         Define with "=" instead of ":=".
72921         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
72922         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
72923         * Rules (binaries-all-notests): New variable.
72924         (binaries-all-tests): Likewise.
72925         (binaries-static-notests): Likewise.
72926         (binaries-static-tests): Likewise.
72927         (binaries-all): Define using $(binaries-all-notests) and
72928         $(binaries-all-tests).
72929         (binaries-static): Define using $(binaries-static-notests) and
72930         $(binaries-static-tests).
72931         (binaries-shared-tests): New variable.
72932         (binaries-shared-notests): Likewise.
72933         (binaries-shared): Remove variable.
72934         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
72935         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
72936         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
72937         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
72938         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
72939         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
72940         * elf/Makefile (sln-modules): New variable.
72941         (extra-objs): Add $(sln-modules:=.o).
72942         (ldconfig-modules): Add static-stubs.
72943         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
72944         * elf/static-stubs.c: New file.
72946         [BZ #14283]
72947         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
72948         by 7 not 8 to examine high bit of fractional part.  Use volatile
72949         variables when splitting into final array of floats if
72950         __FLT_EVAL_METHOD__ != 0.
72951         * math/libm-test.inc (cos_test): Add another test.
72952         (sin_test): Likewise.
72953         * sysdeps/i386/fpu/libm-test-ulps: Update.
72955         [BZ #14273]
72956         * math/libm-test.inc (cosh_test): Add more tests.
72958         * version.h (RELEASE): Set to "development".
72959         (VERSION): Set to "2.16.90".
72961 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
72963         * NEWS: Update copyright. Remove last-updated date.
72964         Mention math library bug fixes and timezone data changes.
72965         * README: Mention GNU/Hurd, x32, and HPPA support status.
72967 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
72969         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
72971 2012-06-27  Andreas Jaeger  <aj@suse.de>
72973         * manual/contrib.texi (Contributors): Add Samuel Thibault.
72975 2012-06-25  Andreas Jaeger  <aj@suse.de>
72977         * sysdeps/s390/fpu/libm-test-ulps: Update.
72979 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
72980             Thomas Schwinge  <thomas@codesourcery.com>
72982         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
72983         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
72984         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
72985         fanotify_mark.
72987 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
72989         * sysdeps/mach/start.c: Remove file.
72990         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
72991         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
72992         * sysdeps/sh/init-first.c: Likewise.
72994         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
72995         registers for frame unwinding purposes, add CFI directives.
72996         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
72997         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
72998         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
72999         Likewise.
73001         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
73002         __fortify_fail returning.
73003         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
73005         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
73006         sysdeps/sh/____longjmp_chk.S.
73007         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
73008         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
73009         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
73010         (gen-as-const-headers): Append sigaltstack-offsets.sym.
73012         * sysdeps/sh/abort-instr.h: New file.
73013         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
73014         process in case exit returns.
73016         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
73017         initialize the GOT register before use.
73019         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
73020         calculation of ARGC > 4.
73022         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
73023         meaningful names to some local labels.
73025 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
73026             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
73028         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
73029         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
73030         (__arch_compare_and_exchange_val_16_acq): Likewise.
73031         (__arch_compare_and_exchange_val_32_acq): Likewise.
73032         (atomic_exchange_and_add): Fix gUSA sequence.
73033         (atomic_add): Likewise.
73034         (atomic_add_negative): Likewise.
73035         (atomic_add_zero): Likewise.
73036         (atomic_bit_test_set): Likewise.
73038 2012-06-22  Andreas Schwab  <schwab@redhat.com>
73040         [BZ #13579]
73041         * include/link.h (struct link_map): Add l_free_initfini.
73042         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
73043         l_initfini.
73044         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
73045         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
73046         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
73047         set.
73049 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
73051         * configure.in: Use AC_LANG_SOURCE.
73052         * configure: Regenerate.
73054 2012-06-22  Roland McGrath  <roland@hack.frob.com>
73056         * configure.in (libc_cv_localstatedir): New substituted variable.
73057         * configure: Regenerated.
73058         * config.make.in (localstatedir): New variable, substituted from
73059         libc_cv_localstatedir.
73060         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
73061         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
73062         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
73063         * sysdeps/gnu/configure: Regenerated.
73065 2012-06-21  Jeff Law  <law@redhat.com>
73067         [BZ #14277]
73068         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
73069         free.  Simplify list management for _LIBC case.
73071 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
73073         [BZ #14273]
73074         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
73075         Clear sign bit of 64-bit integer value before comparing against
73076         overflow value.
73078         * sysdeps/mach/configure: Regenerated.
73080 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
73082         [BZ #14278]
73083         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
73085 2012-06-21  Jeff Law  <law@redhat.com>
73087         [BZ #13882]
73088         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
73089         uint16_t for elements in the "seen" array to avoid char overflows.
73090         * elf/dl-fini.c (_dl_sort_fini): Likewise.
73091         * elf/dl-open.c (dl_open_worker): Likewise.
73093 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
73095         * scripts/list-sources.sh: Scan PORTS for translations.
73096         * po/libc.pot: Regenerated.
73098 2012-06-21  Andreas Jaeger  <aj@suse.de>
73100         [BZ #12194]
73101         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
73102         warning.
73103         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
73104         * bits/byteswap-16.h (__bswap_16): Likewise.
73105         * bits/byteswap.h (__bswap_constant_16): Likewise.
73107 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
73109         [BZ #14117]
73110         * sysdeps/i386/fpu_control.h: Removed.
73111         * sysdeps/x86_64/fpu_control.h: Moved to ...
73112         * sysdeps/x86/fpu_control.h: Here.
73114         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
73115         (_FPU_SETCW): Likewise.
73117 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
73119         [BZ #14117]
73120         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
73121         * sysdeps/x86/fpu/bits/mathinline.h: This.
73122         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
73124         [BZ #14050]
73125         [BZ #14117]
73126         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
73127         functions if __x86_64__ is defined.
73129 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
73131         * string/endian.h: Add !__ASSEMBLER__ condition for including
73132         conversion interfaces.
73134 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
73136         [BZ #14241]
73137         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
73138         of ABS(x) in calculating zero to negative powers other than odd
73139         integers.
73140         * math/libm-test.inc (pow_test): Add more tests.
73142 2012-06-15  Andreas Jaeger  <aj@suse.de>
73144         * manual/contrib.texi (Contributors): Update entry of Liubov
73145         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
73146         Machado Filho.
73148 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
73150         * string/string.h: Add __wur to GNU version of strerror_r.
73152 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
73154         [BZ #14229]
73155         * string/Makefile (tests): Add tst-strtok_r.
73156         * string/tst-strtok_r.c: New file.
73157         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
73158         RAX_LP/RDX_LP on SAVE_PTR.
73160 2012-06-14  Roland McGrath  <roland@hack.frob.com>
73162         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
73164 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
73166         * libm_test.inc (csqrt_test): Allow more spurious underflow
73167         exceptions.
73168         (j0_test): Likewise.
73169         (j1_test): Likewise.
73170         (y0_test): Likewise.
73171         (y1_test): Likewise.
73173 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
73175         * po/Makefile (libc.pot): Use UTF-8 charset.
73177 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
73179         [BZ #14210]
73180         Suppress sign-conversion warning from FD_SET.
73181         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
73182         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
73183         not unsigned long int.
73184         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
73186 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
73188         [BZ #14050]
73189         [BZ #14117]
73190         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
73191         __extern_always_inline instead of __extern_inline.
73192         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
73193         (__signbit): Likewise.
73194         (__signbitl): Support C++ namespace.
73195         (lrintf): New inline function.
73196         (lrint): Likewise.
73197         (llrintf): Likewise.
73198         (llrint): Likewise.
73199         (fmaxf): Likewise.
73200         (fmax): Likewise.
73201         (fminf): Likewise.
73202         (fmin): Likewise.
73203         (rint): Likewise.
73204         (rintf): Likewise.
73205         (ceil): Likewise.
73206         (ceilf): Likewise.
73207         (floor): Likewise.
73208         (floorf): Likewise.
73209         (nearbyint): Likewise.
73210         (nearbyintf): Likewise.
73212 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
73214         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
73215         non-default versions.
73217 2012-06-11  Roland McGrath  <roland@hack.frob.com>
73219         [BZ #14218]
73220         * manual/argp.texi (Argp): Reword argp_parse description slightly.
73222 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
73224         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
73225         (FE_UPWARD, FE_DOWNWARD): Don't define.
73226         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
73227         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
73229         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
73230         reading it.
73231         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
73232         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
73234 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
73236         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
73237         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
73238         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
73239         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
73241 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
73243         [BZ #14117]
73244         * sysdeps/i386/fpu/bits/fenv.h: Removed.
73245         * sysdeps/i386/fpu/Implies: New file.
73246         * sysdeps/x86_64/fpu/Implies: Likewise.
73247         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
73248         * sysdeps/x86/fpu/bits/fenv.h: This.
73250         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
73251         __SSE_MATH__.
73253 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
73255         [BZ #14134]
73256         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
73257         character 0xffff that matches the last element of the
73258         conversion table.
73260 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73262         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
73263         fmodl commit.
73265 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73267         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
73268         values higher than 25.6283.
73270 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73272         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
73273         subnormal exponent extraction and add some __builtin_expect.
73274         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
73275         Fix for subnormal mantissa calculation.
73277 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
73279         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
73280         cpu2 is -1 and errno is not ENOSYS.
73282 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
73284         [BZ #14117]
73285         * sysdeps/i386/i486/bits/string.h: Renamed to ...
73286         * sysdeps/x86/bits/string.h: This.
73287         * sysdeps/x86_64/bits/string.h: Removed.
73289         * sysdeps/i386/i486/bits/string.h: Define inline functions only
73290         if not compiling for x86-64, but compiling for >= i486.
73292         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
73293         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
73295         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
73296         New macro from Linux kernel 3.4.0.
73297         (FP_XSTATE_MAGIC2): Likewise.
73298         (FP_XSTATE_MAGIC2_SIZE): Likewise.
73299         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
73300         (struct _fpx_sw_bytes): New struct.
73301         (struct _xsave_hdr): Likewise.
73302         (struct _ymmh_state): Likewise.
73303         (struct _xstate): Likewise.
73305         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
73306         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
73307         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
73308         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
73309         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
73310         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
73312         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
73313         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
73314         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
73315         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
73316         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
73317         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
73319 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
73321         [BZ #13743]
73322         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
73323         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
73324         (sysdep_headers): Include sys/platform/ppc.h.
73325         * sysdeps/powerpc/test-gettimebase.c: Test for
73326         __ppc_get_timebase() to catch future ISA opcode/insn changes.
73327         * manual/Makefile (appendices): Include platform.texi.
73328         * manual/contrib.texi (Contributors): Update @node pointers.
73329         * manual/maint.texi (Maintenance): Likewise.
73330         (Platform): New node.
73331         * manual/platform.texi: New file.  Document the new features.
73333 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
73334             Jakub Jelinek  <jakub@redhat.com>
73336         [BZ #14188]
73337         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
73338         where __builtin_expect is unavailable.
73340 2012-06-03  David S. Miller  <davem@davemloft.net>
73342         * stdlib/longlong.h: Updated from GCC.
73344 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
73346         [BZ #14042]
73347         * sysdeps/powerpc/powerpc32/mcount.c: New file.
73348         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
73349         __mcount_internal.
73350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
73351         (GLIBC_2.16): Likewise.
73353 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
73355         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
73357 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
73359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
73360         (default-abi): New variable.
73361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
73362         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
73363         variable.
73364         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
73365         Likewise.
73366         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
73367         Likewise.
73368         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
73369         Likewise.
73371         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
73372         definition.  Document in comment.
73374 2012-06-01  David S. Miller  <davem@davemloft.net>
73376         * stdlib/longlong.h: Updated from GCC.
73378 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
73380         [BZ #14117]
73381         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
73382         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
73383         sys/debugreg.h sys/io.h here.
73384         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
73385         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
73386         sys/io.h.
73387         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
73388         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
73389         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
73390         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
73391         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
73392         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
73394         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
73395         Define only if __x86_64__ is defined.
73397 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
73399         [BZ #14048]
73400         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
73401         Use int64_t for variable i.
73402         * math/libm-test.inc (fmod_test): Add more tests.
73404         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
73405         z computation is not scheduled after fetestexcept.
73406         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
73407         Use math_force_eval instead of asm to ensure calculation scheduled
73408         before exception test.
73409         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
73410         Ensure a1 + u.d computation is not scheduled after fetestexcept.
73412 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
73414         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
73415         computation is not scheduled after fetestexcept.
73417 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
73419         [BZ #14117]
73420         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
73421         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
73423 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73425         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
73426         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
73428 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
73430         [BZ #14117]
73431         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
73432         <bits/wordsize.h>.
73433         (__WCHAR_MIN): Support __WORDSIZE == 64.
73434         (__WCHAR_MAX): Likewise.
73436         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
73437         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
73439         [BZ #14183]
73440         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
73441         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
73443         [BZ #14117]
73444         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
73445         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
73447         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
73448         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
73450         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
73451         Defined to 1 if __x86_64__ isn't defined.
73452         (_STAT_VER_LINUX_OLD): New.
73453         (st_atime): Remove duplicate.
73454         (st_mtime): Likewise.
73455         (st_ctime): Likewise.
73457 2012-05-31  David S. Miller  <davem@davemloft.net>
73459         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
73460         entries.
73462 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
73464         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
73465         gen-libm-test.pl.
73467         [BZ #14132]
73468         * elf/dl-reloc.c: Include <_itoa.h>.
73469         (_dl_reloc_bad_type): Remove use of INTUSE.
73470         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
73471         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
73472         * stdio-common/psiginfo.c (psiginfo): Likewise.
73473         * stdio-common/psignal.c (psignal): Likewise.
73474         * string/strsignal.c (strsignal): Likewise.
73475         * include/signal.h (_sys_siglist): Declare hidden proto.
73476         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
73477         INTVARDEF with libc_hidden_data_def.
73478         * stdio-common/itoa-udigits.c: Likewise.
73479         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
73480         (_itoa_lower_digits_internal): Remove declaration.
73481         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
73482         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
73483         (_sys_sigabbrev_internal): Remove aliases.
73484         (_sys_siglist): Define hidden alias.
73486 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
73488         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73489         bits/sysctl.h.
73491 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
73493         [BZ #14117]
73494         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
73495         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
73497         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
73498         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
73499         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
73500         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
73501         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
73502         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
73504         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
73505         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
73506         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
73508         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
73509         with __addr.
73510         (insw): Likewise.
73511         (insl): Likewise.
73512         (outsb): Likewise.
73513         (outsw): Likewise.
73514         (outsl): Likewise.
73516         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
73517         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
73518         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
73520         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
73521         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
73522         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
73523         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
73524         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
73525         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
73527         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
73528         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
73530         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
73531         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
73533         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
73534         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
73535         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
73537         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
73538         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
73539         to ...
73540         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
73542         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
73543         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
73544         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
73546         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
73547         for x86-64.
73548         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
73550 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
73552         * math/math.h (M_El): Use two more decimal places.
73553         (M_LOG2El): Likewise.
73554         (M_LOG10El): Likewise.
73555         (M_LN2l): Likewise.
73556         (M_LN10l): Likewise.
73557         (M_PIl): Likewise.
73558         (M_PI_2l): Likewise.
73559         (M_PI_4l): Likewise.
73560         (M_1_PIl): Likewise.
73561         (M_2_PIl): Likewise.
73562         (M_2_SQRTPIl): Likewise.
73563         (M_SQRT2l): Likewise.
73564         (M_SQRT1_2l): Likewise.
73566 2012-05-31  David S. Miller  <davem@davemloft.net>
73568         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
73569         values between float registers.
73570         * sysdeps/sparc/sparc64/memset.S: Likewise.
73571         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
73573 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
73575         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
73576         -D_FORTIFY_SOURCE=1.
73577         (CPPFLAGS-tst-longjmp_chk.c): Define.
73578         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
73579         (CPPFLAGS-tst-longjmp_chk2.c): Define.
73580         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
73581         CFLAGS-tst-wchar-h.c.
73583 2012-05-31  Marek Polacek  <polacek@redhat.com>
73585         [BZ #14132]
73586         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
73587         __endmntent_internal): Remove declaration.
73588         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
73589         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
73590         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
73592 2012-05-30  David S. Miller  <davem@davemloft.net>
73594         * sysdeps/sparc/sparc32/soft-fp/q_util.c
73595         (___Q_simulate_exceptions): Use real FP ops rather than writing
73596         into the %fsr.
73597         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
73598         Likewise.
73600 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
73602         [BZ #14117]
73603         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
73604         * sysdeps/x86/bits/xtitypes.h: This.
73606         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
73607         * sysdeps/x86/bits/wordsize.h: This.
73609         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
73610         * sysdeps/x86/bits/huge_vall.h: This.
73612         * sysdeps/i386/bits/select.h: Removed.
73613         * sysdeps/x86_64/bits/select.h: Renamed to ...
73614         * sysdeps/x86/bits/select.h: This.
73616         * sysdeps/i386/bits/setjmp.h: Removed.
73617         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
73618         * sysdeps/x86/bits/setjmp.h: This.
73620         * sysdeps/i386/bits/mathdef.h: Removed.
73621         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
73622         * sysdeps/x86/bits/mathdef.h: This.
73624 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
73626         [BZ #14132]
73627         * include/sys/socket.h (__connect_internal)
73628         (__libc_sa_len_internal): Remove declaration.
73629         (__connect, __libc_sa_len): Declare hidden_proto.
73630         (SA_LEN): Remove use of INTUSE.
73631         * socket/connect.c: Add libc_hidden_def.
73632         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
73633         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
73634         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
73635         alias.
73636         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
73637         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
73638         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
73639         of adding _internal alias.
73641 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
73643         [BZ #14117]
73644         * sysdeps/i386/bits/link.h: Removed.
73645         * sysdeps/i386/bits/linkmap.h: Likewise.
73646         * sysdeps/x86_64/bits/link.h: Renamed to ...
73647         * sysdeps/x86/bits/link.h: This.
73648         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
73649         * sysdeps/x86/bits/linkmap.h: This.
73651         * sysdeps/i386/bits/endian.h: Removed.
73652         * sysdeps/x86_64/bits/endian.h: Renamed to ...
73653         * sysdeps/x86/bits/endian.h: This.
73655         * sysdeps/i386/bits/byteswap.h: Removed.
73656         * sysdeps/i386/bits/byteswap-16.h: Likewise.
73657         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
73658         * sysdeps/x86/bits/byteswap.h: This.
73659         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
73660         * sysdeps/x86/bits/byteswap-16.h: This.
73661         * sysdeps/i386/Implies: Add x86.
73662         * sysdeps/x86_64/Implies: Likewise.
73664 2012-05-30  David S. Miller  <davem@davemloft.net>
73666         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
73667         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
73668         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
73669         (FP_TRAPPING_EXCEPTIONS): Define.
73670         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
73671         (FP_TRAPPING_EXCEPTIONS): Define.
73672         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
73673         subnormals only when inexact has been signalled or underflow
73674         exceptions are enabled.
73675         (_FP_PACK_CANONICAL): Likewise.
73677 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
73679         [BZ #14183]
73680         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
73681         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
73683 2012-05-30  Richard Henderson  <rth@twiddle.net>
73685         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
73686         with #ifndef NOT_IN_libc.
73688         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
73689         marked to avoid plt entry.
73691 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
73693         [BZ #14112]
73694         * Makeconfig (default-abi): New macro.
73695         (abi-includes): Likewise.
73696         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
73697         $(abi-$(default-abi)-lib-soname) for soname if defined.
73698         ($(common-objpfx)gnu/lib-names.stmp): Generate from
73699         abi-variants.
73700         * Makefile (installed-stubs): Likewise.
73701         * include/stubs-biarch.h: Removed.
73702         * scripts/lib-names.awk: Only handle one library at a time.
73703         * scripts/soversions.awk: Remove WORDSIZE support.
73704         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
73705         entries.
73706         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
73707         Removed.
73708         (syscall-list-default-condition): Likewise.
73709         (syscall-list-default-condition): Likewise.
73710         (syscall-list-includes): Likewise.
73711         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
73712         syscall-list-* with abi-*.  Handle undefined abi-variants.
73713         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
73714         * sysdeps/unix/sysv/linux/i386/Implies: New file.
73715         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
73716         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
73717         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
73718         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
73719         Removed.
73720         (syscall-list-32-options): Likewise.
73721         (syscall-list-32-condition): Likewise.
73722         (syscall-list-64-options): Likewise.
73723         (syscall-list-64-condition): Likewise.
73724         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
73725         macro.
73726         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
73727         Renamed to ...
73728         (abi-*): This.
73729         (abi-64-ld-soname): New macro.
73730         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
73731         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
73732         Renamed to ...
73733         (abi-*): This.
73734         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
73735         * sysdeps/x86_64/x32/shlib-versions: Likewise.
73737 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
73739         * sysdeps/unix/sysv/linux/kernel-features.h
73740         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
73741         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
73742         include <kernel-features.h>.
73743         [!__NR_ftruncate64]: Remove conditional code.
73744         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73745         [__NR_ftruncate64]: Make code unconditional.
73746         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73747         * sysdeps/unix/sysv/linux/truncate64.c: Do not
73748         include <kernel-features.h>.
73749         [!__NR_ftruncate64]: Remove conditional code.
73750         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73751         [__NR_ftruncate64]: Make code unconditional.
73752         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
73754         include <kernel-features.h>.
73755         [!__NR_ftruncate64]: Remove conditional code.
73756         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73757         [__NR_ftruncate64]: Make code unconditional.
73758         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
73760         include <kernel-features.h>.
73761         [!__NR_ftruncate64]: Remove conditional code.
73762         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73763         [__NR_ftruncate64]: Make code unconditional.
73764         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73766         * configure.in (libc_cv_fpie): Weaken to a compile test using
73767         LIBC_TRY_CC_OPTION.
73768         * configure: Regenerated.
73770 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73772         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
73773         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
73774         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
73775         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
73776         Refreshed.
73777         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
73778         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
73779         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
73780         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
73781         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
73782         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
73783         Refreshed.
73785 2012-05-27  David S. Miller  <davem@davemloft.net>
73787         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
73788         (___Q_zero): New.
73789         (__Q_simulate_exceptions): Return void.  Change to simulate
73790         exceptions by writing into the %fsr.
73791         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
73792         (__Qp_handle_exceptions): Likewise.
73793         (numbers): Delete.
73794         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
73795         __Qp_handle_exceptions.
73796         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
73797         __Qp_handle_exceptions.
73798         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
73799         as unused and give dummy FP_RND_NEAREST initializer.
73800         (FP_INHIBIT_RESULTS): Define.
73801         (___Q_simulate_exceptions): Update declaration.
73802         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
73803         formatting.
73804         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
73805         as unused and give dummy FP_RND_NEAREST initializer.
73806         (__Qp_handle_exceptions): Update declaration.
73807         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
73808         formatting.
73810 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
73812         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
73813         the temporary FPU control word.
73814         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
73815         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
73816         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
73817         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
73818         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
73819         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
73820         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
73821         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
73822         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
73823         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
73824         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
73826 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
73828         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
73829         fields.
73831 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
73833         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
73834         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
73835         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
73836         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
73837         Likewise.
73838         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
73839         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
73840         Likewise.
73842 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
73844         * po/h.po: Update from translation team.
73846 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
73848         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
73850         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
73851         handling of denormals.
73852         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
73853         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
73854         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
73855         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
73856         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
73857         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
73858         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
73859         Likewise.
73861 2012-05-26  Marek Polacek  <polacek@redhat.com>
73863         [BZ #14152]
73864         * math/libm-test.inc (fma_test): Don't always expect underflow
73865         exception.
73867 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
73869         [BZ #12416]
73870         * elf/tst-execstack.c: Include stackinfo.h.
73871         (do_test): Adjust test case to ensure that pthread_getattr_np
73872         behaviour remains the same after marking stack executable.
73874 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
73876         * sysdeps/unix/sysv/linux/kernel-features.h
73877         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
73878         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
73879         kernel-features.h.
73880         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
73881         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
73882         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
73883         kernel-features.h.
73884         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
73885         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
73887 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
73889         * configure.in: Define the default includes to being none.
73890         * configure: Regenerated.
73892 2012-05-25  Roland McGrath  <roland@hack.frob.com>
73894         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
73895         * sysdeps/x86_64/setjmp.S: Likewise.
73896         * sysdeps/i386/bsd-setjmp.S: Likewise.
73897         * sysdeps/i386/bsd-_setjmp.S: Likewise.
73898         * sysdeps/i386/setjmp.S: Likewise.
73899         * sysdeps/i386/__longjmp.S: Likewise.
73900         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
73901         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
73903         * include/stap-probe.h: New file.
73904         * configure.in: Handle --enable-systemtap.
73905         * configure: Regenerated.
73906         * config.h.in (USE_STAP_PROBE): New #undef.
73907         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
73908         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
73909         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
73911 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
73913         [BZ #13717]
73914         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
73915         to 2.4.0 where earlier.
73916         * sysdeps/unix/sysv/linux/configure: Regenerated.
73917         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
73918         <kernel-features.h>.
73919         [__ASSUME_32BITUIDS]: Make code unconditional.
73920         [!__ASSUME_32BITUIDS]: Remove conditional code.
73921         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
73922         <kernel-features.h>.
73923         [__ASSUME_32BITUIDS]: Make code unconditional.
73924         [!__ASSUME_32BITUIDS]: Remove conditional code.
73925         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
73926         [__ASSUME_32BITUIDS]: Make code unconditional.
73927         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
73928         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
73929         <kernel-features.h>.
73930         [__ASSUME_32BITUIDS]: Make code unconditional.
73931         [!__ASSUME_32BITUIDS]: Remove conditional code.
73932         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
73933         <kernel-features.h>.
73934         [__ASSUME_32BITUIDS]: Make code unconditional.
73935         [!__ASSUME_32BITUIDS]: Remove conditional code.
73936         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
73937         <kernel-features.h>.
73938         [__ASSUME_32BITUIDS]: Make code unconditional.
73939         [!__ASSUME_32BITUIDS]: Remove conditional code.
73940         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
73941         <kernel-features.h>.
73942         [__ASSUME_32BITUIDS]: Make code unconditional.
73943         [!__ASSUME_32BITUIDS]: Remove conditional code.
73944         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
73945         <kernel-features.h>.
73946         [__ASSUME_32BITUIDS]: Make code unconditional.
73947         [!__ASSUME_32BITUIDS]: Remove conditional code.
73948         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
73949         <kernel-features.h>.
73950         [__ASSUME_32BITUIDS]: Make code unconditional.
73951         [!__ASSUME_32BITUIDS]: Remove conditional code.
73952         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
73953         <kernel-features.h>.
73954         [__ASSUME_32BITUIDS]: Make code unconditional.
73955         [!__ASSUME_32BITUIDS]: Remove conditional code.
73956         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
73957         <kernel-features.h>.
73958         [__ASSUME_32BITUIDS]: Make code unconditional.
73959         [!__ASSUME_32BITUIDS]: Remove conditional code.
73960         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
73961         <kernel-features.h>.
73962         [__ASSUME_32BITUIDS]: Make code unconditional.
73963         [!__ASSUME_32BITUIDS]: Remove conditional code.
73964         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
73965         <kernel-features.h>.
73966         [__ASSUME_32BITUIDS]: Make code unconditional.
73967         [!__ASSUME_32BITUIDS]: Remove conditional code.
73968         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
73969         <kernel-features.h>.
73970         [__NR_setresgid] (__setresgid): Do not declare.
73971         [__ASSUME_32BITUIDS]: Make code unconditional.
73972         [!__ASSUME_32BITUIDS]: Remove conditional code.
73973         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
73974         <kernel-features.h>.
73975         [__NR_setresuid] (__setresuid): Do not declare.
73976         [__ASSUME_32BITUIDS]: Make code unconditional.
73977         [!__ASSUME_32BITUIDS]: Remove conditional code.
73978         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
73979         <kernel-features.h>.
73980         [__ASSUME_32BITUIDS]: Make code unconditional.
73981         [!__ASSUME_32BITUIDS]: Remove conditional code.
73982         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
73983         <kernel-features.h>.
73984         [__ASSUME_32BITUIDS]: Make code unconditional.
73985         [!__ASSUME_32BITUIDS]: Remove conditional code.
73986         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
73987         <kernel-features.h>.
73988         [__ASSUME_32BITUIDS]: Make code unconditional.
73989         [!__ASSUME_32BITUIDS]: Remove conditional code.
73990         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
73991         <kernel-features.h>.
73992         [__ASSUME_32BITUIDS]: Make code unconditional.
73993         [!__ASSUME_32BITUIDS]: Remove conditional code.
73994         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
73995         <kernel-features.h>.
73996         [__ASSUME_32BITUIDS]: Make code unconditional.
73997         [!__ASSUME_32BITUIDS]: Remove conditional code.
73998         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
73999         <kernel-features.h>.
74000         [__ASSUME_32BITUIDS]: Make code unconditional.
74001         [!__ASSUME_32BITUIDS]: Remove conditional code.
74002         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
74003         <kernel-features.h>.
74004         [__ASSUME_32BITUIDS]: Make code unconditional.
74005         [!__ASSUME_32BITUIDS]: Remove conditional code.
74006         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
74007         <kernel-features.h>.
74008         [__ASSUME_32BITUIDS]: Make code unconditional.
74009         [!__ASSUME_32BITUIDS]: Remove conditional code.
74010         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
74011         <kernel-features.h>.
74012         [__ASSUME_32BITUIDS]: Make code unconditional.
74013         [!__ASSUME_32BITUIDS]: Remove conditional code.
74014         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
74015         <kernel-features.h>.
74016         [__ASSUME_32BITUIDS]: Make code unconditional.
74017         [!__ASSUME_32BITUIDS]: Remove conditional code.
74018         * sysdeps/unix/sysv/linux/kernel-features.h
74019         (__ASSUME_SETRESUID_SYSCALL): Remove.
74020         (__ASSUME_SETRESGID_SYSCALL): Likewise.
74021         (__ASSUME_32BITUIDS): Likewise.
74022         (__ASSUME_LDT_WORKS): Likewise.
74023         (__ASSUME_O_DIRECTORY): Likewise.
74024         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
74025         architecture but not kernel version.
74026         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
74027         (__ASSUME_MMAP2_SYSCALL): Likewise.
74028         (__ASSUME_STAT64_SYSCALL): Likewise.
74029         (__ASSUME_IPC64): Likewise.
74030         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
74031         <kernel-features.h>.
74032         [__ASSUME_32BITUIDS]: Make code unconditional.
74033         [!__ASSUME_32BITUIDS]: Remove conditional code.
74034         * sysdeps/unix/sysv/linux/opendir.c: Do not include
74035         <kernel-features.h>.
74036         [__ASSUME_O_DIRECTORY]: Make code unconditional.
74037         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
74038         132096]: Remove conditional code.
74039         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
74040         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
74041         <kernel-features.h>.
74042         [__ASSUME_32BITUIDS]: Make code unconditional.
74043         [!__ASSUME_32BITUIDS]: Remove conditional code.
74044         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
74045         <kernel-features.h>.
74046         [__ASSUME_32BITUIDS]: Make code unconditional.
74047         [!__ASSUME_32BITUIDS]: Remove conditional code.
74048         * sysdeps/unix/sysv/linux/setegid.c: Do not include
74049         <kernel-features.h>.
74050         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
74051         unconditional.
74052         (__setresgid): Do not declare.
74053         [__ASSUME_32BITUIDS]: Make code unconditional.
74054         [!__ASSUME_32BITUIDS]: Remove conditional code.
74055         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
74056         <kernel-features.h>.
74057         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
74058         unconditional.
74059         (__setresuid): Do not declare.
74060         [__ASSUME_32BITUIDS]: Make code unconditional.
74061         [!__ASSUME_32BITUIDS]: Remove conditional code.
74062         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
74063         <kernel-features.h>.
74064         [__ASSUME_32BITUIDS]: Make code unconditional.
74065         [!__ASSUME_32BITUIDS]: Remove conditional code.
74066         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
74067         <kernel-features.h>.
74068         [__ASSUME_32BITUIDS]: Make code unconditional.
74069         [!__ASSUME_32BITUIDS]: Remove conditional code.
74071 2012-05-25  Richard Henderson  <rth@twiddle.net>
74073         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
74074         dl_hwcap to ifunc resolver.
74075         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
74076         elf_ifunc_invoke.
74077         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
74078         dl_hwcap to ifunc resolver.
74079         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
74081 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
74083         [BZ #14153]
74084         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
74085         for |x| <= 2**-26, not 2**-57.
74086         * math/libm-test.inc (acos_test): Do not allow spurious underflow
74087         exception.
74089 2012-05-24  Jeff Law  <law@redhat.com>
74091         * stdio-common/Makefile (tests): Add bug25.
74092         * stdio-common/bug25.c: New test.
74094 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
74096         [BZ #13576]
74097         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
74098         multiple of MALLOC_ALIGNMENT in size.
74099         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
74101 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
74103         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
74104         Require >= 256.
74105         (FILENAME_MAX): Use macro-int-constant.
74106         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
74107         (_IOFBF): Use macro-int-constant.
74108         (_IOLBF): Likewise.
74109         (_IONBF): Likewise.
74110         (SEEK_CUR): Likewise.
74111         (SEEK_END): Likewise.
74112         (SEEK_SET): Likewise.
74113         (TMP_MAX): Likewise.
74114         (EOF): Use macro-int-constant.  Require < 0.
74115         (NULL): Use macro-constant.  Require == 0.
74116         (stdin): Require type to be FILE *.
74117         (stdout): Likewise.
74118         (stderr): Likewise.
74119         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
74120         macro-int-constant.
74121         (EXIT_SUCCESS): Likewise.
74122         (NULL): Use macro-constant.  Require == 0.
74123         (RAND_MAX): Use macro-int-constant.
74124         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
74125         [C99-based standards] (strtof): Require function.
74126         [C99-based standards] (strtold): Likewise.
74127         [C99-based standards] (strtoll): Likewise.
74128         [C99-based standards] (strtoull): Likewise.
74129         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
74130         [ISO || ISO99 || ISO11] (limits.h): Likewise.
74131         [ISO || ISO99 || ISO11] (math.h): Likewise.
74132         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
74133         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
74134         [ISO || ISO99 || ISO11] (*_t): Do not allow.
74136 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
74138         [BZ #14132]
74139         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
74140         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
74141         * intl/dgettext.c (DCGETTEXT): Likewise.
74142         * intl/gettext.c (DCGETTEXT): Likewise.
74143         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
74144         * posix/regex_internal.h (gettext): Likewise.
74145         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
74146         Remove declaration.
74147         * include/argz.h (__argz_count_internal)
74148         (__argz_stringify_internal): Remove declaration.
74149         (__argz_count, __argz_stringify): Declare hidden proto.
74150         * intl/dcgettext.c: Remove use of INTDEF.
74151         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
74152         * string/argz-stringify.c: Likewise.
74153         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
74154         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
74155         Declare hidden proto.
74156         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
74157         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
74158         Declare hidden proto.
74159         * include/stdio.h (__asprintf_internal): Don't declare.
74160         (__asprintf): Don't define as macro.  Declare hidden proto.
74161         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
74162         (__fsetlocking): Declare hidden proto.
74163         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
74164         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
74165         hidden proto.
74166         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
74167         (_IO_setlinebuf): Remove use of INTUSE.
74168         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
74169         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
74170         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
74171         Remove declaration.
74172         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
74173         (_IO_do_flush): Remove use of INTUSE.
74174         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
74175         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
74176         (_IO_adjust_column, _IO_least_wmarker)
74177         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
74178         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
74179         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
74180         (_IO_default_doallocate, _IO_wdefault_doallocate)
74181         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
74182         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
74183         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
74184         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
74185         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
74186         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
74187         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
74188         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
74189         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
74190         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
74191         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
74192         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
74193         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
74194         proto.
74195         (_IO_flush_all_internal, _IO_adjust_column_internal)
74196         (_IO_default_uflow_internal, _IO_default_finish_internal)
74197         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
74198         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
74199         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
74200         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
74201         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
74202         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
74203         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
74204         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
74205         (_IO_file_close_internal, _IO_file_close_it_internal)
74206         (_IO_file_underflow_internal, _IO_file_overflow_internal)
74207         (_IO_file_init_internal, _IO_file_attach_internal)
74208         (_IO_file_fopen_internal, _IO_file_read_internal)
74209         (_IO_file_sync_internal, _IO_file_seek_internal)
74210         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
74211         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
74212         (_IO_str_underflow_internal, _IO_str_overflow_internal)
74213         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
74214         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
74215         (_IO_list_all_internal, _IO_link_in_internal)
74216         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
74217         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
74218         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
74219         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
74220         (_IO_do_write_internal, _IO_padn_internal)
74221         (_IO_getline_info_internal, _IO_getline_internal)
74222         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
74223         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
74224         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
74225         (_IO_vfscanf_internal, _IO_vfprintf_internal)
74226         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
74227         (_IO_init_internal, _IO_un_link_internal): Don't declare.
74228         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
74229         with libc_hidden_ver, remove use of INTUSE.
74230         * libio/genops.c: Likewise.
74231         * libio/freopen.c: Likewise.
74232         * libio/freopen64.c: Likewise.
74233         * libio/iofclose.c: Likewise.
74234         * libio/iofdopen.c: Likewise.
74235         * libio/iofflush.c: Likewise.
74236         * libio/iofflush_u.c: Likewise.
74237         * libio/iofgets.c: Likewise.
74238         * libio/iofgets_u.c: Likewise.
74239         * libio/iofopen.c: Likewise.
74240         * libio/iofopncook.c: Likewise.
74241         * libio/iofread.c: Likewise.
74242         * libio/iofread_u.c: Likewise.
74243         * libio/ioftell.c: Likewise.
74244         * libio/iofwrite.c: Likewise.
74245         * libio/iogetline.c: Likewise.
74246         * libio/iogets.c: Likewise.
74247         * libio/iogetwline.c: Likewise.
74248         * libio/iopadn.c: Likewise.
74249         * libio/iopopen.c: Likewise.
74250         * libio/ioseekoff.c: Likewise.
74251         * libio/ioseekpos.c: Likewise.
74252         * libio/iosetbuffer.c: Likewise.
74253         * libio/iosetvbuf.c: Likewise.
74254         * libio/ioungetc.c: Likewise.
74255         * libio/ioungetwc.c: Likewise.
74256         * libio/iovdprintf.c: Likewise.
74257         * libio/iovsprintf.c: Likewise.
74258         * libio/iovsscanf.c: Likewise.
74259         * libio/memstream.c: Likewise.
74260         * libio/obprintf.c: Likewise.
74261         * libio/oldfileops.c: Likewise.
74262         * libio/oldiofclose.c: Likewise.
74263         * libio/oldiofdopen.c: Likewise.
74264         * libio/oldiofopen.c: Likewise.
74265         * libio/oldiopopen.c: Likewise.
74266         * libio/oldstdfiles.c: Likewise.
74267         * libio/putc.c: Likewise.
74268         * libio/setbuf.c: Likewise.
74269         * libio/setlinebuf.c: Likewise.
74270         * libio/stdfiles.c: Likewise.
74271         * libio/strops.c: Likewise.
74272         * libio/vasprintf.c: Likewise.
74273         * libio/vscanf.c: Likewise.
74274         * libio/vsnprintf.c: Likewise.
74275         * libio/vswprintf.c: Likewise.
74276         * libio/wfiledoalloc.c: Likewise.
74277         * libio/wfileops.c: Likewise.
74278         * libio/wgenops.c: Likewise.
74279         * libio/wmemstream.c: Likewise.
74280         * libio/wstrops.c: Likewise.
74281         * libio/__fpurge.c: Likewise.
74282         * libio/__fsetlocking.c: Likewise.
74283         * assert/assert.c: Likewise.
74284         * debug/fgets_chk.c: Likewise.
74285         * debug/fgets_u_chk.c: Likewise.
74286         * debug/fread_chk.c: Likewise.
74287         * debug/fread_u_chk.c: Likewise.
74288         * debug/gets_chk.c: Likewise.
74289         * debug/obprintf_chk.c: Likewise.
74290         * debug/vasprintf_chk.c: Likewise.
74291         * debug/vdprintf_chk.c: Likewise.
74292         * debug/vsnprintf_chk.c: Likewise.
74293         * debug/vsprintf_chk.c: Likewise.
74294         * malloc/mtrace.c: Likewise.
74295         * misc/error.c: Likewise.
74296         * misc/syslog.c: Likewise.
74297         * stdio-common/asprintf.c: Likewise.
74298         * stdio-common/fxprintf.c: Likewise.
74299         * stdio-common/getw.c: Likewise.
74300         * stdio-common/isoc99_fscanf.c: Likewise.
74301         * stdio-common/isoc99_scanf.c: Likewise.
74302         * stdio-common/isoc99_vfscanf.c: Likewise.
74303         * stdio-common/isoc99_vscanf.c: Likewise.
74304         * stdio-common/isoc99_vsscanf.c: Likewise.
74305         * stdio-common/printf-prs.c: Likewise.
74306         * stdio-common/printf_fp.c: Likewise.
74307         * stdio-common/printf_fphex.c: Likewise.
74308         * stdio-common/printf_size.c: Likewise.
74309         * stdio-common/putw.c: Likewise.
74310         * stdio-common/scanf.c: Likewise.
74311         * stdio-common/sprintf.c: Likewise.
74312         * stdio-common/tmpfile.c: Likewise.
74313         * stdio-common/vfprintf.c: Likewise.
74314         * stdio-common/vfscanf.c: Likewise.
74315         * stdlib/strfmon_l.c: Likewise.
74316         * sunrpc/openchild.c: Likewise.
74317         * sunrpc/xdr_stdio.c: Likewise.
74318         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
74319         * sysdeps/mach/hurd/tmpfile.c: Likewise.
74321 2012-05-24  Roland McGrath  <roland@hack.frob.com>
74323         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
74325         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
74326         in the third column, to generate for the shared library an IFUNC
74327         that uses _dl_vdso_vsym.
74328         * Makerules (COMPILE.c, compile-stdin.c): New variables.
74329         * Makeconfig (object-suffixes-noshared): New variable.
74331         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
74332         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
74333         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
74334         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
74336         [BZ #14132]
74337         * include/sys/time.h (__gettimeofday): Remove macro.
74338         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
74339         * time/gettimeofday.c (__gettimeofday): Remove #undef.
74340         Remove INTDEF.
74341         (__gettimeofday): Add libc_hidden_def.
74342         (gettimeofday): Add libc_hidden_weak.
74343         * sysdeps/mach/gettimeofday.c: Likewise.
74344         * sysdeps/posix/gettimeofday.c: Likewise.
74345         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
74346         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
74347         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
74348         (__gettimeofday_internal): Remove strong_alias.
74349         (__gettimeofday): Add libc_hidden_def.
74350         (gettimeofday): Add libc_hidden_weak.
74351         * sysdeps/unix/syscalls.list (gettimeofday):
74352         Remove __gettimeofday_internal alias.
74354 2012-05-24  Daniel Jacobowitz  <drow@false.org>
74355             H.J. Lu  <hongjiu.lu@intel.com>
74357         [BZ #12495]
74358         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
74359         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
74360         (largebin_index_32_big): New.
74361         (largebin_index): Use it for 16-byte alignment.
74362         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
74363         correction with front_misalign.
74365 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
74367         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
74368         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
74369         Likewise.
74370         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
74371         Likewise.
74372         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
74373         Likewise.
74374         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
74375         Likewise.
74376         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
74377         Likewise.
74378         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
74379         Likewise.
74380         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
74381         Likewise.
74382         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
74383         Likewise.
74384         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
74385         Likewise.
74386         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
74387         Likewise.
74388         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
74389         Likewise.
74390         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
74391         Likewise.
74393         * scripts/data/c++-types-x32-linux-gnu.data: New file.
74394         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
74396 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
74398         [BZ #10846]
74399         [BZ #14036]
74400         * math/libm-test.inc (exp_test): Add test from bug 14036.
74401         (pow_test): Add test from bug 10846.
74403         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
74404         and other flags.
74405         (special_function): Do not include flags in test name.
74406         (parse_args): Likewise.
74407         * sysdeps/i386/fpu/libm-test-ulps: Update.
74408         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
74409         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
74410         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
74411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74413         * math/gen-libm-test.pl (%beautify): Add entries for underflow
74414         exceptions.
74415         * math/libm-test.inc ("Philosophy"): Update comment about
74416         exception testing.
74417         (UNDERFLOW_EXCEPTION): New macro.
74418         (UNDERFLOW_EXCEPTION_OK): Likewise.
74419         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
74420         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
74421         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
74422         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
74423         (INVALID_EXCEPTION_OK): Update value.
74424         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
74425         (OVERFLOW_EXCEPTION_OK): Likewise.
74426         (IGNORE_ZERO_INF_SIGN): Likewise.
74427         (test_exceptions): Handle underflow exceptions.
74428         (acos_test): Update for underflow exception expectations.
74429         (cexp_test): Likewise.
74430         (clog_test): Likewise.
74431         (clog10_test): Likewise.
74432         (csqrt_test): Likewise.
74433         (ctan_test): Likewise.
74434         (ctanh_test): Likewise.
74435         (exp_test): Likewise.
74436         (exp10_test): Likewise.
74437         (exp2_test): Likewise.
74438         (expm1_test): Likewise.
74439         (fma_test): Likewise.
74440         (j0_test): Likewise.
74441         (jn_test): Likewise.
74442         (nexttoward_test): Likewise.
74443         (pow_test): Likewise.
74444         (scalbn_test): Likewise.
74445         (scalbln_test): Likewise.
74446         (tan_test): Likewise.
74447         (y1_test): Likewise.
74448         * sysdeps/i386/fpu/libm-test-ulps: Update.
74449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74451 2012-05-23  David S. Miller  <davem@davemloft.net>
74453         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
74454         (__libc_sigaction): Remove unused local variables.
74456 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
74458         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
74460 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
74462         mktime: avoid signed integer overflow
74463         * time/mktime.c (__mktime_internal): Do not mishandle the case
74464         where diff == INT_MIN.
74466         mktime: simplify computation of average
74467         * time/mktime.c (ranged_convert): Use new time_t_avg function
74468         instead of rolling our own (probably-slower) code.
74470         mktime: do not assume signed right shift propagates sign bit
74471         * time/mktime.c (isdst_differ): New static function.
74472         (__mktime_internal): No need to normalize tm_isdst now.
74473         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
74474         tm_isdst values.
74476         mktime: merge another wrapv change from gnulib
74477         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
74478         from some compilers.
74480         mktime: remove incorrect attempt at unusual arithmetics
74481         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
74482         The code didn't really work on such machines anyway.
74483         (TYPE_MINIMUM): Assume two's complement.
74484         (twos_complement_arithmetic): Verify that long_int and time_t
74485         are two's complement (or unsigned, in the latter case).
74487         mktime: check signed shifts on long_int and time_t, too
74488         * time/mktime.c (SHR): Check that shifts work as desired
74489         on the types long_int and time_t too, as SHR is used on
74490         such types.
74492         mktime: do not assume 'long' is wide enough
74493         * time/mktime.c (verify): Move decl up.
74494         (long_int): New type.
74495         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
74496         to remove assumption in the code that 'long' is wide enough to
74497         store year values.  This assumption is not true on x32 and on
74498         some non-glibc platforms.
74500         mktime: merge wrapv change from gnulib
74501         * time/mktime.c (WRAPV): New macro.
74502         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
74503         (guess_time_tm, __mktime_internal): Do not assume that signed
74504         integer overflow wraps around; modern compilers generate code
74505         where this assumption is no longer valid.
74507 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
74509         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
74510         Replace "jmp L(pseudo_end)" with "ret".
74511         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
74512         Likewise.
74514 2012-05-23  Andreas Jaeger  <aj@suse.de>
74516         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
74517         * sysdeps/unix/sysv/linux/poll.c: Remove file.
74519 2012-05-23  Andreas Jaeger  <aj@suse.de>
74520             Maximilian Attems  <max@stro.at>
74522         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
74523         New macros.
74525 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
74527         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
74528         code so that pseudo_end is just ret and the stack pointer is
74529         correct also for static library in error case.
74531 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
74533         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
74534         move to syscalls.list.
74535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
74536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
74537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
74538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
74540         * manual/install.texi (Running make install): Do not mention Linux
74541         kernel version for which pt_chown is not needed.
74542         (Linux): Do not mention problems with nscd with 2.0 kernels.
74543         * INSTALL: Regenerated.
74545 2012-05-23  Andreas Jaeger  <aj@suse.de>
74547         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
74548         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
74549         macro.
74550         * sysdeps/unix/sysv/linux/s390/bits/mman.h
74551         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
74552         * sysdeps/unix/sysv/linux/sh/bits/mman.h
74553         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
74554         * sysdeps/unix/sysv/linux/i386/bits/mman.h
74555         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
74556         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
74557         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
74558         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
74559         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
74560         * sysdeps/unix/sysv/linux/bits/in.h
74561         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
74563 2012-05-22  Roland McGrath  <roland@hack.frob.com>
74565         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
74566         (PREPARE_VERSION): Just use assert instead, it will be elided
74567         under [NDEBUG] anyway.
74569 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
74571         * sysdeps/unix/sysv/linux/Makefile: Include
74572         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
74573         (sysdep_routines): Remove sysctl.
74574         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
74575         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
74576         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
74577         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
74578         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
74580 2012-05-22  Andreas Jaeger  <aj@suse.de>
74582         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
74583         that pseudo_end is just ret and the stack pointer is correct also
74584         for static library in error case.
74586 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
74588         [BZ #14122]
74589         * nss/nsswitch.c (defconfig_entries): New variable.
74590         (__nss_database_lookup): Don't leak defconfig entries.
74591         (nss_parse_service_list): Don't leak on error paths.
74592         (free_database_entries): New function.
74593         (free_defconfig): New function.
74594         (free_mem): Move common code to free_database_entries.
74596 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
74598         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
74599         Add arch_prctl.
74600         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
74602         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
74603         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
74604         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
74605         New macro.
74606         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
74607         (INTERNAL_SYSCALL_TYPES): Likewise.
74608         (LOAD_ARGS_TYPES_[1-6]): Likewise.
74609         (LOAD_REGS_TYPES_[1-6]): Likewise.
74610         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
74611         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
74613 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74615         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
74616         copysignl for GLIBC_2_0.
74617         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
74618         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
74619         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
74620         logbl for GLIBC_2_0.
74621         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
74622         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
74624 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
74626         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
74627         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
74629         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
74630         Use "neg %eax".
74632         * time/mktime.c: Update copyright years.
74634 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
74636         mktime: merge comment-quoting-style change from gnulib
74637         * time/mktime.c: Quote 'like this' in comments.
74638         The GNU coding standards suggest that we no longer quote `like this',
74639         as "`" and "'" are typically rendered asymmetrically nowadays.
74640         The typical gnulib style is to quote 'like this' when quoting
74641         code, and "like this" when quoting English.
74643         * time/mktime.c (compile-command): Add "-I.".
74645         mktime: merge mktime-internal.h change from gnulib
74646         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
74648         mktime: merge time_r change from gnulib
74649         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
74651         mktime: merge DEBUG change from gnulib
74652         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
74653         case system <time.h> has a #define.
74655         mktime: merge <sys/types.h> change from gnulib
74656         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
74657         since <time.t> is now guaranteed to define time_t.
74659         mktime: merge HAVE_CONFIG_H change from gnulib
74660         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
74662 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
74664         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
74665         Use "neg %eax".
74667         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
74668         __rlim_t cast.
74669         (struct rusage): Use anonymous union to pad each field to
74670         __syscall_slong_t.
74672 2012-05-21  David S. Miller  <davem@davemloft.net>
74674         * Makefules (o-iterator): Remove .s cases.
74675         (compile-command.s): Delete.
74676         (COMPILE.s): Delete.
74677         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
74679 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
74681         * configure.in (libc_cv_predef_stack_protector): Only consider
74682         "foobar" and "__stack_chk_fail" lines in libc_undefs.
74683         * configure: Regenerated.
74685 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
74687         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
74688         New macro.  Use R*LP on int and pointer.
74689         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
74690         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
74691         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
74692         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
74694         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
74695         [__WORDSIZE_TIME64_COMPAT32] instead of
74696         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
74697         (struct utmp): Likewise.
74698         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
74699         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
74700         Renamed to ...
74701         (__WORDSIZE_TIME64_COMPAT32): This.
74702         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
74703         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
74704         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
74705         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
74706         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
74707         (__WORDSIZE_TIME64_COMPAT32): New macro.
74709 2012-05-21  Andreas Jaeger  <aj@suse.de>
74711         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
74712         only if [SHARED]. Add prototype for __wcschr_ia32.
74714 2012-05-21  Roland McGrath  <roland@hack.frob.com>
74716         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
74717         of %rbp unmolested in the jmp_buf while mangling the low bits.
74718         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
74719         unmolested high bits of %rbp while demangling the low bits.
74720         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
74722 2012-05-21  Andreas Jaeger  <aj@suse.de>
74724         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
74725         * sunrpc/svc_simple.c: Use it for registerrpc.
74726         * sunrpc/xcrypt.c: Use it for passwd2des.
74728         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
74730 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
74732         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
74733         Don't define if [__SYSCALL_WORDSIZE != 32].
74734         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
74735         New macro.
74737 2012-05-21  Bruno Haible  <bruno@clisp.org>
74738             Andreas Jaeger  <aj@suse.de>
74740         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
74741         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
74742         inptr and inend for must_buffer_ch.
74743         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
74744         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
74745         * stdio-common/Makefile (tests): Remove bug15.
74746         (bug15-ENV): Remove macro.
74747         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
74748         anymore.
74750 2012-05-19  Andreas Jaeger  <aj@suse.de>
74751             Roland McGrath  <roland@hack.frob.com>
74753         * manual/contrib.texi: Completely rewritten. It contains now an
74754         alphabetical list of contributors and their contributions.
74756 2012-05-21  Richard Henderson  <rth@twiddle.net>
74758         * misc/getauxval.c (__getauxval): Use unsigned long int.
74759         * misc/sys/auxv.h: Include <sys/cdefs.h>.
74760         (getauxval): Use unsigned long int.
74762 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
74764         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
74766 2012-05-21  Roland McGrath  <roland@hack.frob.com>
74768         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
74769         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
74770         __alignof__ (long double).
74772 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74774         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74776 2012-05-20  Richard Henderson  <rth@twiddle.net>
74778         * misc/getauxval.c: New file.
74779         * misc/sys/auxv.h: New file.
74780         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
74781         (routines): Add getauxval.
74782         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
74783         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
74784         * elf/dl-sysdep.c (_dl_auxv): Remove.
74785         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
74786         * elf/dl-support.c (_dl_auxv): New variable.
74787         (_dl_aux_init): Initialize it.
74788         * manual/startup.texi (Auxiliary Vector): New node.
74789         * sysdeps/generic/bits/hwcap.h: New file.
74790         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
74791         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
74792         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
74793         * sysdeps/sparc/sysdep.h: ... here.  Include it.
74794         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
74795         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
74796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
74797         Update.
74798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
74799         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
74800         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
74801         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
74802         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
74803         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
74804         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
74805         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
74807 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74809         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74811 2012-05-19  David S. Miller  <davem@davemloft.net>
74813         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74815 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
74817         [BZ #14123]
74818         * math/s_ccosh.c: Include <float.h>
74819         (__ccosh): Avoid internal overflow calculating sinh and cosh
74820         values before multiplying by sin and cos values.
74821         * math/s_ccoshf.c: Likewise.
74822         * math/s_ccoshl.c: Likewise.
74823         * math/s_csin.c: Likewise.
74824         * math/s_csinf.c: Likewise.
74825         * math/s_csinl.c: Likewise.
74826         * math/s_csinh.c: Likewise.
74827         * math/s_csinhf.c: Likewise.
74828         * math/s_csinhl.c: Likewise.
74829         * math/libm-test.inc (ccos_test): Add more tests.
74830         (ccosh_test): Likewise.
74831         (csin_test): Likewise.
74832         (csinh_test): Likewise.
74833         * sysdeps/i386/fpu/libm-test-ulps: Update.
74834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74836 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
74838         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
74839         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
74841         * sysdeps/x86_64/x32/_itoa.h: Add comment.
74843 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
74845         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
74846         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
74847         * sysdeps/powerpc/soft-fp/Versions: Likewise.
74848         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
74849         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
74850         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
74851         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
74852         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
74853         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
74854         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
74855         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
74856         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
74857         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
74858         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
74859         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
74860         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
74861         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
74862         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
74863         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
74864         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
74865         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
74866         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
74867         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
74868         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
74869         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
74870         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
74871         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
74872         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
74873         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
74874         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
74875         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
74877 2012-05-18  Andreas Jaeger  <aj@suse.de>
74879         * csu/.gitignore: Delete.
74881 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
74883         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
74884         (timex): Use __syscall_slong_t.
74886 2012-05-18  Andreas Jaeger  <aj@suse.de>
74887             Carlos O'Donell  <carlos_odonell@mentor.com>
74889         * manual/install.texi (Configuring and compiling): Update
74890         description about files modified in the source directory.
74891         * INSTALL: Regenerated.
74893 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
74895         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
74896         value.  Use "or" to set return value to -1.
74897         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
74898         negate return value.
74900 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
74902         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
74903         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
74904         failure if the compiler has Graphite support disabled.
74905         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
74906         Likewise.
74907         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
74908         (CFLAGS-memmove.c): Likewise.
74909         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
74910         Likewise.
74912 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
74914         * sysdeps/x86_64/x32/_itoa.h: New file.
74916         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
74917         getdents system call only if kernel and user dirents have the
74918         same d_ino and d_off.
74920         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
74921         LLONG_MAX != LONG_MAX.
74922         (_itoa_word): Use _ITOA_WORD_TYPE on value.
74923         (_fitoa_word): Likewise.
74925         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
74926         years.
74927         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
74928         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
74929         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
74931         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
74932         include <bits/wordsize.h>.  Check __x86_64__ instead of
74933         __WORDSIZE.
74934         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
74935         if __x86_64__ is defined.  Use anonymous union on fpstate.
74937         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
74938         anonymous union.
74940 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
74942         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
74943         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
74944         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
74945         Refer to _rtld_local_ro instead of _rtld_global_ro.
74946         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
74947         Likewise.
74948         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
74949         Likewise.
74950         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
74951         Likewise.
74952         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
74953         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
74954         of _rtld_global, and rtld_progname instead of _dl_argv[0].
74956         [BZ #10882]
74957         * sysdeps/powerpc/powerpc32/dl-machine.c
74958         (__elf_machine_runtime_setup) [PROF]: Don't reference
74959         _dl_prof_resolve.
74961 2012-05-18  Andreas Jaeger  <aj@suse.de>
74963         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
74964         function only available for GCCs before 3.4 since GCC 3.4
74965         introduced a builtin.
74966         (lrint): Likewise.
74967         (llrintf): Likewise.
74968         (llrint): Likewise.
74969         (fmaxf): Likewise.
74970         (fmax): Likewise.
74971         (fminf): Likewise.
74972         (fmin): Likewise.
74973         (rint): Likewise.
74974         (rintf): Likewise.
74975         (nearbyint): Likewise.
74976         (nearbyintf): Likewise.
74977         (ceil): Likewise.
74978         (ceilf): Likewise.
74979         (floor): Likewise.
74980         (floorf): Likewise.
74982 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
74984         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
74985         on both fields and cast pointer to __syscall_ulong_t.
74987         * bits/types.h (__fsword_t): New type.
74988         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
74989         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
74990         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74991         (__FSWORD_T_TYPE): Likewise.
74992         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
74993         (__FSWORD_T_TYPE): Likewise.
74994         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74995         (__FSWORD_T_TYPE): Likewise.
74996         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
74997         (__FSWORD_T_TYPE): Likewise.
74998         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
74999         __SWORD_TYPE with __fsword_t.
75000         (statfs64): Likewise.
75002 2012-05-17  David S. Miller  <davem@davemloft.net>
75004         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
75006 2012-05-17  Andreas Jaeger  <aj@suse.de>
75008         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
75009         warning.
75011 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
75013         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
75015 2012-05-17  Andreas Jaeger  <aj@suse.de>
75017         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
75018         when it is used.
75020 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
75022         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
75024 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
75026         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
75027         * sysdeps/x86_64/tst-mallocalign1.c: New file.
75029 2012-05-17  Andreas Jaeger  <aj@suse.de>
75030             Carlos O'Donell  <carlos_odonell@mentor.com>
75032         [BZ #14059]
75033         * sysdeps/x86_64/multiarch/init-arch.h
75034         (bit_YMM_Usable): Rename to...
75035         (bit_AVX_Usable): ... this.
75036         (bit_FMA4_Usable): New macro.
75037         (bit_XMM_state): New macro.
75038         (bit_YMM_state): New macro.
75039         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
75040         [__ASSEMBLER__] (index_AVX_Usable): ... this.
75041         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
75042         (CPUID_OSXSAVE): New macro.
75043         (CPUID_AVX): New macro.
75044         (CPUID_FMA4): New macro.
75045         (index_YMM_Usable): Rename to...
75046         (index_AVX_Usable): ... this.
75047         (HAS_AVX): Use HAS_ARCH_FEATURE.
75048         (HAS_FMA4): Likewise.
75049         (HAS_YMM_USABLE): Remove.
75050         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75051         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
75052         are present.
75053         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
75054         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
75055         * sysdeps/x86_64/multiarch/Makefile: Likewise.
75056         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
75057         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
75059 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
75061         * math/libm-test.c: Support platforms without multiple rounding modes.
75062         * math/bug-nextafter.c: Support platforms without FP exceptions.
75063         * math/bug-nexttoward.c: Likewise.
75064         * math/test-fenv.c: Likewise.
75065         * math/test-misc.c: Likewise.
75066         * stdlib/bug-getcontext.c: Likewise.
75068 2012-05-17  Andreas Jaeger  <aj@suse.de>
75070         * manual/examples/search.c (critter_cmp): Change signature to
75071         avoid warnings.
75072         * manual/string.texi (Collation Functions): Likewise.
75074 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75076         * bits/types.h: Fold copyright years.
75077         * bits/typesizes.h: Likewise.
75078         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
75079         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
75080         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
75081         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
75082         * time/time.h: Likewise.
75084 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
75086         [BZ #208]
75087         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
75088         in instead of returning them.  Return void.
75089         (__libc_mallinfo): Accumulate over all arenas.
75090         (__malloc_stats): Adjust for change in int_mallinfo interface.
75092 2012-05-16  Roland McGrath  <roland@hack.frob.com>
75094         [BZ #10375]
75095         * configure.in (NM): Add AC_CHECK_TOOL for it.
75096         (libc_extra_cflags): New substituted variable.
75097         Check for -fstack-protector being used implicitly.
75098         * configure: Regenerated.
75099         * config.make.in (config-extra-cflags): New variable,
75100         gets @libc_extra_cflags@.
75101         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
75103         [BZ #10375]
75104         * configure.in: Check for _FORTIFY_SOURCE being predefined.
75105         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
75106         * configure: Regenerated.
75107         * config.make.in (CPPUNDEFS): New substituted variable.
75108         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
75109         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
75110         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
75112 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75114         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
75115         (mq_attr): Use __syscall_slong_t.
75117 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75119         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
75120         Check __x86_64__ instead of __WORDSIZE.
75121         (_STAT_VER_LINUX): Likewise.
75122         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
75123         __syscall_ulong_t and __syscall_slong_t.
75124         (stat64): Likewise.
75126 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75128         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
75130 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75132         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
75134 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75136         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
75137         __syscall_ulong_t.
75139         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
75140         include <bits/wordsize.h>.  Check __x86_64__ instead of
75141         __WORDSIZE.
75142         (greg_t): Use "__extension__ long long int" if __x86_64__ is
75143         defined.
75144         (mcontext_t): Replace "unsigned long" with "unsigned long long".
75146         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
75147         include <bits/wordsize.h>.  Check __x86_64__ instead of
75148         __WORDSIZE.
75149         (user_regs_struct): Use "__extension__ unsigned long long"
75150         instead of "unsigned long" if __x86_64__ is defined.
75151         (user): Likewise.  Pad after pointer field if __ILP32__ is
75152         defined.
75154 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
75156         * configure.in (makeinfo): Require version 4.5 or later.  Allow
75157         versions 5 to 9.
75158         * configure: Regenerated.
75159         * manual/install.texi (texinfo): Increase version requirement to
75160         4.5 or later.
75161         * INSTALL: Regenerated.
75163         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
75165 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75167         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
75169         * sysdeps/x86_64/x32/ffs.c: New file.
75171         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
75172         __syscall_ulong_t.
75173         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
75174         defined.  Use __syscall_ulong_t.
75175         (shminfo): Use __syscall_ulong_t.
75176         (shm_info): Likewise.
75178         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
75179         __syscall_ulong_t.
75181         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
75182         <bits/wordsize.h>.
75183         (msgqnum_t): Use __syscall_ulong_t.
75184         (msglen_t): Likewise.
75185         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
75186         __syscall_ulong_t.
75188         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
75189         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
75191         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
75193         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
75194         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
75196         * sysvipc/sys/msg.h (msgbuf): Replace long int with
75197         __syscall_slong_t.
75199         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
75200         include <bits/wordsize.h>.  Check __x86_64__ instead of
75201         __WORDSIZE.
75203         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
75204         "unsigned long long int" if __x86_64__ is defined.
75205         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
75207         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
75208         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
75209         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
75211         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
75212         <stdint.h>.
75213         (GET_PC): Cast to uintptr_t first.
75214         (GET_FRAME): Likewise.
75215         (GET_STACK): Likewise.
75217         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
75218         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
75219         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
75220         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
75221         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
75222         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
75223         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
75224         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
75225         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
75226         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
75227         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
75228         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
75229         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
75230         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
75231         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
75232         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
75233         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
75234         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
75235         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
75236         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
75237         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
75238         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
75239         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
75240         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
75241         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
75242         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
75243         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
75244         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
75245         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
75247 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
75249         * Makerules (+depfiles): Also collect depfiles from .oS in
75250         $(extra-objs).
75251         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
75252         .oS, $(libnldbl-routines)).
75254         * Makerules (native-compile-mkdep-flags): Define.
75255         * sunrpc/Makefile (extra-objs): Add $(addprefix
75256         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
75257         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
75258         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
75259         calling $(make-target-directory).
75261 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75263         * bits/types.h (__snseconds_t): Removed.
75264         * time/time.h (struct timespec): Replace __snseconds_t with
75265         __syscall_slong_t.
75266         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
75267         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
75268         Likewise.
75269         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
75270         (__SNSECONDS_T_TYPE): Likewise.
75271         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
75272         (__SNSECONDS_T_TYPE): Likewise.
75273         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
75274         (__SNSECONDS_T_TYPE): Likewise.
75276 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75278         * sysdeps/mach/hurd/bits/typesizes.h
75279         (__SYSCALL_SLONG_TYPE): New macro.
75280         (__SYSCALL_ULONG_TYPE): Likewise.
75282 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75284         * bits/types.h (__syscall_slong_t): New type.
75285         (__syscall_ulong_t): Likewise.
75287         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
75288         (__SYSCALL_ULONG_TYPE): Likewise.
75289         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
75290         (__SYSCALL_SLONG_TYPE): Likewise.
75291         (__SYSCALL_ULONG_TYPE): Likewise.
75292         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
75293         (__SYSCALL_SLONG_TYPE): Likewise.
75294         (__SYSCALL_ULONG_TYPE): Likewise.
75295         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
75296         (__SYSCALL_SLONG_TYPE): Likewise.
75297         (__SYSCALL_ULONG_TYPE): Likewise.
75299 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75301         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
75302         Add sigaltstack-offsets.sym.
75303         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
75304         <sigaltstack-offsets.h>.
75305         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
75306         longjmp_msg pointer.
75307         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
75308         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
75309         signal stack.
75310         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
75312 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
75314         * elf/stackguard-macros.h: Remove file.
75315         * sysdeps/generic/stackguard-macros.h: New file.
75316         * sysdeps/i386/stackguard-macros.h: Likewise.
75317         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
75318         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
75319         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
75320         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
75321         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
75322         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
75323         * sysdeps/x86_64/stackguard-macros.h: Likewise.
75324         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
75325         <elf/stackguard-macros.h>.
75327         [BZ #14109]
75328         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
75329         __aligned__ in attribute.
75330         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
75331         (gregset_t): Likewise.
75333 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75335         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
75336         * sysdeps/x86_64/64/Implies-after: Here.  New file.
75337         * sysdeps/x86_64/x32/Implies-after: New file.
75339 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75341         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
75342         and access return value for _dl_profile_fixup.  Use R10_LP to
75343         load frame size.
75345 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75347         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
75349 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75351         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
75352         * sysdeps/x86_64/x32/sysdep.h: New file.
75354 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75356         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
75357         * sysdeps/x86_64/setjmp.S: Likewise.
75359 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75361         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
75362         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
75363         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
75364         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
75365         remove unused global constant.
75367 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
75369         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
75370         include of <not-cancel.h>.
75372 2012-05-15  Roland McGrath  <roland@hack.frob.com>
75374         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
75376 2012-05-15  Jeff Law  <law@redhat.com>
75377             Andreas Jaeger  <aj@suse.de>
75379         [BZ #13594]
75380         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
75381         out from...
75382         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
75383         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
75384         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
75385         code changing __hst_map_handle.map.
75387 2012-05-15  Roland McGrath  <roland@hack.frob.com>
75389         * configure.in (sysnames): Look for Implies-before and Implies-after
75390         files.
75391         * configure: Regenerated.
75393 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75395         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
75396         8-byte data alignment with LP_SIZE alignment.
75398 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75400         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
75401         into R10_LP.
75403 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75405         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
75407 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75409         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
75410         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
75411         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
75412         Likewise.
75413         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
75415 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75417         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
75418         (stackinfo_sub_sp): Likewise.
75420 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75422         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
75423         RAX_LP.
75425 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75427         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
75428         into R*_LP.
75430 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75432         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
75433         sizes into R*_LP.
75435 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75437         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
75439 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75441         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
75442         into R11_LP and load __x86_64_shared_cache_size_half into
75443         R8_LP.
75445 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75447         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
75448         R8_LP.
75450 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75452         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
75453         logb for POWER7.
75454         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
75455         logbf for POWER7.
75456         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
75457         logbl for POWER7.
75458         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
75459         powerpc32/power7/fpu/s_logb.c via #include.
75460         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
75461         powerpc32/power7/fpu/s_logbf.c via #include.
75462         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
75463         powerpc32/power7/fpu/s_logbl.c via #include.
75465 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
75467         * README.libm: Remove file.
75469 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75471         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
75472         count for x32.  Use R*_LP and omit operand-size suffix.
75474 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75476         * shlib-versions: Move x86_64-.*-linux.* entries to ...
75477         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
75478         * sysdeps/x86_64/x32/shlib-versions: New file.
75480 2012-05-14  Roland McGrath  <roland@hack.frob.com>
75482         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
75483         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
75484         Use _dl_fatal_printf instead.
75486 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
75488         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
75489         set if not set by the user.  Do not allow for being unset.
75490         * sysdeps/unix/sysv/linux/configure: Regenerated.
75492 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75494         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
75495         the `q' suffix from lea and replace .quad with ASM_ADDR.
75497 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75499         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
75500         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
75501         instead of $17.
75502         (PTR_DEMANGLE): Likewise.
75504 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75506         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
75507         (LP_OP): Likewise.
75508         (ASM_ADDR): Likewise.
75509         (RAX_LP): Likewise.
75510         (RBP_LP): Likewise.
75511         (RBX_LP): Likewise.
75512         (RCX_LP): Likewise.
75513         (RDI_LP): Likewise.
75514         (RSI_LP): Likewise.
75515         (RSP_LP): Likewise.
75516         (R8_LP): Likewise.
75517         (R9_LP): Likewise.
75518         (R10_LP): Likewise.
75519         (R10_LP): Likewise.
75520         (R11_LP): Likewise.
75521         (R12_LP): Likewise.
75522         (R13_LP): Likewise.
75523         (R14_LP): Likewise.
75524         (R15_LP): Likewise.
75526 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75528         * sysdeps/x86_64/x32/dl-machine.h: New file.
75530 2012-05-14  Andreas Jaeger  <aj@suse.de>
75532         * manual/Makefile (subdir): Remove export of subdir.
75533         (all): Remove target.
75534         (.PHONY): Remove all from list.
75535         (mkinstalldirs): Remove.
75536         (.PHONY): Remove installdirs from list.
75537         ($(inst_infodir)/libc.info): Use make-target-directory.
75538         (installdirs): Remove.
75539         (subdir_%): Remove.
75540         (glibc-targets): Remove.
75541         (lib): Remove.
75542         (stubs): Remove.
75543         ($(objpfx)stubs ../po/manual.pot): Remove.
75544         ($(objpfx)stamp%): Remove.
75545         (make-target-directory): Remove.
75546         (subdir_install): Remove.
75547         (routines): Remove.
75548         (aux): Remove.
75549         (sources): Remove.
75550         (objects): Remove.
75551         (headers): Remove.
75553         [BZ #13750]
75554         * manual/.gitignore: Remove, it's not needed anymore.
75555         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
75556         all files in it.
75557         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
75558         directory.
75559         (texis): Renamed to $(objpfx)texis.
75560         (texis-path): New, contains path to generated files.
75561         (chapters.%): Use texis-path for complete path, add extra argument
75562         libc-texinfo.sh.
75563         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
75564         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
75565         (summary,texi, stamp-summary): Use complete path of
75566         files. Generate files in build dir.
75567         (dir-add.texi): Build in build dir.
75568         (libm-err.texi,stamp-libm-err): Likewise.
75569         (version.texi, stamp-version): Likewise.
75570         (.%c.texi): Likewise.
75571         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
75572         (mostlyclean): Remove target.
75573         (realclean): Remove target.
75574         (generated): Add new variable with contents from mostlyclean and
75575         realclean, remove entries duplicated in common-mostlyclean, add
75576         stamp-libm-err and stamp-version.
75577         (generated-dirs): Add libc directory.
75578         ($(inst_infodir)/libc.info): Install files from build dir.
75580         * manual/install.texi (Configuring and compiling): Adjust since
75581         the info files are not part of the tar ball anymore.
75583 2012-05-14  Andreas Jaeger  <aj@suse.de>
75585         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
75586         variable.
75588 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
75590         [BZ #13717]
75591         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
75592         to 2.2.0 where earlier.
75593         * sysdeps/unix/sysv/linux/configure: Regenerated.
75594         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
75595         Remove conditional code.
75596         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
75597         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
75598         Remove conditional code.
75599         [!__NR_lchown]: Likewise.
75600         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
75601         [__NR_lchown]: Likewise.
75602         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
75603         comment referencing __ASSUME_LCHOWN_SYSCALL.
75604         * sysdeps/unix/sysv/linux/i386/sigaction.c
75605         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75606         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75607         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
75608         Remove conditional code.
75609         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
75610         (__protocol_available): Remove #if 0 code.
75611         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
75612         conditional code.
75613         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
75614         * sysdeps/unix/sysv/linux/kernel-features.h
75615         (__ASSUME_GETCWD_SYSCALL): Don't define.
75616         (__ASSUME_REALTIME_SIGNALS): Likewise.
75617         (__ASSUME_PREAD_SYSCALL): Likewise.
75618         (__ASSUME_PWRITE_SYSCALL): Likewise.
75619         (__ASSUME_POLL_SYSCALL): Likewise.
75620         (__ASSUME_LCHOWN_SYSCALL): Likewise.
75621         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
75622         non-SPARC.
75623         (__ASSUME_SIOCGIFNAME): Don't define.
75624         (__ASSUME_MSG_NOSIGNAL): Likewise.
75625         (__ASSUME_SENDFILE): Define unconditionally.
75626         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
75627         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
75628         conditional code.
75629         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
75630         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
75631         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
75632         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
75633         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
75634         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
75635         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
75636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
75637         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
75638         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
75640         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
75641         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
75643         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75644         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
75646         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75647         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
75649         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
75650         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
75652         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
75653         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
75655         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75656         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
75658         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75659         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75660         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
75661         Remove conditional code.
75662         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75663         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
75664         Remove conditional code.
75665         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75666         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
75667         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
75668         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
75669         Remove conditional code.
75670         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75671         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
75672         Remove conditional code.
75673         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75674         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
75675         Remove conditional code.
75676         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75677         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
75678         Remove conditional code.
75679         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75680         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
75681         Remove conditional code.
75682         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75683         * sysdeps/unix/sysv/linux/sh/pwrite64.c
75684         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75685         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75686         * sysdeps/unix/sysv/linux/sigaction.c
75687         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75688         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75689         * sysdeps/unix/sysv/linux/sigpending.c
75690         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75691         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75692         * sysdeps/unix/sysv/linux/sigprocmask.c
75693         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75694         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75695         * sysdeps/unix/sysv/linux/sigsuspend.c
75696         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75697         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75698         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
75699         (__libc_missing_rt_sigs): Remove.
75700         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
75701         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
75702         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
75703         Remove conditional code.
75704         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
75705         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
75706         return 1.
75707         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
75708         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
75709         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
75710         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
75712 2012-05-14  Andreas Jaeger  <aj@suse.de>
75714         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
75715         it's not used in glibc.
75716         (__coshm1): Likewise.
75717         (__acosh1p): Likewise.
75718         (__sgn): Likewise.
75720         * manual/string.texi (Copying and Concatenation): Add missing
75721         variable in concat example.
75722         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
75724 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75726         [BZ #14103]
75727         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
75728         __builtin_clzl with __builtin_clzll.
75730 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75732         [BZ #14104]
75733         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
75734         libc_freeres_ptr.
75736 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75738         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
75739         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
75740         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
75741         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
75743 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
75745         * NEWS: Update ia64 info.
75747 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
75749         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
75750         used as bcopy.
75752 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
75754         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
75755         * sysdeps/unix/syscalls.list (dup3): Likewise.
75756         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
75757         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
75759 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
75761         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
75762         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
75764 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
75766         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
75767         thread pointer.
75768         (TLS_IE): Use mov/add instead of movq/addq to load thread
75769         pointer.
75770         (TLS_GD_PREFIX): New.
75771         (TLS_GD): Use it.
75773 2012-05-11  David S. Miller  <davem@davemloft.net>
75775         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
75776         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
75777         (_FPU_SETCW): Likewise.
75779 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
75781         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
75782         is 32-byte aligned.
75784 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
75786         [BZ #11837]
75787         * iconvdata/gb18030.c: Update tables.
75788         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
75789         characters specially.
75790         (BODY for TO_LOOP): Add encoding of missing ranges.
75792 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
75794         [BZ #13673]
75795         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
75796         * sysdeps/mach/hurd/dup3.c: Likewise.
75797         * sysdeps/mach/hurd/readlinkat.c: Likewise.
75798         * sysdeps/powerpc/memmove.c:: Likewise.
75800 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
75802         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
75803         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
75805 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
75807         * elf/elf.h (R_X86_64_RELATIVE64): New.
75808         (R_X86_64_NUM): Updated.
75809         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
75810         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
75811         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
75812         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
75813         tst-quad1pie tst-quad2pie
75814         (modules-names): Add tst-quadmod1 tst-quadmod2.
75815         ($(objpfx)tst-quad1): New dependency.
75816         ($(objpfx)tst-quad2): Likewise.
75817         ($(objpfx)tst-quad1pie): Likewise.
75818         ($(objpfx)tst-quad2pie): Likewise.
75819         * sysdeps/x86_64/tst-quad1.c: New file.
75820         * sysdeps/x86_64/tst-quad1pie.c: New file.
75821         * sysdeps/x86_64/tst-quad2.c: Likewise.
75822         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
75823         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
75824         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
75825         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
75826         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
75828 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75830         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
75831         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
75832         * streams/stropts.h (t_scalar_t): Define type.
75834         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
75835         (_PATH_PRESERVE): Set to "/var/lib".
75836         (_PATH_RWHODIR): Set to "/var/spool/rwho".
75838         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
75839         instead of int.
75841         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
75842         if __dir_mkfile succeeded.
75844         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
75845         checking for _hurd_dtablesize.  Unlock it right after having
75846         finished _hurd_dtable allocation.
75848 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75850         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
75851         * sysdeps/mach/hurd/configure: Regenerated.
75852         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
75853         special-casing to...
75854         * sysdeps/gnu/configure.in: ... this new file.
75855         * sysdeps/unix/sysv/linux/configure: Regenerated.
75856         * sysdeps/gnu/configure: New generated file.
75858         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
75859         for Linux: use nsec instead of usec, as well as:
75860         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
75861         members of type struct timespec.
75862         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
75863         New macros.
75864         (struct stat64): Likewise.
75865         (_STATBUF_ST_NSEC): New macro.
75866         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
75868         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
75869         __strtoul_internal rather than strtoul.
75871 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
75873         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
75874         and reject them.
75876 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75878         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
75879         which preserves existing values.
75880         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
75882 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
75884         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
75885         TIMEOUT values.  Return EINVAL for NFDS values either negative or
75886         greater than FD_SETSIZE.
75888 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75890         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
75891         allocated, call __vm_protect to finish enabling the existing space, and
75892         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
75893         allocate the remainder.
75895 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
75897         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
75898         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
75900 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75902         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
75903         sysdeps/mach/hurd/readlink.c.
75905         * posix/tst-sysconf.c (posix_options): Only use
75906         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
75907         _POSIX_SYNCHRONIZED_IO when they are defined
75908         * sysdeps/mach/hurd/bits/posix_opt.h:
75909         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
75910         (_XOPEN_REALTIME): Undefine macro.
75911         (_XOPEN_REALTIME_THREADS): Undefine macro.
75912         (_XOPEN_SHM): Undefine macro.
75913         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
75914         macro to -1.
75915         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
75916         macro to -1.
75917         (_POSIX_ASYNC_IO): Undefine macro.
75918         (_POSIX_PRIORITIZED_IO): Undefine macro.
75919         (_POSIX_SPIN_LOCKS): Define macro to -1.
75921         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
75922         SA_NODEFER, SA_RESETHAND.
75923         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
75924         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
75925         F_DUPFD_CLOEXEC.
75927 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75929         * elf/Makefile (pldd-modules): Define unconditionally.
75931 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75933         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
75935 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75937         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
75938         Return ENOENT when name is empty.
75939         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
75941 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75943         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
75945         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
75947 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75949         Fix mlock in all cases except non-readable pages.
75950         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
75951         instead of VM_PROT_ALL as parameter to __vm_wire function.
75953         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
75954         (__mkdir): When path is `/', just fail with EEXIST.
75955         * sysdeps/mach/hurd/mkdirat.c: Likewise.
75957 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75959         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
75960         <sys/uio.h> (for writev).
75961         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
75962         and <sys/param.h> (for MIN).
75964 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
75966         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
75967         REQUESTED_TIME.  Properly set the remaining time and return EINTR
75968         if interrupted.
75970 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75972         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
75973         Depend on against $(link-rpcuserlibs).
75975 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75977         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
75978         (__libc_stack_end): Do not use attribute_relro.
75979         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
75980         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
75981         to libthread-provided value.
75982         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
75983         attribute_relro.
75985 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75987         [BZ #3748]
75988         * bits/libc-lock.h (__libc_once_get): New macro.
75989         * sysdeps/mach/bits/libc-lock.h: Likewise.
75990         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
75991         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
75992         instead of using implementation details.
75994         * libio/fileops.c: Unconditionally include <kernel-features.h>.
75995         * libio/freopen.c: Likewise.
75996         * libio/freopen64.c: Likewise.
75997         * misc/syslog.c: Likewise.
75998         * nscd/connections.c: Likewise.
75999         * nscd/netgroupcache.c: Likewise.
76000         * sysdeps/posix/getcwd.c: Likewise.
76002 2012-05-10  Roland McGrath  <roland@hack.frob.com>
76004         * math/w_ilogbf.c: Add #include <limits.h>.
76006 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76008         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
76009         path instead of returning without unlocking.
76011         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
76012         immediate-write ioctls.
76013         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
76015 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76017         * sysdeps/mach/hurd/i386/init-first.c (init): Use
76018         __builtin_frame_address instead of making assumptions about the
76019         location of the return address relative to DATA.  Force early load of
76020         the return address.
76021         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
76022         __builtin_frame_address.
76024         dup3 for GNU Hurd.
76025         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
76026         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
76027         implement dup3 and do some further code clean-ups.
76028         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
76029         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
76031 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76033         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
76035         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
76036         HURD_CRITICAL_END around holding _hurd_dtable_lock.
76037         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
76038         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
76039         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
76040         d->port.lock.
76042         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
76043         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
76044         when handler == SIG_ERR, not when handler != SIG_ERR.
76046 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76048         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
76049         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
76050         definitions.
76052         accept4 for GNU Hurd.
76053         * include/sys/socket.h (__libc_accept4): New prototype.
76054         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
76055         to implement __libc_accept4.
76056         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
76057         __libc_accept4.
76058         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
76060         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
76061         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
76062         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
76063         signal-defines.sym.
76065 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76067         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
76069 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76071         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
76072         assertion on O_CLOEXEC flag.
76073         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
76074         * hurd/intern-fd.c: Likewise.
76075         * hurd/port2fd.c: Likewise.
76077 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76079         [BZ #3906]
76080         * bits/in.h (IPV6_PKTINFO): Define new macro.
76081         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
76083 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76085         [BZ #13954]
76086         [BZ #13955]
76087         [BZ #13956]
76088         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
76089         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
76090         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
76091         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
76092         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
76093         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
76094         * math/libm-test.inc (logb_test) : Additional logb tests.
76096 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
76097             Andreas Jaeger  <aj@suse.de>
76099         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
76100         * configure: Regenerated.
76101         * config.h.in (LINK_OBSOLETE_RPC): New macro.
76102         * config.make.in (link-obsolete-rpc): New substituted variable.
76103         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
76104         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
76105         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
76106         (shared-only-routines): Don't set it under [link-obsolete-rpc],
76107         so that libc.a contains the symbols.
76108         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
76109         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
76110         * sunrpc/auth_none.c: Likewise.
76111         * sunrpc/auth_unix.c: Likewise.
76112         * sunrpc/authdes_prot.c: Likewise.
76113         * sunrpc/authuxprot.c: Likewise.
76114         * sunrpc/clnt_gen.c: Likewise.
76115         * sunrpc/clnt_perr.c: Likewise.
76116         * sunrpc/clnt_raw.c: Likewise.
76117         * sunrpc/clnt_simp.c: Likewise.
76118         * sunrpc/clnt_tcp.c: Likewise.
76119         * sunrpc/clnt_udp.c: Likewise.
76120         * sunrpc/clnt_unix.c: Likewise.
76121         * sunrpc/des_crypt.c: Likewise.
76122         * sunrpc/des_soft.c: Likewise.
76123         * sunrpc/get_myaddr.c: Likewise.
76124         * sunrpc/key_call.c: Likewise.
76125         * sunrpc/key_prot.c: Likewise.
76126         * sunrpc/netname.c: Likewise.
76127         * sunrpc/pm_getmaps.c: Likewise.
76128         * sunrpc/pm_getport.c: Likewise.
76129         * sunrpc/pmap_clnt.c: Likewise.
76130         * sunrpc/pmap_prot.c: Likewise.
76131         * sunrpc/pmap_prot2.c: Likewise.
76132         * sunrpc/pmap_rmt.c: Likewise.
76133         * sunrpc/publickey.c: Likewise.
76134         * sunrpc/rpc_cmsg.c: Likewise.
76135         * sunrpc/rpc_common.c: Likewise.
76136         * sunrpc/rpc_dtable.c: Likewise.
76137         * sunrpc/rpc_prot.c: Likewise.
76138         * sunrpc/rpc_thread.c: Likewise.
76139         * sunrpc/rtime.c: Likewise.
76140         * sunrpc/svc.c: Likewise.
76141         * sunrpc/svc_auth.c: Likewise.
76142         * sunrpc/svc_raw.c: Likewise.
76143         * sunrpc/svc_run.c: Likewise.
76144         * sunrpc/svc_tcp.c: Likewise.
76145         * sunrpc/svc_udp.c: Likewise.
76146         * sunrpc/svc_unix.c: Likewise.
76147         * sunrpc/svcauth_des.c: Likewise.
76148         * sunrpc/xcrypt.c: Likewise.
76149         * sunrpc/xdr.c: Likewise.
76150         * sunrpc/xdr_array.c: Likewise.
76151         * sunrpc/xdr_float.c: Likewise.
76152         * sunrpc/xdr_intXX_t.c: Likewise.
76153         * sunrpc/xdr_mem.c: Likewise.
76154         * sunrpc/xdr_rec.c: Likewise.
76155         * sunrpc/xdr_ref.c: Likewise.
76156         * sunrpc/xdr_sizeof.c: Likewise.
76157         * sunrpc/xdr_stdio.c: Likewise.
76159 2012-05-10  Roland McGrath  <roland@hack.frob.com>
76161         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
76162         change.  Update copyright years.
76164 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
76166         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
76168 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
76169             Joseph Myers  <joseph@codesourcery.com>
76170             Paul Pluzhnikov  <ppluzhnikov@google.com>
76172         [BZ #14012]
76173         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
76174         requiring rpcgen.
76175         [cross-compiling] (extra-libs): Likewise.
76176         [cross-compiling] (extra-libs-others): Likewise.
76177         [cross-compiling] (librpcsvc-routines): Likewise.
76178         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
76179         [cross-compiling] (omit-deps): Likewise.
76180         (sunrpc-CPPFLAGS): New variable.
76181         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
76182         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
76183         (cross-rpcgen-objs): New variable.
76184         (extra-objs): Append $(cross-rpcgen-objs).
76185         ($(cross-rpcgen-objs)): New rule.
76186         ($(objpfx)cross-rpcgen): Likewise.
76187         (rpcgen-cmd): Define to use $(built-program-file).  Expand
76188         comment.
76189         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
76190         ($(objpfx)x%.stmp): Likewise.
76191         * sunrpc/proto.h [IS_IN_build] (_): Define.
76192         [IS_IN_build] (_libc_intl_domainname): Likewise.
76194 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
76196         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
76197         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
76198         and R_X86_64_TPOFF64.
76200 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
76202         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
76203         sysdeps/unix/sysv/syscalls.list.
76204         (stime): Likewise.
76205         (utime): Likewise.
76206         * sysdeps/unix/sysv/syscalls.list: Remove file.
76208 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
76210         [BZ #3440]
76211         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
76212         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
76213         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
76214         (__LC_IDENTIFICATION): Make these macros useful in #if
76215         expressions, as required by C99.
76217 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
76219         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
76220         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
76221         after this.
76223 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
76225         * stdlib/longlong.h: Updated from GCC.
76227 2012-05-09  Andreas Jaeger  <aj@suse.de>
76229         * nscd/nscd.c (run_modes): Make named enum, reorder so that
76230         default is first entry.
76231         (run_mode): Set type.
76232         (main): Remove informal message about syslog.
76233         (options): Fix typo.
76235         [BZ #14053]
76236         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
76237         to asm.
76238         (lrint): Likewise.
76239         (llrintf): Likewise.
76240         (llrint): Likewise.
76241         (rint): Likewise.
76242         (rintf): Likewise.
76243         (nearbyint): Likewise.
76244         (nearbyintf): Likewise.
76246 2012-05-09  Andreas Jaeger  <aj@suse.de>
76247             Pedro Alves  <palves@redhat.com>
76249         * nscd/nscd.c (run_mode): Use enum.
76250         (main): Cleanup coding style issue.
76252 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
76253             Andreas Jaeger  <aj@suse.de>
76255         * nscd/nscd.c (go_background): Replaced with...
76256         (run_mode): ... this.
76257         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
76258         (options): Add -F --foreground.
76259         (main): Implement it.
76260         (parse_opt): Parse it.
76262 2012-05-09  Andreas Jaeger  <aj@suse.de>
76264         [BZ #14083]
76265         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
76266         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
76267         -Wconversion warning.
76268         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
76269         Likewise.
76271 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
76273         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
76274         == 0.
76275         (LC_ALL): Use macro-int-constant.
76276         (LC_COLLATE): Likewise.
76277         (LC_CTYPE): Likewise.
76278         (LC_MESSAGES): Likewise.
76279         (LC_MONETARY): Likewise.
76280         (LC_NUMERIC): Likewise.
76281         (LC_TIME): Likewise.
76282         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
76283         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
76284         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76285         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
76286         Specify type.
76287         [C99-based standards] (float_t): Expect type.
76288         [C99-based standards] (double_t): Expect type.
76289         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
76290         type.
76291         [C99-based standards] (HUGE_VALL): Likewise.
76292         [C99-based standards] (INFINITY): Likewise.
76293         [C99-based standards] (NAN): Likewise.
76294         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
76295         [C99-based standards] (FP_NAN): Likewise.
76296         [C99-based standards] (FP_NORMAL): Likewise.
76297         [C99-based standards] (FP_SUBNORMAL): Likewise.
76298         [C99-based standards] (FP_ZERO): Likewise.
76299         [C99-based standards] (FP_FAST_FMA): Use
76300         optional-macro-int-constant.  Specify type.  Require == 1.
76301         [C99-based standards] (FP_FAST_FMAF): Likewise.
76302         [C99-based standards] (FP_FAST_FMAL): Likewise.
76303         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
76304         [C99-based standards] (FP_ILOGBNAN): Likewise.
76305         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
76306         Specify type.
76307         [C99-based standards] (MATH_ERREXCEPT): Likewise.
76308         [C99-based standards] (math_errhandling): Specify type.
76309         [ISO99 || ISO11] (signgam): Do not allow.
76310         [non-C99-based standards] (copysignf): Do not allow.
76311         [non-C99-based standards] (exp2f): Likewise.
76312         [non-C99-based standards] (log2f): Likewise.
76313         [non-C99-based standards] (modff): Allow.
76314         [non-C99-based standards] (erff): Do not allow.
76315         [non-C99-based standards] (erfcf): Likewise.
76316         [non-C99-based standards] (gammaf): Likewise.
76317         [non-C99-based standards] (hypotf): Likewise.
76318         [non-C99-based standards] (j0f): Likewise.
76319         [non-C99-based standards] (j1f): Likewise.
76320         [non-C99-based standards] (jnf): Likewise.
76321         [non-C99-based standards] (lgammaf): Likewise.
76322         [non-C99-based standards] (tgammaf): Likewise.
76323         [non-C99-based standards] (y0f): Likewise.
76324         [non-C99-based standards] (y1f): Likewise.
76325         [non-C99-based standards] (ynf): Likewise.
76326         [non-C99-based standards] (isnanf): Likewise.
76327         [non-C99-based standards] (acoshf): Likewise.
76328         [non-C99-based standards] (asinhf): Likewise.
76329         [non-C99-based standards] (atanhf): Likewise.
76330         [non-C99-based standards] (cbrtf): Likewise.
76331         [non-C99-based standards] (expm1f): Likewise.
76332         [non-C99-based standards] (ilogbf): Likewise.
76333         [non-C99-based standards] (log1pf): Likewise.
76334         [non-C99-based standards] (logbf): Likewise.
76335         [non-C99-based standards] (nextafterf): Likewise.
76336         [non-C99-based standards] (remainderf): Likewise.
76337         [non-C99-based standards] (rintf): Likewise.
76338         [non-C99-based standards] (scalbf): Likewise.
76339         [non-C99-based standards] (copysignl): Likewise.
76340         [non-C99-based standards] (exp2l): Likewise.
76341         [non-C99-based standards] (log2l): Likewise.
76342         [non-C99-based standards] (modfl): Allow.
76343         [non-C99-based standards] (erfl): Do not allow.
76344         [non-C99-based standards] (erfcl): Likewise.
76345         [non-C99-based standards] (gammal): Likewise.
76346         [non-C99-based standards] (hypotl): Likewise.
76347         [non-C99-based standards] (j0l): Likewise.
76348         [non-C99-based standards] (j1l): Likewise.
76349         [non-C99-based standards] (jnl): Likewise.
76350         [non-C99-based standards] (lgammal): Likewise.
76351         [non-C99-based standards] (tgammal): Likewise.
76352         [non-C99-based standards] (y0l): Likewise.
76353         [non-C99-based standards] (y1l): Likewise.
76354         [non-C99-based standards] (ynl): Likewise.
76355         [non-C99-based standards] (isnanl): Likewise.
76356         [non-C99-based standards] (acoshl): Likewise.
76357         [non-C99-based standards] (asinhl): Likewise.
76358         [non-C99-based standards] (atanhl): Likewise.
76359         [non-C99-based standards] (cbrtl): Likewise.
76360         [non-C99-based standards] (expm1l): Likewise.
76361         [non-C99-based standards] (ilogbl): Likewise.
76362         [non-C99-based standards] (log1pl): Likewise.
76363         [non-C99-based standards] (logbl): Likewise.
76364         [non-C99-based standards] (nextafterl): Likewise.
76365         [non-C99-based standards] (remainderl): Likewise.
76366         [non-C99-based standards] (rintl): Likewise.
76367         [non-C99-based standards] (scalbl): Likewise.
76368         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76369         [non-C99-based standards] (FP_*): Do not allow.
76370         [C99-based standards] (FP_*): Change to
76371         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
76372         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
76373         allow.
76374         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
76375         (SIG_ERR): Likewise.
76376         [X/Open-based standards] (SIG_HOLD): Likewise.
76377         (SIG_IGN): Likewise.
76378         (SIGABRT): Use macro-int-constant.  Specify type.  Require
76379         positive value.
76380         (SIGFPE): Likewise.
76381         (SIGILL): Likewise.
76382         (SIGINT): Likewise.
76383         (SIGSEGV): Likewise.
76384         (SIGTER): Likewise.
76385         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
76386         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
76387         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
76388         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
76389         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
76390         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
76391         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
76392         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
76393         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
76394         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
76395         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
76396         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
76397         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
76398         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
76399         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
76400         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
76401         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
76402         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
76403         [X/Open-based standards] (SIGTRAP): Likewise.
76404         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
76405         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
76406         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
76407         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
76408         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
76409         allow.
76411 2012-05-08  Ian Wienand  <ianw@vmware.com>
76413         [BZ #14080]
76414         * time/tzset.c (__tzset_parse_tz): Update default rules for
76415         daylight time changes in the Energy Policy Act of 2005.
76417 2012-05-09  Andreas Jaeger  <aj@suse.de>
76419         [BZ #13983]
76420         * elf/ldconfig.c (parse_conf): Change string to make clear that
76421         ldconfig only issued a warning if ld.so.conf does not exist.
76423 2012-05-08  David S. Miller  <davem@davemloft.net>
76425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
76426         movxtod instead of popping the value on the stack.
76428         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76430 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
76432         * config.h.in: Add HAVE_ARM_PCS_VFP.
76434 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
76436         [BZ #13979]
76437         * include/features.h: Warn if user requests __FORTIFY_SOURCE
76438         checking but the checks are disabled for any reason.
76440 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
76442         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
76443         and ELF64_R_TYPE with ELFW(R_TYPE).
76445 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
76447         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
76448         (ulimit): Likewise.
76450         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
76451         (settimeofday): Likewise.
76453 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
76455         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
76456         a struct th_u2 inside the union, and move tu_block/tu_code into
76457         a new th_u3 union of tu_block/tu_code inside of that.  Move
76458         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
76459         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
76460         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
76461         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
76462         (th_stuff): Change to th_u1.tu_stuff.
76463         (th_data): Define.
76464         (th_msg): Change to th_u1.th_u2.tu_data.
76466 2012-05-07  David S. Miller  <davem@davemloft.net>
76468         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76470         [BZ #14074]
76471         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
76472         (SETUP_PIC_REG): Use it.
76473         (SETUP_PIC_REG_LEAF): Use it.
76475 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
76477         [BZ #13885]
76478         [BZ #13923]
76479         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
76480         USE_AS_EXPM1L.
76481         (EXPL_FINITE): Likewise.
76482         (FLDLOG): Likewise.
76483         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
76484         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
76485         e_expl.S.
76486         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
76487         USE_AS_EXPM1L.
76488         (EXPL_FINITE): Likewise.
76489         (FLDLOG): Likewise.
76490         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
76491         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
76492         e_expl.S.
76493         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
76494         test of -max_value argument for long double.
76495         * sysdeps/i386/fpu/libm-test-ulps: Update.
76496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76498 2012-05-06  David S. Miller  <davem@davemloft.net>
76500         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
76501         quad soft-float symbols whose references which are compiler
76502         generated.
76503         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
76505 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
76507         [BZ #13884]
76508         [BZ #13914]
76509         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
76510         USE_AS_EXP10L.
76511         (EXPL_FINITE): Likewise.
76512         (FLDLOG): Likewise.
76513         (c0): Likewise.
76514         (c1): Likewise.
76515         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
76516         Adjust comments for base varying.
76517         (__expl_finite): Change alias to EXPL_FINITE.
76518         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
76519         e_expl.S.
76520         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
76521         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
76522         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
76523         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
76524         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
76525         USE_AS_EXP10L.
76526         (EXPL_FINITE): Likewise.
76527         (FLDLOG): Likewise.
76528         (c0): Likewise.
76529         (c1): Likewise.
76530         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
76531         Adjust comments for base varying.
76532         (__expl_finite): Change alias to EXPL_FINITE.
76533         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
76534         tests for bugs.
76535         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76537         [BZ #14064]
76538         * math/libm-test.inc (check_float_internal): Correct ulp
76539         calculation for subnormal expected results.
76541 2012-05-06  Andreas Jaeger  <aj@suse.de>
76543         * Makeconfig (+math-flags): New, set to -frounding-math.
76544         (+cflags): Add +math-flags so that all of glibc gets compiled with
76545         it.
76547         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
76549 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
76551         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
76552         Disable one test.
76554         [BZ #13787]
76555         [BZ #13922]
76556         [BZ #14036]
76557         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
76558         (__ieee754_expl): Allow for and saturate large arguments.
76559         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
76560         (u_threshold): Likewise.
76561         (__exp): Call __ieee754_exp before checking for overflow and
76562         underflow.
76563         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
76564         (u_threshold): Likewise.
76565         (__expf): Call __ieee754_expf before checking for overflow and
76566         underflow.
76567         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
76568         (u_threshold): Likewise.
76569         (__expl): Call __ieee754_expl before checking for overflow and
76570         underflow.
76571         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
76572         (__ieee754_expl): Allow for and saturate large arguments.
76573         * math/libm-test.inc (exp_test): Add another test.  Do not allow
76574         missing overflow exception on overflow.
76575         (expm1_test): Do not allow missing overflow exception on overflow.
76577         * sysdeps/i386/fpu/e_expl.c: Move to ...
76578         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
76579         rather than using inline asm.
76580         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
76581         * sysdeps/x86_64/fpu/e_expl.S: Copy from
76582         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
76584         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
76585         (nice): Likewise.
76586         (poll): Likewise.
76587         (signal): Likewise.
76588         (time): Likewise.
76589         (times): Likewise.
76591 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
76593         * sysdeps/unix/syscalls.list (adjtime): Add entry from
76594         sysdeps/unix/common/syscalls.list.
76595         (fchmod): Likewise.
76596         (fchown): Likewise.
76597         (ftruncate): Likewise.
76598         (getrusage): Likewise.
76599         (gettimeofday): Likewise.
76600         (setpgid): Likewise.
76601         (setregid): Likewise.
76602         (setreuid): Likewise.
76603         (sigaction): Likewise.
76604         (truncate): Likewise.
76605         (vhangup): Likewise.
76606         * sysdeps/unix/common/syscalls.list: Remove file.
76607         * sysdeps/unix/bsd/Implies: Don't include unix/common.
76608         * sysdeps/unix/sysv/linux/Implies: Likewise.
76610 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
76612         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
76613         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
76614         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
76615         Moved to ...
76616         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
76617         Here.
76618         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
76619         to ...
76620         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
76621         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
76622         to ...
76623         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
76624         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
76625         to ...
76626         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
76627         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
76628         to ...
76629         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
76630         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
76631         to ...
76632         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
76633         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
76634         to ...
76635         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
76636         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
76637         to ...
76638         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
76639         Here.
76640         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
76641         to ...
76642         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
76643         Here.
76644         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
76645         to ...
76646         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
76647         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
76648         Moved to ...
76649         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
76650         Here.
76651         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
76652         to ...
76653         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
76655 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
76657         * sysdeps/unix/common/bits/dirent.h: Remove file.
76658         * sysdeps/unix/common/bits/fcntl.h: Likewise.
76660         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
76661         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
76662         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
76663         * sysdeps/unix/bsd/isatty.c: Likewise.
76664         * sysdeps/unix/bsd/tcdrain.c: Likewise.
76665         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
76666         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
76668 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76670         [BZ #13563]
76671         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
76672         long double comparison inaccuracies.
76673         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
76674         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76676 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
76678         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
76679         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
76681 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
76683         [BZ #14049]
76684         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
76685         nonzero digits before rounding a hex value.
76686         * stdlib/tst-strtod.c (tests): Add another test.
76688 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76690         * sysdeps/s390/fpu/libm-test-ulps: Update.
76692 2012-05-03  Andreas Jaeger  <aj@suse.de>
76694         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
76695         does not get optimized out.
76696         (malloc_opt_barrier): New.
76698 2012-05-03  Andreas Jaeger  <aj@suse.de>
76699             Roland McGrath  <roland@hack.frob.com>
76701         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
76702         intermediate file deletion.
76703         (generated): Add .symlist files.
76705 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
76707         [BZ #13775]
76708         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
76709         Redirect under this condition.
76710         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
76711         [__USE_GNU] (__dprintf_chk): Not under this condition.
76712         [__USE_GNU] (__vdprintf_chk): Likewise.
76713         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
76714         under this condition.
76715         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
76716         [__USE_XOPEN2K8] (dprintf): Define under this condition.
76717         [__USE_XOPEN2K8] (vdprintf): Likewise.
76718         [__USE_GNU] (__dprintf_chk): Not under this condition.
76719         [__USE_GNU] (__vdprintf_chk): Likewise.
76720         [__USE_GNU] (dprintf): Likewise.
76721         [__USE_GNU] (vdprintf): Likewise.
76723 2012-05-03  Roland McGrath  <roland@hack.frob.com>
76725         * elf/Makefile (common-generated): Set this instead of generated for
76726         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
76727         $(all-built-dso)-derived lists.
76729 2012-05-03  Andreas Jaeger  <aj@suse.de>
76731         * sysdeps/i386/fpu/libm-test-ulps: Update.
76733         * FAQ: Removed.
76734         * FAQ.in: Likewise.
76735         * scripts/gen-FAQ.pl: Likewise.
76736         * manual/install.texi (Installation): Point to online location of
76737         FAQ.
76738         * Makefile (files-for-dist): Remove FAQ.
76739         (FAQ): Remove.
76741 2012-05-02  Allan McRae  <allan@archlinux.org>
76743         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
76744         (LDFLAGS-reldepmod5.so): Likewise.
76745         (LDFLAGS-reldep6mod1.so): Likewise.
76746         (LDFLAGS-reldep6mod4.so): Likewise.
76747         (LDFLAGS-reldep8mod3.so): Likewise.
76748         (LDFLAGS-unload4mod1.so): Likewise.
76749         (LDFLAGS-unload4mod2.so): Likewise.
76750         (LDFLAGS-tst-initorder): Likewise.
76751         (LDFLAGS-tst-initordera2.so): Likewise.
76752         (LDFLAGS-tst-initordera3.so): Likewise.
76753         (LDFLAGS-tst-initordera4.so): Likewise.
76754         (LDFLAGS-tst-initorderb2.so): Likewise.
76755         (LDFLAGS-noload): Likewise.
76756         (LDFLAGS-next): Likewise.
76757         (LDFLAGS-order2mod1.so): Likewise.
76758         (LDFLAGS-order2mod2.so): Likewise.
76759         (LDFLAGS-tst-initorder2): Likewise.
76760         (LDFLAGS-tst-initorder2a.so): Likewise.
76761         (LDFLAGS-tst-initorder2b.so): Likewise.
76762         (LDFLAGS-tst-initorder2c.so): Likewise.
76763         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
76765 2012-05-02  David S. Miller  <davem@davemloft.net>
76767         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76769 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
76771         [BZ #14055]
76772         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
76774 2012-05-02  Andreas Jaeger  <aj@suse.de>
76776         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
76777         since we manipulate rounding mode.
76778         (CPPFLAGS-test-idouble.c): Likewise.
76779         (CPPFLAGS-test-ifloat.c): Likewise.
76780         (CFLAGS-test-ldouble.c): Likewise.
76781         (CFLAGS-test-double.c): Likewise.
76782         (CFLAGS-test-float.c): Likewise.
76783         (CFLAGS-test-misc.c): Likewise.
76784         (CFLAGS-test-test-fenv.c): Likewise.
76786 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76788         [BZ #2550]
76789         [BZ #2570]
76790         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
76791         comparisons to determine direction to adjust input.
76793 2012-05-01  Roland McGrath  <roland@hack.frob.com>
76795         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
76796         output to the target.
76798         * scripts/localplt.awk: New file.
76799         * elf/Makefile ($(objpfx)check-localplt): Target removed.
76800         (check-localplt-CFLAGS): Variable removed.
76801         ($(all-built-dso:=.jmprel)): New static pattern rule.
76802         (generated): Add those targets.
76803         (localplt-built-dso): New variable.
76804         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
76806         * elf/check-localplt.c: File removed.
76808         * scripts/check-execstack.awk: New file.
76809         * elf/Makefile ($(objpfx)check-execstack): Target removed.
76810         (check-execstack-CFLAGS): Variable removed.
76811         ($(objpfx)check-execstack.h): Target removed.
76812         ($(objpfx)execstack-default): New target.
76813         (generated): Add that instead of check-execstack.h.
76814         ($(all-built-dso:=.phdr)): New static pattern rule.
76815         (generated): Add those targets.
76816         * elf/check-execstack.c: File removed.
76818         * scripts/check-textrel.awk: New file.
76819         * elf/Makefile ($(objpfx)check-textrel): Target removed.
76820         (check-textrel-CFLAGS): Variable removed.
76821         (all-built-dso): Use := to define.o
76822         ($(all-built-dso:=.dyn)): New static pattern rule.
76823         (generated): Add those targets.
76824         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
76825         * config.make.in (READELF): New substituted variable.
76826         * elf/check-textrel.c: File removed.
76828 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
76830         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
76831         allow.
76832         * conform/data/ctype.h-data [C99-based standards] (isblank):
76833         Expect function.
76834         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
76835         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
76836         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76837         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
76838         Specify type.  Require positive value.
76839         (EILSEQ): Likewise.
76840         (ERANGE): Likewise.
76841         [ISO || POSIX] (EILSEQ): Do not expect.
76842         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
76843         Specify type.  Require positive value.
76844         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
76845         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
76846         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
76847         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
76848         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
76849         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
76850         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
76851         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
76852         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
76853         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
76854         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
76855         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
76856         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
76857         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
76858         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
76859         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
76860         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
76861         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
76862         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
76863         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
76864         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
76865         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
76866         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
76867         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
76868         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
76869         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
76870         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
76871         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
76872         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
76873         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
76874         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
76875         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
76876         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
76877         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
76878         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
76879         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
76880         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
76881         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
76882         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
76883         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
76884         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
76885         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
76886         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
76887         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
76888         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
76889         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
76890         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
76891         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
76892         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
76893         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
76894         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
76895         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
76896         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
76897         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
76898         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
76899         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
76900         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
76901         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
76902         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
76903         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
76904         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
76905         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
76906         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
76907         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
76908         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
76909         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
76910         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
76911         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
76912         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
76913         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
76914         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
76915         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
76916         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
76917         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
76918         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
76919         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
76920         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
76921         Require >= 2.
76922         (FLT_ROUNDS): Expect as macro, not constant.
76923         (FLT_MANT_DIG): Use macro-int-constant.
76924         (DBL_MANT_DIG): Likewise.
76925         (LDBL_MANT_DIG): Likewise.
76926         (FLT_DIG): Likewise.
76927         (DBL_DIG): Likewise.
76928         (LDBL_DIG): Likewise.
76929         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
76930         (DBL_MIN_EXP): Likewise.
76931         (LDBL_MIN_EXP): Likewise.
76932         (FLT_MAX_EXP): Use macro-int-constant.
76933         (DBL_MAX_EXP): Likewise.
76934         (LDBL_MAX_EXP): Likewise.
76935         (FLT_MAX_10_EXP): Likewise.
76936         (DBL_MAX_10_EXP): Likewise.
76937         (LDBL_MAX_10_EXP): Likewise.
76938         (FLT_MAX): Use macro-constant.
76939         (DBL_MAX): Likewise.
76940         (LDBL_MAX): Likewise.
76941         (FLT_EPSILON): Use macro-constant.  Give upper bound.
76942         (DBL_EPSILON): Likewise.
76943         (LDBL_EPSILON): Likewise.
76944         (FLT_MIN): Likewise.
76945         (DBL_MIN): Likewise.
76946         (LDBL_MIN): Likewise.
76947         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
76948         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
76949         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
76950         [ISO11] (FLT_HAS_SUBNORM): Likewise.
76951         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
76952         [ISO11] (DBL_DECIMAL_DIG): Likewise.
76953         [ISO11] (FLT_DECIMAL_DIG): Likewise.
76954         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
76955         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
76956         [ISO11] (FLT_TRUE_MIN): Likewise.
76957         [ISO11] (LDBL_TRUE_MIN): Likewise.
76958         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76959         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
76960         (SCHAR_MIN): Use macro-int-constant.  Specify type.
76961         (SCHAR_MAX): Likewise.
76962         (UCHAR_MAX): Likewise.
76963         (CHAR_MIN): Likewise.
76964         (CHAR_MAX): Likewise.
76965         (MB_LEN_MAX): Use macro-int-constant.
76966         (SHRT_MIN): Use macro-int-constant.  Specify type.
76967         (SHRT_MAX): Likewise.
76968         (USHRT_MAX): Likewise.
76969         (INT_MAX): Likewise.
76970         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
76971         bound negative.
76972         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
76973         bound with "U".
76974         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
76975         bound with "L".
76976         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
76977         bound negative.  Suffix upper bound with "L".
76978         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
76979         bound with "UL".
76980         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
76981         Specify type.
76982         [C99-based standards] (LLONG_MAX): Likewise.
76983         [C99-based standards] (ULLONG_MAX): Likewise.
76984         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
76985         == 0.
76986         [ISO11] (max_align_t): Require type.
76987         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76989         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
76990         from $CFLAGS, without defining away __attribute__ calls.
76991         (checknamespace): Use $CFLAGS_namespace.
76993         * conform/conformtest.pl (@keywords): Only include C99 keywords
76994         for standards based on C99 or C11.
76996         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
76997         Disable tests.
76998         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
76999         UNIX98]: Likewise.
77001         * conform/conformtest.pl: Handle "macro-int-constant" and test for
77002         usability of symbols in #if.
77004         * conform/conformtest.pl: If macro or constant types start
77005         "promoted:", expect the symbol to be of the following type
77006         promoted by the integer promotions.
77008         * conform/conformtest.pl: Parse all "constant" and "macro" lines
77009         in one place.  Also handle "macro-constant".
77011         * conform/conformtest.pl: Only accept expected macro values with
77012         "==".  Parse all "macro" lines in one place.
77013         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
77015         * conform/conformtest.pl: Handle braced types on "constant" lines
77016         instead of handling "typed-constant".
77017         * conform/data/signal.h-data: Use "constant" instead of
77018         "typed-constant".
77020         * conform/conformtest.pl: Handle "optional-" at start of lines in
77021         one place rather than duplicating several cases.  Handle each
77022         format of "macro" line with initial "optional-".
77024         * conform/conformtest.pl: Only accept expected constant or
77025         optional-constant values with "==".  Parse all "constant" lines in
77026         one place.  Parse all "optional-constant" lines in one place.
77027         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
77028         * conform/data/fmtmsg.h-data: Likewise.
77029         * conform/data/netinet/in.h-data: Likewise.
77030         * conform/data/tar.h-data: Likewise.
77031         * conform/data/limits.h-data: Use "==" form on "constant" and
77032         "optional-constant" lines.
77034         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
77035         Use -std=c99 for XOPEN2K.
77036         (@knownproblems): Remove.
77037         (newtoken): Don't check %isknown.
77039         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
77040         Do not expect macro.
77041         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
77042         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
77043         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
77044         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
77045         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
77046         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
77047         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
77048         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
77049         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
77050         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
77051         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
77052         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
77053         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
77054         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
77055         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
77056         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
77057         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
77058         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
77059         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
77060         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
77061         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
77062         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
77063         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
77064         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
77065         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
77066         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
77067         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
77068         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
77069         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
77070         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
77071         [XPG3] (acosh): Likewise.
77072         [XPG3] (asinh): Likewise.
77073         [XPG3] (atanh): Likewise.
77074         [XPG3] (cbrt): Likewise.
77075         [XPG3] (expm1): Likewise.
77076         [XPG3] (ilogb): Likewise.
77077         [XPG3] (log1p): Likewise.
77078         [XPG3] (logb): Likewise.
77079         [XPG3] (nextafter): Likewise.
77080         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
77081         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
77082         [XPG3] (remainder): Likewise.
77083         [XPG3] (rint): Likewise.
77084         [XPG3 || XPG4 || UNIX98] (round): Likewise.
77085         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
77086         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
77087         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
77088         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
77089         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
77090         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
77091         [UNIX98 || XOPEN2K] (scalb): Expect.
77092         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
77093         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
77094         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
77095         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
77096         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
77097         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
77098         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
77099         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
77100         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
77101         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
77102         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
77103         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
77104         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
77105         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
77106         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
77107         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
77108         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
77109         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
77110         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
77111         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
77112         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
77113         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
77114         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
77115         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
77116         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
77117         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
77118         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
77119         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
77120         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
77121         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
77122         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
77123         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
77124         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
77125         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
77126         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
77127         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
77128         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
77129         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
77130         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
77131         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
77132         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
77133         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
77134         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
77135         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
77136         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
77137         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
77138         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
77139         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
77140         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
77141         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
77142         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
77143         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
77144         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
77145         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
77146         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
77147         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
77148         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
77149         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
77150         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
77151         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
77152         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
77153         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
77154         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
77155         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
77156         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
77157         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
77158         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
77159         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
77160         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
77161         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
77162         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
77163         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
77164         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
77165         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
77166         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
77167         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
77168         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
77169         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
77170         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
77171         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
77172         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
77173         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
77174         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
77175         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
77176         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
77177         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
77178         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
77179         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
77180         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
77181         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
77182         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
77183         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
77184         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
77185         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
77186         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
77187         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
77188         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
77189         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
77190         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
77191         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
77192         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
77193         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
77194         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
77195         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
77196         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
77197         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
77198         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
77199         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
77200         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
77201         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
77202         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
77203         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
77204         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
77205         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
77206         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
77207         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
77208         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
77209         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
77210         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
77211         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
77212         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
77213         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
77214         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
77215         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
77216         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
77217         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
77218         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
77219         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
77220         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
77221         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
77222         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
77223         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
77224         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
77225         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
77226         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
77227         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
77228         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
77230         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
77231         _XOPEN_SOURCE_EXTENDED for XPG4.
77233         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
77235         * Makeconfig (localtime): Remove variable.
77236         (inst_localtime-file): Likewise.
77238 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
77240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
77241         Update.
77242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
77243         Update.
77244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
77245         Update.
77246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
77247         Update.
77248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
77249         Update.
77250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
77251         Update.
77252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
77253         Update.
77254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
77255         Update.
77256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
77257         Update.
77259 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
77261         [BZ #2550]
77262         [BZ #2570]
77263         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
77264         comparisons to determine direction to adjust input.
77265         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
77266         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
77267         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
77268         Likewise.
77269         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
77270         Likewise.
77271         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
77272         Likewise.
77273         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
77274         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
77275         Likewise.
77276         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
77277         Likewise.
77278         * math/libm-test.inc (nexttoward_test): Add more tests.
77280 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
77282         [BZ #14040]
77283         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
77284         in version GLIBC_2.1, not GLIBC_2.0.
77285         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
77286         Likewise.
77288 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
77290         [BZ #13942]
77291         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
77292         (1 - x) * (1 + x).
77293         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
77294         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
77295         * math/libm-test.inc (acos_test): Add more tests.
77296         (asin_test): Likewise.
77297         * sysdeps/i386/fpu/libm-test-ulps: Update.
77298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77300         [BZ #14034]
77301         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
77302         of square root.
77303         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
77304         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
77305         * math/libm-test.inc (acos_test_tonearest): New function.
77306         (acos_test_towardzero): Likewise.
77307         (acos_test_downward): Likewise.
77308         (acos_test_upward): Likewise.
77309         (asin_test_tonearest): Likewise.
77310         (asin_test_towardzero): Likewise.
77311         (asin_test_downward): Likewise.
77312         (asin_test_upward): Likewise.
77313         (main): Call the new functions.
77314         * sysdeps/i386/fpu/libm-test-ulps: Update.
77315         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77317         [BZ #13884]
77318         [BZ #13924]
77319         * math/e_exp10.c: Include <float.h>.
77320         (__ieee754_exp10): Handle underflow here rather than multiplying
77321         large negative argument by M_LN10.
77322         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
77323         of __ieee754_expf.
77324         * math/e_exp10l.c: Include <float.h>.
77325         (__ieee754_exp10l): Handle underflow here rather than multiplying
77326         large negative argument by M_LN10l.
77327         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
77328         spurious overflow exception on underflow.
77330 2012-04-29  Marek Polacek  <polacek@redhat.com>
77332         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
77333         (__fortify_function): New macro.
77334         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
77335         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
77336         __extern_always_inline.
77337         * libio/bits/stdio2.h: Likewise.
77338         * libio/bits/stdio.h: Likewise.
77339         * string/string.h: Likewise.
77340         * string/bits/string3.h: Likewise.
77341         * include/stdio.h: Likewise.
77342         * stdlib/bits/stdlib.h: Likewise.
77343         * stdlib/stdlib.h: Likewise.
77344         * rt/bits/mqueue2.h: Likewise.
77345         * rt/mqueue.h: Likewise.
77346         * posix/bits/unistd.h: Likewise.
77347         * posix/unistd.h: Likewise.
77348         * io/bits/poll2.h: Likewise.
77349         * io/bits/fcntl2.h: Likewise.
77350         * io/fcntl.h: Likewise.
77351         * io/sys/poll.h: Likewise.
77352         * misc/bits/syslog.h: Likewise.
77353         * misc/bits/syslog-ldbl.h: Likewise.
77354         * misc/sys/syslog.h: Likewise.
77355         * socket/bits/socket2.h: Likewise.
77356         * socket/sys/socket.h: Likewise.
77357         * debug/tst-chk1.c: Likewise.
77358         * wcsmbs/bits/wchar2.h: Likewise.
77359         * wcsmbs/bits/wchar-ldbl.h: Likewise.
77360         * wcsmbs/wchar.h: Likewise.
77362 2012-04-29  Andreas Jaeger  <aj@suse.de>
77364         * Makerules (tests): Remove enable-check-abi protection.
77365         (check-abi-warn): Remove.
77366         (check-abi-%): Remove check-abi-warn usage.
77368         * configure.in: Remove check-abi configure option.
77369         * configure: Regenerated.
77370         * config.make.in (enable-check-abi): Remove.
77372 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
77374         [BZ #14033]
77375         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
77376         double functions to double *_finite functions.
77378         [BZ #13941]
77379         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
77380         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
77381         LDBL_MIN_EXP.
77382         * stdio-common/Makefile (tests): Add tst-sprintf3.
77383         * stdio-common/tst-sprintf3.c: New file.
77385         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
77386         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
77388 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
77390         * conform/conformtest.pl: Remove duplicate typed-constant
77391         handling.
77393 2012-04-28  David S. Miller  <davem@davemloft.net>
77395         * Makerules (%.abilist): Add vpath on sysdep_dirs.
77396         (check-abi-%): Remove AWK script prerequisite and explicit
77397         abilist directory.
77398         (check-abi): Rewrite to just diff the symlist with the abilist.
77399         (config-tls, config-abi-config): Delete, no longer used.
77400         (update-abi-%): Remove AWK script and explicit abilist directory.
77401         (update-abi): Rewrite to simply compare and conditionally copy the
77402         symlist and the sysdep abilist file.  Remove update-abi-config
77403         checks.
77404         * abilist/ld.abilist: Remove.
77405         * abilist/libBrokenLocale.abilist: Remove.
77406         * abilist/libanl.abilist: Remove.
77407         * abilist/libcrypt.abilist: Remove.
77408         * abilist/libdl.abilist: Remove.
77409         * abilist/librt.abilist: Remove.
77410         * abilist/libthread_db.abilist: Remove.
77411         * abilist/libutil.abilist: Remove.
77412         * scripts/extract-abilist.awk: Remove.
77413         * scripts/merge-abilist.awk: Remove.
77414         * sysdeps/generic/libcidn.abilist: New file.
77415         * sysdeps/generic/libnss_compat.abilist: New file.
77416         * sysdeps/generic/libnss_db.abilist: New file.
77417         * sysdeps/generic/libnss_dns.abilist: New file.
77418         * sysdeps/generic/libnss_files.abilist: New file.
77419         * sysdeps/generic/libnss_hesiod.abilist: New file.
77420         * sysdeps/generic/libnss_nis.abilist: New file.
77421         * sysdeps/generic/libnss_nisplus.abilist: New file.
77422         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
77423         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
77424         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
77425         file.
77426         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
77427         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
77428         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
77429         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
77430         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
77431         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
77432         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
77433         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
77434         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
77435         file.
77436         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
77437         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
77438         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
77439         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
77440         file.
77441         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
77442         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
77443         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
77444         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
77445         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
77446         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
77447         file.
77448         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
77449         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
77450         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
77451         file.
77452         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
77453         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
77454         New file.
77455         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
77456         New file.
77457         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
77458         New file.
77459         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
77460         New file.
77461         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
77462         New file.
77463         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
77464         New file.
77465         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
77466         New file.
77467         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
77468         New file.
77469         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
77470         New file.
77471         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
77472         New file.
77473         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
77474         New file.
77475         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
77476         New file.
77477         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
77478         New file.
77479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
77480         file.
77481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
77482         New file.
77483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
77484         New file.
77485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
77486         file.
77487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
77488         New file.
77489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
77490         New file.
77491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
77492         file.
77493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
77494         New file.
77495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
77496         New file.
77497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
77498         New file.
77499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
77500         New file.
77501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
77502         New file.
77503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
77504         New file.
77505         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
77506         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
77507         file.
77508         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
77509         New file.
77510         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
77511         file.
77512         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
77513         file.
77514         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
77515         file.
77516         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
77517         file.
77518         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
77519         file.
77520         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
77521         New file.
77522         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
77523         file.
77524         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
77525         file.
77526         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
77527         New file.
77528         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
77529         file.
77530         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
77531         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
77532         file.
77533         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
77534         New file.
77535         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
77536         file.
77537         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
77538         file.
77539         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
77540         file.
77541         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
77542         file.
77543         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
77544         file.
77545         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
77546         New file.
77547         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
77548         file.
77549         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
77550         file.
77551         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
77552         New file.
77553         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
77554         file.
77555         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
77556         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
77557         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
77558         file.
77559         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
77560         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
77561         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
77562         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
77563         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
77564         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
77565         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
77566         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
77567         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
77568         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
77569         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
77570         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
77571         file.
77572         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
77573         New file.
77574         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
77575         file.
77576         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
77577         file.
77578         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
77579         file.
77580         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
77581         file.
77582         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
77583         file.
77584         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
77585         New file.
77586         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
77587         New file.
77588         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
77589         file.
77590         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
77591         New file.
77592         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
77593         file.
77594         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
77595         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
77596         file.
77597         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
77598         New file.
77599         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
77600         file.
77601         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
77602         file.
77603         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
77604         file.
77605         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
77606         file.
77607         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
77608         file.
77609         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
77610         New file.
77611         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
77612         New file.
77613         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
77614         file.
77615         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
77616         New file.
77617         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
77618         file.
77620 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
77622         * conform/conformtest.pl: Fix typo in handling typed-constant from
77623         allow-header.
77625 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
77627         * README: Cut down references to pre-2.6 Linux kernels and
77628         Linuxthreads.  Update lists of configurations in libc and ports
77629         and sort alphabetically.  Say "or newer" with Linux kernel version
77630         requirements.
77632         * config.h.in [IS_IN_build]: Allow compiling without optimization.
77634 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
77636         [BZ #887]
77637         * math/libm-test.inc (logb_test_downward): New test to expose
77638         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
77639         rounding mode.
77641 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
77643         [BZ #14027]
77644         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
77645         to be done.
77646         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
77647         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
77649 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
77651         * sysdeps/unix/i386/brk.S: Remove file.
77652         * sysdeps/unix/i386/dl-brk.S: Likewise.
77653         * sysdeps/unix/i386/pipe.S: Likewise.
77654         * sysdeps/unix/i386/sigreturn.S: Likewise.
77655         * sysdeps/unix/i386/syscall.S: Likewise.
77656         * sysdeps/unix/i386/vfork.S: Likewise.
77657         * sysdeps/unix/i386/wait.S: Likewise.
77659         * sysdeps/unix/common/tcsendbrk.c: Move to ...
77660         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
77662         * configure.in (arm*-none*): Do not allow without
77663         --enable-hacker-mode.
77664         (netbsd*): Remove case setting base_os.
77665         (386bsd*): Likewise.
77666         (freebsd*): Likewise.
77667         (bsdi*): Likewise.
77668         (osf*): Likewise.
77669         (sunos*): Likewise.
77670         (ultrix*): Likewise.
77671         (newsos*): Likewise.
77672         (dynix*): Likewise.
77673         (*bsd*): Likewise.
77674         (sysv*): Likewise.
77675         (isc*): Likewise.
77676         (esix*): Likewise.
77677         (sco*): Likewise.
77678         (minix*): Likewise.
77679         (irix4*): Likewise.
77680         (irix6*): Likewise.
77681         (solaris[2-9]*): Likewise.
77682         (none): Likewise.
77683         * configure: Regenerated.
77685 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77687         [BZ #11521]
77688         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
77689         overflow or cancellation in calculating denominator.
77690         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
77691         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
77692         down expression to avoid unexpected rounding in newer GCCs.
77693         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
77695 2012-04-26  David S. Miller  <davem@davemloft.net>
77697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
77698         long-double compat symbols.
77699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
77700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
77701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
77702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
77703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
77704         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
77705         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
77706         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
77707         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
77708         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
77709         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
77710         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
77711         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
77713 2012-04-25  David S. Miller  <davem@davemloft.net>
77715         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
77716         HWCAP_* values only after the memory barriers have been defined.
77717         (atomic_full_barrier): Define.
77718         (atomic_read_barrier): Define.
77719         (atomic_write_barrier): Define.
77721 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
77723         * shlib-versions: Add libgcc_s version information.
77724         * sysdeps/generic/libgcc_s.h: Remove.
77725         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
77726         libgcc_s.h.
77727         * sysdeps/gnu/unwind-resume.c: Likewise.
77728         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
77730 2012-04-25  David S. Miller  <davem@davemloft.net>
77732         * sysdeps/unix/sparc/brk.S: Delete.
77733         * sysdeps/unix/sparc/dl-brk.S: Delete.
77734         * sysdeps/unix/sparc/pipe.S: Delete.
77735         * sysdeps/unix/sparc/sysdep.S: Delete.
77736         * sysdeps/unix/sparc/sysdep.h: Delete.
77737         * sysdeps/unix/sparc/vfork.S: Delete.
77738         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
77739         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
77740         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
77741         (ret_ERRVAL, r0, r1, MOVE): Define.
77742         (JUMPTARGET): Remove.
77743         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
77744         sysdeps/unix/sparc/sysdep.h
77745         (ENTRY, END): Remove.
77746         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
77748 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
77750         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
77751         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
77752         -DIS_IN_build.
77754         * timezone/README: Update upstream location and email address for
77755         tzcode and tzdata.
77756         * timezone/zdump.c: Update from tzcode 2012b.
77757         * timezone/zic.c: Likewise.
77759         * configure.in (libc_cv_as_needed): Remove test.
77760         * configure: Regenerated.
77761         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
77762         conditional definition.
77763         [$(have-as-needed) != yes] (no-as-needed): Likewise.
77764         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
77765         * config.make.in (have-as-needed): Remove variable.
77767 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
77768             Paul Pluzhnikov  <ppluzhnikov@google.com>
77770         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
77771         strings correctly.
77773 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
77775         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
77776         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
77777         * sysdeps/sh/strlen.S: Likewise.
77779 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
77781         * sysdeps/unix/fork.S: Remove file.
77782         * sysdeps/unix/i386/fork.S: Likewise.
77783         * sysdeps/unix/sparc/fork.S: Likewise.
77785         * sysdeps/unix/system.c: Remove file.
77786         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
77788         * sysdeps/unix/getegid.S: Remove file.
77789         * sysdeps/unix/geteuid.S: Likewise.
77791 2012-04-24  Roland McGrath  <roland@hack.frob.com>
77793         * scripts/check-localplt.awk: New file.
77794         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
77795         of diff.
77796         * scripts/data/localplt-generic.data: Add a comment.
77798         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
77799         NODE when __dir_mkfile failed.
77800         * sysdeps/mach/hurd/symlinkat.c: Likewise.
77801         Reported by Ludovic Courtès <ludo@gnu.org>.
77803 2012-04-24  Andreas Jaeger  <aj@suse.de>
77805         * Makerules (common-clean): Also remove gen-as-const-headers
77806         files.
77808 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
77810         * Makerules (native-compile): Do not change working directory for
77811         build.  Use $(OUTPUT_OPTION) in command.
77812         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
77814 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77816         [BZ #13886]
77817         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
77818         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
77819         * math/libm-test.inc (floor_test): Add more tests.
77820         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
77822 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
77824         * sysdeps/unix/getdents.c: Remove file.
77825         * sysdeps/unix/sysv/getdents.c: Likewise.
77826         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
77828         * sysdeps/unix/syscalls.list (madvise): Add syscall from
77829         sysdeps/unix/mman/syscalls.list.
77830         (mmap): Likewise.
77831         (mprotect): Likewise.
77832         (msync): Likewise.
77833         (munmap): Likewise.
77834         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
77835         * sysdeps/unix/mman/syscalls.list: Remove.
77836         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
77838         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
77839         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
77840         * configure: Regenerated.
77841         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
77842         $(libgcc_s_suffix).
77843         * config.make.in (libgcc_s_suffix): Remove variable.
77845 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
77847         * sysdeps/unix/sysv/gethostname.c: Move to ...
77848         * sysdeps/posix/gethostname.c: ... here.
77850         * sysdeps/unix/execve.S: Remove file.
77852         * sysdeps/unix/_exit.S: Remove file.
77854 2012-04-23  Andreas Jaeger  <aj@suse.de>
77856         [BZ #13739]
77857         * manual/Makefile: Remove make dist support, there's no
77858         need for a stand-alone documentation tar ball.
77859         (TEXI2DVI): Define always, it's not in Makeconfig.
77860         (dist): Removed.
77861         (tar-it): Removed.
77862         (edition): Removed.
77863         (glibc-doc-$(edition).tar): Removed
77864         (%.Z): Removed.
77865         (%.gz): Removed.
77866         (%.uu): Removed.
77867         (ETAGS): Remove, it's in Makeconfig.
77868         (move-if-change): Remove, it's in Makeconfig.
77870 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
77872         [BZ #13970]
77873         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
77874         (strtod, strtof, strtold, strtol, strtoul, strtoq)
77875         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
77876         (strtod_l, strtof_l, strtold_l): Remove __wur.
77877         It is not necessarily an error to ignore strtol's return value.
77878         One can reliably look at the stored endptr to decide whether
77879         the number had valid syntax.
77881 2012-04-21  Andreas Jaeger  <aj@suse.de>
77883         [BZ #13739]
77884         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
77886 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
77888         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
77889         * sysdeps/unix/sysv/Versions: Remove file.
77891 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
77893         [BZ #13927]
77894         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77896 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
77898         [BZ #7064]
77899         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
77900         version from __vm86.
77902 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
77904         * sysdeps/unix/common/lxstat.c: Remove file.
77905         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
77907         * sysdeps/unix/sysv/Makefile: Remove file.
77909         * sysdeps/unix/sysv/direct.h: Remove file.
77911         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
77912         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
77913         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
77914         * sysdeps/unix/sysv/bits/signum.h: Likewise.
77915         * sysdeps/unix/sysv/bits/stat.h: Likewise.
77916         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
77917         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
77919         * sysdeps/unix/sysv/setrlimit.c: Remove file.
77921         * sysdeps/unix/xmknod.c: Remove file.
77922         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
77924         * sysdeps/unix/sysv/settimeofday.c: Remove file.
77926         * sysdeps/unix/sysv/i386/time.S: Remove file.
77928         * sysdeps/unix/fxstat.c: Remove file.
77929         * sysdeps/unix/xstat.c: Likewise.
77930         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
77932         * sysdeps/unix/sysv/sigaction.c: Remove file.
77934         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
77935         (sysdep_headers): Remove variable.
77936         [termio.h not in sysdep_headers] (generated): Likewise.
77937         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
77938         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
77939         * sysdeps/unix/sysv/tcdrain.c: Likewise.
77940         * sysdeps/unix/sysv/tcflow.c: Likewise.
77941         * sysdeps/unix/sysv/tcflush.c: Likewise.
77942         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
77943         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
77944         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
77945         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
77946         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
77948         * sysdeps/unix/siglist.c: Remove file.
77950         * sysdeps/unix/getppid.S: Remove file.
77952         * sysdeps/unix/mkdir.c: Remove file.
77953         * sysdeps/unix/rmdir.c: Likewise.
77955 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
77957         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
77958         ERR_MAX value.
77959         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
77960         errlist-compat value.
77962 2012-04-18  David S. Miller  <davem@davemloft.net>
77964         * sysdeps/generic/memcopy.h (reg_char): Delete.
77965         * debug/strcat_chk.c: Use char, not reg_char.
77966         * debug/strcpy_chk.c: Likewise.
77967         * debug/strncat_chk.c: Likewise.
77968         * debug/strncpy_chk.c: Likewise.
77969         * string/memchr.c: Likewise.
77970         * string/memrchr.c: Likewise.
77971         * string/rawmemchr.c: Likewise.
77972         * string/strcat.c: Likewise.
77973         * string/strchr.c: Likewise.
77974         * string/strchrnul.c: Likewise.
77975         * string/strcmp.c: Likewise.
77976         * string/strcpy.c: Likewise.
77977         * string/strncat.c: Likewise.
77978         * string/strncmp.c: Likewise.
77979         * string/strncpy.c: Likewise.
77981 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
77983         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
77984         __builtin_memcopy is called when src and dest ranges are known to not
77985         overlap.
77987 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
77989         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
77990         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
77991         fwd_align_merge macro call.
77992         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
77993         bwd_align_merge macro call.
77994         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
77996 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
77998         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
77999         bwd_align_merge macros.
78000         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
78001         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
78002         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
78004 2012-04-18  David S. Miller  <davem@davemloft.net>
78006         * sysdeps/sparc/sparc64/memcopy.h: Delete.
78008 2012-04-18  Andreas Jaeger  <aj@suse.de>
78010         [BZ #6794]
78011         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
78012         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
78013         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
78015         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
78016         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
78017         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
78019         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
78020         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
78021         Adjust for changed ldbl-128 files.
78023         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
78024         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
78025         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
78027 2012-04-17  David S. Miller  <davem@davemloft.net>
78029         * sysdeps/sparc/sparc32/memcopy.h: Delete.
78031 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
78033         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
78034         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
78035         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
78036         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
78037         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
78038         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
78040 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78042         [BZ #6794]
78043         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
78044         * math/libm-test.inc: Add ilogb errno and exception tests.
78045         * math/w_ilogb.c: New file: ilogb wrapper.
78046         * math/w_ilogbf.c: New file: ilogbf wrapper.
78047         * math/w_ilogbl.c: New file: ilogbl wrapper.
78048         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
78049         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
78050         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
78051         exception being thrown with 0.0 as argument.
78052         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
78053         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
78054         exception being thrown with 0.0 as argument.
78055         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
78056         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
78057         exception being thrown with 0.0 as argument.
78058         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
78059         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
78060         exception being thrown with 0.0 as argument.
78061         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
78062         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
78063         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
78064         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
78065         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
78066         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
78067         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
78068         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
78069         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
78071 2012-04-17  Petr Baudis  <pasky@ucw.cz>
78073         * include/sys/uio.h: Change __vector to __iovec to avoid clash
78074         with altivec.
78076 2012-04-16  Marek Polacek  <polacek@redhat.com>
78078         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
78080 2012-04-16  Marek Polacek  <polacek@redhat.com>
78082         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
78083         operands of fdivp instruction.
78085 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
78087         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
78088         * elf/tst-auditmod3b.c: Likewise.
78089         * elf/tst-auditmod4b.c: Likewise.
78090         * elf/tst-auditmod5b.c: Likewise.
78091         * elf/tst-auditmod6b.c: Likewise.
78092         * elf/tst-auditmod6c.c: Likewise.
78093         * elf/tst-auditmod7b.c: Likewise.
78094         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
78095         * sysdeps/x86_64/preconfigure.in: Likewise.
78096         * sysdeps/x86_64/preconfigure: Regenerated.
78098 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
78100         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
78101         __ILP32__.
78103 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
78105         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
78106         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
78108 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
78110         [BZ #13973]
78111         * locale/iso-639.def: Fix gl language name. Spotted by
78112         Yaron Shahrabani.
78114 2012-04-12  Roland McGrath  <roland@hack.frob.com>
78116         [BZ #2074]
78117         * libio/libio.h (__io_write_fn): Update comment.
78119 2012-04-12  Petr Baudis  <pasky@ucw.cz>
78121         [BZ #2074]
78122         * stdio.texi (Hook Functions): The user provided writer function
78123         is not allowed to return -1.
78125 2012-04-11  David S. Miller  <davem@davemloft.net>
78127         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78129 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
78131         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
78132         Add a leading slash to rtkaio.
78134 2012-04-11  Jim Meyering  <meyering@redhat.com>
78136         [BZ #11959]
78137         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
78138         It is not necessarily an error to ignore fwrite's return
78139         value.  One can reliably use ferror to test for errors after
78140         the fact.
78142 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
78144         * bits/types.h (__snseconds_t): New type.
78145         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
78147         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
78148         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
78149         (__SNSECONDS_T_TYPE): Likewise.
78150         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
78151         (__SNSECONDS_T_TYPE): Likewise.
78152         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78153         (__SNSECONDS_T_TYPE): Likewise.
78155 2012-04-10  Andreas Jaeger  <aj@suse.de>
78157         [BZ #2636]
78158         * manual/time.texi (Processor Time): Return type of times is
78159         elapsed real time since an arbitrary point in the past.
78160         (CPU Time): Move CLK_TCK from here...
78161         (Processor Time): ...to here.  Correct description.
78162         * manual/conf.texi (Constants for Sysconf): Correct description of
78163         _SC_CLK_TCK.
78165 2012-04-10  David S. Miller  <davem@davemloft.net>
78167         [BZ #13967]
78168         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
78169         where the is a gap between DT_REL(A) and DT_JMPREL.
78171 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
78173         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
78174         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
78175         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
78177 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
78179         * elf/dl-support.c (_dl_inhibit_cache): New variable.
78180         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
78181         (dl_main): Handle --inhibit-cache.
78182         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
78183         _dl_inhibit_cache.
78184         * elf/dl-load.c (_dl_map_object): Use it.
78185         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
78187 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
78189         [BZ #13872]
78190         * sysdeps/i386/fpu/e_powl.S (p78): New object.
78191         (__ieee754_powl): Saturate large exponents rather than testing for
78192         overflow of y*log2(x).
78193         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78194         * math/libm-test.inc (pow_test): Do not permit spurious overflow
78195         exceptions.
78197         [BZ #11521]
78198         * math/s_ctan.c: Include <float.h>.
78199         (__ctan): Avoid internal overflow or cancellation in calculating
78200         denominator.
78201         * math/s_ctanf.c: Likewise.
78202         * math/s_ctanl.c: Likewise.
78203         * math/s_ctanh.c: Likewise.
78204         * math/s_ctanhf.c: Likewise.
78205         * math/s_ctanhl.c: Likewise.
78206         * math/libm-test.inc (ctan_test): Add more tests.
78207         (ctanh_test): Likewise.
78208         * sysdeps/i386/fpu/libm-test-ulps: Update.
78209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78211 2012-04-09  Andreas Jaeger  <aj@suse.de>
78213         [BZ #6894]
78214         * manual/filesys.texi (Directory Entries): Mention that d_namlen
78215         is an optional BSD extension.
78217         [BZ #10254]
78218         * manual/stdio.texi (Opening Streams): Document additional fopen
78219         parameters.
78221 2012-04-09  Roland McGrath  <roland@hack.frob.com>
78223         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
78224         %eax without telling the compiler.
78226 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
78228         [BZ # 13963]
78229         * manual/install.texi: Use sourceware.org.
78231 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
78233         [BZ #13873]
78234         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
78235         (__ieee754_pow): Generate overflow and underflow using huge*huge
78236         and tiny*tiny rather than just returning constant infinity or zero
78237         for large exponents.
78238         * math/libm-test.inc (pow_test): Require overflow exceptions for
78239         applicable cases of large exponents.
78241         [BZ #706]
78242         * sysdeps/i386/fpu/e_pow.S (p10): New object.
78243         (__ieee754_pow): Use iterative multiplication algorithm only for
78244         integer exponents with absolute value below 1024.  Check for odd
78245         integer exponents when using algorithm for real exponents.
78246         * math/libm-test.inc (pow_test): Add more tests.
78247         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78249 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
78251         [BZ #13705]
78252         * math/libm-test.inc (exp_test): Do not allow overflow exception
78253         on underflow test.
78255 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
78257         [BZ #13705]
78258         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
78259         instead of __kernel_standard_f.
78261 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
78263         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
78264         * sysdeps/x86_64/memset_chk.S: Likewise.
78266 2012-04-08  Andreas Jaeger  <aj@suse.de>
78268         [BZ #10153]
78269         * manual/startup.texi (Environment Access): Describe return value
78270         for putenv and setenv.
78272         [BZ #6895]
78273         * manual/filesys.texi (Directory Entries): Add description for
78274         DT_LNK.
78276         [BZ #6890]
78277         * manual/filesys.texi (Directory Entries): Clarify that it's file
78278         system not operating system in the description of DT_UNKNOWN.
78280         [BZ #6578]
78281         * manual/syslog.texi (closelog): Fix reference, it's openlog.
78283 2012-04-08  Stephen Compall  <s11@member.fsf.org>
78285         [BZ #6649]
78286         * manual/llio.texi (Opening and Closing Files): Add cross
78287         reference to explain mode argument.
78289 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
78291         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
78292         * sysdeps/x86_64/memset_chk.S: Likewise.
78294 2012-04-07  David S. Miller  <davem@davemloft.net>
78296         * elf/elf.h (R_SPARC_WDISP10): Define.
78297         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
78298         R_SPARC_SIZE32.
78299         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
78300         R_SPARC_SIZE64 and R_SPARC_H34.
78302 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
78304         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
78305         conditions and remove no longer applicable assertion.
78307 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
78309         * bits/byteswap.h: Include <features.h>.
78310         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
78311         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
78313 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
78315         * bits/byteswap.h (__bswap_16): Removed.
78316         Include <bits/byteswap-16.h> to get __bswap_16.
78317         * sysdeps/i386/bits/byteswap.h: Likewise.
78318         * sysdeps/s390/bits/byteswap.h: Likewise.
78319         * sysdeps/x86_64/bits/byteswap.h: Likewise.
78320         * bits/byteswap-16.h: New file.
78321         * sysdeps/i386/bits/byteswap-16.h: Likewise.
78322         * sysdeps/s390/bits/byteswap-16.h: Likewise.
78323         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
78324         * string/Makefile (headers): Add bits/byteswap-16.h.
78326 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
78328         [BZ #13895]
78329         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
78330         extra indirection.
78331         * nss/Makefile (tests-static, tests): Add tst-nss-static.
78332         * nss/tst-nss-static.c: New.
78334 2012-04-06  Robert Millan  <rmh@gnu.org>
78336         [BZ #6486]
78337         * manual/llio.texi (File Position Primitive): lseek
78338         refers to WHENCE when it really means OFFSET.
78340 2012-04-06  Andreas Jaeger  <aj@suse.de>
78342         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
78343         strncmp declarations.
78345         * abilist/libc.abilist: Add __poll and __ppoll.
78347 2012-04-05  David S. Miller  <davem@davemloft.net>
78349         * scripts/check-local-headers.sh: Accept a host triplet in the
78350         path matched by the exclude regexp.
78352         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
78353         definition.
78354         * sysdeps/powerpc/powerpc32/dl-machine.h
78355         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
78356         * sysdeps/s390/s390-32/dl-machine.h
78357         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
78358         * sysdeps/sparc/sparc32/dl-machine.h
78359         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
78360         * sysdeps/sparc/sparc64/dl-machine.h
78361         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
78363         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
78364         lazy binding.
78365         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
78366         undefined symbol errors.
78368         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
78369         DT_NEEDED entries.
78371 2012-04-05  Michael Matz  <matz@suse.de>
78373         [BZ #13592]
78374         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
78376 2012-04-05  Andreas Jaeger  <aj@suse.de>
78378         [BZ #13908]
78379         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
78380         comment.
78382 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
78384         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
78385         which ROUND is no valid rounding mode.
78387 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
78389         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
78390         read again.
78391         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
78393 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
78395         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
78396         an exception using FPU order intentionally.
78398 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
78400         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
78401         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
78402         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
78403         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
78405 2012-04-05  Simon Josefsson  <simon@josefsson.org>
78407         [BZ #12340]
78408         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
78409         EINVAL when BUFLEN is too smal.
78411 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
78413         [BZ #13553]
78414         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
78415         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
78417 2012-04-03  Andreas Jaeger  <aj@suse.de>
78419         [BZ #13938]
78420         * manual/setjmp.texi (System V contexts): Fix sentence.
78422         [BZ #13926]
78423         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
78424         New macro for this case.
78425         [!__GNUC__] (__bswap_64): New inline function for this case.
78426         * sysdeps/x86_64/bits/byteswap.h: Likewise.
78427         * bits/byteswap.h: Likewise.
78428         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
78429         ull, guard with __GLIBC_HAVE_LONG_LONG.
78431         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
78432         __GLIBC_HAVE_LONG_LONG.
78434         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
78435         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
78437 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
78439         [BZ #13691]
78440         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
78441         inptr and inend, rather than using last_ch.
78443 2012-04-02  David S. Miller  <davem@davemloft.net>
78445         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
78446         * stdio-common/printf-parse.h (read_int): Change return type to
78447         'int', return -1 on INT_MAX overflow.
78448         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
78449         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
78450         overflows INT_MAX.  Check for overflow of in-format-string precision
78451         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
78452         SIZE_MAX not INT_MAX for integer overflow test.
78453         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
78454         skip the construct in the format string but do not record anything.
78455         * stdio-common/bug22.c: Adjust to test both width/prevision
78456         INT_MAX overflow as well as total length INT_MAX overflow.  Check
78457         explicitly for proper errno values.
78459 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
78461         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
78462         CHAR_MAX.
78463         * string/test-strcmp.c [! WIDE]: Likewise.
78464         * time/tst-mktime2.c: Likewise for INT_MAX.
78465         * string/test-string.h: #include <sys/param.h> for MIN.
78467         * csu/init-first.c (__libc_init_first): Call __ctype_init.
78468         * sysdeps/i386/init-first.c (init): Likewise.
78469         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
78470         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
78471         * sysdeps/sh/init-first.c (init): Likewise.
78473 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
78475         * po/ru.po: Update from translation team.
78476         * po/vi.po: Likewise.
78478 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
78480         * resolv/nss_dns/dns-host.c: Merge copyright years.
78482 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78484         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
78485         Optimize memcpy with prefetch if
78486         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
78487         src, dst pointers have unequal 16 byte alignments.
78489 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
78491         [BZ #13928]
78492         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
78493         from a CNAME entry and return the minimum ttl for the query.
78494         (gaih_getanswer_slice): Likewise.
78496 2012-03-30  Jeff Law  <law@redhat.com>
78498         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
78499         due to long keys.
78500         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
78501         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
78503         * resolv/nss_dns/dns-host.c: Update copyright year.
78505 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
78507         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
78508         requests to save a system call.  Fix check that all bytes are sent.
78510         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
78511         comments for sendmmsg.
78513 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
78515         [BZ #13691]
78516         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
78517         with only 1 character between 0x0041 and 0x01b0.
78518         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
78519         * wcsmbs/tst-mbsnrtowcs.c: New file.
78521 2012-03-29  David S. Miller  <davem@davemloft.net>
78523         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
78524         small copies by hand.
78526 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
78528         [BZ #13761]
78529         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
78530         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
78531         group memberships.
78533 2012-03-28  David S. Miller  <davem@davemloft.net>
78535         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
78536         that branches into memcpy.
78537         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
78538         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
78539         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
78540         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
78541         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
78542         bits.
78543         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
78544         implementation too.
78545         * sysdeps/sparc/mempcpy.S: New file.
78547         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
78548         the IFUNC routine in the libc case.
78549         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
78551         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
78552         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
78553         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
78554         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
78555         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
78556         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
78557         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
78558         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
78560         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
78561         loop to 256 bytes instead of 64 bytes and fix test signedness.
78563         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
78564         * sysdeps/sparc/sparc32/Makefile: rather than here...
78565         * sysdeps/sparc/sparc64/Makefile: and here.
78567 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
78569         * malloc/mallocbug.c: Avoid warnings about unused variables.
78571 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
78573         [BZ #13760]
78574         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
78575         in the right place. Discard and retry query if response is
78576         larger than input buffer size.
78578 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
78580         [BZ #369]
78581         [BZ #2678]
78582         [BZ #3866]
78583         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
78584         x for large integer exponent.
78585         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
78586         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
78587         sign of result as needed afterwards.
78588         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
78589         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
78590         result for underflowing pow the same as for overflow.
78591         (__kernel_standard_l): Handle powl overflow and underflow here
78592         rather than calling __kernel_standard.
78593         * math/libm-test.inc (pow_test): Add more tests.
78595         [BZ #3868]
78596         [BZ #13879]
78597         [BZ #13910]
78598         [BZ #13911]
78599         [BZ #13912]
78600         [BZ #13913]
78601         [BZ #13915]
78602         [BZ #13916]
78603         [BZ #13917]
78604         [BZ #13918]
78605         [BZ #13919]
78606         [BZ #13920]
78607         [BZ #13921]
78608         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
78609         * sysdeps/ieee754/k_standard.c: Include <float.h>.
78610         (__kernel_standard_l): New function.
78611         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
78612         __kernel_standard.
78613         * math/w_acosl.c (__acosl): Likewise.
78614         * math/w_asinl.c (__asinl): Likewise.
78615         * math/w_atan2l.c (__atan2l): Likewise.
78616         * math/w_atanhl.c (__atanhl): Likewise.
78617         * math/w_coshl.c (__coshl): Likewise.
78618         * math/w_exp10l.c (__exp10l): Likewise.
78619         * math/w_exp2l.c (__exp2l): Likewise.
78620         * math/w_fmodl.c (__fmodl): Likewise.
78621         * math/w_hypotl.c (__hypotl): Likewise.
78622         * math/w_j0l.c (__j0l, __y0l): Likewise.
78623         * math/w_j1l.c (__j1l, __y1l): Likewise.
78624         * math/w_jnl.c (__jnl, __ynl): Likewise.
78625         * math/w_lgammal.c (__lgammal): Likewise.
78626         * math/w_log10l.c (__log10l): Likewise.
78627         * math/w_log2l.c (__log2l): Likewise.
78628         * math/w_logl.c (__logl): Likewise.
78629         * math/w_powl.c (__powl): Likewise.
78630         * math/w_remainderl.c (__remainderl): Likewise.
78631         * math/w_scalbl.c (sysv_scalbl): Likewise.
78632         * math/w_sinhl.c (__sinhl): Likewise.
78633         * math/w_sqrtl.c (__sqrtl): Likewise.
78634         * math/w_tgammal.c (__tgammal): Likewise.
78635         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
78636         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
78637         * math/libm-test.inc (acos_test): Add more tests.
78638         (acosh_test): Likewise.
78639         (asin_test): Likewise.
78640         (atanh_test): Likewise.
78641         (exp_test): Likewise.
78642         (exp10_test): Likewise.
78643         (exp2_test): Likewise.
78644         (expm1_test): Likewise.
78645         (lgamma_test): Likewise.
78646         (log_test): Likewise.
78647         (log10_test): Likewise.
78648         (log1p_test): Likewise.
78649         (log2_test): Likewise.
78650         (pow_test): Do not allow some spurious overflow exceptions.
78651         (sqrt_test): Add more tests.
78652         (tgamma_test): Likewise.
78653         (y0_test): Likewise.
78654         (y1_test): Likewise.
78655         (yn_test): Likewise.
78657 2012-03-27  Anton Blanchard  <anton@samba.org>
78659         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
78660         MAP_HUGETLB.
78661         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
78662         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
78663         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
78665 2012-03-27  David S. Miller  <davem@davemloft.net>
78667         * conform/Makefile: Run run-conformtest.sh using $(BASH).
78669         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
78670         have-as-vis3 check.
78672 2012-03-27  Andreas Jaeger  <aj@suse.de>
78674         * sysdeps/x86_64/elf/configure.in: Moved to ...
78675         * sysdeps/x86_64/configure.in: ... here.
78676         * sysdeps/x86_64/elf/start.S: Moved to ...
78677         * sysdeps/x86_64/start.S: ... here.
78678         * sysdeps/x86_64/elf/configure: Delete.
78680         * sysdeps/x86_64/configure.in: Merge contents from
78681         sysdeps/i386/configure.in (without i686 check).
78683         * sysdeps/i386/elf/Versions: Merge into ...
78684         * sysdeps/i386/Versions: ... this.
78685         * sysdeps/i386/elf/Versions: Delete file.
78686         * sysdeps/i386/elf/start.S: Moved to ...
78687         * sysdeps/i386/start.S: ...here.
78688         * sysdeps/i386/elf/configure.in: Merge into...
78689         * sysdeps/i386/configure.in: ...here.
78690         * sysdeps/i386/elf/configure.in: Delete file.
78691         * sysdeps/i386/elf/configure: Delete file.
78693         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
78694         * debug/backtracesyms.c: ... here.
78695         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
78696         * debug/backtracesymsfd.c: ... here.
78697         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
78698         * sysdeps/generic/ifunc-sel.h: ... here.
78700         * sysdeps/unix/i386/start.c: Delete file.
78701         * sysdeps/unix/sparc/start.c: Delete file.
78702         * sysdeps/unix/start.c: Delete file.
78704         * sysdeps/sh/elf/configure.in: Moved to ...
78705         * sysdeps/sh/configure.in: ... here.
78706         * sysdeps/sh/elf/start.S: Moved to ...
78707         * sysdeps/sh/start.S: ... here.
78708         * sysdeps/sh/elf/configure: Delete file.
78710         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
78711         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
78712         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
78713         * sysdeps/powerpc/powerpc64/entry.h: ... here.
78714         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
78715         * sysdeps/powerpc/powerpc64/start.S: here.
78716         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
78717         * sysdeps/powerpc/powerpc64/Makefile: ... this.
78718         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
78719         * sysdeps/powerpc/powerpc64/configure.in: ... this.
78720         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
78722         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
78723         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
78724         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
78725         * sysdeps/powerpc/powerpc32/start.S: ... here.
78726         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
78727         * sysdeps/powerpc/powerpc32/configure.in: ... this.
78728         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
78730         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
78731         * sysdeps/powerpc/ifunc-sel.h: ... here.
78732         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
78733         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
78735         * sysdeps/sparc/elf/configure.in: Moved to ...
78736         * sysdeps/sparc/configure.in: ... here.
78737         * sysdeps/sparc/elf/configure: Delete file.
78738         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
78739         * sysdeps/sparc/sparc32/start.S: ... here.
78740         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
78741         * sysdeps/sparc/sparc64/start.S: ... here.
78742         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
78743         * sysdeps/sparc/sparc32/Makefile: ... this.
78744         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
78745         * sysdeps/sparc/sparc64/Makefile: ... this.
78747         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
78748         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
78749         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
78750         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
78751         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
78752         * sysdeps/s390/s390-32/setjmp.S: ... here.
78753         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
78754         * sysdeps/s390/s390-32/configure.in: ... here.
78755         * sysdeps/s390/s390-32/elf/configure: Delete file.
78756         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
78757         * sysdeps/s390/s390-32/start.S: ... here.
78759         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
78760         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
78761         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
78762         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
78763         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
78764         * sysdeps/s390/s390-64/setjmp.S: ... here.
78765         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
78766         * sysdeps/s390/s390-64/configure.in: ... here
78767         * sysdeps/s390/s390-64/elf/configure: Delete file.
78768         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
78769         * sysdeps/s390/s390-64/start.S: ... here.
78770         * sysdeps/s390/s390-64/elf/configure: Delete.
78772         * configure.in: Remove support for elf directories in sysdeps.
78774         * configure: Regenerated.
78775         * sysdeps/i386/configure: Regenerated.
78776         * sysdeps/powerpc/powerpc32/configure: Regenerated.
78777         * sysdeps/powerpc/powerpc64/configure: Regenerated.
78778         * sysdeps/s390/s390-32/configure: Regenerated.
78779         * sysdeps/s390/s390-64/configure: Regenerated.
78780         * sysdeps/sh/configure: Regenerated.
78781         * sysdeps/sparc/configure: Regenerated.
78782         * sysdeps/x86_64/configure: Regenerated.
78784 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
78786         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78788         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
78789         denormal result into account.
78791 2012-03-25  Roland McGrath  <roland@hack.frob.com>
78793         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
78794         Reported by Allan McRae <allan@archlinux.org>.
78796 2012-03-23  Jeff Law  <law@redhat.com>
78798         * nss/getnssent.c (__nss_getent): Fix typo.
78800 2012-03-23  David S. Miller  <davem@davemloft.net>
78802         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78804 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
78806         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
78807         to pad to uint64_t for each field.
78808         (dl_tls_index): Replace unsigned long with uint64_t.
78810 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
78811         Paul Pluzhnikov  <ppluzhnikov@google.com>
78813         [BZ #6528]
78814         * grp/Makefile (otherlibs): Don't set it.
78815         * inet/Makefile (otherlibs): Likewise.
78816         * login/Makefile (otherlibs): Likewise.
78817         * nscd/Makefile (otherlibs): Likewise.
78818         * posix/Makefile (otherlibs): Likewise.
78819         * pwd/Makefile (otherlibs): Likewise.
78820         * rt/Makefile (otherlibs): Likewise.
78821         * sunrpc/Makefile (otherlibs): Likewise.
78822         * nss/Makefile (otherlibs): Likewise.
78823         Add libnss_files to routines and static-only-routines.
78824         ($(objpfx)getent): Remove rule.
78825         * resolv/Makefile: Add libnss_dns and libresolv to routines and
78826         static-only-routines.
78828 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
78830         [BZ #13892]
78831         * math/s_cexp.c: Include <float.h>.
78832         (__cexp): Handle exp result overflowing not necessarily
78833         overflowing both real and imaginary parts of result.
78834         * math/s_cexpf.c: Likewise.
78835         * math/s_cexpl.c: Likewise.
78836         * math/libm-test.inc (cexp_test): Add more tests.
78837         * sysdeps/i386/fpu/libm-test-ulps: Update.
78838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78840 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
78842         * include/link.h (ELFW): New macro.
78843         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
78844         Replace ELF64_R_TYPE with ELFW(R_TYPE).
78846 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
78848         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
78849         with uint64_t.
78851 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
78853         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
78854         declaration.
78855         (struct La_x32_retval): Likewise.
78857 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
78859         * sysdeps/x86_64/preconfigure.in: New file.
78860         * sysdeps/x86_64/preconfigure: New generated file.
78862 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
78864         [BZ #13824]
78865         * math/e_exp2l.c: Include <float.h>.
78866         (__ieee754_exp2l): Handle overflow and underflow cases
78867         separately.  Only pass fractional part of argument to
78868         __ieee754_expl.
78869         * math/libm-test.inc (exp2_test): Add more tests.
78871         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
78872         negating x to take absolute value.
78873         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
78874         Likewise.
78875         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
78876         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
78877         Likewise.
78878         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
78879         computing low part if x was negated.
78880         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
78882 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
78884         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
78885         la_x32_gnu_pltexit.
78886         (pltexit): Cast int_retval to ptrdiff_t.
78887         * elf/tst-auditmod3b.c: Likewise.
78888         * elf/tst-auditmod4b.c: Likewise.
78889         * elf/tst-auditmod5b.c: Likewise.
78890         * elf/tst-auditmod6b.c: Likewise.
78891         * elf/tst-auditmod6c.c: Likewise.
78892         * elf/tst-auditmod7b.c: Likewise.
78894         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
78895         and x32_gnu_pltexit.
78897         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
78898         __ELF_NATIVE_CLASS.
78899         (La_x32_regs): New macro.
78900         (La_x32_retval): Likewise.
78901         (la_x32_gnu_pltenter): New function prototype.
78902         (la_x32_gnu_pltexit): Likewise.
78904 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
78906         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
78907         exponent.
78909         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78911         * configure.in (libc_cv_cc_nofma): Check for option to disable
78912         generation of FMA instructions.
78913         * configure: Regenerate.
78914         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
78915         * sysdeps/ieee754/dbl-64/Makefile: New file.
78916         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
78917         Remove brandred-fma4.
78918         (CFLAGS-brandred-fma4.c): Remove.
78919         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
78920         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
78921         define.
78922         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
78923         define.
78925 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
78927         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
78928         LLONG_MAX != LONG_MAX.
78929         (_itoa_word): Use _ITOA_WORD_TYPE on value.
78930         (_fitoa_word): Likewise.
78931         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
78932         LLONG_MAX != LONG_MAX.
78933         * stdio-common/_itowa.h: Include <_itoa.h>.
78934         (_itowa_word): Use _ITOA_WORD_TYPE on value.
78935         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
78936         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
78937         only if not defined.
78938         (_ITOA_WORD_TYPE): Likewise.
78939         (_itoa_word): Use _ITOA_WORD_TYPE on value.
78940         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
78942 2012-03-21  David S. Miller  <davem@davemloft.net>
78944         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78946 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
78948         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
78949         of x86_64 when setting libc_cv_slibdir, libdir and
78950         libc_cv_localedir.
78951         * sysdeps/unix/sysv/linux/configure: Regenerated.
78953 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
78955         * manual/lang.texi (Old Varargs): Remove section.
78956         (How Variadic): Update menu.
78957         (va_start): Do not mention varargs.h.
78959 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
78960             Joseph Myers  <joseph@codesourcery.com>
78962         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
78963         link test.
78964         * configure: Regenerated.
78966 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
78968         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
78969         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
78970         conformtest.pl
78972 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
78974         * NOTES: Remove.
78975         * Makefile (files-for-dist): Remove NOTES.
78976         (NOTES): Remove rule.
78977         * README: Don't refer to NOTES.
78978         * manual/creature.texi: Don't include macros.texi.
78979         * manual/intro.texi (creature.texi): Remove comment referring to
78980         NOTES.
78982         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
78983         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
78984         * configure: Regenerated.
78985         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
78986         LIBC_TRY_CC_OPTION.
78987         (libc_cv_as_i686): Likewise.
78988         (libc_cv_cc_avx): Likewise.
78989         (libc_cv_cc_sse2avx): Likewise.
78990         (libc_cv_cc_fma4): Likewise.
78991         (libc_cv_cc_novzeroupper): Likewise.
78992         * sysdeps/i386/configure: Regenerated.
78994         [BZ #13883]
78995         * sysdeps/i386/fpu/s_cexp.S: Remove.
78996         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
78997         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
78998         * math/libm-test.inc (cexp_test): Add more tests.
78999         * sysdeps/i386/fpu/libm-test-ulps: Update.
79000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79002 2012-03-21  Allan McRae  <allan@archlinux.org>
79004         * timezone/Makefile: Do not install iso3166.tab and zone.tab
79006 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
79008         [BZ #13871]
79009         * math/w_exp2.c: Do not include <float.h>.
79010         (o_threshold, u_threshold): Remove.
79011         (__exp2): Calculate result before checking finiteness and calling
79012         __kernel_standard.
79013         * math/w_exp2f.c: Likewise.
79014         * math/w_exp2l.c: Likewise.
79015         * math/libm-test.inc (exp2_test): Require overflow exception for
79016         1e6 input.
79018         [BZ #3866]
79019         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
79020         range of signed 64-bit integers before using fistpll.  Remove
79021         checks for whether integers fit in mantissa bits.
79022         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
79023         the range of signed 32-bit integers before using fistpl.  Remove
79024         checks for whether integers fit in mantissa bits.
79025         * sysdeps/i386/fpu/e_powl.S (p64): New object.
79026         (__ieee754_powl): Test for y outside the range of signed 64-bit
79027         integers before using fistpll.  Reduce 64-bit values to 63-bit
79028         ones as needed.
79029         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
79030         divide-by-zero is raised for zero to large negative powers.
79031         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
79032         (__ieee754_powl): Test for y outside the range of signed 64-bit
79033         integers before using fistpll.  Reduce 64-bit values to 63-bit
79034         ones as needed.
79035         * math/libm-test.inc (pow_test): Add more tests.
79037 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
79039         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
79040         <stdio-common/_itoa.h>.
79041         * debug/segfault.c: Likewise.
79042         * elf/dl-cache.c: Likewise.
79043         * elf/dl-minimal.c: Likewise.
79044         * elf/dl-misc.c: Likewise.
79045         * elf/dl-sysdep.c: Likewise.
79046         * elf/dl-version.c: Likewise.
79047         * elf/rtld.c: Likewise.
79048         * hurd/hurdsock.c: Likewise.
79049         * hurd/lookup-retry.c: Likewise.
79050         * malloc/malloc.c: Likewise.
79051         * malloc/mtrace.c: Likewise.
79052         * nscd/nscd_getgr_r.c: Likewise.
79053         * nscd/nscd_getpw_r.c: Likewise.
79054         * nscd/nscd_getserv_r.c: Likewise.
79055         * posix/getopt_init.c: Likewise.
79056         * posix/wordexp.c: Likewise.
79057         * stdio-common/_itoa.c: Likewise.
79058         * stdio-common/printf_fphex.c: Likewise.
79059         * stdio-common/vfprintf.c: Likewise.
79060         * string/_strerror.c: Likewise.
79061         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
79062         * sysdeps/i386/i686/hp-timing.h: Likewise.
79063         * sysdeps/mach/_strerror.c: Likewise.
79064         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
79065         * sysdeps/mach/hurd/sethostid.c: Likewise.
79066         * sysdeps/mach/hurd/xmknodat.c: Likewise.
79067         * sysdeps/mach/xpg-strerror.c: Likewise.
79068         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
79069         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
79070         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
79071         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
79072         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
79073         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
79074         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
79075         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
79076         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
79077         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
79078         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
79079         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
79080         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
79081         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
79082         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
79083         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
79084         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
79085         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
79086         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
79087         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
79088         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
79090         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
79092         * stdio-common/_itoa.h: Moved to ...
79093         * sysdeps/generic/_itoa.h: Here.
79095         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
79097         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
79098         instead of "_itoa.h" and "_itowa.h".
79099         * stdio-common/vfprintf.: Likewise.
79101 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
79103         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
79104         <bits/wordsize.h>.
79105         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
79106         (__signbit): Likewise.
79107         (llrintf): Likewise.
79108         (llrint): Likewise.
79110 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
79112         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
79113         __WORDSIZE != 64.
79115 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
79117         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
79118         OVERFLOW_EXCEPTION_OK.
79119         * math/libm-test.inc ("Philosophy"): Update comment about
79120         exception testing.
79121         (OVERFLOW_EXCEPTION): Define.
79122         (OVERFLOW_EXCEPTION_OK): Likewise.
79123         (INVALID_EXCEPTION_OK): Renumber.
79124         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
79125         (IGNORE_ZERO_INF_SIGN): Likewise.
79126         (test_exceptions): Handle FE_OVERFLOW.
79127         (exp10_test): Expect overflow exceptions.
79128         (exp2_test): Likewise.
79129         (expm1_test): Likewise.
79130         (nextafter_test): Likewise.
79131         (pow_test): Likewise.
79132         (scalbn_test): Likewise.
79133         (scalbln_test): Likewise.
79135 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79137         * sysdeps/x86_64/bits/atomic.h
79138         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
79139         64bit integer.
79140         (atomic_exchange_acq): Likewise.
79141         (__arch_exchange_and_add_body): Likewise.
79142         (__arch_add_body): Likewise.
79143         (atomic_add_negative): Likewise.
79144         (atomic_add_zero): Likewise.
79146 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79148         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
79149         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
79151 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79153         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
79154         Check __x86_64__ instead of __WORDSIZE.
79156 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79158         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
79160 2012-03-19  David S. Miller  <davem@davemloft.net>
79162         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79164         * sysdeps/sparc/fpu/fenv_private.h: New file.
79165         * sysdeps/sparc/fpu/math_private.h: Use it.
79166         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
79167         Remove.
79168         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
79169         (libc_feholdexcept_setroundl): Remove.
79170         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
79171         Remove.
79172         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
79173         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
79175 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79177         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
79178         int64_t instead of long int.
79179         (INSERT_WORDS64): Likewise.
79181 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79183         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
79184         _Unwind_GetCFA return to _Unwind_Ptr first.
79186 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
79188         [BZ #13629]
79189         * math/s_clog.c: Include <float.h>.
79190         (__clog): Scale large or subnormal inputs.
79191         * math/s_clogf.c: Likewise.
79192         * math/s_clogl.c: Likewise.
79193         * math/s_clog10.c: Include <float.h>.
79194         (M_LOG10_2): Define.
79195         (__clog10): Scale large or subnormal inputs.
79196         * math/s_clog10f.c: Likewise.
79197         * math/s_clog10l.c: Likewise.
79198         * math/libm-test.inc (clog_test): Add more tests.
79199         (clog10_test): Likewise.
79200         * sysdeps/i386/fpu/libm-test-ulps: Update.
79201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79203         [BZ #11451]
79204         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
79205         x and y.
79206         * math/libm-test.inc (atan2_test): Add another test.
79208         * Makerules (common-objdir-compile): Remove.
79209         * sysdeps/unix/Makefile (config-generated): Do not add
79210         $(unix-generated) to variable.
79211         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
79212         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
79213         Remove rule.
79214         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
79215         Likewise.
79216         [generic bits/local_lim.h] (before-compile): Do not append to
79217         variable.
79218         [generic bits/local_lim.h] (common-generated): Likewise.
79219         [generic sys/param.h] (before-compile): Do not append to variable.
79220         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
79221         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
79222         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
79223         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
79224         include.
79225         [generic sys/param.h] (sys/param.h-includes): Remove variable.
79226         [generic sys/param.h] (sys/param.h-includes): Remove rule.
79227         [generic sys/param.h] ($(addprefix
79228         $(common-objpfx),$(sys/param.h-includes))): Likewise.
79229         [generic sys/param.h] (common-generated): Do not append to
79230         variable.
79231         [generic sys/param.h] (sysdep_headers): Likewise.
79232         [generic bits/errno.h] (before-compile): Do not append to
79233         variable.
79234         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
79235         rule.
79236         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
79237         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
79238         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
79239         [generic bits/errno.h] (common-generated): Do not append to
79240         variable.
79241         [generic bits/ioctls.h] (before-compile): Do not append to
79242         variable.
79243         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
79244         rule.
79245         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
79246         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
79247         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
79248         rule.
79249         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
79250         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
79251         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
79252         [generic bits/ioctls.h] (common-generated): Do not append to
79253         variable.
79254         [generic sys/syscall.h] (syscall.h): Remove variable.
79255         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
79256         rule.
79257         [generic sys/syscall.h] (before-compile): Do not append to
79258         variable.
79259         [generic sys/syscall.h] (common-generated): Likewise.
79260         * sysdeps/unix/errnos-tmpl.c: Remove file.
79261         * sysdeps/unix/errnos.awk: Likewise.
79262         * sysdeps/unix/ioctls-tmpl.c: Likewise.
79263         * sysdeps/unix/ioctls.awk: Likewise.
79264         * sysdeps/unix/mk-local_lim.c: Likewise.
79265         * sysdeps/unix/snarf-ioctls: Likewise.
79267 2012-03-19  Richard Henderson  <rth@twiddle.net>
79269         * sysdeps/i386/fpu/fenv_private.h: New file.
79270         * sysdeps/i386/fpu/math_private.h: Use it.
79271         (math_opt_barrier, math_force_eval): Remove.
79272         (libc_feholdexcept_setround_53bit): Remove.
79273         (libc_feupdateenv_53bit): Remove.
79274         * sysdeps/x86_64/fpu/math_private.h: Likewise.
79275         (math_opt_barrier, math_force_eval): Remove.
79276         (libc_feholdexcept): Remove.
79277         (libc_feholdexcept_setround): Remove.
79278         (libc_fetestexcept, libc_fesetenv): Remove.
79279         (libc_feupdateenv_test): Remove.
79280         (libc_feupdateenv, libc_feholdsetround): Remove.
79281         (libc_feresetround): Remove.
79283         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
79284         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
79286         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
79287         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
79288         (libc_feupdateenv_testl): New.
79289         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
79290         (libc_feupdateenv_testf): New.
79291         (libc_feupdateenv): Use libc_feupdateenv_test.
79292         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
79293         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
79295         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
79296         (libc_feholdsetroundf, libc_feholdsetroundl): New.
79297         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
79298         (libc_feresetround_noex): New.
79299         (libc_feresetround_noexf): New.
79300         (libc_feresetround_noexl): New.
79301         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
79302         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
79303         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
79304         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
79305         SET_RESTORE_ROUND.
79306         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
79307         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
79308         (__cos): Likewise.
79309         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
79310         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
79311         SET_RESTORE_ROUND_NOEX.
79312         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
79313         SET_RESTORE_ROUND_NOEXF.
79314         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
79315         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
79316         (libc_feholdsetroundf): New.
79317         (libc_feresetround, libc_feresetroundf): New.
79319         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
79320         (libc_feholdexcept_setround_53bit): Convert from macro to function.
79321         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
79323         * sysdeps/generic/math_private.h: Include <fenv.h>.
79324         (default_libc_feholdexcept): New.
79325         (default_libc_feholdexcept_setround): New.
79326         (default_libc_fesetenv, default_libc_feupdateenv): New.
79327         (libc_feholdexcept): Only define if undefined.
79328         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
79329         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
79330         (libc_feholdexcept_setroundl): Likewise.
79331         (libc_feholdexcept_setround_53bit): Likewise.
79332         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
79333         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
79334         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
79335         (libc_feupdateenv_53bit): Likewise.
79336         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
79337         (libc_feholdexcept): Convert from macro to inline function.
79338         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
79339         (libc_fesetenv, libc_feupdateenv): Likewise.
79341         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
79342         not previously defined.
79343         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
79344         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
79345         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
79346         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
79347         * sysdeps/ieee754/flt-32/math_private.h: New file.
79348         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
79349         math_private.h below SET_FLOAT_WORD.
79350         (__isnan, __isinf_ns, __finite): Remove.
79351         (__isnanf, __isinf_nsf, __finitef): Remove.
79353 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
79355         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79357 2012-03-17  David S. Miller  <davem@davemloft.net>
79359         [BZ #6471]
79360         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
79361         for 2.16.
79363 2012-03-16  David S. Miller  <davem@davemloft.net>
79365         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
79366         warnings.
79368         [BZ #6471]
79369         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
79370         properly.
79371         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
79372         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
79373         sysdep_routines when subdir is sysvipc.
79374         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
79375         __getshmlba helper.
79377         * sysdeps/sparc/fpu/libm-test/ulps: Update.
79379 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
79381         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
79382         [__LP64__].
79384 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
79386         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
79387         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
79388         (__lround): Renamed to ...
79389         (__llround): This.  Replace long int with long long int.
79390         Define lround functions as aliases of llround functions.
79391         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
79393 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
79395         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
79396         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
79397         adresses to uintptr_t.  Replace "long int" and "unsigned long
79398         int" with "greg_t" on va_arg.
79400 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
79402         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
79403         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
79405         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
79406         Move e_machine check before EI_CLASS check.  Handle x32
79407         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
79408         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
79409         SKIP_EM_IA_64 and include
79410         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
79412         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
79413         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
79414         (add_system_dir): New macro.
79416         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
79417         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
79419 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
79421         [BZ #2551]
79422         [BZ #2552]
79423         [BZ #2553]
79424         [BZ #2554]
79425         [BZ #2562]
79426         [BZ #2563]
79427         [BZ #2565]
79428         [BZ #2566]
79429         [BZ #2576]
79430         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
79431         (y0): Likewise.
79432         * math/w_j0f.c (j0f): Likewise.
79433         (y0f): Likewise.
79434         * math/w_j0l.c (__j0l): Likewise.
79435         (__y0l): Likewise.
79436         * math/w_j1.c (j1): Likewise.
79437         (y1): Likewise.
79438         * math/w_j1f.c (j1f): Likewise.
79439         (y1f): Likewise.
79440         * math/w_j1l.c (__j1l): Likewise.
79441         (__y1l): Likewise.
79442         * math/w_jn.c (jn): Likewise.
79443         (yn): Likewise.
79444         * math/w_jnf.c (jnf): Likewise.
79445         (ynf): Likewise.
79446         * math/w_jnl.c (__jnl): Likewise.
79447         (__ynl): Likewise.
79448         * math/libm-test.inc (j0_test): Add more tests.
79449         (j1_test): Likewise.
79450         (jn_test): Likewise.  Add trailing semicolon to existing test.
79451         (y0_test): Likewise.
79452         (y1_test): Likewise.
79453         * sysdeps/i386/fpu/libm-test-ulps: Update.
79454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79456         [BZ #13851]
79457         [BZ #13854]
79458         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
79459         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
79460         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
79461         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
79462         (__tanl): Set errno for infinite argument.
79463         * sysdeps/i386/fpu/mptan.c: Remove.
79464         * sysdeps/i386/fpu/s_tan.S: Likewise.
79465         * sysdeps/i386/fpu/s_tanl.S: Likewise.
79466         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
79467         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
79468         * math/libm-test.inc (tan_test): Add more tests and enable more
79469         tests for double and long double.
79470         * sysdeps/i386/fpu/libm-test-ulps: Update.
79471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79473 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
79475         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
79476         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
79478 2012-03-16  Roland McGrath  <roland@hack.frob.com>
79480         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
79481         * configure.in: Use it for both main tree and add-ons.
79482         * configure: Regenerated.
79484 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
79486         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
79488 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
79490         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
79491         in comment.
79493         [BZ #13851]
79494         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
79495         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
79496         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
79497         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
79498         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
79499         infinite argument.
79500         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
79501         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
79502         != 0 for prec == 2.
79503         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
79504         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
79505         * sysdeps/i386/fpu/s_cosl.S: Likewise.
79506         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
79507         * sysdeps/i386/fpu/s_sinl.S: Likewise.
79508         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
79509         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
79510         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
79511         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
79512         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
79513         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
79514         * math/libm-test.inc (cos_test): Add more tests and enable more
79515         tests for long double.
79516         (sin_test): Likewise.
79517         (sincos_test): Likewise.
79518         * sysdeps/i386/fpu/libm-test-ulps: Update.
79519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79521 2012-03-16  David S. Miller  <davem@davemloft.net>
79523         * sysdeps/sparc/fpu/math_private.h: New file.
79525 2012-03-15  David S. Miller  <davem@davemloft.net>
79527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
79528         file.
79529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
79530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
79531         file.
79532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
79533         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
79534         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
79535         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
79536         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
79537         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
79538         sysdep routines.
79539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
79541         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
79542         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
79544         * sysdeps/sparc/sparc-ifunc.h: New file.
79545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
79546         sparc-ifunc.h
79547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
79548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
79549         Likewise.
79550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
79551         Likewise.
79552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
79553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
79554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
79555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
79556         Likewise.
79557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
79558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
79559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
79560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
79561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
79562         Likewise.
79563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
79564         Likewise.
79565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
79566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
79567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
79568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
79569         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
79570         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
79571         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
79572         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
79573         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
79574         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
79575         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
79576         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
79577         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
79578         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
79579         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
79580         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
79581         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
79582         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
79583         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
79584         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
79585         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
79586         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
79587         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
79588         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
79590 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
79592         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
79593         scaling.
79594         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79596 2012-03-15  Andreas Jaeger  <aj@suse.de>
79598         [BZ #13852]
79599         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
79600         ieee754/flt-32 implementation for sin, cos and sincos.
79601         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
79602         * sysdeps/i386/fpu/s_cosf.S: Likewise.
79603         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
79604         * sysdeps/i386/fpu/s_sinf.S: Likewise.
79605         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
79606         ieee754/flt-32 implementation for tan.
79608         * math/libm-test.inc (cos_test): Enable some large input tests for
79609         float as well
79610         (sin_test): Likewise.
79611         (sincos_test): Likewise.
79612         (tan_test): Add tests for large input.
79614         * sysdeps/i386/fpu/libm-test-ulps: Update.
79616 2012-03-15  Andreas Jaeger  <aj@suse.de>
79618         [BZ #13658]
79619         * math/libm-test.inc (cos_test): Add more test cases.
79620         (sin_test): Likewise.
79621         (sincos_test): Likewise.
79623 2012-03-15  Andreas Jaeger  <aj@suse.de>
79625         [BZ #13837]
79626         * math/libm-test.inc (cos_test): Add a test case for large input
79627         value.
79628         (sin_test): Likewise.
79629         (sincos_test): Likewise.
79631 2012-03-15  Andreas Jaeger  <aj@suse.de>
79632             Joseph Myers  <joseph@codesourcery.com>
79634         [BZ #13658]
79635         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
79636         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
79637         * sysdeps/i386/fpu/branred.c: Likewise.
79638         * sysdeps/i386/fpu/dosincos.c: Likewise.
79639         * sysdeps/i386/fpu/mpa.c: Likewise.
79640         * sysdeps/i386/fpu/s_cos.S: Likewise.
79641         * sysdeps/i386/fpu/s_sin.S: Likewise.
79642         * sysdeps/i386/fpu/s_sincos.S: Likewise.
79643         * sysdeps/i386/fpu/sincos32.c: Likewise.
79645         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
79646         Define.
79647         (libc_feupdateenv_53bit): Define.
79648         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
79649         Define.
79650         (libc_feupdateenv_53bit): Define.
79652         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
79653         53 bit (without extend i386 double precision).
79655         * math/libm-test.inc (sincos_test): Add tests for large input.
79656         (sin): Likewise.
79657         (cos): Likewise.
79659         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
79661 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
79663         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79665 2012-03-15  David S. Miller  <davem@davemloft.net>
79667         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
79668         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
79669         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
79670         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
79671         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
79672         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
79673         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
79674         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
79675         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
79676         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
79677         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
79678         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
79679         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
79680         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
79681         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
79682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
79683         file.
79684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
79685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
79686         file.
79687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
79688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
79689         file.
79690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
79691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
79692         file.
79693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
79694         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
79695         fmin/fmax sysdep routines.
79696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
79698 2012-03-14  David S. Miller  <davem@davemloft.net>
79700         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
79701         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
79702         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
79703         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
79704         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
79705         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
79706         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
79707         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
79708         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
79709         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
79710         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
79711         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
79712         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
79713         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
79714         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
79715         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
79716         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
79717         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
79718         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
79719         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
79720         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
79721         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
79722         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
79723         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
79724         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
79725         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
79726         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
79727         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
79728         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
79729         routines.
79730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
79731         file.
79732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
79733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
79734         file.
79735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
79736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
79737         file.
79738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
79739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
79740         file.
79741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
79742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
79743         file.
79744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
79745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
79746         file.
79747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
79748         file.
79749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
79750         file.
79751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
79752         file.
79753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
79754         New file.
79755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
79756         file.
79757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
79758         file.
79759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
79760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
79761         file.
79762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
79763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
79764         file.
79765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
79766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
79767         file.
79768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
79769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
79770         VIS3 routines.
79772         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
79773         New file.
79775         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79777         * sysdeps/sparc/configure.in: New file.
79778         * sysdeps/sparc/configure: Generate.
79779         * configure.in (libc_cv_sparc_as_vis3): Substitute.
79780         * configure: Regenerate.
79781         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
79782         * config.make.in (have-as-vis3): New.
79783         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
79784         available use -Av9d instead of -Av9a.
79785         * sysdeps/sparc/sparc64/Makefile: Likewise.
79786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
79787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
79788         New file.
79789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
79790         file.
79791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
79792         New file.
79793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
79794         file.
79795         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
79796         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
79797         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
79798         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
79799         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
79801         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
79802         fzeros/fnegs to load 0x80000000 into a float register instead of
79803         using the stack.
79804         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
79806 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
79808         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79809         bits/syscall.h.
79810         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
79811         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
79812         ($(inst_includedir)/bits/syscall.h): Remove rule.
79813         ($(objpfx)bits/syscall.d): Include instead of
79814         $(objpfx)syscall-list.d.
79815         (generated): Change syscall-list.h and syscall-list.d to
79816         bits/syscall.h and bits/syscall.d.
79818 2012-03-14  Roland McGrath  <roland@hack.frob.com>
79820         [BZ #13846]
79821         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
79823 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
79825         [BZ #13841]
79826         * math/s_csqrt.c: Include <float.h>.
79827         (__csqrt): Scale large or subnormal inputs.
79828         * math/s_csqrtf.c: Likewise.
79829         * math/s_csqrtl.c: Likewise.
79830         * math/libm-test.inc (csqrt_test): Add more tests.
79831         * sysdeps/i386/fpu/libm-test-ulps: Update.
79832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79834         [BZ #13840]
79835         * math/libm-test.inc (hypot_test): Add more tests.
79837 2012-03-13  David S. Miller  <davem@davemloft.net>
79839         [BZ #13840]
79840         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
79841         double-precision for the calculation instead of scaling.
79843 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
79845         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
79846         manipulate bits before adding and subtracting TWO52[sx].
79847         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
79848         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
79849         Likewise.
79850         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
79852 2012-03-13  David S. Miller  <davem@davemloft.net>
79854         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
79855         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
79856         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
79857         rtld-global-offsets.h
79858         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
79860         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
79861         large parameters.
79863         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
79865         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
79866         'err' in the ifdef scope in which it is actually used.
79868         * nss/nss_db/db-init.c: Include string.h
79870 2012-03-12  David S. Miller  <davem@davemloft.net>
79872         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
79873         masking out of the most significant byte of random value used.
79874         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
79875         Fix coding style in previous change.
79877         * sysdeps/unix/sysv/linux/kernel-features.h
79878         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
79879         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
79880         expression.
79881         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
79882         later.
79884 2012-03-11  David S. Miller  <davem@davemloft.net>
79886         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
79887         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
79888         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
79889         for 'resultvar' otherwise things get truncated on 64-bit.
79891         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
79892         Fix masking out of the most significant byte of random value used.
79894         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79896 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
79898         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79900 2012-03-09  David S. Miller  <davem@davemloft.net>
79902         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
79903         variables with appropriate CPP guards.
79904         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
79905         from the frame pointer, not the stack pointer.  Correct layout
79906         comments.  Fix test on resulting framesize and the management of
79907         the outregs buffer for pltexit.  Preserve floating point return
79908         values across _dl_call_pltexit call.
79909         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
79910         framesize and the management of the outregs buffer for pltexit.
79911         Preserve floating point return values across _dl_call_pltexit
79912         call.
79913         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
79914         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
79915         (la_sparc64_gnu_pltexit): New functions.
79916         (print_exit): Fix format string for return register value.
79918 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
79920         * sunrpc/Makefile (others): Add rpcgen.
79921         ($(objpfx)rpcgen): Remove special build rule and dependency on
79922         libc.
79923         * sunrpc/rpcgen.c: New file.
79925 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
79927         [BZ #13673]
79928         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
79929         * stdio-common/bug-vfprintf-nargs.c: Likewise.
79930         * sysdeps/i386/crti.S: Likewise.
79931         * sysdeps/i386/crtn.S: Likewise.
79932         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
79933         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
79934         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
79935         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
79936         * sysdeps/sh/crti.S: Likewise.
79937         * sysdeps/sh/crtn.S: Likewise.
79938         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
79940         [BZ #13673]
79941         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
79942         with URL.
79943         * locale/programs/locfile-kw.gperf: Likewise.
79944         * locale/programs/charmap-kw.h: Regenerated.
79945         * locale/programs/locfile-kw.h: Likewise.
79947         [BZ #13673]
79948         * intl/plural.y: Replace FSF snail mail address with URL.
79949         * intl/plural.c: Regenerated.
79951 2012-03-09  Richard Henderson  <rth@twiddle.net>
79953         * include/math_private.h: Remove file.
79954         * math/math_private.h: Move file ...
79955         * sysdeps/generic/math_private.h: ... here.
79957         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
79958         * sysdeps/powerpc/fpu/math_private.h: Likewise.
79959         * sysdeps/x86_64/fpu/math_private.h: Likewise.
79961         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
79962         and <math_private.h>.
79963         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
79964         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
79965         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
79966         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
79967         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
79968         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
79969         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
79970         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79971         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
79972         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
79973         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79974         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
79975         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
79976         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
79977         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
79978         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
79979         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
79980         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
79981         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
79982         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
79983         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79984         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
79985         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
79986         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79987         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
79988         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
79989         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
79990         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
79991         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79992         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
79993         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
79994         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
79995         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
79996         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
79997         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
79998         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
79999         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
80000         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
80001         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
80002         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
80003         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
80004         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
80005         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
80006         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
80007         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
80008         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
80009         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
80010         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
80011         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
80012         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
80013         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
80014         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
80015         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
80016         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
80017         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
80018         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
80019         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
80020         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
80021         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
80022         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
80023         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
80024         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
80025         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80026         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
80027         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
80028         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
80029         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
80030         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
80031         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
80032         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
80033         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
80034         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
80035         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
80036         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
80037         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
80038         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
80039         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
80040         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
80041         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
80042         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
80043         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
80044         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
80045         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
80046         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
80047         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
80048         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
80049         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
80050         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
80051         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
80052         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
80053         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
80054         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
80055         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
80056         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
80057         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
80058         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
80059         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
80060         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
80061         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
80062         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
80063         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
80064         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
80065         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
80066         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
80067         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
80068         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
80069         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
80070         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
80071         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
80072         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
80073         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
80074         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
80075         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
80076         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
80077         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
80078         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
80079         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
80080         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
80081         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
80082         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
80083         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
80084         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
80085         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
80086         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
80087         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
80088         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
80089         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
80090         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
80091         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
80092         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
80093         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
80094         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
80095         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
80096         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
80097         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
80098         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
80099         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
80100         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
80101         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
80102         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
80103         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
80104         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
80105         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
80106         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
80107         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
80108         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
80109         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
80110         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
80111         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
80112         * sysdeps/ieee754/k_standard.c: Likewise.
80113         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
80114         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
80115         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
80116         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
80117         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
80118         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
80119         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
80120         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
80121         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
80122         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
80123         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
80124         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
80125         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
80126         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
80127         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
80128         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
80129         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
80130         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
80131         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
80132         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
80133         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
80134         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
80135         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
80136         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
80137         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
80138         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
80139         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
80140         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
80141         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
80142         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
80143         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
80144         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
80145         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
80146         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
80147         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
80148         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
80149         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
80150         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
80151         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
80152         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
80153         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
80154         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
80155         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
80156         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
80157         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
80158         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
80159         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
80160         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
80161         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
80162         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
80163         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
80164         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
80165         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
80166         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
80167         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
80168         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
80169         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
80170         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
80171         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
80172         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
80173         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
80174         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
80175         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
80176         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
80177         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
80178         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
80179         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
80180         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
80181         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
80182         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
80183         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
80184         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
80185         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
80186         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
80187         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
80188         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
80189         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
80190         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
80191         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
80192         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
80193         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
80194         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
80195         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
80196         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
80197         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
80198         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
80199         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
80200         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
80201         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
80202         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
80203         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
80204         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
80205         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
80206         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
80207         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
80208         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
80209         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
80210         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
80211         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
80212         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
80213         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
80214         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
80215         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
80216         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
80217         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
80218         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
80219         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
80220         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
80221         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
80222         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
80223         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
80224         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
80225         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
80226         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
80227         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
80228         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
80229         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
80230         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
80231         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
80232         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
80233         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
80234         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
80235         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
80236         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
80237         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
80238         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
80239         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
80240         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
80241         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
80242         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
80243         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
80244         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
80245         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
80246         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
80247         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
80248         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
80249         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
80250         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
80251         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
80252         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
80253         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
80254         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
80255         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
80256         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
80257         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
80258         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
80259         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
80260         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
80261         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
80262         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
80263         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
80264         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
80265         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
80266         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
80267         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
80268         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
80269         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
80270         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
80271         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
80272         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
80273         * sysdeps/ieee754/s_lib_version.c: Likewise.
80274         * sysdeps/ieee754/s_matherr.c: Likewise.
80275         * sysdeps/ieee754/s_signgam.c: Likewise.
80276         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
80277         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
80278         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
80279         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
80280         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
80281         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
80282         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
80283         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
80284         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
80285         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
80286         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
80287         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
80288         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
80289         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
80290         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
80291         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
80292         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
80293         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
80294         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
80295         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
80296         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
80298 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
80300         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
80301         * sunrpc/rpc_main.c: Likewise.
80302         * sunrpc/rpc_svcout.c: Likewise.
80304 2012-03-09  David S. Miller  <davem@davemloft.net>
80306         * include/math_private.h: New file.
80308 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
80310         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
80311         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
80312         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
80313         from <bits/socket_type.h>.
80314         (enum __socket_type): Don't define here.
80315         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
80316         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80317         bits/socket_type.h.
80319         [BZ #13566]
80320         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
80321         checking __USE_GNU.
80323         * Makerules ($(inst_includedir)/%.h): New rule.
80324         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
80325         (install-others): Remove variable setting.
80326         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
80328 2012-03-08  Richard Henderson  <rth@twiddle.net>
80330         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
80331         from macro to inline function; merge with the
80332         !__LIBC_INTERNAL_MATH_INLINES version.
80333         (__ieee754_sqrtf): Likewise.
80335         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
80336         to inline function.
80337         (__rintf, __floor, __floorf): Likewise.
80339         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
80340         macro to inline function.
80341         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
80343         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
80344         not <math/math_private.h>.
80346 2012-03-08  David S. Miller  <davem@davemloft.net>
80348         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
80349         copyright year.
80350         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
80352 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
80354         * resolv/gai_misc.c (handle_requests): Fix struct timespec
80355         normalization.
80356         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
80357         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
80359 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
80361         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
80362         be defined individually, they must be defined as a block.  Define
80363         S for printing a string instead of hidint the different by using a
80364         macro for adding the 'l'.
80365         * stdio-common/tst-fphex-wide.c: Adjust.
80367 2012-03-07  Marek Polacek  <polacek@redhat.com>
80369         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
80371 2012-03-08  Marek Polacek  <polacek@redhat.com>
80373         [BZ #13806]
80374         * stdio-common/Makefile (tests): Add tst-fphex-wide.
80375         * stdio-common/tst-fphex.c: Define a few macros to make the
80376         test reusable.  Use them.
80377         * stdio-common/tst-fphex-wide.c: New file.
80379 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
80381         [BZ #6911]
80382         * manual/macros.texi (gnusystems): New macro.
80383         (nongnusystems): Likewise.
80384         (gnulinuxhurdsystems): Likewise.
80385         (gnuhurdsystems): Likewise..
80386         (gnulinuxsystems): Likewise.
80387         * manual/charset.texi: Use new macros or @theglibc{} to refer to
80388         variants of the GNU system, not "GNU system".
80389         * manual/conf.texi: Likewise.
80390         * manual/errno.texi: Likewise.  Update example of errno macro
80391         expansion.
80392         * manual/filesys.texi: Likewise.
80393         (getumask): Document as specific to GNU/Hurd.
80394         * manual/install.texi: Likewise.  Reword some references to
80395         GNU/Linux.
80396         * manual/intro.texi: Likewise.
80397         * manual/io.texi: Likewise.
80398         (File Name Portability): Detail which constraints are inapplicable
80399         to all GNU systems and which are only inapplicable to GNU/Hurd.
80400         * manual/job.texi: Likewise.
80401         * manual/llio.texi: Likewise.
80402         (O_NOCTTY): Document as present on GNU/Linux.
80403         * manual/maint.texi: Likewise.
80404         * manual/memory.texi: Likewise.
80405         * manual/pattern.texi: Likewise.
80406         * manual/pipe.texi: Likewise.
80407         * manual/process.texi: Likewise.
80408         * manual/resource.texi: Likewise.
80409         (RUSAGE_CHILDREN): Remove statement about specifying a particular
80410         child on GNU/Hurd.
80411         * manual/setjmp.texi: Likewise.
80412         * manual/signal.texi: Likewise.
80413         * manual/startup.texi: Likewise.
80414         * manual/stdio.texi: Likewise.
80415         * manual/terminal.texi: Likewise.
80416         (ONLCR): Document as POSIX.
80417         (OXTABS): Document availability on GNU/Linux as XTABS.
80418         (ONOEOT): Document availability separately from other bits.
80419         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
80420         * manual/time.texi: Likewise.
80421         * manual/users.texi: Likewise.
80422         * INSTALL: Regenerated.
80423         * sysdeps/gnu/errlist.c: Regenerated.
80425         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
80426         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
80427         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
80428         puts.
80429         * configure: Regenerated.
80431 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
80433         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
80434         default includes instead of AC_HEADER_CHECK.
80435         * sysdeps/i386/configure: Regenerated.
80437         [BZ #10716]
80438         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
80439         * math/s_cacoshf.c (__cacoshf): Likewise.
80440         * math/s_cacoshl.c (__cacoshl): Likewise.
80441         * math/s_casinh.c (__casinh): Set signs of result from argument.
80442         * math/s_casinhf.c (__casinhf): Likewise.
80443         * math/s_casinhl.c (__casinhl): Likewise.
80444         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
80445         (casinh_test): Add more tests.
80446         * sysdeps/i386/fpu/libm-test-ulps: Update.
80447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80449 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
80451         * po/zh_TW.po: Update from translation team.
80453         * login/Makefile (distribute): Remove variable.
80454         * catgets/Makefile: Likewise.
80455         * mach/Makefile: Likewise.
80456         * malloc/Makefile: Likewise.
80457         * misc/Makefile: Likewise.
80458         * iconv/Makefile: Likewise.
80459         * nscd/Makefile: Likewise.
80460         * hurd/Makefile: Likewise.
80461         * manual/Makefile: Likewise.
80462         * locale/Makefile: Likewise.
80463         * intl/Makefile: Likewise.
80464         * conform/Makefile: Likewise.
80465         * nss/Makefile: Likewise.
80466         * time/Makefile: Likewise.
80467         * soft-fp/Makefile: Likewise.
80468         * dirent/Makefile: Likewise.
80469         * gmon/Makefile: Likewise.
80470         * po/Makefile: Likewise.
80471         * rt/Makefile: Likewise.
80472         * socket/Makefile: Likewise.
80473         * math/Makefile: Likewise.
80474         * signal/Makefile: Likewise.
80475         * debug/Makefile: Likewise.
80476         * elf/Makefile: Likewise.
80477         * timezone/Makefile: Likewise.
80478         * stdlib/Makefile: Likewise.
80479         * iconvdata/Makefile: Likewise.
80480         * sunrpc/Makefile: Likewise.
80481         * io/Makefile: Likewise.
80482         * argp/Makefile: Likewise.
80483         * inet/Makefile: Likewise.
80484         * hesiod/Makefile: Likewise.
80485         * grp/Makefile: Likewise.
80486         * csu/Makefile: Likewise.
80487         * wctype/Makefile: Likewise.
80488         * crypt/Makefile: Likewise.
80489         * libio/Makefile: Likewise.
80490         * string/Makefile: Likewise.
80491         * nis/Makefile: Likewise.
80492         * resolv/Makefile: Likewise.
80493         * stdio-common/Makefile: Likewise.
80494         * wcsmbs/Makefile: Likewise.
80495         * dlfcn/Makefile: Likewise.
80496         * posix/Makefile: Likewise.
80498         [BZ #6959]
80499         * timezone/Makefile: Don't install timezone files, just the programs
80500         and scripts.
80502 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
80504         * nss/databases.def: Add missing gshadow entry.
80506         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
80508 2012-03-06  Marek Polacek  <polacek@redhat.com>
80510         [BZ #13726]
80511         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
80512         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
80513         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
80514         * stdio-common/tst-long-dbl-fphex.c: New file.
80516 2012-03-06  David S. Miller  <davem@davemloft.net>
80518         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
80519         (set_obp_int): New function.
80520         (get_obp_int): New function.
80521         (__get_clockfreq_via_dev_openprom): Likewise.
80522         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
80523         Avoid unused variable warnings on 'val' and use builtin_expect.
80524         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
80525         __builtin_expect.
80526         (INLINE_CLONE_SYSCALL): Likewise.
80528 2012-03-05  David S. Miller  <davem@davemloft.net>
80530         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80532 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
80534         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80536         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
80537         only for |x| >= 40.
80538         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
80540 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
80542         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
80543         Replace gettimeofday with __vdso_gettimeofday.
80545         * sysdeps/unix/sysv/linux/x86_64/init-first.c
80546         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
80547         __vdso_clock_gettime and __vdso_getcpu.
80549         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
80550         time with __vdso_time.
80552 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
80554         * manual/lang.texi (size_t): Note types to which size_t may be
80555         equivalent with the GNU C Library, but do not describe when
80556         differences between them are significant.
80558 2012-03-05  Andreas Jaeger  <aj@suse.de>
80560         * sysdeps/i386/fpu/libm-test-ulps: Update.
80562 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
80564         [BZ #3976]
80565         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
80566         (__ieee754_pow): Save and restore rounding mode and use
80567         round-to-nearest for main computations.
80568         * math/libm-test.inc (pow_test_tonearest): New function.
80569         (pow_test_towardzero): Likewise.
80570         (pow_test_downward): Likewise.
80571         (pow_test_upward): Likewise.
80572         (main): Call the new functions.
80573         * sysdeps/i386/fpu/libm-test-ulps: Update.
80574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80576         [BZ #3976]
80577         * math/libm-test.inc (cosh_test_tonearest): New function.
80578         (cosh_test_towardzero): Likewise.
80579         (cosh_test_downward): Likewise.
80580         (cosh_test_upward): Likewise.
80581         (sinh_test_tonearest): Likewise.
80582         (sinh_test_towardzero): Likewise.
80583         (sinh_test_downward): Likewise.
80584         (sinh_test_upward): Likewise.
80585         (main): Call the new functions.
80586         * sysdeps/i386/fpu/libm-test-ulps: Update.
80587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80589 2012-03-05  Tom de Vries  <tom@codesourcery.com>
80591         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
80592         default stack guard is set in last bytes.
80593         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
80595 2012-03-05  Kees Cook  <keescook@chromium.org>
80597         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
80599         [BZ #13656]
80600         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
80601         possibly allocate from heap instead of stack.
80602         * stdio-common/bug-vfprintf-nargs.c: New file.
80603         * stdio-common/Makefile (tests): Add nargs overflow test.
80605 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
80607         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80609 2012-03-03  Marek Polacek  <polacek@redhat.com>
80611         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
80612         * math/math_private.h: Likewise.
80613         * stdlib/tst-strtod.c: Likewise.
80614         * sysdeps/i386/i486/bits/atomic.h: Likewise.
80615         * sysdeps/x86_64/bits/atomic.h: Likewise.
80617 2012-03-02  David S. Miller  <davem@davemloft.net>
80619         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
80620         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
80621         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
80622         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
80623         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
80624         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
80625         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
80626         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
80628 2012-03-02  Roland McGrath  <roland@hack.frob.com>
80630         [BZ #13792]
80631         * manual/examples/README: New file, says the example source files
80632         can be used under GPL>=2.
80633         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
80634         line containing just "*/".
80635         * manual/examples/add.c: Add copyright header (GPL>=2).
80636         * manual/examples/argp-ex1.c: Likewise.
80637         * manual/examples/argp-ex2.c: Likewise.
80638         * manual/examples/argp-ex3.c: Likewise.
80639         * manual/examples/argp-ex4.c: Likewise.
80640         * manual/examples/atexit.c: Likewise.
80641         * manual/examples/db.c: Likewise.
80642         * manual/examples/dir.c: Likewise.
80643         * manual/examples/dir2.c: Likewise.
80644         * manual/examples/execinfo.c: Likewise.
80645         * manual/examples/filecli.c: Likewise.
80646         * manual/examples/filesrv.c: Likewise.
80647         * manual/examples/fmtmsgexpl.c: Likewise.
80648         * manual/examples/genpass.c: Likewise.
80649         * manual/examples/inetcli.c: Likewise.
80650         * manual/examples/inetsrv.c: Likewise.
80651         * manual/examples/isockad.c: Likewise.
80652         * manual/examples/longopt.c: Likewise.
80653         * manual/examples/memopen.c: Likewise.
80654         * manual/examples/memstrm.c: Likewise.
80655         * manual/examples/mkfsock.c: Likewise.
80656         * manual/examples/mkisock.c: Likewise.
80657         * manual/examples/mygetpass.c: Likewise.
80658         * manual/examples/pipe.c: Likewise.
80659         * manual/examples/popen.c: Likewise.
80660         * manual/examples/rprintf.c: Likewise.
80661         * manual/examples/search.c: Likewise.
80662         * manual/examples/select.c: Likewise.
80663         * manual/examples/setjmp.c: Likewise.
80664         * manual/examples/sigh1.c: Likewise.
80665         * manual/examples/sigusr.c: Likewise.
80666         * manual/examples/stpcpy.c: Likewise.
80667         * manual/examples/strdupa.c: Likewise.
80668         * manual/examples/strftim.c: Likewise.
80669         * manual/examples/strncat.c: Likewise.
80670         * manual/examples/subopt.c: Likewise.
80671         * manual/examples/swapcontext.c: Likewise.
80672         * manual/examples/termios.c: Likewise.
80673         * manual/examples/testopt.c: Likewise.
80674         * manual/examples/testpass.c: Likewise.
80675         * manual/examples/timeval_subtract.c: Likewise.
80677         [BZ #13792]
80678         * manual/time.texi (Elapsed Time): Move timeval_subtract example
80679         function to ...
80680         * manual/timeval_subtract.c.texi: ... here, new file.
80682 2012-03-02  David S. Miller  <davem@davemloft.net>
80684         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
80686 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
80688         [BZ #3976]
80689         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
80690         (__sin): Save and restore rounding mode and use round-to-nearest
80691         for all computations.
80692         (__cos): Save and restore rounding mode and use round-to-nearest
80693         for all computations.
80694         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
80695         <fenv.h>.
80696         (tan): Save and restore rounding mode and use round-to-nearest for
80697         all computations.
80698         * math/libm-test.inc (cos_test_tonearest): New function.
80699         (cos_test_towardzero): Likewise.
80700         (cos_test_downward): Likewise.
80701         (cos_test_upward): Likewise.
80702         (sin_test_tonearest): Likewise.
80703         (sin_test_towardzero): Likewise.
80704         (sin_test_downward): Likewise.
80705         (sin_test_upward): Likewise.
80706         (tan_test_tonearest): Likewise.
80707         (tan_test_towardzero): Likewise.
80708         (tan_test_downward): Likewise.
80709         (tan_test_upward): Likewise.
80710         (main): Call the new functions.
80711         * sysdeps/i386/fpu/libm-test-ulps: Update.
80712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80714         [BZ #10135]
80715         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
80716         small n, then large n, before computing and testing k+n.
80717         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
80718         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
80719         Likewise.
80720         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
80721         Likewise.
80722         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
80723         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
80724         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
80725         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
80726         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
80727         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
80728         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
80729         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
80730         * math/libm-test.inc (scalbn_test): Add more tests.
80731         (scalbln_test): Likewise.
80733         * manual/filesys.texi (mode_t): Describe constraints on size and
80734         signedness, not exact equivalence to a particular type.
80735         (ino_t): Likewise.
80736         (ino64_t): Likewise.
80737         (dev_t): Likewise.
80738         (nlink_t): Likewise.
80739         (blkcnt_t): Likewise.
80740         (blkcnt64_t): Likewise.
80741         * manual/llio.texi (off_t): Likewise.
80743         [BZ #3976]
80744         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
80745         (__ieee754_exp): Save and restore rounding mode and use
80746         round-to-nearest for all computations.
80747         * math/libm-test.inc (exp_test_tonearest): New function.
80748         (exp_test_towardzero): Likewise.
80749         (exp_test_downward): Likewise.
80750         (exp_test_upward): Likewise.
80751         (main): Call the new functions.
80752         * sysdeps/i386/fpu/libm-test-ulps: Update.
80753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80755 2012-03-01  Chris Demetriou  <cgd@google.com>
80757         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
80758         have predictable order.
80760 2012-03-01  David S. Miller  <davem@davemloft.net>
80762         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
80764         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
80765         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
80766         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
80767         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
80769         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
80770         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
80771         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
80772         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
80773         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
80774         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
80775         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
80776         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
80777         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
80779         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80781         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
80782         * sysdeps/sparc/fpu/libm-test-ulps: to here.
80783         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
80785         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
80786         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
80787         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
80788         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
80789         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
80790         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
80791         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
80792         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
80793         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
80794         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
80795         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
80796         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
80797         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
80798         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
80799         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
80800         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
80801         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
80802         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
80803         * sysdeps/sparc/elf/configure: Regenerated.
80805 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
80807         * configure.in (AS, LD): Require binutils 2.20 or later.
80808         * configure: Regenerated.
80809         * manual/install.texi (Tools for Compilation): Give binutils 2.20
80810         as required minimum version.
80811         * INSTALL: Regenerated.
80813         [BZ #2541]
80814         [BZ #4108]
80815         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
80816         before squaring exponent.
80817         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
80818         bottom long double and 27 bits of top long double before squaring
80819         exponent.
80820         * math/libm-test.inc (erfc_test): Add more tests.
80821         * sysdeps/i386/fpu/libm-test-ulps: Update.
80822         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
80823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80825 2012-03-01  Kai Tietz  <ktietz@redhat.com>
80827         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
80828         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
80829         containing bit-fields.
80830         * soft-fp/extended.h (_FP_UNION_E): Likewise.
80831         * soft-fp/single.h (_FP_UNION_S): Likewise.
80832         * soft-fp/double.h (_FP_UNION_D): Likewise.
80834 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
80836         [BZ #13786]
80837         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
80838         not include ../strcmp.S.
80839         [USE_AS_STRNCASECMP_L]: Likewise.
80840         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
80841         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
80842         * sysdeps/i386/i686/multiarch/strncase_l-c.c
80843         (__strncasecmp_l_ia32): Define as alias to
80844         __strncasecmp_l_nonascii.
80846         [BZ #5794]
80847         * math/libm-test.inc (expm1_test): Add test for bug 5794.
80848         * sysdeps/i386/fpu/libm-test-ulps: Update.
80849         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80851         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
80852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80854 2012-02-29  Jeff Law  <law@redhat.com>
80856         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
80857         out of bounds read.
80859 2012-02-29  Marek Polacek  <polacek@redhat.com>
80861         [BZ #13706]
80862         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
80863         * elf/Makefile: Add rules to run tst-unused-dep.out.
80865 2012-02-28  David S. Miller  <davem@davemloft.net>
80867         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
80868         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
80869         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
80870         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
80871         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
80872         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
80874 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
80876         * math/libm-test.inc (llround_test): Move one test from
80877         lround_test.  Use TEST_f_L in moved test.
80878         (lround_test): Move misplaced test to llround_test.  Add testcase
80879         from bug 2561.
80881 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
80883         * sysdeps/x86_64/fpu/e_expf.S: New file.
80884         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
80886 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
80888         [BZ #13637]
80889         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
80890         of remain_len that may cause incomplete multi-byte character and
80891         false match.
80892         * posix/bug-regex33.c: New file.
80893         * posix/Makefile (tests): Add bug-regex33.
80895 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
80897         * manual/macros.texi: New file.
80898         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
80899         * manual/libc.texinfo: Include macros.texi.
80900         * manual/creatute.texi: Likewise.
80901         * manual/install.texi: Likewise.
80902         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
80903         @glibcadj{} in references to the GNU C Library.
80904         * manual/charset.texi: Likewise.
80905         * manual/conf.texi: Likewise.
80906         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
80907         when not using those macros.
80908         * manual/creature.texi: Likewise.
80909         * manual/crypt.texi: Likewise.
80910         * manual/errno.texi: Likewise.
80911         * manual/filesys.texi: Likewise.
80912         * manual/header.texi: Likewise.
80913         * manual/install.texi: Likewise.
80914         * manual/intro.texi: Likewise.
80915         * manual/io.texi: Likewise.
80916         * manual/job.texi: Likewise.
80917         * manual/lang.texi: Likewise.
80918         * manual/libc.texiinfo: Likewise.
80919         * manual/llio.texi: Likewise.
80920         * manual/locale.texi: Likewise.
80921         * manual/maint.texi: Likewise.
80922         * manual/math.texi: Likewise.
80923         * manual/memory.texi: Likewise.
80924         * manual/message.texi: Likewise.
80925         * manual/nss.texi: Likewise.
80926         * manual/pattern.texi: Likewise.
80927         * manual/process.texi: Likewise.
80928         * manual/resource.texi: Likewise.
80929         * manual/search.texi: Likewise.
80930         * manual/setjmp.texi: Likewise.
80931         * manual/signal.texi: Likewise.
80932         * manual/socket.texi: Likewise.
80933         * manual/startup.texi: Likewise.
80934         * manual/stdio.texi: Likewise.
80935         * manual/string.texi: Likewise.
80936         * manual/sysinfo.texi: Likewise.
80937         * manual/syslog.texi: Likewise.
80938         * manual/terminal.texi: Likewise.
80939         * manual/time.texi: Likewise.
80940         * manual/users.texi: Likewise.
80941         * INSTALL: Regenerated.
80942         * NOTES: Regenerated.
80943         * sysdeps/gnu/errlist.c: Regenerated.
80945 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
80947         * include/dirent.h: Include <dirstream.h> before
80948         <dirent/dirent.h>.
80950 2012-02-28  David S. Miller  <davem@davemloft.net>
80952         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
80953         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
80954         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
80955         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
80957 2012-02-27  David S. Miller  <davem@davemloft.net>
80959         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
80960         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
80961         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
80962         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
80964         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
80965         frame pointer instead of stack pointer relative arg slot.
80966         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
80967         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
80968         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
80970 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
80972         [BZ #3992]
80973         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
80975 2012-02-27  David S. Miller  <davem@davemloft.net>
80977         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
80978         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
80979         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
80980         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
80981         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
80982         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
80983         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
80984         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
80986 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
80988         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
80989         later.  Allow versions 5-9.
80990         * configure: Regenerated.
80991         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
80992         required minimum version and 4.6 as recommended version.  Do not
80993         mention bugs in GCC 2.7 and 2.8.
80994         * INSTALL: Regenerated.
80996 2012-02-27  David S. Miller  <davem@davemloft.net>
80998         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
80999         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
81000         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
81001         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
81002         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
81003         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
81004         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
81005         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
81007         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
81008         manipulate bits before adding and subtracting TWO112[sx].
81009         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
81011 2012-02-27  Roland McGrath  <roland@hack.frob.com>
81013         [BZ #13775]
81014         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
81015         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
81016         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
81017         being in POSIX, because they are in 1003.1-2008.
81019         * rt/tst-aio.c: Include <fcntl.h>.
81020         * rt/tst-aio7.c: Likewise.
81021         * rt/tst-aio64.c: Likewise.
81023         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
81025 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
81027         * manual/install.texi (--with-headers): Describe headers as
81028         interface headers, not private headers.
81029         (Specific advice for GNU/Linux systems): Describe use of headers
81030         from "make headers_install", not private headers from older
81031         kernels.
81032         * INSTALL: Regenerated.
81033         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
81034         Change to 2.6.19.
81035         * sysdeps/unix/sysv/linux/configure: Regenerated.
81037         * manual/llio.texi (fclean): Remove documentation.
81039         * manual/Makefile (libc-texi-generated): New variable.  Include
81040         version.texi.
81041         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
81042         $(libc-texi-generated), not duplicated list of files.
81043         (version.texi, stamp-version): New rules.
81044         (realclean): Remove $(libc-texi-generated), not individual files
81045         from that list.  Do not remove dir-add.texinfo.
81046         * manual/libc.texinfo: Comment out uses of edition numbers and
81047         references to printed manual.  Remove last-updated dates.
81048         (EDITION): Comment out.
81049         (ISBN): Likewise.
81050         (VERSION, UPDATED): Remove.
81051         (version.texi): Include.
81053 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
81055         * sysdeps/posix/spawni.c: Include <signal.h>.
81056         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
81057         * sysdeps/pthread/aio_fsync.c: Likewise.
81059 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
81061         * conform/Makefile (tests): Run only when not cross-compiling and
81062         when fast-check is not defined.
81064         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
81065         * conform/data/limits.h-data: Fixes for POSIX2008.
81066         * conform/run-conformtest.sh: Run all tests.
81067         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
81068         headers.
81069         * include/bits/dlfcn.h: Likewise.
81070         * include/langinfo.h: Likewise.
81071         * include/monetary.h: Likewise.
81072         * include/sys/poll.h: Likewise.
81074         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
81075         for __USE_GNU.
81076         * posix/spawn.h: Define __need_sigset_t.
81077         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
81078         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
81079         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
81080         to get sigevent_t only.
81081         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
81082         only for __USE_GNU.
81083         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
81084         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
81085         process_vm_writev only for __USE_GNU.
81086         * termios/termios.h: Declare tcgetsid also for POSIX2008.
81088         * conform/Makefile: For now ignore errors from run-conformtest.
81089         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
81090         POSIX to avoid namespace pollution.  Don't prepend headers.
81091         * conform/data/aio.h-data: Fixes for POSIX testing.
81092         * conform/data/fcntl.h-data: Likewise.
81093         * conform/data/glob.h-data: Likewise.
81094         * conform/data/grp.h-data: Likewise.
81095         * conform/data/pthread.h-data: Likewise.
81096         * conform/data/pwd.h-data: Likewise.
81097         * conform/data/signal.h-data: Likewise.
81098         * conform/data/spawn.h-data: Likewise.
81099         * conform/data/stdio.h-data: Likewise.
81100         * conform/data/stdlib.h-data: Likewise.
81101         * conform/data/stropts.h-data: Likewise.
81102         * conform/data/sys/mman.h-data: Likewise.
81103         * conform/data/sys/stat.h-data: Likewise.
81104         * conform/data/sys/types.h-data: Likewise.
81105         * conform/data/sys/wait.h-data: Likewise.
81106         * conform/data/time.h-data: Likewise.
81107         * conform/data/unistd.h-data: Likewise.
81108         * conform/data/utime.h-data: Likewise.
81110         * io/sys/stat.h: fchmod was always in POSIX.
81111         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
81112         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
81113         * rt/aio.h: Define __need_timespec before including <time.h>.
81114         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
81115         struct.  Add forward declaration of pthread_attr_t and use it in
81116         sigevent.
81117         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
81118         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
81119         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
81120         always remove CLK_TCK definition.
81122 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
81124         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
81126 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
81128         * conform/run-conformtest.sh: New file.
81129         * conform/Makefile: Run run-conformtest for tests.
81130         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
81131         support.
81133         * conform/data/uchar.h-data: New file.
81134         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
81135         * conform/data/arpa/inet.h-data: Likewise.
81136         * conform/data/assert.h-data: Likewise.
81137         * conform/data/complex.h-data: Likewise.
81138         * conform/data/cpio.h-data: Likewise.
81139         * conform/data/ctype.h-data: Likewise.
81140         * conform/data/dirent.h-data: Likewise.
81141         * conform/data/dlfcn.h-data: Likewise.
81142         * conform/data/errno.h-data: Likewise.
81143         * conform/data/fcntl.h-data: Likewise.
81144         * conform/data/float.h-data: Likewise.
81145         * conform/data/fmtmsg.h-data: Likewise.
81146         * conform/data/fnmatch.h-data: Likewise.
81147         * conform/data/ftw.h-data: Likewise.
81148         * conform/data/glob.h-data: Likewise.
81149         * conform/data/grp.h-data: Likewise.
81150         * conform/data/iconv.h-data: Likewise.
81151         * conform/data/inttypes.h-data: Likewise.
81152         * conform/data/langinfo.h-data: Likewise.
81153         * conform/data/libgen.h-data: Likewise.
81154         * conform/data/limits.h-data: Likewise.
81155         * conform/data/locale.h-data: Likewise.
81156         * conform/data/math.h-data: Likewise.
81157         * conform/data/monetary.h-data: Likewise.
81158         * conform/data/mqueue.h-data: Likewise.
81159         * conform/data/ndbm.h-data: Likewise.
81160         * conform/data/net/if.h-data: Likewise.
81161         * conform/data/netdb.h-data: Likewise.
81162         * conform/data/netinet/in.h-data: Likewise.
81163         * conform/data/nl_types.h-data: Likewise.
81164         * conform/data/poll.h-data: Likewise.
81165         * conform/data/pthread.h-data: Likewise.
81166         * conform/data/pwd.h-data: Likewise.
81167         * conform/data/regex.h-data: Likewise.
81168         * conform/data/sched.h-data: Likewise.
81169         * conform/data/search.h-data: Likewise.
81170         * conform/data/semaphore.h-data: Likewise.
81171         * conform/data/setjmp.h-data: Likewise.
81172         * conform/data/signal.h-data: Likewise.
81173         * conform/data/spawn.h-data: Likewise.
81174         * conform/data/stdarg.h-data: Likewise.
81175         * conform/data/stdio.h-data: Likewise.
81176         * conform/data/stdlib.h-data: Likewise.
81177         * conform/data/string.h-data: Likewise.
81178         * conform/data/strings.h-data: Likewise.
81179         * conform/data/stropts.h-data: Likewise.
81180         * conform/data/sys/ipc.h-data: Likewise.
81181         * conform/data/sys/mman.h-data: Likewise.
81182         * conform/data/sys/msg.h-data: Likewise.
81183         * conform/data/sys/resource.h-data: Likewise.
81184         * conform/data/sys/select.h-data: Likewise.
81185         * conform/data/sys/sem.h-data: Likewise.
81186         * conform/data/sys/shm.h-data: Likewise.
81187         * conform/data/sys/socket.h-data: Likewise.
81188         * conform/data/sys/stat.h-data: Likewise.
81189         * conform/data/sys/statvfs.h-data: Likewise.
81190         * conform/data/sys/time.h-data: Likewise.
81191         * conform/data/sys/timeb.h-data: Likewise.
81192         * conform/data/sys/times.h-data: Likewise.
81193         * conform/data/sys/types.h-data: Likewise.
81194         * conform/data/sys/uio.h-data: Likewise.
81195         * conform/data/sys/un.h-data: Likewise.
81196         * conform/data/sys/utsname.h-data: Likewise.
81197         * conform/data/sys/wait.h-data: Likewise.
81198         * conform/data/syslog.h-data: Likewise.
81199         * conform/data/tar.h-data: Likewise.
81200         * conform/data/termios.h-data: Likewise.
81201         * conform/data/utime.h-data: Likewise.
81202         * conform/data/utmpx.h-data: Likewise.
81203         * conform/data/varargs.h-data: Likewise.
81204         * conform/data/wchar.h-data: Likewise.
81205         * conform/data/wctype.h-data: Likewise.
81206         * conform/data/wordexp.h-data: Likewise.
81208         * include/stropts.h: New file.
81209         * include/uchar.h: New file.
81210         * include/aio.h: Changes to allow conformtest.pl to use the headers.
81211         * include/assert.h: Likewise.
81212         * include/ctype.h: Likewise.
81213         * include/dirent.h: Likewise.
81214         * include/dlfcn.h: Likewise.
81215         * include/fcntl.h: Likewise.
81216         * include/fnmatch.h: Likewise.
81217         * include/glob.h: Likewise.
81218         * include/grp.h: Likewise.
81219         * include/libio.h: Likewise.
81220         * include/locale.h: Likewise.
81221         * include/math.h: Likewise.
81222         * include/net/if.h: Likewise.
81223         * include/netdb.h: Likewise.
81224         * include/netinet/in.h: Likewise.
81225         * include/pthread.h: Likewise.
81226         * include/pwd.h: Likewise.
81227         * include/regex.h: Likewise.
81228         * include/sched.h: Likewise.
81229         * include/search.h: Likewise.
81230         * include/setjmp.h: Likewise.
81231         * include/signal.h: Likewise.
81232         * include/stdio.h: Likewise.
81233         * include/stdlib.h: Likewise.
81234         * include/string.h: Likewise.
81235         * include/sys/cdefs.h: Likewise.
81236         * include/sys/mman.h: Likewise.
81237         * include/sys/msg.h: Likewise.
81238         * include/sys/resource.h: Likewise.
81239         * include/sys/select.h: Likewise.
81240         * include/sys/socket.h: Likewise.
81241         * include/sys/stat.h: Likewise.
81242         * include/sys/statvfs.h: Likewise.
81243         * include/sys/time.h: Likewise.
81244         * include/sys/times.h: Likewise.
81245         * include/sys/uio.h: Likewise.
81246         * include/sys/utsname.h: Likewise.
81247         * include/sys/wait.h: Likewise.
81248         * include/termios.h: Likewise.
81249         * include/time.h: Likewise.
81250         * include/ulimit.h: Likewise.
81251         * include/unistd.h: Likewise.
81252         * include/utime.h: Likewise.
81253         * include/wchar.h: Likewise.
81254         * include/wctype.h: Likewise.
81255         * include/wordexp.h: Likewise.
81257         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
81259         * time/time.h: TIME_UTC must be a macro.
81260         Make timespec_get available for ISO C11 only as well.
81262 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
81264         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
81265         Reported by Peng Haitao <penght@cn.fujitsu.com>.
81267 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
81269         * configure.in: Use -o not -a in test for unsupported multi-arch.
81271 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
81273         * manual/texinfo.tex: Update to version 2012-01-19.16.
81275 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
81277         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
81279 2012-02-24  Roland McGrath  <roland@hack.frob.com>
81281         [BZ #13738]
81282         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
81283         * manual/fdl-1.3.texi: New file.
81284         * manual/fdl-1.1.texi: File removed.
81286         [BZ #13738]
81287         * manual/libc.texinfo (FDL_VERSION): New @set.
81288         Use it for mention of FDL in cover text.
81289         (Documentation License): Use it in @include file name.
81291 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
81292             Roland McGrath  <roland@hack.frob.com>
81294         [BZ #5461]
81295         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
81296         (not LONG_LONG_MAX and LONG_LONG_MIN.
81297         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
81298         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
81299         name.
81300         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
81302 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
81304         [BZ #2547]
81305         [BZ #11365]
81306         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
81307         manipulate bits before adding and subtracting TWO23[sx].
81308         * math/libm-test.inc (nearbyint_test): Add more tests.
81310 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
81312         [BZ #2548]
81313         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
81314         bits before adding and subtracting TWO23[sx].
81315         * math/libm-test.inc (rint_test): Add more tests.
81316         (rint_test_tonearest): Likewise.
81317         (rint_test_towardzero): Likewise.
81318         (rint_test_downward): Likewise.
81319         (rint_test_upward: Likewise.
81321 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
81323         [BZ #10110]
81324         * include/stdc-predef.h: New file.  Extracted from features.h.
81325         * include/features.h: Include stdc-predef.h.
81326         * Makefile (headers): Add stdc-predef.h.
81327         * CONFORMANCE (Compiler limitations): Update.
81329 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
81331         * manual/libc.texinfo (VERSION, UPDATED): Revert.
81333 2012-02-21  David S. Miller  <davem@davemloft.net>
81335         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
81336         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
81338 2012-02-20  David S. Miller  <davem@davemloft.net>
81340         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
81341         using a normal save/restore sequence, rather than allocating a
81342         dummy stack frame just to store a frame pointer and restore.
81343         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
81345 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
81347         * manual/install.texi: Fix stray word in line-wrapped comment.
81349 2012-02-20  David S. Miller  <davem@davemloft.net>
81351         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
81352         both binutils and gcc support GOTDATA.
81354         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
81355         "rd %pc" in the PIC register setup sequences.
81357         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
81358         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
81359         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
81360         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
81361         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
81362         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
81363         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
81364         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
81365         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
81366         (SYSCALL_ERROR_HANDLER): Likewise.
81367         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
81368         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
81369         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
81370         (SYSCALL_ERROR_HANDLER): Likewise.
81372         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
81373         (HAVE_GCC_GOTDATA): New.
81374         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
81375         relocation support in both binutils and gcc.
81376         * sysdeps/sparc/elf/configure: Regenerate.
81378         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
81379         * sysdeps/sparc/sparc32/elf/configure: Delete.
81380         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
81381         * sysdeps/sparc/sparc64/elf/configure: Delete.
81382         * sysdeps/sparc/elf/configure.in: New file.
81383         * sysdeps/sparc/elf/configure: Generate.
81385         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
81386         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
81387         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
81388         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
81389         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
81391 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
81393         * manual/install.texi: Do not mention specific glibc version
81394         numbers.
81395         * manual/libc.texinfo (VERSION, UPDATED): Update.
81396         (@copying): Use @copyright{} and range of years.
81398 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
81400         [BZ #13695]
81401         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
81402         [crti.S not in sysdirs] (generated): Do not append.
81403         [crti.S not in sysdirs] (omit-deps): Likewise.
81404         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
81405         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
81406         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
81407         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
81408         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
81409         Likewise.
81410         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
81411         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
81412         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
81413         * csu/defs.awk: Remove file.
81414         * sysdeps/generic/initfini.c: Likewise.
81415         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
81416         variable.
81417         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
81418         Likewise.
81420 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
81422         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
81423         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
81424         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
81425         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
81426         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
81427         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
81428         <bits/epoll.h>.
81429         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
81430         (__EPOLL_PACKED): Define to empty if not defined by
81431         <bits/epoll.h>.
81432         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
81433         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81434         bits/epoll.h.
81436 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
81438         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
81439         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
81440         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
81441         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
81442         <bits/timerfd.h>.
81443         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
81444         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81445         bits/timerfd.h.
81447 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
81449         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
81450         in C locale.
81451         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
81452         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
81453         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
81454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81456 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
81458         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
81459         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
81461 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
81463         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
81464         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
81465         defined.
81466         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
81467         Likewise.
81468         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
81469         entry for 2.16.
81471 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
81473         * math/w_acos.c: Use non-signaling floating-point comparisons.
81474         * math/w_acosf.c: Likewise.
81475         * math/w_acosh.c: Likewise.
81476         * math/w_acoshf.c: Likewise.
81477         * math/w_acoshl.c: Likewise.
81478         * math/w_acosl.c: Likewise.
81479         * math/w_asin.c: Likewise.
81480         * math/w_asinf.c: Likewise.
81481         * math/w_asinl.c: Likewise.
81482         * math/w_atanh.c: Likewise.
81483         * math/w_atanhf.c: Likewise.
81484         * math/w_atanhl.c: Likewise.
81485         * math/w_exp2.c: Likewise.
81486         * math/w_exp2f.c: Likewise.
81487         * math/w_exp2l.c: Likewise.
81488         * math/w_j0.c: Likewise.
81489         * math/w_j0f.c: Likewise.
81490         * math/w_j0l.c: Likewise.
81491         * math/w_j1.c: Likewise.
81492         * math/w_j1f.c: Likewise.
81493         * math/w_j1l.c: Likewise.
81494         * math/w_jn.c: Likewise.
81495         * math/w_jnf.c: Likewise.
81496         * math/w_log.c: Likewise.
81497         * math/w_log10.c: Likewise.
81498         * math/w_log10f.c: Likewise.
81499         * math/w_log10l.c: Likewise.
81500         * math/w_log2.c: Likewise.
81501         * math/w_log2f.c: Likewise.
81502         * math/w_log2l.c: Likewise.
81503         * math/w_logf.c: Likewise.
81504         * math/w_logl.c: Likewise.
81505         * math/w_sqrt.c: Likewise.
81506         * math/w_sqrtf.c: Likewise.
81507         * math/w_sqrtl.c: Likewise.
81508         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
81509         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
81510         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
81511         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
81512         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
81514 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
81516         [BZ #9739]
81517         * manual/string.texi (strnlen): Use correct parameter name in
81518         equivalent expression.
81520 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
81522         [BZ #11174]
81523         * manual/users.texi (seteuid): Consistently use neweuid for
81524         argument name.
81526 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
81528         [BZ #13704]
81529         * manual/nss.texi (Services in the NSS configuration): Correct
81530         list of services in example configuration file.
81532 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
81534         [BZ #11322]
81535         * manual/arith.texi: Remove statements about negative zero
81536         behaving identically to zero.
81538 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
81540         [BZ #5993]
81541         * manual/install.texi: Do not document upgrading from libc5.
81543 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
81545         [BZ #4596]
81546         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
81548 2012-02-18  David S. Miller  <davem@davemloft.net>
81550         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
81551         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
81552         %o7 across the call.
81553         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
81554         instead.
81555         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
81556         SETUP_PIC_REG_LEAF.
81557         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
81558         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
81559         * sysdeps/sparc/crtn.S: Likewise.
81561 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
81563         * aout/Makefile: Remove.
81565 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
81567         [BZ #13058]
81568         * manual/examples/argp-ex1.c (main): Format definition in GNU
81569         style.
81570         * manual/examples/argp-ex2.c (main): Likewise.
81571         * manual/examples/argp-ex3.c (main): Likewise.
81572         * manual/examples/argp-ex4.c (main): Likewise.
81573         * manual/examples/longopt.c (main): Use new-style prototype
81574         definition.
81575         * manual/examples/strncat.c (main): Specify return type and use
81576         (void) for arguments.
81577         * manual/examples/subopt.c (main): Use char **argv argument.
81579 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
81581         [BZ #5077]
81582         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
81583         rounding modes.
81585 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
81587         [BZ #6907]
81588         * manual/string.texi (strchr): Change when strchrnul is
81589         recommended.
81591 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
81593         [BZ #174]
81594         * manual/locale.texi (setlocale): Document LOCPATH.
81596 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
81598         [BZ #10210]
81599         * manual/process.texi (execle): Move @dots{} before last argument.
81601 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
81603         [BZ #12047]
81604         * manual/charset.texi (Generic Charset Conversion): Fix typo
81605         (LC_TYPE -> LC_CTYPE).
81607 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
81609         [BZ #5805]
81610         * manual/arith.texi (scalbn): Use @var{} on parameter names.
81611         (scalbnf): Likewise.
81612         (scalbnl): Likewise.
81613         (scalbln): Likewise.
81614         (scalblnf): Likewise.
81615         (scalblnl): Likewise.
81616         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
81617         (vwarnx): Likewise.
81618         (verr): Likewise.
81619         (verrx): Likewise.
81620         * manual/filesys.texi (telldir): Use braces around return type.
81621         * manual/llio.texi (mmap): Add space after comma.
81622         (mmap64): Likewise.
81623         * manual/math.texi (jn): Use @var{} on parameter names.
81624         (jnf): Likewise.
81625         (jnl): Likewise.
81626         (yn): Likewise.
81627         (ynf): Likewise.
81628         (ynl): Likewise.
81629         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
81630         line.
81631         * manual/resource.texi (ulimit): Use @dots{} instead of literal
81632         "...".
81633         (sched_get_priority_min): Remove semicolon on @deftypefun line.
81634         (sched_get_priority_max): Likewise.
81635         * manual/signal.texi (sigvec): Add space after comma.
81636         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
81637         names.
81638         (if_indextoname): Likewise.
81639         (if_freenameindex): Likewise.
81640         (sendto): Use ',' instead of '.' in prototype.
81641         * manual/startup.texi (syscall): Use @dots{} instead of literal
81642         "...".
81643         * manual/stdio.texi (__fpending): Separate initial words of
81644         paragraph from @deftypefun line.
81645         * manual/syslog.texi (syslog): Use @dots{} instead of literal
81646         "...".
81647         (vsyslog): Use @var{} on parameter names.
81648         * manual/terminal.texi (stty): Use @var{} on parameter names.
81649         * manual/users.texi (getutmp): Use @var{} on parameter names.
81650         (getutmpx): Likewise.
81652 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
81654         [BZ #6884]
81655         * manual/stdio.texi (fopen): Fix typos in description of
81656         ",ccs=STRING".
81658 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
81660         [BZ #4026]
81661         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
81662         get clock_id definition.
81664 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
81666         [BZ #4822]
81667         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
81668         (madvise): Cast every argument to void on its own.
81670 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
81672         [BZ #9902]
81673         * manual/startup.texi (Exit Status): Fix typo.
81675 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
81677         [BZ #10140]
81678         * manual/examples/argp-ex1.c: Include <stdlib.h>.
81679         * manual/examples/argp-ex2.c: Likewise.
81680         * manual/examples/argp-ex3.c: Likewise.
81682 2012-02-16  Richard Henderson  <rth@redhat.com>
81684         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
81685         * sysdeps/s390/s390-32/initfini.c: Remove.
81686         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
81687         * sysdeps/s390/s390-64/initfini.c: Remove.
81689 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
81691         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
81692         compiler output for sysdeps/generic/initfini.c.
81693         * sysdeps/sh/elf/initfini.c: Remove file.
81695 2012-02-16  David S. Miller  <davem@davemloft.net>
81697         [BZ #11494]
81698         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
81700         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
81701         * sysdeps/sparc/crti.S: New file.
81702         * sysdeps/sparc/crtn.S: New file.
81703         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
81704         * sysdeps/sparc/sparc64/Makefile: Likewise.
81706 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
81708         [BZ #3335]
81709         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
81711 2012-02-15  Roland McGrath  <roland@hack.frob.com>
81713         [BZ #4822]
81714         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
81716         * mach/devstream.c (cookie_io_functions_t): Macro removed.
81717         (write, read, close): Likewise.
81718         Patch by Aurelien Jarno <aurelien@aurel32.net>.
81720 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
81722         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
81723         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
81724         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
81725         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
81726         <bits/signalfd.h>.
81727         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
81728         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81729         bits/signalfd.h.
81731 2012-02-14  Marek Polacek  <polacek@redhat.com>
81733         * sysdeps/x86_64/crti.S: New file.
81734         * sysdeps/x86_64/crtn.S: New file.
81735         * sysdeps/x86_64/elf/initfini.c: Remove file.
81737 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
81739         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
81740         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
81741         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
81742         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
81743         <bits/inotify.h>.
81744         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
81745         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81746         bits/inotify.h.
81748 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
81750         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
81751         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
81752         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
81753         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
81754         <bits/eventfd.h>.
81755         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
81756         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81757         bits/eventfd.h.
81759 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
81761         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
81762         __feraiseexcept instead of feraiseexcept.
81764         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
81765         nanosleep invocations.
81766         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
81767         strings, and add error checking for a nanosleep invocations.
81769 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
81771         Replace FSF snail mail address with URLs, as per GNU coding standards.
81772         Most of the snail mail addresses were wrong anyway, and omitting
81773         them makes the source code easier to maintain.  Almost all of the
81774         changes are to license notices and to locale LC_IDENTIFICATION
81775         addresses, except for this one:
81776         * manual/libc.texinfo: In "Published by", give the FSF's URL,
81777         not its snail mail address.
81779 2012-02-09  Richard Henderson  <rth@twiddle.net>
81781         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
81782         of kernel-features.h.
81784         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
81786 2012-02-08  Marek Polacek  <polacek@redhat.com>
81788         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
81789         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
81790         * sysdeps/gnu/_G_config.h: Likewise.
81791         * sysdeps/generic/_G_config.h: Likewise.
81793 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
81795         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
81796         tests.
81797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81799         * sysdeps/powerpc/powerpc32/crti.S: New file.
81800         * sysdeps/powerpc/powerpc32/crtn.S: New file.
81801         * sysdeps/powerpc/powerpc64/crti.S: New file.
81802         * sysdeps/powerpc/powerpc64/crtn.S: New file.
81804         * Makeconfig (have-initfini): Don't set.
81805         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
81806         * configure.in (nopic_initfini): Don't substitute.
81807         * config.h.in (HAVE_INITFINI): Don't #undef.
81808         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
81809         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
81811 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
81813         Support crti.S and crtn.S provided directly by architectures.
81814         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
81815         [crti.S in sysdirs] (omit-deps): Likewise.
81816         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
81817         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
81818         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
81819         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
81820         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
81821         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
81822         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
81823         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
81824         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
81825         compiler output for sysdeps/generic/initfini.c.
81826         * sysdeps/i386/elf/Makefile: Remove file.
81827         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
81829 2012-02-07  Marek Polacek  <polacek@redhat.com>
81831         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
81832         * sysdeps/gnu/_G_config.h: Likewise.
81833         * sysdeps/mach/hurd/_G_config.h: Likewise.
81835 2012-02-07  Marek Polacek  <polacek@redhat.com>
81837         * math/Makefile (tests): Add tst-CMPLX2.
81838         * math/tst-CMPLX2.c: New file.
81840 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
81842         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
81844         * math/libm-test.inc (jn_test): Add missing L suffix.
81846 2012-02-06  Marek Polacek  <polacek@redhat.com>
81848         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
81849         * sysdeps/i386/fpu/e_powf.S: Likewise.
81850         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
81851         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
81852         * sysdeps/i386/fpu/e_acosh.S: Likewise.
81853         * sysdeps/i386/fpu/e_pow.S: Likewise.
81854         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
81855         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
81856         * sysdeps/i386/fpu/s_expm1.S: Likewise.
81857         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
81858         * sysdeps/i386/fpu/e_log2.S: Likewise.
81859         * sysdeps/i386/fpu/e_log2l.S: Likewise.
81860         * sysdeps/i386/fpu/e_scalb.S: Likewise.
81861         * sysdeps/i386/fpu/e_powl.S: Likewise.
81862         * sysdeps/i386/fpu/s_log1p.S: Likewise.
81863         * sysdeps/i386/fpu/e_log10f.S: Likewise.
81864         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
81865         * sysdeps/i386/fpu/e_logl.S: Likewise.
81866         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
81867         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
81868         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
81869         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
81870         * sysdeps/i386/fpu/e_log2f.S: Likewise.
81871         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
81872         * sysdeps/i386/fpu/e_log.S: Likewise.
81873         * sysdeps/i386/fpu/s_cexp.S: Likewise.
81874         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
81875         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
81876         * sysdeps/i386/fpu/e_logf.S: Likewise.
81877         * sysdeps/i386/fpu/e_log10l.S: Likewise.
81878         * sysdeps/i386/fpu/e_atanh.S: Likewise.
81879         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
81880         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
81881         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
81882         * sysdeps/i386/fpu/e_log10.S: Likewise.
81883         * sysdeps/i386/fpu/s_frexp.S: Likewise.
81884         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
81885         * sysdeps/i386/fpu/s_asinh.S: Likewise.
81886         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
81887         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
81888         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
81889         * sysdeps/i386/asm-syntax.h: Likewise.
81890         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
81891         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
81892         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
81893         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
81894         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
81895         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
81896         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
81897         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
81898         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
81899         * sysdeps/powerpc/sysdep.h: Likewise.
81900         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
81901         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
81903 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
81905         [BZ #411]
81906         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
81908 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
81910         * sysdeps/i386/sysdep.h: Include <features.h>.
81911         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
81912         version.
81914 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
81916         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
81917         Define.
81918         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
81919         LOAD_PIC_REG_STR.
81921 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
81923         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
81924         (SETUP_PIC_REG): Use GET_PC_THUNK.
81925         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
81926         macro.
81928 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
81930         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
81931         for non-PIC compilation.
81932         (SETUP_PIC_REG): Add .p2align directive.
81933         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
81934         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
81935         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
81936         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
81937         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
81938         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
81939         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
81940         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
81941         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
81942         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
81943         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
81944         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
81945         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
81946         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
81947         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
81948         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
81949         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
81950         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
81951         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
81952         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
81953         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
81954         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
81955         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
81956         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
81957         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
81958         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
81959         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
81960         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
81961         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
81962         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
81963         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
81964         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
81965         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
81966         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
81967         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
81968         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
81969         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
81970         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
81971         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
81972         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
81973         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
81975 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
81977         * math/tst-CMPLX.c: Include <stdio.h>.
81979 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
81981         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
81982         float.
81983         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
81984         * sysdeps/sparc/bits/mathdef.h: Likewise.
81986 2012-01-31  Marek Polacek  <polacek@redhat.com>
81988         * libio/libio.h: Don't define _PARAMS.
81989         * locale/programs/config.h: Don't define PARAMS.
81990         * stdlib/strtol_l.c: Likewise.
81991         (__strtol_l): Remove PARAMS from the prototype.
81993 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
81995         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
81996         names.  Just use the correct names.  Remove unnecessary wrapper
81997         functions.
81998         * malloc/arena.c: Likewise.
81999         * malloc/hooks.c: Likewise.
82001         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
82002         ARENA_TEST says not to.  Simplify test for creation of a new arena.
82003         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
82005 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
82007         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
82008         into tail calls.
82009         (update_get_addr): New function.
82010         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
82011         GET_ADDR_MODULE parameter.
82013 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
82015         * crypt/cert.c: Remove __STDC__ conditionals.
82016         * crypt/crypt-entry.c: Likewise.
82017         * crypt/crypt_util.c: Likewise.
82018         * libio/filedoalloc.c: Likewise.
82019         * libio/fileops.c: Likewise.
82020         * libio/genops.c: Likewise.
82021         * libio/iofclose.c: Likewise.
82022         * libio/iofdopen.c: Likewise.
82023         * libio/iofopen.c: Likewise.
82024         * libio/iofopen64.c: Likewise.
82025         * libio/iogetdelim.c: Likewise.
82026         * libio/iopopen.c: Likewise.
82027         * libio/obprintf.c: Likewise.
82028         * libio/oldfileops.c: Likewise.
82029         * libio/oldiofclose.c: Likewise.
82030         * libio/oldiofdopen.c: Likewise.
82031         * libio/oldiofopen.c: Likewise.
82032         * libio/oldiopopen.c: Likewise.
82033         * libio/wfiledoalloc.c: Likewise.
82034         * libio/wgenops.c: Likewise.
82035         * locale/programs/xmalloc.c: Likewise.
82036         * misc/syslog.c: Likewise.
82037         * stdio-common/xbug.c: Likewise.
82038         * string/memchr.c: Likewise.
82039         * string/memcmp.c: Likewise.
82040         * string/memrchr.c: Likewise.
82041         * string/rawmemchr.c: Likewise.
82042         * sysdeps/posix/getcwd.c: Likewise.
82043         * time/strftime_l.c: Likewise.
82045 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
82047         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
82048         * config.make.in (config-cflags-sse2avx): Define.
82049         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
82050         Fix typo.
82052 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
82054         * scripts/config.guess: Update from upstream config git repository.
82055         * scripts/config.sub: Likewise.
82057 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
82059         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
82060         (EM_NUM): Update.
82061         (R_TILEPRO_*, R_TILEGX_*): New macros.
82063         * scripts/firstversions.awk: Fix bug in version range handling.
82065         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
82067         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
82069         * include/sys/epoll.h: New file.
82070         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
82071         libc_hidden_def.
82073 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
82075         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
82076         Avoid unnecessary __WORDSIZE == 64 test.
82077         (fmaxf): Use VEX format if possible.
82078         (fmax): Likewise.
82079         (fminf): Likewise.
82080         (fmin): Likewise.
82082         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
82083         * math/math_private.h: Remove libc_fegetround* and
82084         libc_fesetround*.
82085         * sysdeps/i386/configure.in: Check for -msse2avx.
82086         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
82087         also if SSE2AVX is defined.
82088         Remove libc_fegetround* and libc_fesetround*.
82089         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
82090         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
82091         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
82092         of HAS_YMM_USABLE.
82093         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
82094         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
82095         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
82096         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
82097         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
82099         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
82101 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82103         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
82104         size is not set.
82105         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
82107 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
82109         [BZ #13618]
82110         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
82111         relocation.
82112         * Makeconfig (libm): Define.
82113         * elf/Makefile: Add rules to build and run tst-relsort1.
82114         * elf/tst-relsort1.c: New file.
82115         * elf/tst-relsort1mod1.c: New file.
82116         * elf/tst-relsort1mod2.c: New file.
82118 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
82120         * math/s_ldexp.c: Remove __STDC__ conditionals.
82121         * math/s_ldexpf.c: Likewise.
82122         * math/s_ldexpl.c: Likewise.
82123         * math/s_nextafter.c: Likewise.
82124         * math/s_nexttowardf.c: Likewise.
82125         * math/s_significand.c: Likewise.
82126         * math/s_significandf.c: Likewise.
82127         * math/s_significandl.c: Likewise.
82128         * math/w_jnl.c: Likewise.
82129         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
82130         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
82131         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
82132         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
82133         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
82134         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
82135         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
82136         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
82137         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
82138         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
82139         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
82140         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
82141         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
82142         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
82143         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
82144         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
82145         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
82146         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
82147         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
82148         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
82149         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
82150         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
82151         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
82152         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
82153         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
82154         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
82155         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
82156         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
82157         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
82158         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
82159         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
82160         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
82161         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
82162         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
82163         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
82164         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
82165         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
82166         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
82167         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
82168         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
82169         * sysdeps/ieee754/k_standard.c: Likewise.
82170         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
82171         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
82172         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
82173         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
82174         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
82175         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
82176         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
82177         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
82178         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
82179         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
82180         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
82181         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
82182         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
82183         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
82184         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
82185         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
82186         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
82187         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
82188         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
82189         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
82190         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
82191         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
82192         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
82193         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
82194         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
82195         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
82196         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
82197         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
82198         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
82199         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
82200         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
82201         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
82202         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
82203         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
82204         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
82205         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
82206         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
82207         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
82208         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
82209         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
82210         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
82211         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
82212         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
82213         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
82214         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
82215         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
82216         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
82217         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
82218         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
82219         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
82220         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
82221         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
82222         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
82223         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
82224         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
82225         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
82226         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
82227         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
82228         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
82229         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
82230         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
82231         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
82232         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
82233         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
82234         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
82235         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
82236         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
82237         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
82238         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
82239         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
82240         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
82241         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
82242         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
82243         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
82244         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
82245         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
82246         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
82247         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
82248         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
82249         * sysdeps/ieee754/s_matherr.c: Likewise.
82250         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
82251         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
82252         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
82253         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
82255 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
82257         * crypt/md5.h: Remove __STDC__ conditionals.
82258         * libio/libioP.h: Likewise.
82259         * locale/programs/config.h: Likewise.
82260         * sysdeps/generic/sysdep.h: Likewise.
82261         * sysdeps/i386/asm-syntax.h: Likewise.
82262         * sysdeps/s390/asm-syntax.h: Likewise.
82263         * sysdeps/unix/sysdep.h: Likewise.
82264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
82265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
82267 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
82269         * libio/libio.h: Remove __STDC__ conditionals.
82270         * malloc/obstack.h: Likewise.
82271         * math/complex.h: Likewise.
82272         * math/math.h: Likewise.
82273         * sysdeps/generic/_G_config.h: Likewise.
82274         * sysdeps/gnu/_G_config.h: Likewise.
82275         * sysdeps/mach/hurd/_G_config.h: Likewise.
82276         * sysdeps/powerpc/bits/mathdef.h: Likewise.
82277         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
82278         * sysdeps/sparc/bits/mathdef.h: Likewise.
82280 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
82282         [BZ #13583]
82283         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
82284         Clean up HAS_* macros.
82285         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
82286         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
82287         possible.
82288         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
82289         HAS_AVX.
82290         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
82291         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
82292         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
82293         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
82294         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
82296 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
82298         * elf/tst-unique3.cc (gets): Remove declaration.
82299         * elf/tst-unique3lib.cc (gets): Likewise.
82300         * elf/tst-unique3lib2.cc (gets): Likewise.
82301         * elf/tst-unique4.cc (gets): Likewise.
82303 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
82305         * include/stdio.h: Add C++ protection.  Add gets declarations and
82306         definitions.
82307         * debug/tst-chk1.c: Don't declare gets here.
82308         * stdio-common/tst-gets.c: Likewise.
82310 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
82312         * posix/glob: Remove directory.
82314 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
82316         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
82318 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
82320         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
82321         of the non-standard EPFNOSUPPORT.
82323 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82325         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
82326         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
82327         ANYWHERE set to 1 only on KERN_NO_SPACE error.
82329 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
82331         * wcsmbs/uchar.h: Test __STDC_VERSION__.
82333 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
82335         * nscd/aicache.c (addhstaiX): Do not cache negative results of
82336         transient errors.
82337         * nscd/grpcache.c (cache_addgr): Likewise.
82338         * nscd/hstcache.c (cache_addhst): Likewise.
82339         * nscd/initgrcache.c (addinitgroupsX): Likewise.
82340         * nscd/pwdcache.c (cache_addpw): Likewise.
82341         * nscd/servicescache.c (cache_addserv): Likewise.
82343 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
82345         * malloc/malloc.c: Various cleanups.
82346         * malloc/hooks.c: Likewise.
82348         * stdlib/Makefile (tests): Add bug-fmtmsg1.
82349         * stdlib/bug-fmtmsg1.c: New file.
82351         * stdlib/fmtmsg.c (init): Add missing unlock.
82352         Patch by Peng Haitao <penght@cn.fujitsu.com>.
82354 2012-01-12  Marek Polacek  <polacek@redhat.com>
82356         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
82357         and _GNU_SOURCE.
82359 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
82361         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
82362         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
82363         macro to ensure uniqueness of label name.
82364         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
82365         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
82367 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
82369         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
82371         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
82372         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
82373         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
82374         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
82376 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
82378         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
82380         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
82381         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
82382         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
82384         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
82386         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
82387         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
82388         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
82389         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
82391         * math/bits/math-finite.h: Add ldexp support.
82393 2012-01-10  Marek Polacek  <polacek@redhat.com>
82395         * locale/programs/localedef.h (show_archive_content): Add noreturn
82396         attribute.
82398 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
82400         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
82402 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
82404         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
82406         * io/Makefile (headers): Add bits/poll2.h.
82408 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
82410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
82411         typo #include statement.
82413 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
82415         * include/sys/cdefs.h: Define __attribute_alloc_size.
82416         * catgets/gencat.c: Add alloc_size attribute and apply consistently
82417         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
82418         * elf/pldd.c: Likewise.
82419         * iconv/iconv_charmap.c: Likewise.
82420         * iconv/iconvconfig.c: Likewise.
82421         * iconv/strtab.c: Likewise.
82422         * locale/programs/locale.c: Likewise.
82423         * locale/programs/localedef.h: Likewise.
82424         * locale/programs/simple-hash.c: Likewise.
82425         * nscd/nscd.h: Likewise.
82426         * nss/makedb.c: Likewise.
82427         * sysdeps/generic/ldconfig.h: Likewise.
82428         * locale/programs/localedef.c: Remove xmalloc prototype.
82429         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
82431 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
82433         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
82434         appropriate.
82436 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
82438         * math/Makefile (tests): Add tst-CMPLX.
82439         * math/tst-CMPLX.c: New file.
82441         * math/complex.h (CMPLXL): Fix typo.
82443         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
82444         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
82445         GLIBC_2.16.
82446         * debug/tst-chk1.c: Add poll and ppoll tests.
82447         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
82448         * include/sys/poll.h: Add hidden proto for ppoll.
82449         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
82450         * sysdeps/mach/hurd/ppoll.c: Likewise.
82451         * io/ppoll.c: Likewise.
82452         * debug/poll_chk.c: New file.
82453         * debug/ppoll_chk.c: New file.
82454         * include/bits/poll2.h: New file.
82455         * io/bits/poll2.h: New file.
82457         [BZ #1350]
82458         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
82460         * configure.in: static is always set to yes.  Remove.
82461         * config.make.in: Don't set build-static.
82462         * Makeconfig: Remove use of build-static.
82463         * dlfcn/Makefile: Likewise.
82464         * elf/Makefile: Likewise.
82465         * math/Makefile: Likewise.
82466         * misc/Makefile: Likewise.
82467         * nptl/Makefile: Likewise.
82468         * sysdeps/mach/hurd/Makefile: Likewise.
82470         * configure.in: PWD_P is not used anymore.
82471         * config.make.in: Remove PWD_P entry.
82473         * configure.in: Remove last remnants of RANLIB.
82474         No need to check for signed size_t anymore.
82475         Don't set libc_commonpagesize and libc_relro_required here for Alpha
82476         and IA-64.
82477         Remove __builtin_expect test because we require at least gcc 3.4.
82478         * aclocal.m4: Likewise.
82480         * wcsmbs/mbrtoc16.c: Implement using towc function.
82481         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
82482         * wcsmbs/wcsmbsload.c: Likewise.
82483         * iconv/gconv_simple.c: Likewise.
82484         * iconv/gconv_int.h: Likewise.
82485         * iconv/gconv_builtin.h: Likewise.
82486         * iconv/iconv_prog.c: Remove CHAR16 handling.
82488         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
82490         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
82492         * configure.in: Remove --with-elf and --enable-bounded options.
82493         Dont set base_machine for ia64.  More non-ELF conditions removed.
82494         Remove testing and setting of leading underscore information.
82495         * config.make.in (build-bounded): Set to no.
82496         * config.h.in: Remove NO_UNDERSCORES entry.
82497         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
82498         them.
82499         * csu/start.c: Remove !NO_UNDERSCORE code.
82500         * locale/localeinfo.h: Likewise.
82501         * sysdeps/generic/machine-gmon.h: Likewise.
82502         * sysdeps/generic/sysdep.h: Likewise.
82503         * sysdeps/i386/sysdep.h: Likewise.
82504         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
82505         * sysdeps/mach/sysdep.h: Likewise.
82506         * sysdeps/s390/s390-32/sysdep.h: Likewise.
82507         * sysdeps/s390/s390-64/sysdep.h: Likewise.
82508         * sysdeps/sh/sysdep.h: Likewise.
82509         * sysdeps/sparc/sparc32/alloca.S: Likewise.
82510         * sysdeps/unix/i386/sysdep.S: Likewise.
82511         * sysdeps/unix/sparc/start.c: Likewise.
82512         * sysdeps/unix/sparc/sysdep.S: Likewise.
82513         * sysdeps/unix/sparc/sysdep.h: Likewise.
82514         * sysdeps/unix/start.c: Likewise.
82515         * sysdeps/unix/x86_64/sysdep.S: Likewise.
82516         * sysdeps/x86_64/sysdep.h: Likewise.
82518 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
82520         [BZ #13553]
82521         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
82522         for non-gcc.
82523         * argp/argp-fmtstream.h: Use const instead __const.
82524         * argp/argp.h: Likewise.
82525         * assert/assert.h: Likewise.
82526         * bits/fenv.h: Likewise.
82527         * bits/sched.h: Likewise.
82528         * bits/sigset.h: Likewise.
82529         * bits/sigthread.h: Likewise.
82530         * catgets/nl_types.h: Likewise.
82531         * conform/data/pthread.h-data: Likewise.
82532         * crypt/crypt-private.h: Likewise.
82533         * crypt/crypt.h: Likewise.
82534         * crypt/crypt_util.c: Likewise.
82535         * ctype/ctype.h: Likewise.
82536         * debug/execinfo.h: Likewise.
82537         * debug/mbsnrtowcs_chk.c: Likewise.
82538         * debug/mbsrtowcs_chk.c: Likewise.
82539         * debug/wcsnrtombs_chk.c: Likewise.
82540         * debug/wcsrtombs_chk.c: Likewise.
82541         * debug/wcstombs_chk.c: Likewise.
82542         * dirent/dirent.h: Likewise.
82543         * dlfcn/dlfcn.h: Likewise.
82544         * elf/neededtest4.c: Likewise.
82545         * grp/grp.h: Likewise.
82546         * gshadow/gshadow.h: Likewise.
82547         * iconv/gconv.h: Likewise.
82548         * iconv/gconv_int.h: Likewise.
82549         * iconv/gconv_simple.c: Likewise.
82550         * iconv/iconv.h: Likewise.
82551         * iconv/loop.c: Likewise.
82552         * iconv/skeleton.c: Likewise.
82553         * include/aio.h: Likewise.
82554         * include/aliases.h: Likewise.
82555         * include/argz.h: Likewise.
82556         * include/arpa/inet.h: Likewise.
82557         * include/assert.h: Likewise.
82558         * include/dirent.h: Likewise.
82559         * include/dlfcn.h: Likewise.
82560         * include/execinfo.h: Likewise.
82561         * include/fcntl.h: Likewise.
82562         * include/fenv.h: Likewise.
82563         * include/glob.h: Likewise.
82564         * include/grp.h: Likewise.
82565         * include/libintl.h: Likewise.
82566         * include/mntent.h: Likewise.
82567         * include/netdb.h: Likewise.
82568         * include/pwd.h: Likewise.
82569         * include/rpc/netdb.h: Likewise.
82570         * include/sched.h: Likewise.
82571         * include/search.h: Likewise.
82572         * include/shadow.h: Likewise.
82573         * include/signal.h: Likewise.
82574         * include/stdio.h: Likewise.
82575         * include/stdlib.h: Likewise.
82576         * include/string.h: Likewise.
82577         * include/sys/socket.h: Likewise.
82578         * include/sys/stat.h: Likewise.
82579         * include/sys/statfs.h: Likewise.
82580         * include/sys/statvfs.h: Likewise.
82581         * include/sys/syslog.h: Likewise.
82582         * include/sys/time.h: Likewise.
82583         * include/sys/uio.h: Likewise.
82584         * include/time.h: Likewise.
82585         * include/unistd.h: Likewise.
82586         * include/utmp.h: Likewise.
82587         * include/wchar.h: Likewise.
82588         * include/wctype.h: Likewise.
82589         * inet/aliases.h: Likewise.
82590         * inet/arpa/inet.h: Likewise.
82591         * inet/netinet/ether.h: Likewise.
82592         * inet/netinet/in.h: Likewise.
82593         * intl/libintl.h: Likewise.
82594         * io/bits/fcntl2.h: Likewise.
82595         * io/fcntl.h: Likewise.
82596         * io/ftw.h: Likewise.
82597         * io/sys/poll.h: Likewise.
82598         * io/sys/stat.h: Likewise.
82599         * io/sys/statfs.h: Likewise.
82600         * io/sys/statvfs.h: Likewise.
82601         * io/utime.h: Likewise.
82602         * libio/bits/stdio.h: Likewise.
82603         * libio/bits/stdio2.h: Likewise.
82604         * libio/libio.h: Likewise.
82605         * libio/libioP.h: Likewise.
82606         * libio/stdio.h: Likewise.
82607         * locale/lc-ctype.c: Likewise.
82608         * locale/locale.h: Likewise.
82609         * login/utmp.h: Likewise.
82610         * malloc/arena.c: Likewise.
82611         * malloc/malloc.c: Likewise.
82612         * malloc/malloc.h: Likewise.
82613         * malloc/mcheck.c: Likewise.
82614         * malloc/mtrace.c: Likewise.
82615         * math/bits/mathcalls.h: Likewise.
82616         * math/fenv.h: Likewise.
82617         * math/math_private.h: Likewise.
82618         * misc/bits/error.h: Likewise.
82619         * misc/bits/syslog.h: Likewise.
82620         * misc/err.h: Likewise.
82621         * misc/error.h: Likewise.
82622         * misc/fstab.h: Likewise.
82623         * misc/mntent.h: Likewise.
82624         * misc/regexp.h: Likewise.
82625         * misc/search.h: Likewise.
82626         * misc/sgtty.h: Likewise.
82627         * misc/sys/mman.h: Likewise.
82628         * misc/sys/syslog.h: Likewise.
82629         * misc/sys/uio.h: Likewise.
82630         * misc/sys/xattr.h: Likewise.
82631         * misc/ttyent.h: Likewise.
82632         * nis/rpcsvc/ypclnt.h: Likewise.
82633         * nss/nss.h: Likewise.
82634         * posix/bits/unistd.h: Likewise.
82635         * posix/fnmatch.h: Likewise.
82636         * posix/glob.h: Likewise.
82637         * posix/sched.h: Likewise.
82638         * posix/spawn.h: Likewise.
82639         * posix/sys/wait.h: Likewise.
82640         * posix/unistd.h: Likewise.
82641         * posix/wordexp.h: Likewise.
82642         * pwd/pwd.h: Likewise.
82643         * resolv/netdb.h: Likewise.
82644         * resource/sys/resource.h: Likewise.
82645         * rt/aio.h: Likewise.
82646         * rt/bits/mqueue2.h: Likewise.
82647         * rt/mqueue.h: Likewise.
82648         * shadow/shadow.h: Likewise.
82649         * signal/signal.h: Likewise.
82650         * socket/send.c: Likewise.
82651         * socket/sendto.c: Likewise.
82652         * socket/sys/socket.h: Likewise.
82653         * stdio-common/printf.h: Likewise.
82654         * stdlib/bits/stdlib.h: Likewise.
82655         * stdlib/fmtmsg.h: Likewise.
82656         * stdlib/monetary.h: Likewise.
82657         * stdlib/stdlib.h: Likewise.
82658         * stdlib/ucontext.h: Likewise.
82659         * streams/stropts.h: Likewise.
82660         * string/argz.h: Likewise.
82661         * string/bits/string2.h: Likewise.
82662         * string/string.h: Likewise.
82663         * string/strings.h: Likewise.
82664         * sunrpc/rpc/auth.h: Likewise.
82665         * sunrpc/rpc/auth_des.h: Likewise.
82666         * sunrpc/rpc/clnt.h: Likewise.
82667         * sunrpc/rpc/netdb.h: Likewise.
82668         * sunrpc/rpc/pmap_clnt.h: Likewise.
82669         * sunrpc/rpc/xdr.h: Likewise.
82670         * sysdeps/generic/inttypes.h: Likewise.
82671         * sysdeps/generic/net/if.h: Likewise.
82672         * sysdeps/generic/sys/swap.h: Likewise.
82673         * sysdeps/gnu/net/if.h: Likewise.
82674         * sysdeps/gnu/utmpx.h: Likewise.
82675         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
82676         * sysdeps/i386/i486/bits/string.h: Likewise.
82677         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
82678         * sysdeps/s390/bits/string.h: Likewise.
82679         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
82680         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
82681         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
82682         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
82683         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
82684         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
82685         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
82686         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
82687         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
82688         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
82689         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
82690         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
82691         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
82692         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
82693         * sysdeps/unix/sysv/linux/readv.c: Likewise.
82694         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
82695         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
82696         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
82697         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
82698         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
82699         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
82700         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
82701         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
82702         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
82703         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
82704         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
82705         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
82706         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
82707         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
82708         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
82709         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
82710         * sysvipc/sys/ipc.h: Likewise.
82711         * sysvipc/sys/msg.h: Likewise.
82712         * sysvipc/sys/sem.h: Likewise.
82713         * sysvipc/sys/shm.h: Likewise.
82714         * termios/termios.h: Likewise.
82715         * time/sys/time.h: Likewise.
82716         * time/time.h: Likewise.
82717         * wcsmbs/bits/wchar2.h: Likewise.
82718         * wcsmbs/uchar.h: Likewise.
82719         * wcsmbs/wchar.h: Likewise.
82720         * wctype/wctype.h: Likewise.
82722         [BZ #13551]
82723         * Makeconfig: Remove all but ELF support including AIX support.
82724         * Makerules: Likewise.
82725         * config.h.in: Likewise.
82726         * config.make.in: Likewise.
82727         * configure: Likewise.
82728         * configure.in: Likewise.
82729         * csu/Makefile: Likewise.
82730         * csu/version.c: Likewise.
82731         * debug/Makefile: Likewise.
82732         * dlfcn/Makefile: Likewise.
82733         * elf/Makefile: Likewise.
82734         * extra-lib.mk: Likewise.
82735         * iconv/Makefile: Likewise.
82736         * include/libc-symbols.h: Likewise.
82737         * include/shlib-compat.h: Likewise.
82738         * resolv/Makefile: Likewise.
82739         * resolv/res_libc.c: Likewise.
82740         * rt/Makefile: Likewise.
82741         * sysdeps/i386/asm-syntax.h: Likewise.
82742         * sysdeps/i386/sysdep.h: Likewise.
82743         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
82744         * sysdeps/mach/sysdep.h: Likewise.
82745         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
82746         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
82747         * sysdeps/s390/asm-syntax.h: Likewise.
82748         * sysdeps/s390/s390-32/sysdep.h: Likewise.
82749         * sysdeps/s390/s390-64/sysdep.h: Likewise.
82750         * sysdeps/sh/sysdep.h: Likewise.
82751         * sysdeps/unix/sparc/sysdep.h: Likewise.
82752         * sysdeps/wordsize-32/divdi3.c: Likewise.
82753         * sysdeps/x86_64/sysdep.h: Likewise.
82755         * argp/Versions: Remove _argp_unlock_xxx.
82757         [BZ #13559]
82758         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
82759         * abilist/libBrokenLocale.abilist: Likewise.
82760         * abilist/libanl.abilist: Likewise.
82761         * abilist/libc.abilist: Likewise.
82762         * abilist/libcrypt.abilist: Likewise.
82763         * abilist/libdl.abilist: Likewise.
82764         * abilist/libm.abilist: Likewise.
82765         * abilist/libnsl.abilist: Likewise.
82766         * abilist/libpthread.abilist: Likewise.
82767         * abilist/libresolv.abilist: Likewise.
82768         * abilist/librt.abilist: Likewise.
82769         * abilist/libthread_db.abilist: Likewise.
82770         * abilist/libutil.abilist: Likewise.
82771         * abilist/libnss_db.abilist: New file.
82773         * scripts/abilist.awk: Add support for indirect functions.
82775         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
82777         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
82779         * shlib-versions: Remove entries for ports architectures.
82781         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
82782         files in ports.
82783         * elf/stackguard-macros.h: Remove support for IA-64.
82784         * elf/tst-auditmod1.c: Likewise.
82785         * sysdeps/generic/ldsodefs.h: Likewise.
82787         * sysdeps/unix/sysv/linux/configure.in: Ports should define
82788         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
82789         configure files.
82791         [BZ #13552]
82792         * configure.in: Remove --enable-omitfp support.
82793         * FAQ.in: Adjust.
82794         * config.make.in: Likewise.
82795         * Makeconfig: Likewise.
82796         * manual/install.texi: Likewise.
82798         In case anyone cares, the IA-64 architecture could move to ports.
82799         * sysdeps/ia64/*: Removed.
82800         * sysdeps/unix/sysv/linux/ia64/*: Removed.
82801         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
82803         [BZ #13555]
82804         * configure.in: Remove entries for unsupported architectures.
82806         [BZ #13533]
82807         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
82808         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
82809         routines.
82810         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
82811         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
82812         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
82813         fall back to using wcrtomb.
82814         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
82815         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
82816         renaming.
82817         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
82818         * wcsmbs/tst-c16c32-1.c: New file.
82820         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
82821         local variable.
82823         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
82825         * elf/tst-unique3.cc: Add explicit declaration of gets.
82826         * elf/tst-unique3lib.cc: Likewise.
82827         * elf/tst-unique3lib2.cc: Likewise.
82828         * elf/tst-unique4.cc: Likewise.
82830         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
82832 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
82834         [BZ #13566]
82835         * assert/assert.h (static_assert): Don't define for C++.
82836         * libio/stdio.h (gets): Do declare for C++ <= C++11.
82837         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
82839 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
82841         * iconv/loop.c (single loop): Fix assertion in storing of
82842         remaining bytes.
82844         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
82846 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
82848         * posix/getconf.c: Update copyright year.
82849         * nss/getent.c: Likewise.
82850         * nss/makedb.c: Likewise.
82851         * iconv/iconvconfig.c: Likewise.
82852         * iconv/iconv_prog.c: Likewise.
82853         * elf/ldconfig.c: Likewise.
82854         * elf/pldd.c: Likewise.
82855         * elf/sotruss.ksh: Likewise.
82856         * catgets/gencat.c: Likewise.
82857         * csu/version.c: Likewise.
82858         * elf/ldd.bash.in: Likewise.
82859         * elf/sprof.c (print_version): Likewise.
82860         * locale/programs/locale.c: Likewise.
82861         * locale/programs/localedef.c: Likewise.
82862         * login/programs/pt_chown.c: Likewise.
82863         * nscd/nscd.c (print_version): Likewise.
82864         * debug/xtrace.sh: Likewise.
82865         * malloc/memusage.sh: Likewise.
82866         * malloc/mtrace.pl: Likewise.
82867         * debug/catchsegv.sh: Likewise.
82869 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
82871         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
82872         pure attribute.
82874 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
82876         [BZ #13533]
82877         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
82878         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
82879         transformations.
82880         * iconv/gconv_int.h: Likewise.
82881         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
82882         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
82883         from libc for GLIBC_2.16.
82884         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
82885         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
82886         * wcsmbs/uchar.h: Really define mbstate_t.
82887         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
82888         * wcsmbs/c16rtomb.c: New file.
82889         * wcsmbs/mbrtoc16.c: New file.
82890         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
82891         for C/POSIX locale.
82892         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
82893         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
82895         * wcsmbs/wchar.h: Add missing __restrict.
82897 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
82899         [BZ #13532]
82900         * time/Makefile (routines): Add timespec_get.
82901         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
82902         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
82903         timespec for ISO C11.
82904         * time/timespec_get.c: New file.
82905         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
82906         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
82908         [BZ #13531]
82909         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
82910         * stdlib/stdlib.h: Declare aligned_alloc.
82911         * Versions.def: Add GLIBC_2.16 for libc.
82912         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
82914         [BZ 13527]
82915         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
82916         ISO C11.
82918         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
82919         code.
82921         [BZ #13528]
82922         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
82924         [BZ #13529]
82925         * assert/assert.h (static_assert): Define.
82927         * version.h: Update for 2.16 development version.
82929         [BZ #13526]
82930         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
82931         _ISOC11_SOURCE.
82933         * version.h (RELEASE): Bump for 2.15 release.
82934         * include/features.h (__GLIBC_MINOR__): Bump to 15.
82936         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
82937         Patch by Marek Polacek <mpolacek@redhat.com>.
82939         * bits/byteswap.h: Protect long long constants with __extension__.
82940         * sysdeps/i386/bits/byteswap.h: Likewise.
82941         * sysdeps/ia64/bits/byteswap.h: Likewise.
82942         * sysdeps/s390/bits/byteswap.h: Likewise.
82943         * sysdeps/x86_64/bits/byteswap.h: Likewise.
82945 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82947         [BZ #13540]
82948         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
82949         destination buffer.
82950         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
82952 2011-12-23  Marek Polacek  <polacek@redhat.com>
82954         * elf/dl-addr.c (determine_info): Add inline keyword.
82955         * elf/tst-auditmod4b.c (check_avx): Likewise.
82956         * elf/tst-auditmod6b.c (check_avx): Likewise.
82957         * elf/tst-auditmod6c.c (check_avx): Likewise.
82958         * elf/tst-auditmod7b.c (check_avx): Likewise.
82960 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
82962         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
82963         !__SSE_MATH__.
82965 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82967         [BZ #13540]
82968         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
82969         processing for last bytes.
82971 2011-08-06  Bruno Haible  <bruno@clisp.org>
82973         [BZ #13061]
82974         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
82975         U+0385, not to U+1FEE.
82977         [BZ #13062]
82978         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
82979         entry for U+00A5 U+0301.
82981 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
82983         [BZ #13166]
82984         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
82985         buffer for the output is too small.
82987         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
82988         optimization.
82990         [BZ #13185]
82991         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
82992         SSE flags if possible.
82994 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82996         [BZ #13540]
82997         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
82998         processing for last bytes.
83000 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
83002         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
83003         (syscall-list-default-options, syscall-list-default-condition)
83004         (syscall-list-includes): Define.
83005         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
83006         list of ABIs and options and #if conditions for each ABI.  Do not
83007         handle common syscalls between ABIs specially.
83008         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
83009         Remove.
83010         (syscall-list-variants, syscall-list-32bit-options)
83011         (syscall-list-32bit-condition, syscall-list-64bit-options)
83012         (syscall-list-64bit-condition): Define.
83013         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
83014         (syscall-list-variants, syscall-list-32bit-options)
83015         (syscall-list-32bit-condition, syscall-list-64bit-options)
83016         (syscall-list-64bit-condition): Define.
83017         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
83018         Remove.
83019         (syscall-list-variants, syscall-list-32bit-options)
83020         (syscall-list-32bit-condition, syscall-list-64bit-options)
83021         (syscall-list-64bit-condition): Define.
83022         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
83023         Remove.
83024         (syscall-list-variants, syscall-list-32bit-options)
83025         (syscall-list-32bit-condition, syscall-list-64bit-options)
83026         (syscall-list-64bit-condition): Define.
83028 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
83030         * locale/iso-639.def: Add brx entry.
83032         [BZ #13328]
83033         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
83034         Proposed by Mariusz_Cukr <marcukr@op.pl>.
83036         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
83037         __feraiseexcept_renamed.
83039 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
83041         [BZ #13538]
83042         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
83043         EPOLLET with unsigned values.
83044         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
83045         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
83047         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
83048         to large cancellation.
83049         * math/s_cacoshf.c: Likewise.
83050         * math/s_cacoshl.c: Likewise.
83052 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
83054         [BZ #13305]
83055         [BZ #12786]
83056         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
83057         * math/s_cacoshf.c: Likewise.
83058         * math/s_cacoshl.c: Likewise.
83060 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
83062         [BZ #13439]
83063         * iconv/gconv.h: Define __GCONV_SWAP.
83064         * iconvdata/unicode.c: The swap bit must be stored in __flags.
83065         * iconvdata/utf-16.c: Likewise.
83066         * iconvdata/utf-32.c: Likewise.
83068 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
83070         [BZ #13524]
83071         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
83072         numerator after shifting it by one limb.
83074 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
83076         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
83077         under [__USE_EXTERN_INLINES].
83079 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
83081         [BZ #13446]
83082         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
83084 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83086         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
83087         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
83088         optimized code.
83089         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
83090         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
83091         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
83092         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
83093         for strncasecmp/strncasecmp_l compilation.
83094         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
83095         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
83097 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
83099         [BZ #13484]
83100         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
83101         of __asm__.
83103 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
83105         [BZ #13506]
83106         * time/tzfile.c (__tzfile_read): Check values from file header.
83108 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
83110         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
83111         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
83112         * powerpc/powerpc32/dl-start.S: Likewise.
83113         * powerpc/powerpc32/elf/start.S: Likewise.
83114         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
83115         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
83116         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
83117         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
83118         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
83119         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
83120         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
83121         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
83122         * powerpc/powerpc32/fpu/s_round.S: Likewise.
83123         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
83124         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
83125         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
83126         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
83127         * powerpc/powerpc32/memset.S: Likewise.
83128         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
83129         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
83130         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
83131         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
83132         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
83133         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
83134         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
83135         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
83136         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
83137         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
83138         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
83139         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
83140         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
83142 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83144         * math/libm-test.inc: Added more nearbyint tests.
83145         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
83146         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
83147         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
83148         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
83150 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
83152         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
83153         FD_CLOEXEC.
83155 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83157         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
83158         Add wcscpy-ssse3 wcscpy-c.
83159         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
83160         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
83161         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
83162         * sysdeps/x86_64/wcschr.S: New file.
83163         * sysdeps/x86_64/wcsrchr.S: New file.
83164         * string/test-strcmp.c: Remove checking of wcscmp function for
83165         wrong alignments.
83166         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
83167         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
83168         wcsrchr-sse2 wcsrchr-c.
83169         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
83170         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
83171         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
83172         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
83173         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
83174         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
83175         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
83176         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
83177         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
83178         * wcsmbc/wcschr.c (WCSCHR): New macro.
83180 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83182         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
83183         * wcsmbs/test-wcsrchr.c: New file.
83184         * string/test-strrchr.c: Add wcsrchr support.
83185         (WIDE): New macro.
83186         * wcsmbs/test-wcscpy.c: New file.
83187         * string/test-strcpy.c: Add wcscpy support.
83188         (WIDE): New macro.
83190 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
83192         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
83193         the inner loop.
83195 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
83197         [BZ #13472]
83198         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
83200 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
83202         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
83203         Minor optimizations.
83205         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
83206         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
83207         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
83209 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
83211         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
83212         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
83213         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
83214         for gcc to avoid warnings.
83215         * inet/Makefile (tests): Add tst-checks.
83216         * inet/tst-checks.c: New file.
83218         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
83219         warning.
83221         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
83222         __wmemcmp_sse2.
83224         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
83225         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
83227         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
83229 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
83231         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
83232         problem.
83234         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
83236 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
83238         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
83239         conditional on GCC version.
83240         (__arch_compare_and_exchange_val_8_acq)
83241         (__arch_compare_and_exchange_val_16_acq)
83242         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
83243         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
83244         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
83246 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
83248         * sysdeps/sh/backtrace.c: New file.
83250 2011-12-02  Andreas Schwab  <schwab@redhat.com>
83252         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
83253         parenthesis.
83255 2011-12-01  Andreas Schwab  <schwab@redhat.com>
83257         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
83258         falling back to utime.
83260 2011-11-30  Andreas Schwab  <schwab@redhat.com>
83262         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
83263         expectations for float.
83265 2011-11-29  Andreas Schwab  <schwab@redhat.com>
83267         * locale/weight.h (findidx): Add parameter len.
83268         * locale/weightwc.h (findidx): Likewise.
83269         * posix/fnmatch_loop.c (FCT): Adjust caller.
83270         * posix/regcomp.c (build_equiv_class): Likewise.
83271         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
83272         * posix/regexec.c (check_node_accept_bytes): Likewise.
83273         * string/strcoll_l.c (STRCOLL): Likewise.
83274         * string/strxfrm_l.c (STRXFRM): Likewise.
83276 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
83278         * Makefile.in: Remove CVSOPT handling.
83279         * configure.in: Remove use of AC_REVISION.
83280         * iconvdata/Makefile (distribute): No need to filter out CVS.
83281         * scripts/list-sources.sh: Remove CVS, subversion and monotone
83282         handling.
83284 2011-11-16  Andreas Schwab  <schwab@redhat.com>
83286         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
83287         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
83288         [USE_AS_STRNCASECMP_L]: Likewise.
83289         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
83290         NO_TLS_DIRECT_SEG_REFS.
83291         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
83292         Fix argument offsets for non-PIC.
83293         [USE_AS_STRNCASECMP_L]: Likewise.
83294         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
83295         NO_TLS_DIRECT_SEG_REFS.
83297 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
83299         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
83300         O_CLOEXEC.
83301         * locale/loadlocale.c (_nl_load_locale): Likewise.
83303 2011-11-15  Andreas Schwab  <schwab@redhat.com>
83305         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
83306         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
83307         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
83308         (SYSCALL_GETTIME): Set errno on error.
83310         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
83311         count references to noai6ai_cached.
83313 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
83315         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
83317         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
83318         FD_CLOEXEC for /proc/self/maps.
83320         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
83321         FD_CLOEXEC for /proc/meminfo.
83323         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
83324         gai.conf.
83326         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
83327         FD_CLOEXEC for given file.
83329         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
83331         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
83332         FD_CLOEXEC for /etc/hosts.
83333         (_gethtent): Likewise.
83335         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
83337         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
83338         cancellation and set FD_CLOEXEC for /etc/netgroup.
83340         * nss/nss_files/files-key.c (search): Don't allow cancellation when
83341         reading /etc/publickey.
83343         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
83344         allow cancellation when reading /etc/group.
83346         * nss/nss_files/files-alias.c (internal_setent): Don't allow
83347         cancellation.
83348         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
83350         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
83351         when using data file.
83353         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
83355         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
83356         (write_nis_obj): Use "c" and "e" in fopen.
83358         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
83360         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
83362         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
83364         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
83366         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
83367         locale.alias.
83369         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
83371         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
83373         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
83375         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
83376         file parsing and set FD_CLOEXEC.
83378 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
83380         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
83382 2011-11-14  Andreas Schwab  <schwab@redhat.com>
83384         * malloc/arena.c (arena_get2): Don't call reused_arena when
83385         _int_new_arena failed.
83387 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
83389         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
83390         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
83391         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
83392         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
83393         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
83394         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
83395         to compile strcasecmp and strncasecmp.
83396         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
83397         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
83399         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
83401 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
83403         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
83404         locale-defines.sym to gen-as-const-headers.
83405         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
83406         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
83407         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
83408         to compile strcasecmp and strncasecmp.
83409         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
83410         strcasecmp_l and strncasecmp_l.
83411         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
83412         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
83413         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
83414         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
83415         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
83416         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
83417         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
83418         * sysdeps/i386/i686/multiarch/strncase.S: New file.
83419         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
83420         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
83421         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
83423 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
83425         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
83426         result of SYSDEP_GETTIME_CPU to retval.
83427         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
83428         parameter list to macro.  Remove trailing semicolon.  Adjust users.
83430         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
83431         variable.
83433         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
83434         mantissa words.
83435         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
83437         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
83438         from unused variable.
83440         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
83441         DWARF definitions.
83442         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
83443         for assembling.
83445         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
83446         over namespaces.
83448         * sunrpc/rpc_prot.c (rejected): Fix case value.
83450         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
83451         unsigned long long int to avoid warnings in shift.
83453         * posix/regex_internal.c (re_string_reconstruct): Actually use result
83454         of use of trans.
83455         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
83456         variable tmp.
83458         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
83459         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
83460         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
83462         * nis/nis_table.c (nis_list): Use variable of correct type for
83463         result of __follow_path call.
83465 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83467         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
83468         of math functions ceil, trunc, floor, round, and sqrt, when
83469         avaliable on the platform.
83470         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
83471         name clash.
83472         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
83473         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
83474         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
83476 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
83478         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
83479         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
83481 2011-11-11  Roland McGrath  <roland@hack.frob.com>
83483         * include/unistd.h: Fix __readlink return type.
83484         Reported by Chris Metcalf <cmetcalf@tilera.com>.
83486 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
83488         * stdlib/ucontext.h: Undo last change for makecontext.
83490 2011-11-11  Andreas Schwab  <schwab@redhat.com>
83492         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
83494         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
83495         * setjmp/setjmp.h: Mark functions as non-leaf.
83496         * setjmp/bits/setjmp2.h: Likewise.
83497         * stdlib/ucontext.h: Likewise.
83499 2011-11-10  Andreas Schwab  <schwab@redhat.com>
83501         * malloc/arena.c (_int_new_arena): Don't increment narenas.
83502         (reused_arena): Don't check arena limit.
83503         (arena_get2): Atomically check arena limit.
83505 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
83507         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
83508         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
83510         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
83511         instructions.
83513 2011-11-07  Andreas Schwab  <schwab@redhat.com>
83515         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
83516         handler when locking.
83518         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
83519         Fix size of allocated buffer.
83521 2011-11-04  Andreas Schwab  <schwab@redhat.com>
83523         [BZ #10103]
83524         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
83525         declarations for long double functions.
83526         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
83528         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
83530 2011-11-03  Andreas Schwab  <schwab@redhat.com>
83532         * nscd/nscd.c (main): Don't start AVC thread until credentials are
83533         installed.
83535         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
83536         is disabled.
83538 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83540         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
83542 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
83544         * include/alloca.h (stackinfo_alloca_round): Define.
83545         (extend_alloca): Use it.
83546         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
83547         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
83548         here.
83550         * scripts/check-local-headers.sh: Ignore libaudit.h.
83552         * nscd/Makefile (extra-objs): Make recursively expanded.
83554 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
83556         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
83557         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
83559         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
83560         * posix/tst-rfc3484-2.c: Likewise.
83561         * posix/tst-rfc3484-3.c: Likewise.
83563         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
83564         process_vm_writev.
83565         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
83566         process_vm_writev.
83567         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
83568         process_vm_writev from libc using GLIBC_2.15 version.
83570         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
83572 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
83574         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
83575         stack usage.
83577 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
83579         [BZ #13367]
83580         * nss/getent.c (initgroups_keys): Show error message in case no group
83581         names are given.
83583         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
83584         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
83585         __bump_nl_timestamp.
83586         * nscd/connections (nscd_init): When host database is served open
83587         netlink socket and request notification about configuration changes.
83588         (main_loop_poll): Track netlink file descriptor and bump timestamp
83589         in case data becomes available.
83590         (main_loop_epoll): Likewise.
83591         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
83592         (database_pers_head): Add extra_data fileds.
83593         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
83594         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
83595         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
83596         Adjust caller.
83597         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
83598         in6ai data, call __free_in6ai.
83599         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
83600         Add -DHAVE_NETLINK.
83601         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
83602         interface information.  Reuse previous data if netlink timestamp
83603         is not changed.
83604         (__bump_nl_timestamp): New function.
83605         (__free_in6ai): New function.
83607 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
83609         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
83610         close_not_cancel_no_status here.
83611         (__check_pf): Reorganize code a bit to not call close twice if OOM.
83613 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
83615         [BZ #13276]
83616         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
83617         return value.
83619         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
83620         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
83621         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
83623 2011-07-03  Andreas Jaeger  <aj@suse.de>
83625         [BZ #10709]
83626         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
83627         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
83628         * math/libm-test.inc (sin_test): Add test case.
83630 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
83632         [BZ #13337]
83633         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
83634         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
83636         * elf/chroot_canon.c (chroot_canon): Cleanups.
83638         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
83640         [BZ #13335]
83641         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
83642         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
83644         * string/test-strchr.c: Make usable for strchrnul testing.
83645         * string/test-strchrnul.c: New file.
83646         * string/Makefile (strop-tests): Add strchrnul.
83648         * po/it.po: Update from translation team.
83649         * po/es.po: Likewise.
83651 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
83653         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
83654         the three constants needed as parameters.  Drop the others.
83655         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
83656         __m128i_strloadu_tolower.
83657         Create and initialize variable zero and use it in all the places
83658         where _mm_setzero_si128 was used.
83660         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
83661         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
83662         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
83663         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
83664         anymore.
83665         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
83666         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
83667         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
83668         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
83669         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
83670         __mpranred, __mptan.
83671         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
83672         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
83673         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
83674         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
83675         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
83676         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
83677         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
83678         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
83679         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
83681 2011-10-28  Andreas Schwab  <schwab@redhat.com>
83683         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
83684         redefine if SHARED.
83685         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
83687         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
83688         wide char related routines to wcsmbs subdir.
83690 2011-10-27  Andreas Schwab  <schwab@redhat.com>
83692         [BZ #13344]
83693         * misc/sys/cdefs.h (__THROWNL): Define.
83694         * posix/unistd.h: Use __THREADNL instead of __THREAD
83695         for memory synchronization functions.
83697 2011-10-26  Roland McGrath  <roland@hack.frob.com>
83699         [BZ #13349]
83700         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
83701         doesn't exist.
83702         * manual/stdio.texi (Obstack Streams): Node removed.
83704 2011-10-26  Andreas Schwab  <schwab@redhat.com>
83706         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
83707         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
83708         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
83710         * math/math_private.h (math_force_eval): Allow non-addressable
83711         arguments.
83712         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
83714 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
83716         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
83717         file is not needed.
83719         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
83720         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
83721         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
83722         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
83723         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
83724         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
83725         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
83726         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
83727         Add AVX variants.
83728         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
83729         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
83730         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
83731         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
83732         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
83733         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
83734         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
83735         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
83736         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
83737         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
83738         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
83739         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
83740         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
83741         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
83742         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
83743         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
83744         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
83745         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
83746         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
83748         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
83749         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
83751         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
83752         place.  Use VEX encoding when compiling for AVX.
83754 2011-10-25  Andreas Schwab  <schwab@redhat.com>
83756         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
83757         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
83759         * string/test-strchr.c (do_test): Don't generate NUL bytes.
83761 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
83763         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
83764         useless if() expression.
83765         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
83766         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
83767         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
83768         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
83769         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
83770         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
83771         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
83772         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
83773         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
83774         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
83775         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
83776         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
83777         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
83778         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
83779         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
83780         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
83781         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
83782         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
83783         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
83785         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
83787 2011-10-25  Andreas Schwab  <schwab@redhat.com>
83789         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
83790         condition.
83791         * elf/dl-fini.c (_dl_sort_fini): Likewise.
83793 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
83795         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
83796         .text section.  Avoid duplicate constants.
83797         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
83798         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83799         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
83800         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83801         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
83802         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83803         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83804         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83805         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
83806         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
83807         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
83808         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
83809         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
83810         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
83811         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
83812         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
83813         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
83814         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
83815         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
83816         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
83817         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
83818         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
83819         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
83820         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
83821         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
83822         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
83823         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
83824         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
83825         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
83826         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
83827         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
83828         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
83829         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
83830         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
83831         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
83832         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
83833         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
83834         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
83835         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
83836         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
83837         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
83838         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
83839         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
83840         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
83841         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
83843 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
83845         * sysdeps/x86_64/dla.h: Move to ...
83846         * sysdeps/x86_64/fpu/dla.h: ...here.
83847         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
83848         situations.  Use __builtin_fma only for gcc 4.6 and up.
83850         * config.make.in: Add have-mfma4 entry.
83851         * configure.in: Substitute libc_cv_cc_fma4.
83852         * math/Makefile (dbl-only-routines): Add sincostab.
83853         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
83854         Use __sincostab not sincos.
83855         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
83856         name is a macro.
83857         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
83858         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83859         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83860         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
83861         using __copysign.
83862         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
83863         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
83864         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
83865         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
83866         and __inv.
83867         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
83868         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
83869         __copysign.
83870         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
83871         define aliases when function name is a macro.
83872         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
83873         sysdeps/ieee754/dbl-64/sincos.tbl.
83874         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
83875         fma4-enabled routines.
83876         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
83877         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
83878         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
83879         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
83880         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
83881         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
83882         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
83883         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
83884         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
83885         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
83886         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
83887         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
83888         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
83889         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
83890         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
83891         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
83892         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
83893         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
83894         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
83895         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
83896         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
83897         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
83898         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
83899         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
83900         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
83901         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
83902         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
83903         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
83904         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
83905         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
83907         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
83908         rename.
83909         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83910         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83911         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83912         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83913         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83914         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83915         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
83916         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
83918 2011-10-24  Andreas Schwab  <schwab@redhat.com>
83920         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
83922 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
83924         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
83926         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
83927         prediction.
83928         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
83930         * string/strnlen.c: Don't define STRNLEN, reverse logic.
83931         Remove unused variable magic_bits.
83932         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
83934         * string/strnlen.c: Define and use STRNLEN macro.
83935         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
83936         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
83937         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
83938         * wcsmbs/wcslen.c: Define and use WCSLEN.
83939         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
83940         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
83941         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
83942         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
83943         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
83944         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
83945         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
83947 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83949         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
83950         strnlen-sse2-no-bsf.
83951         Rename strlen-no-bsf to strlen-sse2-no-bsf.
83952         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
83953         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
83954         Add strnlen support.
83955         (USE_AS_STRNLEN): New macro.
83956         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
83957         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
83958         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
83959         * sysdeps/x86_64/wcslen.S: New file.
83961 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
83963         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
83964         XMM-moves are used for copying on small sizes.
83966 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83968         * wcsmbs/Makefile (strop-tests): Add wcschr.
83969         * wcsmbs/test-wcschr.c: New file.
83970         * string/test-strchr.c: Update.
83971         Add wcschr support.
83972         (WIDE): New macro.
83974 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83976         * wcsmbs/Makefile (strop-tests): Add wcslen.
83977         * wcsmbs/test-wcslen.c: New file.
83978         * string/test-strlen.c: Update.
83979         Add wcslen support.
83980         (WIDE): New macro.
83982 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
83984         * po/it.po: Update from translation team.
83986 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83988         * sysdeps/x86_64/wcscmp.S: Update.
83989         Fix wrong comparison semantics.
83990         wcscmp shall use signed comparison not unsigned.
83991         Don't use substraction to avoid overflow bug.
83992         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
83993         * wcsmbc/wcscmp.c: Likewise.
83994         * string/test-strcmp.c: Likewise.
83995         Add new tests to check cases with negative values.
83997 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
83999         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
84000         * sysdeps/x86_64/dla.h: ...here.  New file.
84001         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
84002         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84003         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84004         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84005         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84006         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
84007         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84008         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
84009         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
84011 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
84013         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
84014         __ynl_finite aliases.
84016 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
84018         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84020         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
84021         define DLA_FMA.
84022         [DLA_FMA] (EMULV): Use DLA_FMA.
84023         [DLA_FMA] (MUL12): Use EMULV.
84024         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
84025         that are not needed.
84026         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84027         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84028         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84029         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84030         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84031         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
84032         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
84034 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
84036         * math/s_nan.c: Undef __nan.
84037         * math/s_nanf.c: Undef __nanf.
84038         * math/s_nanl.c: Undef __nanl.
84039         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
84040         "math_private.h".
84042 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
84044         * math/s_catan.c: Add branch predictions.
84045         * math/s_catanf.c: Likewise.
84046         * math/s_catanh.c: Likewise.
84047         * math/s_catanhf.c: Likewise.
84048         * math/s_catanhl.c: Likewise.
84049         * math/s_catanl.c: Likewise.
84050         * math/s_cexp.c: Likewise.
84051         * math/s_cexpf.c: Likewise.
84052         * math/s_cexpl.c: Likewise.
84053         * math/s_clog.c: Likewise.
84054         * math/s_clog10.c: Likewise.
84055         * math/s_clog10f.c: Likewise.
84056         * math/s_clog10l.c: Likewise.
84057         * math/s_clogf.c: Likewise.
84058         * math/s_clogl.c: Likewise.
84059         * math/s_csqrt.c: Likewise.
84060         * math/s_csqrtf.c: Likewise.
84061         * math/s_csqrtl.c: Likewise.
84062         * math/s_ctanf.c: Likewise.
84063         * math/s_ctanh.c: Likewise.
84064         * math/s_ctanhf.c: Likewise.
84065         * math/s_ctanhl.c: Likewise.
84066         * math/s_ctanl.c: Likewise.
84068         * math/math_private.h: Define __nan, __nanf, __nanl.
84069         * math/s_cacosh.c: Include <math_private.h>.
84070         * math/s_cacoshl.c: Likewise.
84071         * math/s_casinh.c: Likewise.
84072         * math/s_casinhf.c: Likewise.
84073         * math/s_casinhl.c: Likewise.
84074         * math/s_ccos.c: Rely entire on ccosh.
84075         * math/s_ccosf.c: Rely entire on ccoshf.
84076         * math/s_ccosl.c: Rely entirely on ccoshl.
84077         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
84078         Remove tests for FE_INVALID.
84079         * math/s_ccoshf.c: Likewise.
84080         * math/s_ccoshl.c: Likewise.
84081         * math/s_csin.c: Likewise.
84082         * math/s_csinf.c: Likewise.
84083         * math/s_csinh.c Likewise.
84084         * math/s_csinhf.c: Likewise.
84085         * math/s_csinhl.c: Likewise.
84086         * math/s_csinl.c: Likewise.
84087         * math/s_ctan.c: Likewise.
84088         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
84089         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
84090         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
84092 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
84094         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
84095         compilation problems.
84097         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
84098         __builtin_expect.
84100 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
84102         * sysdeps/i386/configure.in: Test for -mfma4 option.
84103         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
84104         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
84105         COMMON_CPUID_INDEX_80000001.
84106         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
84107         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
84108         use it if FMA3 is not supported.
84109         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
84111         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
84112         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
84114 2011-10-20  Andreas Schwab  <schwab@redhat.com>
84116         [BZ #12892]
84117         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
84118         it would create a cycle with a link time dependency.
84120 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
84122         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
84123         instruction.
84124         * string/Makefile (strop-tests): Add rawmemchr.
84125         * string/test-rawmemchr.c: New file.
84127         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
84128         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
84129         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
84130         when compiling str{,n}casecmp and when AVX is available.  Hook up
84131         new optimized code in initializers.
84133 2011-10-19  Andreas Schwab  <schwab@redhat.com>
84135         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
84136         __feraiseexcept instead of feraiseexcept.
84138 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
84140         * math/math_private.h: Define defaults for libc_fetestexcept and
84141         libc_feupdateenv.
84142         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
84143         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
84144         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
84145         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
84146         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
84147         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
84148         libc_fetestexcept and libc_feupdateenv.
84150         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
84151         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
84152         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
84153         * sysdeps/x86_64/fpu/math_private.h: Define special version of
84154         libc_feholdexcept_setround.
84156         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
84157         Add s_nearbyint-c and s_nearbyintf-c.
84158         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
84159         nearbyintf inlines.
84160         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
84161         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
84162         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
84163         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
84165         * math/math_private.h: Define defaults for libc_fegetround,
84166         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
84167         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
84168         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
84169         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
84170         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
84171         standard functions.
84172         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
84173         Remove comments and hacks for old compiler versions.
84174         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
84175         libc_fegetround, libc_fesetround, libc_feholdexcept, and
84176         libc_feholdexceptl.
84178 2011-10-18  Andreas Schwab  <schwab@redhat.com>
84180         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
84181         (__feraiseexcept_renamed): Add __NTH.
84182         (feraiseexcept): Add __NTH.  Rename local variables to fix
84183         namespace violations.
84185 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
84187         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
84189         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
84191         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
84192         recently added interfaces.
84193         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
84195         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
84196         about macro parameter expansion.
84198         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
84199         __NO_MATH_INLINES is defined.  Cleanups.
84201         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
84202         and __floorf is target has SSE4.1.
84203         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
84204         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
84205         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
84206         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
84208         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
84209         name.
84210         (floorf): Likewise.
84212         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
84214 2011-10-17  Andreas Schwab  <schwab@redhat.com>
84216         * misc/sys/cdefs.h: Fix last change.
84218         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
84219         database lookup.
84221 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
84223         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
84225         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
84226         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
84227         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
84228         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
84229         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
84230         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
84231         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
84232         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
84233         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
84234         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
84235         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
84236         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
84237         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
84238         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
84239         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
84240         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
84241         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
84242         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
84243         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
84244         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
84245         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
84246         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
84248         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
84249         ceil, ceilf, floor, floorf.
84251         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
84252         Perform IRELATIVE relocations last.
84254         * elf/do-rel.h: Add another parameter nrelative, replacing the
84255         local variable with the same name.  Change name of the function
84256         to end in Rel or Rela (uppercase).
84257         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
84258         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
84259         elf_dynamic_do_##reloc function.
84261 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
84263         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
84264         is sufficient, at least on modern CPUs.
84266         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
84268         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
84269         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
84271         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
84272         __expl_finite.
84273         * math/bits/math-finite.h: Add entries for exp.
84274         * math/e_expl.c: Add __*_finite alias.
84275         * sysdeps/i386/fpu/e_exp.S: Likewise.
84276         * sysdeps/i386/fpu/e_expf.S: Likewise.
84277         * sysdeps/i386/fpu/e_expl.c: Likewise.
84278         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
84279         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
84280         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
84281         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
84282         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
84283         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
84284         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
84286         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
84287         is sufficient, at least on modern CPUs.
84289         * ctype/ctype-info.c (__ctype_init): Define.
84290         * include/ctype.h (__ctype_init): Declare.
84291         (__ctype_b_loc): The variable is always initialized.
84292         (__ctype_toupper_loc): Likewise.
84293         (__ctype_tolower_loc): Likewise.
84294         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
84295         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
84297 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
84299         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
84301         * configure.in: Also look in $cxxmachine/include for C++ system
84302         headers.
84304 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84306         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
84307         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
84308         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
84309         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
84310         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
84311         (USE_AS_WMEMCMP): New macro.
84312         Fixing indents.
84313         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
84314         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
84315         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
84316         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
84317         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84318         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
84319         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
84320         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
84321         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
84322         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
84323         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
84324         (USE_AS_WMEMCMP): New macro.
84325         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
84326         * sysdeps/string/test-memcmp.c: Update.
84327         Fix simple_wmemcmp.
84328         Add new tests.
84329         * wcsmbs/wmemcmp.c: Update.
84330         (WMEMCMP): New macro.
84331         Fix overflow bug.
84333 2011-10-12  Andreas Jaeger  <aj@suse.de>
84335         [BZ #13268]
84336         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
84338 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
84340         * libio/iofwide.c (do_length): Avoid warning.
84342         * ctype/ctype.h (__isctype_f): Add missing __THROW.
84344 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
84346         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
84348         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
84349         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
84350         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
84351         * sysdeps/i386/i686/fpu/e_log.S: New file.
84352         * sysdeps/i386/i686/fpu/e_logf.S: New file.
84353         * sysdeps/i386/i686/fpu/e_logl.S: New file.
84355         * ctype/ctype.h: Add support for inlined isXXX functions when
84356         compiling C++ code.
84358 2011-10-14  Andreas Schwab  <schwab@redhat.com>
84360         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
84362         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
84364 2011-10-13  Roland McGrath  <roland@hack.frob.com>
84366         [BZ #13291]
84367         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
84369 2011-10-13  Andreas Schwab  <schwab@redhat.com>
84371         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
84372         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
84373         feraiseexcept.
84375         * sysdeps/x86_64/memrchr.S: Check for zero size.
84377         * string/stratcliff.c: Add memrchr tests.
84379 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84381         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84382         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
84383         rawmemchr-sse2 rawmemchr-sse2-bsf.
84384         * sysdeps/i386/i686/multiarch/memchr.S: New file.
84385         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
84386         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
84387         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
84388         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
84389         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
84390         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
84391         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
84392         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
84393         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
84394         * string/memrchr.c (MEMRCHR): New macro.
84396 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
84398         Add integration with gcc's -ffinite-math-only and optimize wrapper
84399         functions in libm.
84400         * Versions.def: Define GLIBC_2.15 version for libm.
84401         * math/Makefile (headers): Add bits/math-finite.h.
84402         * math/bits/math-finite.h: New file.
84403         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
84404         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
84405         * math/e_acoshl.c: Add __*_finite alias.
84406         * math/e_acosl.c: Likewise.
84407         * math/e_asinl.c: Likewise.
84408         * math/e_atan2l.c: Likewise.
84409         * math/e_atanhl.c: Likewise.
84410         * math/e_coshl.c: Likewise.
84411         * math/e_exp10.c: Likewise.
84412         * math/e_exp10f.c: Likewise.
84413         * math/e_exp10l.c: Likewise.
84414         * math/e_exp2l.c: Likewise.
84415         * math/e_fmodl.c: Likewise.
84416         * math/e_gammal_r.c: Likewise.
84417         * math/e_hypotl.c: Likewise.
84418         * math/e_j0l.c: Likewise.
84419         * math/e_j1l.c: Likewise.
84420         * math/e_jnl.c: Likewise.
84421         * math/e_lgammal_r.c: Likewise.
84422         * math/e_log10l.c: Likewise.
84423         * math/e_log2l.c: Likewise.
84424         * math/e_logl.c: Likewise.
84425         * math/e_powl.c: Likewise.
84426         * math/e_sinhl.c: Likewise.
84427         * math/e_sqrtl.c: Likewise.
84428         * math/e_scalb.c: Completely rewritten and optimized.
84429         * math/e_scalbf.c: Likewise.
84430         * math/e_scalbl.c: Likewise.
84431         * math/w_acos.c: Likewise.
84432         * math/w_acosf.c: Likewise.
84433         * math/w_acosl.c: Likewise.
84434         * math/w_acosh.c: Likewise.
84435         * math/w_acoshf.c: Likewise.
84436         * math/w_acoshl.c: Likewise.
84437         * math/w_asin.c: Likewise.
84438         * math/w_asinf.c: Likewise.
84439         * math/w_asinl.c: Likewise.
84440         * math/w_atan2.c: Likewise.
84441         * math/w_atan2f.c: Likewise.
84442         * math/w_atan2l.c: Likewise.
84443         * math/w_atanh.c: Likewise.
84444         * math/w_atanhf.c: Likewise.
84445         * math/w_atanhl.c: Likewise.
84446         * math/w_exp10.c: Likewise.
84447         * math/w_exp10f.c: Likewise.
84448         * math/w_exp10l.c: Likewise.
84449         * math/w_fmod.c: Likewise.
84450         * math/w_fmodf.c: Likewise.
84451         * math/w_fmodl.c: Likewise.
84452         * math/w_j0.c: Likewise.
84453         * math/w_j0f.c: Likewise.
84454         * math/w_j0l.c: Likewise.
84455         * math/w_j1.c: Likewise.
84456         * math/w_j1f.c: Likewise.
84457         * math/w_j1l.c: Likewise.
84458         * math/w_jn.c: Likewise.
84459         * math/w_jnf.c: Likewise.
84460         * math/w_log.c: Likewise.
84461         * math/w_logf.c: Likewise.
84462         * math/w_logl.c: Likewise.
84463         * math/w_log10.c: Likewise.
84464         * math/w_log10f.c: Likewise.
84465         * math/w_log10l.c: Likewise.
84466         * math/w_log2.c: Likewise.
84467         * math/w_log2f.c: Likewise.
84468         * math/w_log2l.c: Likewise.
84469         * math/w_pow.c: Likewise.
84470         * math/w_powf.c: Likewise.
84471         * math/w_powl.c: Likewise.
84472         * math/w_remainder.c: Likewise.
84473         * math/w_remainderf.c: Likewise.
84474         * math/w_remainderl.c: Likewise.
84475         * math/w_scalb.c: Likewise.
84476         * math/w_scalbf.c: Likewise.
84477         * math/w_scalbl.c: Likewise.
84478         * math/w_sqrt.c: Likewise.
84479         * math/w_sqrtf.c: Likewise.
84480         * math/w_sqrtl.c: Likewise.
84481         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
84482         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
84483         used.
84484         * math/math_private.h: Declare __kernel_standard_f.
84485         * math/w_cosh.c: Remove cruft and optimize a bit.
84486         * math/w_coshf.c: Likewise.
84487         * math/w_coshl.c: Likewise.
84488         * math/w_exp2.c: Likewise.
84489         * math/w_exp2f.c: Likewise.
84490         * math/w_exp2l.c: Likewise.
84491         * math/w_hypot.c: Likewise.
84492         * math/w_hypotf.c: Likewise.
84493         * math/w_hypotl.c: Likewise.
84494         * math/w_lgamma.c: Likewise.
84495         * math/w_lgamma_r.c: Likewise.
84496         * math/w_lgammaf.c: Likewise.
84497         * math/w_lgammaf_r.c: Likewise.
84498         * math/w_lgammal.c: Likewise.
84499         * math/w_lgammal_r.c: Likewise.
84500         * math/w_sinh.c: Likewise.
84501         * math/w_sinhf.c: Likewise.
84502         * math/w_sinhl.c: Likewise.
84503         * math/w_tgamma.c: Likewise.
84504         * math/w_tgammaf.c: Likewise.
84505         * math/w_tgammal.c: Likewise.
84506         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
84507         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
84508         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
84509         Minor optimizations.  Pretty printing.  Remove cruft.
84510         * sysdeps/i386/fpu/e_acosf.S: Likewise.
84511         * sysdeps/i386/fpu/e_acosh.S: Likewise.
84512         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
84513         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
84514         * sysdeps/i386/fpu/e_acosl.c: Likewise.
84515         * sysdeps/i386/fpu/e_asin.S: Likewise.
84516         * sysdeps/i386/fpu/e_asinf.S: Likewise.
84517         * sysdeps/i386/fpu/e_atan2.S: Likewise.
84518         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
84519         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
84520         * sysdeps/i386/fpu/e_atanh.S: Likewise.
84521         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
84522         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
84523         * sysdeps/i386/fpu/e_exp10.S: Likewise.
84524         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
84525         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
84526         * sysdeps/i386/fpu/e_exp2.S: Likewise.
84527         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
84528         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
84529         * sysdeps/i386/fpu/e_fmod.S: Likewise.
84530         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
84531         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
84532         * sysdeps/i386/fpu/e_hypot.S: Likewise.
84533         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
84534         * sysdeps/i386/fpu/e_log.S: Likewise.
84535         * sysdeps/i386/fpu/e_log10.S: Likewise.
84536         * sysdeps/i386/fpu/e_log10f.S: Likewise.
84537         * sysdeps/i386/fpu/e_log10l.S: Likewise.
84538         * sysdeps/i386/fpu/e_log2.S: Likewise.
84539         * sysdeps/i386/fpu/e_log2f.S: Likewise.
84540         * sysdeps/i386/fpu/e_log2l.S: Likewise.
84541         * sysdeps/i386/fpu/e_logf.S: Likewise.
84542         * sysdeps/i386/fpu/e_logl.S: Likewise.
84543         * sysdeps/i386/fpu/e_pow.S: Likewise.
84544         * sysdeps/i386/fpu/e_powf.S: Likewise.
84545         * sysdeps/i386/fpu/e_powl.S: Likewise.
84546         * sysdeps/i386/fpu/e_remainder.S: Likewise.
84547         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
84548         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
84549         * sysdeps/i386/fpu/e_scalb.S: Likewise.
84550         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
84551         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
84552         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
84553         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
84554         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
84555         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
84556         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
84557         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84558         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
84559         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
84560         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
84561         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
84562         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
84563         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
84564         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
84565         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
84566         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
84567         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84568         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
84569         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
84570         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84571         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
84572         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
84573         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
84574         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84575         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
84576         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
84577         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
84578         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
84579         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
84580         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
84581         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
84582         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
84583         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
84584         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
84585         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
84586         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
84587         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
84588         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
84589         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
84590         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
84591         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
84592         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
84593         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
84594         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
84595         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
84596         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
84597         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
84598         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
84599         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
84600         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
84601         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
84602         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
84603         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
84604         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
84605         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
84606         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
84607         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
84608         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
84609         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
84610         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
84611         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
84612         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
84613         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
84614         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
84615         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
84616         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
84617         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
84618         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
84619         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
84620         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
84621         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
84622         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
84623         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
84624         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
84625         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
84626         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
84627         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
84628         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
84629         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
84630         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
84631         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
84632         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
84633         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
84634         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
84635         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
84636         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
84637         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
84638         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
84639         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
84640         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
84641         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
84642         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
84643         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
84644         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
84645         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
84646         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
84647         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
84648         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
84649         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
84650         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
84651         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
84652         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
84653         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
84654         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
84655         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
84656         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
84657         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
84658         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
84659         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
84660         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
84661         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
84662         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
84663         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
84664         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
84665         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
84666         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
84667         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
84668         (__isnanf): Likewise.
84669         (__isinf_ns): Likewise.
84670         (__isinf_nsf): Likewise.
84671         (__finite): Likewise.
84672         (__finitef): Likewise.
84673         (__ieee754_sqrt): Define as macro.
84674         (__ieee754_sqrtf): Define as macro.
84675         (__ieee754_sqrtl): Define as macro.
84676         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
84677         inlined copy.
84678         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
84679         __FINITE_MATH_ONLY__ consistent.
84680         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
84682 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
84684         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
84685         of rawmemchr.
84687         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
84689 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
84691         * po/ja.po: Update from translation team.
84693 2011-10-08  Roland McGrath  <roland@hack.frob.com>
84695         * locale/programs/locarchive.c (prepare_address_space): New function.
84696         (create_archive, enlarge_archive, open_archive): Use it.
84698         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
84699         inside [SHARED], where it is used.
84701         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
84703         * nss/getent.c (netgroup_keys): Remove unused variable.
84704         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
84706 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
84708         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
84709         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
84710         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
84711         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
84712         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
84713         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
84714         * math/Makefile (libm-calls): Add s_isinf_ns.
84715         * math/divtc3.c: Use __isinf_nsl instead of isinf.
84716         * math/multc3.c: Likewise.
84717         * math/s_casin.c: Likewise.
84718         * math/s_casinf.c: Likewise.
84719         * math/s_casinl.c: Likewise.
84720         * math/s_ccos.c: Likewise.
84721         * math/s_ccosf.c: Likewise.
84722         * math/s_ccosl.c: Likewise.
84723         * math/s_ctan.c: Likewise.
84724         * math/s_ctanf.c: Likewise.
84725         * math/s_ctanh.c: Likewise.
84726         * math/s_ctanhf.c: Likewise.
84727         * math/s_ctanhl.c: Likewise.
84728         * math/s_ctanl.c: Likewise.
84729         * math/w_fmod.c: Likewise.
84730         * math/w_fmodf.c: Likewise.
84731         * math/w_fmodl.c: Likewise.
84732         * math/w_remainder.c: Likewise.
84733         * math/w_remainderf.c: Likewise.
84734         * math/w_remainderl.c: Likewise.
84735         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
84736         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
84737         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
84738         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
84739         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
84740         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
84741         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
84742         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
84744         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
84745         of the number.
84746         * stdio-common/printf_fphex.c: Likewise.
84747         * stdio-common/printf_size.c: Likewise.
84749         * math/e_exp10.c: Include math_private.h using <...> not "...".
84750         * math/e_exp10f.c: Likewise.
84751         * math/e_exp10l.c: Likewise.
84752         * math/e_exp2l.c: Likewise.
84753         * math/e_j0l.c: Likewise.
84754         * math/e_j1l.c: Likewise.
84755         * math/e_jnl.c: Likewise.
84756         * math/e_lgammal_r.c: Likewise.
84757         * math/e_rem_pio2l.c: Likewise.
84758         * math/e_scalb.c: Likewise.
84759         * math/e_scalbf.c: Likewise.
84760         * math/e_scalbl.c: Likewise.
84761         * math/k_cosl.c: Likewise.
84762         * math/k_sinl.c: Likewise.
84763         * math/k_tanl.c: Likewise.
84764         * math/s_cacoshf.c: Likewise.
84765         * math/s_catan.c: Likewise.
84766         * math/s_catanf.c: Likewise.
84767         * math/s_catanh.c: Likewise.
84768         * math/s_catanhf.c: Likewise.
84769         * math/s_catanhl.c: Likewise.
84770         * math/s_catanl.c: Likewise.
84771         * math/s_ccosh.c: Likewise.
84772         * math/s_ccoshf.c: Likewise.
84773         * math/s_ccoshl.c: Likewise.
84774         * math/s_cexp.c: Likewise.
84775         * math/s_cexpf.c: Likewise.
84776         * math/s_cexpl.c: Likewise.
84777         * math/s_clog.c: Likewise.
84778         * math/s_clog10.c: Likewise.
84779         * math/s_clog10f.c: Likewise.
84780         * math/s_clog10l.c: Likewise.
84781         * math/s_clogf.c: Likewise.
84782         * math/s_clogl.c: Likewise.
84783         * math/s_csin.c: Likewise.
84784         * math/s_csinf.c: Likewise.
84785         * math/s_csinh.c: Likewise.
84786         * math/s_csinhf.c: Likewise.
84787         * math/s_csinhl.c: Likewise.
84788         * math/s_csinl.c: Likewise.
84789         * math/s_csqrt.c: Likewise.
84790         * math/s_csqrtf.c: Likewise.
84791         * math/s_csqrtl.c: Likewise.
84792         * math/s_ctan.c: Likewise.
84793         * math/s_ctanf.c: Likewise.
84794         * math/s_ctanh.c: Likewise.
84795         * math/s_ctanhf.c: Likewise.
84796         * math/s_ctanhl.c: Likewise.
84797         * math/s_ctanl.c: Likewise.
84798         * math/s_ldexp.c: Likewise.
84799         * math/s_ldexpf.c: Likewise.
84800         * math/s_ldexpl.c: Likewise.
84801         * math/s_significand.c: Likewise.
84802         * math/s_significandf.c: Likewise.
84803         * math/s_significandl.c: Likewise.
84804         * math/w_acos.c: Likewise.
84805         * math/w_acosf.c: Likewise.
84806         * math/w_acosh.c: Likewise.
84807         * math/w_acoshf.c: Likewise.
84808         * math/w_acoshl.c: Likewise.
84809         * math/w_acosl.c: Likewise.
84810         * math/w_asin.c: Likewise.
84811         * math/w_asinf.c: Likewise.
84812         * math/w_asinl.c: Likewise.
84813         * math/w_atan2.c: Likewise.
84814         * math/w_atan2f.c: Likewise.
84815         * math/w_atan2l.c: Likewise.
84816         * math/w_atanh.c: Likewise.
84817         * math/w_atanhf.c: Likewise.
84818         * math/w_atanhl.c: Likewise.
84819         * math/w_cosh.c: Likewise.
84820         * math/w_coshf.c: Likewise.
84821         * math/w_coshl.c: Likewise.
84822         * math/w_dremf.c: Likewise.
84823         * math/w_exp10.c: Likewise.
84824         * math/w_exp10f.c: Likewise.
84825         * math/w_exp10l.c: Likewise.
84826         * math/w_exp2.c: Likewise.
84827         * math/w_exp2f.c: Likewise.
84828         * math/w_fmod.c: Likewise.
84829         * math/w_fmodf.c: Likewise.
84830         * math/w_fmodl.c: Likewise.
84831         * math/w_hypot.c: Likewise.
84832         * math/w_hypotf.c: Likewise.
84833         * math/w_hypotl.c: Likewise.
84834         * math/w_j0.c: Likewise.
84835         * math/w_j0f.c: Likewise.
84836         * math/w_j0l.c: Likewise.
84837         * math/w_j1.c: Likewise.
84838         * math/w_j1f.c: Likewise.
84839         * math/w_j1l.c: Likewise.
84840         * math/w_jn.c: Likewise.
84841         * math/w_jnf.c: Likewise.
84842         * math/w_jnl.c: Likewise.
84843         * math/w_lgamma.c: Likewise.
84844         * math/w_lgamma_r.c: Likewise.
84845         * math/w_lgammaf.c: Likewise.
84846         * math/w_lgammaf_r.c: Likewise.
84847         * math/w_lgammal.c: Likewise.
84848         * math/w_lgammal_r.c: Likewise.
84849         * math/w_log.c: Likewise.
84850         * math/w_log10.c: Likewise.
84851         * math/w_log10f.c: Likewise.
84852         * math/w_log10l.c: Likewise.
84853         * math/w_log2.c: Likewise.
84854         * math/w_log2f.c: Likewise.
84855         * math/w_log2l.c: Likewise.
84856         * math/w_logf.c: Likewise.
84857         * math/w_logl.c: Likewise.
84858         * math/w_pow.c: Likewise.
84859         * math/w_powf.c: Likewise.
84860         * math/w_powl.c: Likewise.
84861         * math/w_remainder.c: Likewise.
84862         * math/w_remainderf.c: Likewise.
84863         * math/w_remainderl.c: Likewise.
84864         * math/w_scalb.c: Likewise.
84865         * math/w_scalbf.c: Likewise.
84866         * math/w_scalbl.c: Likewise.
84867         * math/w_sinh.c: Likewise.
84868         * math/w_sinhf.c: Likewise.
84869         * math/w_sinhl.c: Likewise.
84870         * math/w_sqrt.c: Likewise.
84871         * math/w_sqrtf.c: Likewise.
84872         * math/w_sqrtl.c: Likewise.
84873         * math/w_tgamma.c: Likewise.
84874         * math/w_tgammaf.c: Likewise.
84875         * math/w_tgammal.c: Likewise.
84877         * po/ja.po: Update from translation team.
84879 2011-09-29  Andreas Jaeger  <aj@suse.de>
84881         [BZ #13179]
84882         * sunrpc/netname.c (netname2host): Fix logic.
84884         [BZ #6779]
84885         [BZ #6783]
84886         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
84887         correctly.
84888         * math/w_remainder.c (__remainder): Likewise.
84889         * math/w_remainderf.c (__remainderf): Likewise.
84890         * math/libm-test.inc (remainder_test): Add test cases.
84892 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
84894         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
84895         sdiv_qrnnd.
84897 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
84899         * string/test-memcmp.c: Avoid unncessary #defines.
84900         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
84902 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84904         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
84905         Use new sse2 version for core i3 - i7 as it's faster
84906         than sse42 version.
84907         (bit_Prefer_PMINUB_for_stringop): New.
84908         * sysdeps/x86_64/rawmemchr.S: Update.
84909         Replace with faster SSE2 version.
84910         * sysdeps/x86_64/memrchr.S: New file.
84911         * sysdeps/x86_64/memchr.S: Update.
84912         Replace with faster SSE2 version.
84914 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
84916         * elf/dl-load.c (lose): Add cast to avoid warning.
84918 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
84920         * po/ca.po: Update from translation team.
84922         * inet/getnetgrent_r.c: Hook up nscd.
84923         * nscd/Makefile (routines): Add nscd_netgroup.
84924         (nscd-modules): Add netgroupcache.
84925         (CFLAGS-netgroupcache.c): Define.
84926         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
84927         (cache_search): Add const to second parameter.
84928         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
84929         INNETGR.
84930         (dbs): Add netgrdb entry.
84931         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
84932         (verify_persistent_db): Handle netgrdb.
84933         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
84934         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
84935         GETFDNETGR.
84936         (netgroup_response_header): Define.
84937         (innetgroup_response_header): Define.
84938         (datahead): Add netgroup_response_header and innetgroup_response_header
84939         elements.
84940         * nscd/nscd.conf: Add entries for netgroup cache.
84941         * nscd/nscd.h (dbtype): Add netgrdb.
84942         (_PATH_NSCD_NETGROUP_DB): Define.
84943         (netgroup_iov_disabled): Declare.
84944         (xmalloc, xcalloc, xrealloc): Move declarations here.
84945         (cache_search): Adjust prototype.
84946         Add netgroup-related prototypes.
84947         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
84948         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
84949         (__nscd_innetgr): Declare.
84950         * nscd/selinux.c (perms): Use access_vector_t as element type and
84951         add netgroup-related initializers.
84952         * nscd/netgroupcache.c: New file.
84953         * nscd/nscd_netgroup.c: New file.
84954         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
84955         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
84956         For four parameters use innetgr.
84957         * nss/nss_files/files-init.c: Add definition and callback for netgr.
84958         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
84959         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
84960         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
84962         * nscd/connections.c (register_traced_file): Don't register file
84963         for disabled databases.
84965 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
84967         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
84969         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
84970         from tree and freeing node.
84972 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
84974         * nss/nsswitch.c (__nss_database_lookup): Handle
84975         nss_parse_service_list out of memory case.
84977 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
84979         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
84980         out of memory case.
84982 2011-10-04  Andreas Schwab  <schwab@redhat.com>
84984         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
84985         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
84986         pass it down.
84987         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
84988         elf_machine_rela, elf_machine_lazy_rel.
84989         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
84990         (ELF_DYNAMIC_DO_REL): Likewise.
84991         (ELF_DYNAMIC_DO_RELA): Likewise.
84992         (ELF_DYNAMIC_RELOCATE): Likewise.
84993         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
84994         to ELF_DYNAMIC_DO_REL.
84995         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
84996         (dl_main): In trace mode always set __RTLD_NOIFUNC.
84997         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
84998         elf_machine_rela.
84999         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
85000         skip_ifunc, don't call ifunc function if non-zero.
85001         (elf_machine_rela): Likewise.
85002         (elf_machine_lazy_rel): Likewise.
85003         (elf_machine_lazy_rela): Likewise.
85004         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
85005         (elf_machine_lazy_rel): Likewise.
85006         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
85007         Likewise.
85008         (elf_machine_lazy_rel): Likewise.
85009         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
85010         Likewise.
85011         (elf_machine_lazy_rel): Likewise.
85012         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
85013         (elf_machine_lazy_rel): Likewise.
85014         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
85015         (elf_machine_lazy_rel): Likewise.
85016         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
85017         (elf_machine_lazy_rel): Likewise.
85018         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
85019         (elf_machine_lazy_rel): Likewise.
85020         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
85021         (elf_machine_lazy_rel): Likewise.
85022         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
85023         (elf_machine_lazy_rel): Likewise.
85025 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
85027         * nss/nss_files/files-init.c (_nss_files_init): Use static
85028         initialization for all the *_traced_file variables.
85030 2011-09-28  Andreas Schwab  <schwab@redhat.com>
85032         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
85034 2011-09-27  Roland McGrath  <roland@hack.frob.com>
85036         [BZ #13226]
85037         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
85039 2011-09-27  Andreas Schwab  <schwab@redhat.com>
85041         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
85042         Reread the line before reparsing it.
85044 2011-09-26  Andreas Schwab  <schwab@redhat.com>
85046         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
85048 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
85049             Maxim Kuvyrkov  <maxim@codesourcery.com>
85050             Joseph Myers  <joseph@codesourcery.com>
85052         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
85053         if needed for __stack_chk_guard.
85055 2011-09-19  Roland McGrath  <roland@hack.frob.com>
85057         * sysdeps/posix/spawni.c (script_execute): Always define it.
85058         It will be optimized away if unused.
85059         (maybe_script_execute): New function.
85060         (__spawni): Call it.
85062         * Makerules: Don't include tls.make.
85063         (config-tls): Always set to thread.
85064         * tls.make.c: File removed.
85066 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
85068         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
85069         * config.make.in (CPPFLAGS-config): New substituted variable.
85071 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
85073         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
85075         [BZ #13192]
85076         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
85077         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
85079 2011-09-15  Roland McGrath  <roland@hack.frob.com>
85081         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
85082         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
85083         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
85084         (CALL_FAIL): Likewise.
85085         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
85086         (CALL_FAIL): Macro removed.
85087         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
85089 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
85091         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
85092         for __FINITE_MATH_ONLY__ == 1.
85094 2011-09-15  Andreas Schwab  <schwab@redhat.com>
85096         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
85097         __ieee754_sqrt instead of sqrt.
85098         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
85099         __ieee754_sqrtf instead of sqrtf.
85100         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
85101         __floorf instead of floorf.
85102         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
85103         __floorf, __truncf instead of floorf, truncf.
85105 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
85107         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
85109         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
85110         __extern_always_inline.
85111         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
85112         32-bit.
85114 2011-09-14  Andreas Schwab  <schwab@redhat.com>
85116         * elf/rtld.c (dl_main): Also relocate in dependency order when
85117         doing symbol dependency testing.
85119 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
85121         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
85122         Always define `refsym'.
85124 2011-09-13  Andreas Schwab  <schwab@redhat.com>
85126         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
85127         (__FD_ELT): Renamed from __FDELT.
85128         * misc/bits/select2.h (__FD_ELT): Likewise.
85129         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
85130         __FD_MASK instead of __FDELT, __FDMASK.
85131         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
85132         Likewise.
85133         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
85134         Likewise.
85136         * elf/Makefile (gen-ldd): Fix pattern.
85138         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
85139         (init_tls): Likewise.
85141 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
85143         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
85145 2011-09-12  Andreas Schwab  <schwab@redhat.com>
85147         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
85148         `struct cmsghdr *' instead of `void *'.
85149         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
85150         Likewise.
85152 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
85154         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
85155         if non-absolute.
85156         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
85157         ldd_rewrite_script.
85159 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
85161         * configure.in: Remove --with-tls option.
85162         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
85163         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
85164         out in case it is missing.
85165         * sysdeps/ia64/elf/configure.in: Likewise.
85166         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
85167         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
85168         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
85169         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
85170         * sysdeps/sh/elf/configure.in: Likewise.
85171         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
85172         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
85173         * sysdeps/x86_64/elf/configure.in: Likewise.
85174         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
85175         * sysdeps/mach/hurd/tls.h: Likewise.
85177         [BZ #13067]
85178         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
85180         [BZ #13090]
85181         * configure.in: Fix use of AC_INIT.
85183         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
85185 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
85187         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
85188         __set_errno.
85189         * malloc/hooks.c: Likewise.
85191         [BZ #11929]
85192         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
85193         variables statically.
85194         (narenas): Initialize.
85195         (list_lock): Initialize.
85196         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
85197         initializtion of main_arena and list_lock.  Small cleanups.
85198         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
85199         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
85200         Add initializers to main_arena and mp_.
85201         (malloc_state): Remove pagesize member.  Change all users to use
85202         GLRO(dl_pagesize).
85204         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
85205         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
85206         is always initialized.
85208         * malloc/malloc.c: Removed unused configurations and dead code.
85209         * malloc/arena.c: Likewise.
85210         * malloc/hooks.c: Likewise.
85211         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
85213         * include/tls.h: Removed.  USE___THREAD must always be defined.
85214         * bits/libc-tsd.h: Don't handle !USE___THREAD.
85215         * elf/dl-libc.c: Likewise.
85216         * elf/dl-tsd.c: Likewise.
85217         * include/errno.h: Likewise.
85218         * include/netdb.h: Likewise.
85219         * include/resolv.h: Likewise.
85220         * inet/herrno-loc.c: Likewise.
85221         * inet/herrno.c: Likewise.
85222         * malloc/arena.c: Likewise.
85223         * malloc/hooks.c: Likewise.
85224         * malloc/malloc.c: Likewise.
85225         * resolv/res-state.c: Likewise.
85226         * resolv/res_libc.c: Likewise.
85227         * sysdeps/i386/dl-machine.h: Likewise.
85228         * sysdeps/ia64/dl-machine.h: Likewise.
85229         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
85230         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
85231         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
85232         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
85233         * sysdeps/sh/dl-machine.h: Likewise.
85234         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
85235         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
85236         * sysdeps/unix/i386/sysdep.S: Likewise.
85237         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
85238         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
85239         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
85240         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
85241         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
85242         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
85243         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
85244         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
85245         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
85246         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
85247         * sysdeps/unix/x86_64/sysdep.S: Likewise.
85248         * sysdeps/x86_64/dl-machine.h: Likewise.
85249         * tls.make.c: Likewise.
85251         * configure.in: Remove --with-__thread option.  Make tests for
85252         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
85253         tls_model attribute fail if no support is available.  Remove
85254         USE_IN_LIBIO.
85255         * Makeconfig: Adjust for dropped configure option.  All features are
85256         now mandatory.
85257         * Makerules: Likewise.
85258         * Versions.def: Likewise.
85259         * argp/argp-fmtstream.c: Likewise.
85260         * argp/argp-fmtstream.h: Likewise.
85261         * argp/argp-help.c: Likewise.
85262         * assert/assert.c: Likewise.
85263         * config.h.in: Likewise.
85264         * config.make.in: Likewise.
85265         * configure: Likewise.
85266         * configure.in: Likewise.
85267         * csu/Versions: Likewise.
85268         * csu/init.c: Likewise.
85269         * elf/tst-audit2.c: Likewise.
85270         * elf/tst-tls10.c: Likewise.
85271         * elf/tst-tls10.h: Likewise.
85272         * elf/tst-tls11.c: Likewise.
85273         * elf/tst-tls12.c: Likewise.
85274         * elf/tst-tls14.c: Likewise.
85275         * elf/tst-tlsmod11.c: Likewise.
85276         * elf/tst-tlsmod12.c: Likewise.
85277         * elf/tst-tlsmod13.c: Likewise.
85278         * elf/tst-tlsmod13a.c: Likewise.
85279         * elf/tst-tlsmod14a.c: Likewise.
85280         * elf/tst-tlsmod15b.c: Likewise.
85281         * elf/tst-tlsmod16a.c: Likewise.
85282         * elf/tst-tlsmod16b.c: Likewise.
85283         * elf/tst-tlsmod7.c: Likewise.
85284         * elf/tst-tlsmod8.c: Likewise.
85285         * elf/tst-tlsmod9.c: Likewise.
85286         * gmon/gmon.c: Likewise.
85287         * grp/fgetgrent_r.c: Likewise.
85288         * grp/putgrent.c: Likewise.
85289         * hurd/fopenport.c: Likewise.
85290         * include/libc-symbols.h: Likewise.
85291         * include/tls.h: Likewise.
85292         * intl/gettextP.h: Likewise.
85293         * intl/loadinfo.h: Likewise.
85294         * locale/global-locale.c: Likewise.
85295         * locale/localeinfo.h: Likewise.
85296         * mach/devstream.c: Likewise.
85297         * malloc/arena.c: Likewise.
85298         * malloc/set-freeres.c: Likewise.
85299         * misc/err.c: Likewise.
85300         * misc/getttyent.c: Likewise.
85301         * misc/mntent_r.c: Likewise.
85302         * posix/getopt.c: Likewise.
85303         * posix/wordexp.c: Likewise.
85304         * pwd/fgetpwent_r.c: Likewise.
85305         * resolv/Versions: Likewise.
85306         * resolv/res_hconf.c: Likewise.
85307         * shadow/fgetspent_r.c: Likewise.
85308         * shadow/putspent.c: Likewise.
85309         * stdio-common/printf_fphex.c: Likewise.
85310         * stdio-common/tmpfile.c: Likewise.
85311         * stdlib/abort.c: Likewise.
85312         * stdlib/fmtmsg.c: Likewise.
85313         * sunrpc/auth_unix.c: Likewise.
85314         * sunrpc/clnt_perr.c: Likewise.
85315         * sunrpc/clnt_tcp.c: Likewise.
85316         * sunrpc/clnt_udp.c: Likewise.
85317         * sunrpc/clnt_unix.c: Likewise.
85318         * sunrpc/openchild.c: Likewise.
85319         * sunrpc/svc_simple.c: Likewise.
85320         * sunrpc/svc_tcp.c: Likewise.
85321         * sunrpc/svc_udp.c: Likewise.
85322         * sunrpc/svc_unix.c: Likewise.
85323         * sunrpc/xdr.c: Likewise.
85324         * sunrpc/xdr_array.c: Likewise.
85325         * sunrpc/xdr_rec.c: Likewise.
85326         * sunrpc/xdr_ref.c: Likewise.
85327         * sunrpc/xdr_stdio.c: Likewise.
85329 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
85331         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
85333 2011-07-03  Andreas Jaeger  <aj@suse.de>
85335         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
85336         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
85337         regenerate with gen-libm-tests.pl.
85339 2010-05-12  Petr Baudis  <pasky@suse.cz>
85341         [BZ #11589]
85342         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
85343         around j0() zero points by switching to j1().
85344         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
85345         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
85346         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
85347         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
85349 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
85351         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
85352         instead of 0.
85353         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
85354         instead of 0.
85355         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
85356         Patch in part by Pavel Roskin <proski@gnu.org>.
85358         [BZ #13138]
85359         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
85360         realloc.
85361         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
85362         Free memory block if necessary.
85364         [BZ #12847]
85365         * libio/genops.c (INTDEF): For string streams the _lock pointer can
85366         be NULL.  Don't lock in this case.
85368 2011-09-09  Roland McGrath  <roland@hack.frob.com>
85370         * elf/elf.h (ELFOSABI_GNU): New macro.
85371         (ELFOSABI_LINUX): Define to that.
85373 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
85375         * string/strncat.c (strncat): Undef the symbol in case it has been
85376         defined in bits/string.h.
85378 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
85380         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
85382         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
85383         link map.
85385 2011-08-17  Andreas Jaeger  <aj@suse.de>
85387         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
85389 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
85390             Ian Lance Taylor  <iant@google.com>
85392         * math/libm-test.inc (lround_test): New testcase.
85393         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
85395 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
85397         * Makefile: Remove support for automatic cvs check-ins.
85398         * Makerules: Likewise.
85399         * config.make.in: Likewise.
85400         * configure.in: Likewise.
85401         * intl/Makefile: Likewise.
85402         * locale/Makefile: Likewise.
85403         * po/Makefile: Likewise.
85404         * posix/Makefile: Likewise.
85405         * sysdeps/gnu/Makefile: Likewise.
85406         * sysdeps/mach/hurd/Makefile: Likewise.
85407         * sysdeps/sparc/sparc32/Makefile: Likewise.
85409         [BZ #13118]
85410         * posix/Makefile (bug-regex32-ENV): Define.
85411         Patch by John Stanley <jpsinthemix@verizon.net>.
85413         * misc/Makefile (headers): Add bits/select2.h.
85414         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
85415         * misc/bits/select2.h: New file.
85416         * include/bits/select2.h: New file.
85417         * debug/Makefile (routines): Add fdelt_chk.
85418         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
85419         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
85420         FD_ISSET.
85421         * debug/fdelt_chk.c: New file.
85423         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
85424         * wcsmbs/test-wmemcmp.c: Likewise.
85425         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
85426         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
85428 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85430         * string/Makefile (strop-tests): Add memcmp.
85431         * string/test-wmemcmp.c: New file.
85432         * string/test-memcmp.c: Add wmemcmp support.
85434 2011-09-08  Roland McGrath  <roland@hack.frob.com>
85436         [BZ #13153]
85437         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
85438         2011-07-19 change.
85440         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
85441         garbage value in a __mach_port_mod_refs call in the cases of the
85442         task-self and thread-self ports.
85444 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
85446         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
85448 2011-09-08  Andreas Schwab  <schwab@redhat.com>
85450         * elf/dl-load.c (lose): Check for non-null L.
85452 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
85454         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
85456         * elf/dl-libc.c (dlerror_run): Pass back error code from
85457         dl_catch_error.
85459         [BZ #13123]
85460         * elf/dl-load.c (lose): Free l_origin if it is valid.
85462         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
85463         names.
85464         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
85465         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
85466         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
85467         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
85468         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
85469         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
85471 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
85473         * sysdeps/powerpc/fpu/e_hypot.c: New file.
85474         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
85475         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
85476         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
85477         * sysdeps/powerpc/fpu/k_cosf.c: New file.
85478         * sysdeps/powerpc/fpu/k_sinf.c: New file.
85479         * sysdeps/powerpc/fpu/s_cosf.c: New file.
85480         * sysdeps/powerpc/fpu/s_sinf.c: New file.
85481         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
85482         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
85484 2011-08-15  Alan Modra  <amodra@gmail.com>
85486         [BZ #13092]
85487         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
85488         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
85489         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
85490         ppc_mcount to static-only-routines.
85491         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
85492         __mcount_internal.
85493         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
85494         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
85496 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
85498         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
85499         for finite and infinity parameters.
85501 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
85503         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
85504         and add nop instructions for throughput optimization.
85505         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
85507 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
85509         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
85510         aligned copy for power7 with vector-scalar instructions.
85511         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
85513 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
85515         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
85516         AVX check.
85518 2011-09-07  Andreas Schwab  <schwab@redhat.com>
85520         [BZ #13144]
85521         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
85522         last change.
85524 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
85526         * sysdeps/unix/sysv/linux/x86_64/init-first.c
85527         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
85528         syscall wrapper around clock_gettime in __vdso_clock_gettime.
85529         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
85530         clock_gettime.
85532 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
85534         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
85535         Forgot to demangle the pointer.
85537         * sysdeps/i386/sysdep.h: Define atom_text_section.
85538         * sysdeps/x86_64/sysdep.h: Likewise.
85539         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
85540         section with atom_text_section.
85541         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
85542         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
85543         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
85544         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
85545         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
85547         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
85548         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
85549         already be defined.  Change to take two parameters and don't assign
85550         result to variable.  Adjust all users.
85551         Define INTERNAL_GETTIME if not already defined.
85552         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
85553         call.
85554         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
85555         HAVE_CLOCK_GETTIME_VSYSCALL.
85556         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
85558         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
85559         gettimeofday vsyscall, just use time.
85561 2011-09-06  Andreas Schwab  <schwab@redhat.com>
85563         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
85564         <errno.h>.
85566 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
85568         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
85569         syscall on x86-64.
85570         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
85571         syscall.
85572         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
85573         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
85574         syscall if possible.
85576 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
85578         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
85579         e_ident.  Don't pass to find_mapsXX.
85580         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
85582 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
85584         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85585         strchr-sse2-no-bsf strrchr-sse2-no-bsf
85586         * sysdeps/x86_64/multiarch/strchr.S: Update.
85587         Check bit_slow_BSF bit.
85588         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
85589         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
85590         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
85592 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
85594         [BZ #13134]
85595         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
85596         before glibc 2.15.
85597         (tryshell): Define.
85598         (__spawni): Change last parameter to be flag.  Test
85599         SPAWN_XFLAGS_USE_PATH flag to use path or not.
85600         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
85601         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
85602         * posix/spawni.c: Likewise.
85603         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
85604         * posix/spawnp.c: Likewise.  Change normal version to use
85605         SPAWN_XFLAGS_USE_PATH.
85606         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
85607         SPAWN_XFLAGS_TRY_SHELL.
85609         [BZ #13150]
85610         * posix/glob.h: Remove gcc 1.x support.
85612         [BZ #13068]
85613         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
85615 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
85617         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85618         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
85619         strrchr-sse2-bsf
85620         * sysdeps/i386/i686/multiarch/strchr.S: New file.
85621         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
85622         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
85623         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
85624         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
85625         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
85627 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85629         * sysdeps/x86_64/wcscmp.S: New file.
85631         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
85632         wcscmp-c wcscmp-sse2
85633         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
85634         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
85635         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
85636         * wcsmbs/wcscmp.c: Allow renaming.
85638 2011-09-05  David S. Miller  <davem@davemloft.net>
85640         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
85641         stack slot, rather than the struct return pointer slot.
85642         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
85643         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
85644         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
85645         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
85647 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
85649         * po/ja.po: Update from translation team.
85651         [BZ #13144]
85652         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
85653         kernel in 64-bit binaries.
85655 2011-09-01  David S. Miller  <davem@davemloft.net>
85657         * elf/elf.h (HWCAP_SPARC_*): Move to..
85658         * sysdeps/sparc/sysdep.h: this new file and add new values.
85659         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
85660         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
85661         _DL_HWCAP_COUNT to 24.
85662         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
85663         entries.
85664         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
85665         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
85666         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
85667         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
85668         instead of magic constants.
85669         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
85671 2011-08-31  David S. Miller  <davem@davemloft.net>
85673         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
85674         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
85675         Reimplement to do errno handling inline.
85676         (SYSCALL_ERROR_HANDLER): New macro.
85677         (__SYSCALL_STRING): Do not do errno handling in asm.
85678         (__CLONE_SYSCALL_STRING): Delete.
85679         (__INTERNAL_SYSCALL_STRING): Delete.
85680         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
85681         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
85682         (PSEUDO): Reimplement to do errno handling inline.
85683         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
85684         (SYSCALL_ERROR_HANDLER): New macro.
85685         (__SYSCALL_STRING): Do not do errno handling in asm.
85686         (__CLONE_SYSCALL_STRING): Delete.
85687         (__INTERNAL_SYSCALL_STRING): Delete.
85688         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
85689         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
85690         i386.
85691         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
85692         (inline_syscall*): Add 'err' argument.
85693         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
85694         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
85695         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
85696         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
85698         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
85699         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
85701 2011-08-30  Andreas Schwab  <schwab@redhat.com>
85703         * elf/rtld.c (dl_main): Relocate objects in dependency order.
85705 2011-08-29  Jiri Olsa <jolsa@redhat.com>
85707         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
85708         directive.
85710 2011-08-24  David S. Miller  <davem@davemloft.net>
85712         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
85714 2011-08-24  Andreas Schwab  <schwab@redhat.com>
85716         * elf/Makefile: Add rules to build and run unload8 test.
85717         * elf/unload8.c: New file.
85718         * elf/unload8mod1.c: New file.
85719         * elf/unload8mod1x.c: New file.
85720         * elf/unload8mod2.c: New file.
85721         * elf/unload8mod3.c: New file.
85723         * elf/dl-close.c (_dl_close_worker): Reset private search list if
85724         it wasn't used.
85726 2011-08-23  David S. Miller  <davem@davemloft.net>
85728         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
85729         subtract stack bias.
85730         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
85731         %sp not %fp in calculations.
85732         (_JMPBUF_UNWINDS_ADJ): Likewise.
85734         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
85735         (aio_suspend): Call it to force an exception region around the
85736         AIO_MISC_WAIT() invocation.
85738 2011-08-23  Andreas Schwab  <schwab@redhat.com>
85740         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
85741         backslash.
85743 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
85745         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
85746         protection macro.
85747         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
85748         and <dl-machine.h>.
85749         (Elf64_FuncDesc): Remove.
85751 2011-08-22  David S. Miller  <davem@davemloft.net>
85753         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
85754         sigaltstack check, add missing cfi directives.
85755         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
85756         missing cfi directives, and sigaltstack handling.
85758 2011-08-16  Andreas Schwab  <schwab@redhat.com>
85760         [BZ #11724]
85761         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
85762         object is seen twice.
85763         * elf/dl-fini.c (_dl_sort_fini): Likewise.
85765         * elf/Makefile (distribute): Add tst-initorder2.c.
85766         (tests): Add tst-initorder2.
85767         (modules-names): Add tst-initorder2a tst-initorder2b
85768         tst-initorder2c tst-initorder2d.  Add rules to build them.
85769         ($(objpfx)tst-initorder2.out): New rule.
85770         * elf/tst-initorder2.c: New file.
85771         * elf/tst-initorder2.exp: New file.
85773 2011-08-22  Andreas Schwab  <schwab@redhat.com>
85775         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
85777         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
85778         dependencies back to end of function.
85780         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
85781         $(elfobjdir)/ld.so.
85783 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
85785         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
85786         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
85787         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
85788         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
85789         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
85790         of __vdso_gettimeofday.
85791         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
85792         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
85793         attribute_hidden.
85794         (_libc_vdso_platform_setup): Remove initialization of
85795         __vdso_gettimeofday and __vdso_time.
85797 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
85799         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
85800         and fgetc_unlocked.
85801         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
85802         getc_unlocked.
85804         * elf/dl-open.c (add_to_global): Report additions to the global scope
85805         for LD_DEBUG=scopes.
85806         (dl_open_worker): Also print scope of newly loaded dependencies.
85807         (_dl_show_scope): Indicate if there is no scope.
85809         [BZ #13114]
85810         * stdio-common/Makefile (tests): Add bug24.
85811         * stdio-common/bug24.c: New file.
85813 2011-08-19  Andreas Jaeger  <aj@suse.de>
85815         [BZ #13114]
85816         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
85817         non-existant file when using close-on-exec mode.
85819 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
85821         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
85822         the very first instruction.
85824         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
85825         the CFI state in the end.
85826         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
85827         inclusion of dl-trampoline.h.
85828         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
85830 2011-08-19  Andreas Schwab  <schwab@redhat.com>
85832         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
85833         expectations for long double.
85835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
85836         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
85838 2011-08-14  David S. Miller  <davem@davemloft.net>
85840         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
85841         artificual limit depends upon the system page size.
85843 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
85845         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
85846         * resolv/Makefile: Define CFLAGS-libresolv.
85848 2011-08-17  Andreas Schwab  <schwab@redhat.com>
85850         * nss/makedb.c (compute_tables): Make variables used in nested
85851         function static.
85853 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
85855         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
85856         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
85857         if buffer was too small.
85859         * elf/pldd.c (main): Attach to all threads in the process.
85860         Rewrite /proc handling to use *at functions.
85862 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
85864         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
85865         specifies first scope to show.
85866         (dl_open_worker): Update callers.  Move printing scope of new
85867         object to before the relocation.
85868         * elf/rtld.c (dl_main): Update _dl_show_scope call.
85869         * sysdeps/generic/ldsodefs.h: Update declaration.
85871         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
85872         string for the scope number.
85874 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
85876         * nscd/servicescache.c (cache_addserv): Make sure written is always
85877         initialized.
85879 2011-08-14  Roland McGrath  <roland@hack.frob.com>
85881         * sysdeps/i386/i486/bits/atomic.h
85882         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
85883         statement expression, so as to suppress "set but not used" warning.
85884         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
85886         * string/strncat.c (STRNCAT): Use prototype definition.
85888         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
85889         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
85890         -Iprograms here.
85891         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
85892         (localedef-modules): Add localedef.
85893         (locale-modules): Add locale.
85895         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
85896         * elf/rtld.c (dl_main): Invert order of assignment in last change,
85897         to avoid a warning.
85899 2011-08-14  David S. Miller  <davem@davemloft.net>
85901         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
85902         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
85904 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
85906         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
85907         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
85908         * elf/rtld.c (dl_main): Set l_name of vDSO.
85909         Call _dl_show_scope when DL_DEBUG_SCOPES.
85910         (process_dl_debug): Recognize scopes flag and also set it for all.
85911         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
85912         Declare _dl_show_scope.
85914         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
85915         (do_dlopen): Pass caller_dlopen to dl_open.
85916         (__libc_dlopen_mode): Initialize caller_dlopen.
85918         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
85919         of libc.  Make tolower call locale-independent.  Optimize a bit by
85920         using isdigit instead of isalnum.
85921         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
85923 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
85925         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
85926         was a dependency or dynamically loaded.
85928 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
85930         * intl/l10nflist.c: Allow architecture-specific pop function.
85931         * sysdeps/x86_64/l10nflist.c: New file.
85933         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
85934         classification.
85936 2011-08-10  Andreas Schwab  <schwab@redhat.com>
85938         * include/dirent.h: Add libc_hidden_proto for scandirat and
85939         scandirat64.  Don't declare __scandirat64.
85940         * dirent/scandirat.c: Add libc_hidden_def.
85941         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
85942         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
85944 2011-08-10  David S. Miller  <davem@davemloft.net>
85946         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
85947         enum.
85948         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
85949         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
85950         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
85952 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
85954         * Versions.def [libc]: Add GLIBC_2.15.
85955         * dirent/Makefile (routines): Add scandirat and scandirat64.
85956         * dirent/Versions [libc]: Export scandirat and scandirat64 for
85957         GLIBC_2.15.
85958         * dirent/dirent.h: Declare scandirat and scandirat64.
85959         * dirent/scandirat.c: New file.
85960         * dirent/scandirat64.c: New file.
85961         * sysdeps/wordsize-64/scandirat.c: New file.
85962         * sysdeps/wordsize-64/scandirat64.c: New file.
85963         * dirent/opendir.c: Define opendirat.
85964         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
85965         using scandirat.
85966         * dirent/scandir64.c: Adjust for scandir.c change.
85967         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
85968         __scandirat64, and __scandir_cancel_handler.
85969         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
85970         additional parameter and use openat instead of open (outside of ld.so).
85971         Add new __opendir as wrapper around __opendirat.
85972         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
85973         here without requiring old scandirat implementation.
85975 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
85977         * dirent/scandir.c (cancel_handler): Renamed to
85978         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
85979         defined.  Adjust users.
85980         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
85981         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
85983 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
85985         * string/test-string.h (IMPL): Use __STRING to expand name and then
85986         stringify it.
85988         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
85989         of cleanups.
85991 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85993         * string/Makefile: Update.
85994         (strop-tests): Append strncat.
85995         * string/test-wcscmp.c: New file.
85996         New comprehensive test for wcscmp.
85997         * string/test-strcmp.c: Update.
85998         (WIDE): New define.
86000 2011-07-22  Andreas Schwab  <schwab@redhat.com>
86002         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
86003         line.
86005 2011-07-26  Andreas Schwab  <schwab@redhat.com>
86007         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
86008         encoding to ACE if AI_IDN.
86010 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
86012         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
86013         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
86015 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86017         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
86018         Fix overflow bug in strncat.
86019         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
86021         * string/test-strncat.c: Update.
86022         Add new tests for checking overflow bugs.
86024 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86026         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
86027         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
86028         * sysdeps/i386/i686/multiarch/strcat.S: New file.
86029         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
86030         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
86031         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
86032         * sysdeps/i386/i686/multiarch/strncat.S: New file.
86033         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
86034         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
86036         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
86037         (USE_AS_STRCAT): Define.
86038         Add strcat and strncat support.
86039         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
86041 2011-07-25  Andreas Schwab  <schwab@redhat.com>
86043         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
86044         __n bigger than INT_MAX+1.
86045         (__strncmp_g): Likewise.
86047 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
86049         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
86050         * libio/stido.h: Likewise.
86052         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
86053         (AF_NFC): Define.
86054         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
86055         (AF_NFC): Define.
86057         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
86058         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
86059         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
86060         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
86061         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
86063         [BZ #13021]
86064         * scripts/test-installation.pl: Don't expect libnss_test1 to be
86065         installed.
86067         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
86068         typo.
86069         (_dl_x86_64_save_sse): Likewise.
86071 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
86073         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
86074         OSXSAVE.
86075         (_dl_x86_64_save_sse): Likewise.
86077         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
86079         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
86081 2011-07-21  Andreas Schwab  <schwab@redhat.com>
86083         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
86084         change.
86085         (_dl_x86_64_save_sse): Use correct AVX check.
86087 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86089         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
86090         bug in strncpy/strncat.
86091         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
86093 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
86095         * string/tester.c (test_strcat): Add tests for different alignments
86096         of source and destination.
86097         (test_strncat): Likewise.
86099 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
86101         [BZ #12852]
86102         * posix/glob.c (glob): Check passed in values before using them in
86103         expressions to avoid some overflows.
86104         (glob_in_dir): Likewise.
86106         [BZ #13007]
86107         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
86108         check for AVX enablement so that we don't crash with old kernels and
86109         new hardware.
86110         * elf/tst-audit4.c: Add same checks here.
86111         * elf/tst-audit6.c: Likewise.
86113         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
86115 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
86117         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
86119 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
86121         * po/cs.po: Update from translation team.
86122         * po/bg.po: Likewise.
86124 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
86126         * misc/sys/cdefs.h: Add support for const attribute.
86127         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
86128         to gnu_dev_{major,minor,makedev} functions.
86130 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
86132         * intl/dcigettext.c (get_output_charset): Add missing bracket.
86134 2011-07-20  Andreas Schwab  <schwab@redhat.com>
86136         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
86137         strlen results.
86139 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86141         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
86142         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
86143         register in order to avoid conflicts with the soft frame pointer
86144         being held in r11 when necessary.
86145         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
86146         (INTERNAL_VSYSCALL_NCS): Likewise.
86148 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
86150         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
86151         * elf/dl-fini.c (_dl_fini): Adjust caller.
86152         * elf/dl-close.c (_dl_close_worker): Likewise.
86153         * sysdeps/generic/ldsodefs.h: Adjust declaration.
86155 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
86157         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
86158         "aux_cache->nlibs < 0".
86160         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
86161         in the reload-count case.
86163 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86165         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86166         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
86167         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
86168         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
86169         * sysdeps/x86_64/multiarch/strcat.S: New file.
86170         * sysdeps/x86_64/multiarch/strncat.S: New file.
86171         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
86172         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
86173         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
86174         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
86175         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
86176         (USE_AS_STRCAT): Define.
86177         Add strcat and strncat support.
86178         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
86179         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
86180         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
86181         * string/strncat.c: Update.
86182         (USE_AS_STRNCAT): Define.
86183         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86184         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
86185         and i7.
86186         * sysdeps/x86_64/multiarch/init-arch.h
86187         (bit_Prefer_PMINUB_for_stringop): New.
86188         (index_Prefer_PMINUB_for_stringop): Likewise.
86189         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
86190         bit_Prefer_PMINUB_for_stringop.
86192 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
86194         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
86195         buffer64.
86196         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
86197         of casting of buffer.
86198         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
86199         buffer32 and buffer64.
86200         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
86201         writes instead of casting of buffer.
86202         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
86203         buffer32.
86204         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
86205         casting of buffer.
86207 2011-07-19  Andreas Schwab  <schwab@redhat.com>
86209         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
86211 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
86213         * nscd/nscd.c (termination_handler): Don't do anything for a database
86214         if it has not yet been initialized.
86216 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
86218         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
86220 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
86222         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
86224 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
86226         * po/nl.po: Update from translation team.
86227         * po/sv.po: Likewise.
86229 2011-07-16  Roland McGrath  <roland@hack.frob.com>
86231         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
86232         now disallowed by GCC.
86234         * configure.in (use-default-link): Default to yes if a test -shared
86235         link meets our qualifications.
86236         * configure: Regenerated.
86238         * config.make.in (output-format): New variable.
86239         * configure.in: Check for ld --print-output-format support.
86240         * configure: Regenerated.
86241         * Makerules ($(common-objpfx)format.lds)
86242         [$(output-format) != unknown]: Just use $(output-format),
86243         instead of the linker-script munging.
86245 2011-07-14  Roland McGrath  <roland@hack.frob.com>
86247         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
86248         of $(common-objpfx)shlib.lds.
86249         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
86251         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
86252         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
86254         * configure.in (-z relro check): Adjust test code to add a large
86255         writable data section after it.
86256         * configure: Regenerated.
86258 2011-07-11  Roland McGrath  <roland@hack.frob.com>
86260         * configure.in (-z relro check): Fix test code to make the variable
86261         truly const.
86262         * configure: Regenerated.
86264 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
86266         * nscd/nscd.h (struct traced_file): Define.
86267         (struct database_dyn): Remove inotify_descr, reset_res, and filename
86268         elements.  Add traced_files.
86269         (inotify_fd): Declare.
86270         (register_traced_file): Declare.
86271         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
86272         (inotify_fd): Export.
86273         (resolv_conf_descr): Remove.
86274         (nscd_init): Move inotify descriptor creation to main.
86275         Don't register files for notification here.
86276         (register_traced_file): New function.
86277         (invalidate_cache): Don't use reset_res to determine whether to call
86278         res_init, go through the list of registered files.
86279         (main_loop_poll): The inotify descriptors are now stored in the
86280         structures for the traced files.
86281         (main_loop_epoll): Likewise.
86282         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
86283         to __nss_disable_nscd.
86284         * nscd/cache.c (prune_cache): There is no single inotify descriptor
86285         for a database anymore.  Check the records for all the registered
86286         files instead.
86287         * nss/Makefile (libnss_files-routines): Add files-init.
86288         (libnss_db-routines): Add db-init.
86289         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
86290         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
86291         * nss/nss_db/db-init.c: New file.
86292         * nss/nss_files/files-init.c: New file.
86293         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
86294         __nss_lookup_function.
86295         (__nss_lookup_function): Call nss_load_library.
86296         (nss_load_all_libraries): New function.
86297         (__nss_disable_nscd): Take parameter with callback function for files
86298         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
86299         used for the cached services.
86300         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
86301         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
86302         options for features to all the files in nscd.
86304         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
86306 2011-07-10  Roland McGrath  <roland@hack.frob.com>
86308         * csu/elf-init.c (__libc_csu_init): Comment typo.
86310 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
86312         * po/pl.po: Update from translation team.
86313         * po/ja.po: Likewise.
86314         * po/ru.po: Likewise.
86315         * po/ko.po: Likewise.
86316         * po/fr.po: Likewise.
86318 2011-07-09  Roland McGrath  <roland@hack.frob.com>
86320         * configure.in (.ctors/.dtors header and trailer check):
86321         Use an empirical test on a built program.
86322         * configure: Regenerated.
86324         * configure.in (-z relro check): Use an empirical test on a built DSO.
86325         Detect, but do not require, on ia64.
86326         * configure: Regenerated.
86328         * configure.in (READELF): Find it with AC_CHECK_TOOL.
86329         Update tests that use readelf to use $READELF instead.
86330         * configure: Regenerated.
86332 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
86334         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
86335         if the result is not used.
86337 2011-07-05  Andreas Jaeger  <aj@suse.de>
86339         [BZ #9696]
86340         * stdlib/tst-strtod.c: Add testcase.
86342 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
86344         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
86345         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
86346         The latter has a higher limit.  Take additional parameter to pass to
86347         the new function.
86348         (__pathconf): Pass file to __statfs_link_max.
86349         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
86350         __statfs_link_max.
86351         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
86352         __statfs_link_max.
86354         [BZ #12868]
86355         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
86356         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
86357         Handle Lustre.
86358         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
86359         (__statfs_filesize_max): Likewise.
86360         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
86362 2011-07-05  Andreas Jaeger  <aj@suse.de>
86364         * resolv/res_comp.c (dn_skipname): Remove unused variable.
86366 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
86368         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
86369         `status' variable.
86370         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
86371         Likewise.
86373 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
86375         * Makefile (strop-tests): Add strncat.
86376         * string/test-strncat.c: New file.
86378 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
86380         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
86382 2011-06-21  Andreas Jaeger  <aj@suse.de>
86384         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
86385         Copy rule from iconvdata/Makefile.
86387 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
86389         [BZ #12922]
86390         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
86391         but no long options are defined, just return 'W'.
86393 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
86395         [BZ #9696]
86396         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
86398 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
86400         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
86401         netgroups to read.
86402         (innetgr): Likewise.
86404 2011-07-05  Roland McGrath  <roland@hack.frob.com>
86406         * config.make.in (install_root): Default to $(DESTDIR).
86408 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
86410         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
86412 2011-07-02  Roland McGrath  <roland@hack.frob.com>
86414         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
86416         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
86417         containing directory rather than embedding absolute directory names.
86419         * scripts/check-local-headers.sh: Rewritten using awk.
86420         Match by word, not by line.  Print error messages for matches.
86421         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
86423         * Makerules [shlib-lds-flags empty]:
86424         ($(common-objpfx)libc_pic.opts): New target.
86425         ($(common-objpfx)libc_pic.os.clean): New target.
86426         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
86428         * config.make.in (OBJCOPY): New variable.
86429         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
86430         * configure: Regenerated.
86432         * config.make.in (use-default-link): New variable.
86433         * configure.in (use_default_link): Grok --with-default-link to set it.
86434         * configure: Regenerated.
86435         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
86436         (shlib-lds, shlib-lds-flags): Define to empty.
86438         * Makerules (shlib-lds): New variable.
86439         (shlib-lds-flags): New variable.
86440         (build-shlib, build-moduile, build-module-asneeded): Use it.
86441         ($(common-objpfx)libc.so): Use $(shlib-lds).
86442         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
86443         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
86445         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
86446         DT_FLAGS/DT_FLAGS_1 with zero flags.
86448         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
86449         linker script munging.
86451 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
86453         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
86454         as 128-bit value.
86455         * crypt/sha512.c (sha512_process_block): Perform total addition using
86456         128-bit if possible.
86457         (__sha512_finish_ctx): Likewise.
86458         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
86459         as 64-bit value.
86460         * crypt/sha256.c (SWAP64): Define.
86461         (sha256_process_block): Perform total addition using 64-bit if
86462         possible.
86463         (__sha256_finish_ctx): Likewise.
86465 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
86467         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
86468         * nscd/initgrcache.c (addinitgroupsX): Likewise.
86469         * nscd/hstcache.c (cache_addhst): Likewise.
86470         * nscd/grpcache.c (cache_addgr): Likewise.
86471         * nscd/aicache.c (addhstaiX): Likewise.
86472         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
86474 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
86476         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
86477         * nscd/initgrcache.c (addinitgroupsX): Likewise.
86478         * nscd/hstcache.c (cache_addhst): Likewise.
86479         * nscd/grpcache.c (cache_addgr): Likewise.
86480         * nscd/aicache.c (addhstaiX): Likewise.
86482 2011-07-01  Andreas Schwab  <schwab@redhat.com>
86484         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
86485         domain only when needed.
86487 2011-06-30  Andreas Schwab  <schwab@redhat.com>
86489         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
86490         is always restored.
86492 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
86494         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
86495         are re-adding the entry.
86496         * nscd/servicescache.c (cache_addserv): Likewise.
86498 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
86500         * sysdeps/generic/dl-irel.h: fix protection against multiple
86501         inclusions.
86502         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
86504 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
86506         [BZ #12935]
86507         * malloc/memusage.sh: Fix quoting in message.
86508         * debug/xtrace.sh: Likewise.
86510         * configure.in: Remove support for --experimental-malloc option, make
86511         it the default.
86512         * config.make.in: Likewise.
86513         * malloc/Makefile: Likewise.
86515 2011-06-27  Andreas Schwab  <schwab@redhat.com>
86517         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
86518         two-byte characters.
86520 2011-06-27  Roland McGrath  <roland@hack.frob.com>
86522         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
86523         AC_CACHE_CHECK invocation.
86524         * configure: Regenerated.
86526         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
86528 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
86530         [BZ #12350]
86531         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
86532         bit from old_res_options.
86534         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
86536         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
86537         value type for setfct.
86539 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
86541         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
86542         __gettimeofday instead of gettimeofday.
86544 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
86546         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
86548 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
86550         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
86552         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
86553         info.
86555 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
86557         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86558         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
86559         strcpy-sse2-unaligned strncpy-sse2-unaligned
86560         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
86561         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
86562         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
86563         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
86564         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
86565         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
86566         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
86567         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
86568         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
86569         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
86570         (STRCPY): Support SSE2 and SSSE3 versions.
86572 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
86574         [BZ #12874]
86575         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
86576         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
86577         kernels which artificially limit size of requests.
86579 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
86581         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
86582         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
86583         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
86584         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
86585         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
86586         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
86587         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
86588         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
86589         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
86590         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
86591         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
86592         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
86593         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
86594         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
86595         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
86596         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86597         Enable unaligned load optimization for Intel Core i3, i5 and i7
86598         processors.
86599         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
86600         Define.
86601         (index_Fast_Unaligned_Load): Define.
86602         (HAS_FAST_UNALIGNED_LOAD): Define.
86604 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
86606         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
86608 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
86610         [BZ #12907]
86611         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
86612         until it is clear that the information is realy needed.
86613         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
86615 2011-06-22  Andreas Schwab  <schwab@redhat.com>
86617         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
86619 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
86621         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
86622         /sys/devices/system/cpu/online if it is usable.
86624         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
86625         reading the information from the /proc filesystem to once a second.
86627 2011-06-21  Andreas Jaeger  <aj@suse.de>
86629         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
86630         NULL after inclusion of kernel headers.
86632 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
86634         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
86635         calls to internal_setent.
86637         [BZ #12885]
86638         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
86639         addresses using gethostbyname4_r ignore IPv4 addresses.
86641         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
86642         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
86644         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
86646 2011-06-20  David S. Miller  <davem@davemloft.net>
86648         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
86649         inclusions.
86650         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
86652         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
86653         (elf_irel): Use it.
86654         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
86655         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
86656         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
86657         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
86658         * sysdeps/x86_64/dl-irel.h: Likewise.
86660         * elf/dl-runtime.c: Use elf_ifunc_invoke.
86661         * elf/dl-sym.c: Likewise.
86663 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
86665         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
86666         need to dereference resplen2.
86668 2011-06-14  Andreas Schwab  <schwab@redhat.com>
86670         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
86672 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
86674         * Makeconfig: Define vardbdir and inst_vardbdir.
86675         * nss/Makefile: Add rules to install db-Makefile.
86677         * nss/nss_db/db-XXX.c: Cleanup.
86679         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
86680         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
86681         GLIBC_PRIVATE.
86682         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
86683         * nss/makedb.c: Implement -g option to specify that value strings
86684         are generated and should not be added to table iterated over for
86685         get*ent calls.
86686         * nss/nss_db/db-initgroups.c: New file.
86688         * nss/getent.c: Add support for initgroups lookups through getgrouplist
86689         interface.
86691         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
86692         (internal_getgrouplist): Adjust to name change.
86693         Update use_initgroups_entry if this is not the first call.
86694         * nss/databases.def: Add initgroups entry.
86696         * nss/makedb.c (compute_tables): Check result of multiple hash table
86697         sizes to minimize maximum chain length.
86699 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
86701         * Versions.def: Add entry for libnss_db.
86702         * shlib-versions: Likewise.
86703         * nss/Makefile: Add rules to build libnss_db.
86704         * nss/Versions: Add libnss_db information.  Organize libnss_files
86705         entries better.
86706         * nss/db-Makefile: Add gshadow support.  Change rules for the new
86707         makedb progra.  Some minor improvements to generate smaller files.
86708         * nss/nss_db/nss_db.h: Move NSS database header data structures to
86709         here from...
86710         * nss/makedb.c: ...here.
86711         Improve database format to be smaller and require less memory at
86712         runtime.
86713         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
86714         db anymore.
86715         * nss/nss_db/db-netgrp.c: Likewise.
86716         * nss/nss_db/db-open.c: Likewise.
86717         * nss/nss_files/flies-XXX.x: Adjust comments.
86718         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
86719         * nss/nss_files/files-grp.c: Likewise.
86720         * nss/nss_files/files-hosts.c: Likewise.
86721         * nss/nss_files/files-network.c: Likewise.
86722         * nss/nss_files/files-proto.c: Likewise.
86723         * nss/nss_files/files-pwd.c: Likewise.
86724         * nss/nss_files/files-rpc.c: Likewise.
86725         * nss/nss_files/files-service.c: Likewise.
86726         * nss/nss_files/files-sgrp.c: Likewise.
86727         * nss/nss_files/files-spwd.c: Likewise.
86728         * nss/nss_db/db-alias.c: Removed.
86729         * nss/nss_db/dummy-db.h: Removed.
86731 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
86733         * nss/makedb.c: Rewritten to not use database library.
86734         * nss/Makefile: Update to build new makedb program.
86736 2011-06-14  Andreas Jaeger  <aj@suse.de>
86738         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
86739         memset declaration.
86741 2011-06-10  Andreas Schwab  <schwab@redhat.com>
86743         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
86744         tmpbuf.
86746 2011-06-10  Roland McGrath  <roland@hack.frob.com>
86748         * Makerules (shlib.lds): Fail if the linker script comes out empty.
86749         * elf/Makefile ($(objpfx)ld.so): Likewise.
86751         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
86752         Don't list ld.so twice in dependencies.
86754         * posix/bug-regex31.c: Include <stdlib.h>.
86756         * nscd/hstcache.c (cache_addhst): Remove unused variable.
86758         * nis/nss_compat/compat-spwd.c
86759         (getspent_next_nss_netgr): Remove unused variable.
86760         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
86762         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
86763         nonmembers" output to use the right array.
86765         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
86767         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
86769         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
86770         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
86771         * catgets/gencat.c (read_input_file): Likewise.
86772         * locale/programs/locarchive.c (enlarge_archive): Likewise.
86774         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
86775         variable definition inside #if's controlling its use.
86777         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
86779         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
86781         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
86783         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
86784         unreachable code.
86786         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
86788         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
86789         * configure: Regenerated.
86791         * Makerules: Revert last change.
86792         * elf/Makefile: Likewise.
86794 2011-06-09  Roland McGrath  <roland@hack.frob.com>
86796         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
86797         * elf/Makefile ($(objpfx)librtld.os): Likewise.
86798         (reloc-link): Likewise.
86800 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
86802         * elf/Makefile: Add rules to build pldd.
86803         * elf/pldd.c: New file.
86804         * elf/pldd-xx.c: New file.
86806 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
86808         * version.h: Update for 2.15 development version.
86810 2011-06-07  David S. Miller  <davem@davemloft.net>
86812         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
86813         ifuncs.
86814         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
86815         elf_machine_lazy_rel): Likewise.
86816         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
86817         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
86818         elf_machine_lazy_rel): Likewise.
86819         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
86820         dl_hwcap via passed in argument.
86821         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
86822         Likewise.
86824 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86826         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
86828 2011-06-06  Roland McGrath  <roland@hack.frob.com>
86830         [BZ #12849]
86831         * manual/fdl-1.1.texi: New file, verbatim from:
86832         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
86833         * manual/lgpl-2.1.texi: New file, verbatim from:
86834         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
86835         * manual/Makefile (licenses): New variable, list those new file names.
86836         (texis): Use it.
86837         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
86839         * manual/fdl.texi: File removed.
86840         * manual/lesser.texi: File removed.
86841         * manual/libc.texinfo (Copying, Documentation License):
86842         Use new @include file names, put @appendix directive before @include.
86844 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
86846         [BZ #12841]
86847         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
86848         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
86849         (mq_open): Add __NTH.
86851 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
86853         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86854         Assume Intel Core i3/i5/i7 processor if AVX is available.
86856 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
86858         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
86859         typo.
86861 2011-05-31  Andreas Schwab  <schwab@redhat.com>
86863         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
86864         memory.  Use alloca_account.  Fix memory leak when retrying.
86866 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
86868         * version.h (RELEASE): Bump for 2.14 release.
86869         * include/features.h (__GLIBC_MINOR__): Bump to 14.
86871         * config.make.in (RANLIB): Remove entry.
86873 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
86875         * po/Makefile (po-sed-cmd): Add ksh to extensions.
86876         (libc.pot): Work around missing support for .ksh extension in xgettext.
86878         [BZ #12684]
86879         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
86880         if both request failed.
86881         (send_dg): In case of server errors clear resplen or *resplen2.
86883         [BZ #12454]
86884         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
86885         when there are multiple maps.
86886         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
86887         (_dl_fini): Remove test here.
86889         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
86891 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
86893         [BZ #12350]
86894         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
86895         bit from old_res_options.
86896         (gaih_inet): Likewise.
86898         [BZ #11099]
86899         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
86900         as signed.
86902         * resolv/res_init.c (res_setoptions): Make the code more compact.
86904         [BZ #11558]
86905         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
86906         set RES_USEVC.
86908         [BZ #11634]
86909         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
86911         * malloc/malloc.h: Mark malloc hook variables as deprecated.
86913         [BZ #11781]
86914         * malloc/malloc.h: Declare malloc hook variables as volatile.
86916         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
86917         in last patch.
86919         [BZ #11799]
86920         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
86921         raise in the comment.
86922         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
86923         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
86924         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
86926 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
86928         [BZ #12811]
86929         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
86930         grow the buffers more if it already has to be sufficient.
86931         (build_wcs_upper_buffer): Likewise.
86932         * posix/regexec.c (check_matching): Likewise.
86933         (clean_state_log_if_needed): Likewise.
86934         (extend_buffers): Don't enlarge buffers beyond size of the input
86935         buffer.
86936         Patches mostly by Emil Wojak <emil@wojak.eu>.
86937         * posix/bug-regex32.c: New file.
86938         * posix/Makefile (tests): Add bug-regex32.
86940         * locale/findlocale.c (_nl_find_locale): Return right away if
86941         _nl_explode_name failed.
86942         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
86944         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
86946         * debug/xtrace.sh: Unify messages.
86947         * malloc/memusage.sh: Likewise.
86949         [BZ #12813]
86950         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
86951         time symbol from vDSO.  Substitute with vsyscall if not available.
86952         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
86953         __vdso_time.
86955         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
86956         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
86957         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
86958         Add sendmmsg and internal_sendmmsg.
86959         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
86960         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
86961         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
86963         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
86964         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
86965         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
86967 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
86969         [BZ #12813]
86970         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
86971         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
86972         available.
86973         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
86974         __vdso_getcpu.
86976         [BZ #12814]
86977         * iconvdata/Makefile (tests): Add bug-iconv9.
86978         * iconvdata/bug-iconv9.c: New file.
86980 2011-05-27  Andreas Schwab  <schwab@redhat.com>
86982         [BZ #12814]
86983         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
86985 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
86987         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
86988         (struct user_regs_struct): Change intcs field back to cs.
86990 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
86992         * po/ja.po: Update from translation team.
86994 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
86996         [BZ #12795]
86997         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
86998         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
87000 2011-05-20  Andreas Schwab  <schwab@redhat.com>
87002         * stdlib/longlong.h: Update from GCC.
87004 2011-05-23  Andreas Schwab  <schwab@redhat.com>
87006         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
87007         parameter name.
87008         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
87009         Add parameter name.
87010         (__sysconf): Pass it down.
87012 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
87014         [BZ #12671]
87015         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
87016         some situations.
87017         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
87018         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
87019         add in in __libc_use_alloca calls.  Adjust callers.
87020         (glob): Use malloc in some situations.
87022         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
87023         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
87024         pltexit.
87026 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
87028         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
87029         and CLOCK_BOOTTIME_ALARM.
87031         [BZ #12782]
87032         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
87033         is returned.
87035         * string/_strerror.c (__strerror_r): Print negative errors as signed
87036         numbers.
87038         [BZ #12777]
87039         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
87040         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
87041         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
87043         * configure.in: Fix typo in redirection and correct removal of test
87044         files in two cases.
87046         [BZ #12788]
87047         * locale/setlocale.c (new_composite_name): Fix test to check for
87048         identical name of all categories.
87050         [BZ #12792]
87051         * libio/filedoalloc.c (local_isatty): New function.
87052         (_IO_file_doallocate): Use local_isatty.
87053         * stdio-common/perror.c (perror): In case a new stream is used
87054         forward the stream error.
87055         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
87056         error flag.
87058 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
87060         [BZ #11884]
87061         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
87062         alloca.
87063         * include/alloca.h (extend_alloca_account): Define.
87065         [BZ #11857]
87066         * posix/regex.h: Fix comments with documentation of user-accessible
87067         fields after compilation and describe correct free'ing of pattern
87068         after re_compile_pattern.
87069         Patch by Reuben Thomas <rrt@sc3d.org>.
87071 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
87073         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
87074         and -mno-altivec to prevent the compiler from using Altivec and/or
87075         VSX instructions when the corresponding registers are not available.
87077 2011-05-19  Andreas Schwab  <schwab@redhat.com>
87079         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
87081 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
87083         * libio/freopen.c (freopen): Use __dup2, not dup2.
87084         * libio/freopen64.c (freopen64): Likewise.
87086 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
87088         [BZ #12775]
87089         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
87090         * math/Makefile (tests): Add test-powl.
87091         (CFLAGS-test-powl.c): Define.
87092         * math/test-powl.c: New file.
87094 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
87096         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
87098 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
87100         [BZ #11837]
87101         * iconvdata/gb18030.c: Update to GB18020-2005.
87103 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
87105         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
87106         RE_SYNTAX_POSIX_AWK): Update to match recent development.
87107         Patch by Aharon Robbins <arnold@skeeve.com>.
87109         [BZ #11892]
87110         * stdlib/putenv.c (putenv): Don't always create copy of the variable
87111         on the stack.
87113         [BZ #11895]
87114         * misc/pselect.c (__pselect): Handle timeout value errors hidden
87115         through underflows.
87117         [BZ #12766]
87118         * misc/error.c (error_at_line): Ensure file_name and old_file_name
87119         point to strings before performing equality test for error_one_per_line
87120         mode.
87122         [BZ #11697]
87123         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
87125         [BZ #11820]
87126         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
87127         (struct user_fpregs_struct): Avoid __uint*_t types.
87129         [BZ #6420]
87130         * malloc/mtrace.c (tr_where): Add additional parameter to point to
87131         symbol info.  Use it instead of calling _dl_addr locally.
87132         (lock_and_info): New function.
87133         (tr_freehook): Call lock_and_info and pass symbol info as additional
87134         parameter to tr_where.
87135         (tr_mallochook): Likewise.
87136         (tr_reallochook): Likewise.
87137         (tr_memalignhook): Likewise.
87139         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
87140         used and couldn't be at all thread-safe.
87142 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
87144         * libio/freopen.c (freopen): Don't close old file descriptor
87145         before the new one is opened.  Instead dup the new file descriptor
87146         to the old one after the new stream is created.
87147         * libio/freopen64.c (freopen64): Likewise.
87148         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
87149         * libio/fileops.c (_IO_new_file_close_it): Handle new
87150         _IO_FLAGS2_NOCLOSE flag.
87151         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
87152         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
87153         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
87154         _IO_FLAGS2_NOCLOSE flag.
87155         * include/unistd.h: Add hidden_proto for dup3.
87156         Define __have_dup3.
87157         * io/dup3.c: Define hidden symbol.
87158         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
87160         [BZ #7101]
87161         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
87162         when an incomplete long option is used.
87163         * posix/tst-getopt_long1.c: New file.
87164         * posix/Makefile (tests): Add tst-getopt_long1.
87166         [BZ #10138]
87167         * scripts/config.guess: Update from autoconf-2.68.
87168         * scripts/config.sub: Likewise.
87170         [BZ #10157]
87171         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
87172         tests into ...
87173         (has_cpuclock): ...this.  New function.
87174         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
87175         macro here based on has_cpuclock code.
87177         [BZ #10149]
87178         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
87179         First byte (not low byte) is now always NUL.
87180         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
87182         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
87183         Use non-cancelable interfaces.
87185         [BZ #9809]
87186         * locale/iso-639.def: Add entry for Sorani.
87188         [BZ #11901]
87189         * include/stdlib.h: Move include protection to the right place.
87190         Define abort_msg_s.  Declare __abort_msg with it.
87191         * stdlib/abort.c (__abort_msg): Adjust type.
87192         * assert/assert.c (__assert_fail_base): New function.  Majority
87193         of code from __assert_fail.  Allocate memory for __abort_msg with
87194         mmap.
87195         (__assert_fail): Now call __assert_fail_base.
87196         * assert/assert-perr.c: Remove bulk of implementation.  Use
87197         __assert_fail_base.
87198         * include/assert.hL Declare __assert_fail_base.
87199         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
87200         mmap.
87201         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
87203 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
87205         [BZ #11952]
87206         [BZ #12453]
87207         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
87208         until all modules are registered in the DTV.
87209         * elf/Makefile: Add rules to build and run tst-tls19.
87210         * elf/tst-tls19.c: New file.
87211         * elf/tst-tls19mod1.c: New file.
87212         * elf/tst-tls19mod2.c: New file.
87213         * elf/tst-tls19mod3.c: New file.
87214         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
87216         [BZ #12083]
87217         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
87218         correctly.
87220         [BZ #12601]
87221         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
87222         two-byte sequence errors.
87223         * iconvdata/Makefile (tests): Add bug-iconv8.
87224         * iconvdata/bug-iconv8.c: New file.
87226         [BZ #12626]
87227         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
87228         buf2 definition.
87230         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
87232         [BZ #12432]
87233         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
87234         (dummy_getcfa): New function.
87235         (init): Get _Unwind_GetCFA address, use dummy if not found.
87236         (backtrace_helper): In recursion check, also check whether CFA changes.
87237         (__backtrace): Completely initialize arg.
87239         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
87240         storing incomplete byte sequence in state object.  Avoid testing for
87241         guaranteed too small input if we know there is enough data available.
87243 2011-05-11  Andreas Schwab  <schwab@redhat.com>
87245         * Makeconfig (+link-pie): Indent.
87246         * Rules (binaries-pie): Define if $(have-fpie) and
87247         $(build-shared).
87248         (binaries-shared): Also filter out $(binaries-pie).
87249         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
87250         * nscd/Makefile (others-pie): Add nscd.
87251         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
87252         ($(objpfx)nscd): Remove command override.
87253         * login/Makefile (others-pie): Add pt_chown.
87254         ($(objpfx)pt_chown): Remove command override.
87255         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
87256         remove command overrides.
87258 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
87260         * libio/tst_putwc.c: Fix error messages.
87262         [BZ #12724]
87263         * libio/fileops.c (_IO_new_file_close_it): Always flush when
87264         currently writing and seek to current position when not.
87265         * libio/Makefile (tests): Add bug-fclose1.
87266         * libio/bug-fclose1.c: New file.
87268 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
87270         [BZ #12511]
87271         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
87272         don't set DF_1_NODELETE here.
87273         (do_lookup_x): When entering new entry test for copy relocation
87274         and if necessary set DF_1_NODELETE flag.
87275         * elf/tst-unique4.cc: New file.
87276         * elf/tst-unique4.h: New file.
87277         * elf/tst-unique4lib.cc: New file.
87278         * elf/Makefile: Add rules to build and run tst-unique4.
87279         Patch by Piotr Bury <pbury@goahead.com>.
87281 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
87283         [BZ #12052]
87284         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
87286         [BZ #12625]
87287         * misc/mntent_r.c (addmntent): Flush the stream after the output
87289         [BZ #12393]
87290         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
87291         (is_trusted_path_normalize): Skip initial colon.  Append slash
87292         to empty buffer.  Duplicate is_trusted_path code but allow
87293         constructed patch to be prefix.
87294         (is_dst): Allow $ORIGIN followed by /.
87295         (_dl_dst_substitute): Correct clearing of check_for_trusted.
87296         Correct testing of result of is_trusted_path_normalize
87297         (decompose_rpath): Fix warning.
87299 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
87301         [BZ #11257]
87302         * grp/initgroups.c (internal_getgrouplist): When we found the service
87303         list through the initgroups entry in nsswitch.conf do not always
87304         continue on a successful lookup.  Don't always use the
87305         __nss_group_database value if it is set.
87306         * nss/nsswitch.conf (initgroups): Change action for successful db
87307         lookup to continue for compatibility.
87309 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
87311         [BZ #11532]
87312         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
87313         and CP774 modules.
87314         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
87315         and CP774 modules.
87316         * iconvdata/tst-tables.sh: Likewise.
87317         * iconvdata/cp770.c: New file.
87318         * iconvdata/cp771.c: New file.
87319         * iconvdata/cp772.c: New file.
87320         * iconvdata/cp773.c: New file.
87321         * iconvdata/cp774.c: New file.
87322         * iconvdata/testdata/CP770: New file.
87323         * iconvdata/testdata/CP770..UTF8: New file.
87324         * iconvdata/testdata/CP771: New file.
87325         * iconvdata/testdata/CP771..UTF8: New file.
87326         * iconvdata/testdata/CP772: New file.
87327         * iconvdata/testdata/CP772..UTF8: New file.
87328         * iconvdata/testdata/CP773: New file.
87329         * iconvdata/testdata/CP773..UTF8: New file.
87330         * iconvdata/testdata/CP774: New file.
87331         * iconvdata/testdata/CP774..UTF8: New file.
87333         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
87334         END CHARMAP line.
87335         * iconvdata/gen-8bit-gap.sh: Likewise.
87336         * iconvdata/gen-8bit.sh: Likewise.
87338         * locale/iso-639.def: Add ary entry.
87340         [BZ #11258]
87341         * locale/C-translit.h.in: Add U20A1 transliteration.
87343         [BZ #12178]
87344         * locale/iso-639.def: Add wae entry.
87345         Patch by Kevin Bortis <bortis@translate-wae.ch>.
87347         [BZ #12545]
87348         * locale/programs/localedef.c (construct_output_path): Use ssize_t
87349         for n.
87351         [BZ #12711]
87352         * locale/C-translit.h.in: Add entry for U20B9.
87353         Patch by pravin.d.s@gmail.com.
87355 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
87357         [BZ #12713]
87358         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
87359         ENAMETOOLONG use generic getcwd.
87360         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
87361         in rtld.  Use *stat64.
87362         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
87363         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
87364         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
87365         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
87366         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
87367         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
87368         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
87369         __fstatat64 macros.
87370         * include/dirent.h: Add libc_hidden_proto for rewinddir.
87371         * dirent/rewinddir.c: Add libc_hidden_def.
87372         * sysdeps/mach/hurd/rewinddir.c: Likewise.
87373         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
87375         * include/dirent.h (__alloc_dir): Add flags parameter.
87376         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
87377         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
87378         __alloc_dir.
87379         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
87380         from fdopendir if O_CLOEXEC is already set.
87382 2011-03-15  Alan Modra  <amodra@gmail.com>
87384         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
87385         l_tls_firstbyte_offset non-zero.  Save padding offset in
87386         l_tls_firstbyte_offset for later use.
87387         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
87388         freeing static tls block.
87390 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
87392         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
87393         where #ifdef was intended.  The intent is to prevent ARG_MAX from
87394         being defined by the kernel headers.
87396 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
87398         [BZ #12734]
87399         * resolv/resolv.h: Define RES_NOTLDQUERY.
87400         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
87401         no-tld-query and set RES_NOTLDQUERY.
87402         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
87403         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
87404         modern BIND to search name as TLD unless forbidden.
87406 2011-05-07  Petr Baudis  <pasky@suse.cz>
87407             Ulrich Drepper  <drepper@gmail.com>
87409         [BZ #12393]
87410         * elf/dl-load.c (fillin_rpath): Move trusted path check...
87411         (is_trusted_path): ...to here.
87412         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
87413         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
87414         using is_trusted_path_normalize() in setuid scripts.
87416 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
87418         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
87419         __BEGIN/__END_DECLS.
87421 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
87423         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
87424         NSS_STATUS_NOTFOUND if no record was found.
87426 2011-05-05  Andreas Schwab  <schwab@redhat.com>
87428         * sunrpc/Makefile (headers): Add rpc/netdb.h.
87429         (headers-not-in-tirpc): Remove rpc/netdb.h
87430         * resolv/netdb.h: Revert last change.
87432 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
87434         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
87435         circular dependency between libgcc.a and libc.a.
87437 2011-05-05  Andreas Schwab  <schwab@redhat.com>
87439         * resolv/netdb.h: Don't include <rpc/netdb.h>.
87440         * nis/Makefile: Don't install rpcsvc/*.
87441         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
87442         instead of <rpc/types.h>.
87443         (MAXHOSTNAMELEN): Define.
87445 2011-05-03  Andreas Schwab  <schwab@redhat.com>
87447         * elf/ldconfig.c (add_dir): Don't crash on empty path.
87449 2011-04-28  Maciej Babinski  <mbabinski@google.com>
87451         [BZ #12714]
87452         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
87453         gethostbyname4_r when IPv6 results are possible.
87455 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
87457         [BZ #12723]
87458         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
87459         _PC_PIPE_BUF handling.
87461 2011-04-30  Bruno Haible  <bruno@clisp.org>
87463         [BZ #12717]
87464         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
87465         * resolv/netdb.h (getnameinfo): Change type of flags parameter
87466         to 'int'.
87467         * inet/getnameinfo.c (getnameinfo): Likewise.
87469 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
87471         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
87472         to groups setting in database lookup.
87473         * nss/nsswitch.conf: Add initgroups entry.
87475 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
87477         [BZ #12685]
87478         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
87479         mode string.
87480         Patch by Eric Blake <eblake@redhat.com>.
87482 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
87484         * sunrpc/Makefile (need-export-routines): Add svc_run.
87485         (routines): Remove svc_run.
87486         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
87487         * sunrpc/clnt_perr.c (clnt_perrno): Export.
87488         * sunrpc/svc_run.c (svc_run): Likewise.
87489         * sunrpc/svc_udp.c (svcudp_create): Likewise.
87491 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
87493         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
87494         problem in reallocation in last patch.
87496 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
87498         * sunrpc/Makefile: Move inclusion of Rules.
87500 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
87502         * nss/nss_files/files-initgroups.c: New file.
87503         * nss/Makefile (libnss_files-routines): Add files-initgroups.
87504         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
87505         _nss_files_initgroups_dyn.
87507 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
87509         * elf/elf.h (R_ARM_IRELATIVE): Define.
87511 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
87513         * po/ru.po: Update from translation team.
87515 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
87517         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
87518         dependencies.
87520 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
87522         [BZ #12653]
87523         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
87524         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
87525         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
87526         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
87527         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
87529 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
87531         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
87532         differing bytes.
87533         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
87534         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
87535         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
87537 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
87539         [BZ #12420]
87540         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
87541         storing it.
87542         * stdlib/bug-getcontext.c: New file.
87543         * stdlib/Makefile: Add rules to build and run bug-getcontext.
87545 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
87547         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
87548         instructions into .machine "z9-109".
87549         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
87550         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
87552 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
87554         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
87555         between environment variables and auxiliary vector.
87557 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
87559         * Makefile: Add rules to build linkobj/libc.so.
87560         * include/libc-symbols.h: Define libc_hidden_nolink.
87561         * include/rpc/auth.h: Mark functions which are to be hidden.
87562         * include/rpc/auth_des.h: Likewise.
87563         * include/rpc/auth_unix.h: Likewise.
87564         * include/rpc/clnt.h: Likewise.
87565         * include/rpc/des_crypt.h: Likewise.
87566         * include/rpc/key_prot.h: Likewise.
87567         * include/rpc/pmap_clnt.h: Likewise.
87568         * include/rpc/pmap_prot.h: Likewise.
87569         * include/rpc/pmap_rmt.h: Likewise.
87570         * include/rpc/rpc_msg.h: Likewise.
87571         * include/rpc/svc.h: Likewise.
87572         * include/rpc/svc_auth.h: Likewise.
87573         * include/rpc/xdr.h: Likewise.
87574         * nis/Makefile: Link all DSOs against linkobj/libc.so.
87575         * nss/Makefile: Likewise.
87576         * sunrpc/Makefile: Don't install headers.  Build library with normal
87577         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
87578         * sunrpc/auth_des.c: Hide exported symbols by default, export some
87579         for the compat linking library.  Remove use of INTDEF/INTUSE.
87580         * sunrpc/auth_none.c: Likewise.
87581         * sunrpc/auth_unix.c: Likewise.
87582         * sunrpc/authdes_prot.c: Likewise.
87583         * sunrpc/authuxprot.c: Likewise.
87584         * sunrpc/clnt_gen.c: Likewise.
87585         * sunrpc/clnt_perr.c: Likewise.
87586         * sunrpc/clnt_raw.c: Likewise.
87587         * sunrpc/clnt_simp.c: Likewise.
87588         * sunrpc/clnt_tcp.c: Likewise.
87589         * sunrpc/clnt_udp.c: Likewise.
87590         * sunrpc/clnt_unix.c: Likewise.
87591         * sunrpc/des_crypt.c: Likewise.
87592         * sunrpc/des_soft.c: Likewise.
87593         * sunrpc/get_myaddr.c: Likewise.
87594         * sunrpc/key_call.c: Likewise.
87595         * sunrpc/key_prot.c: Likewise.
87596         * sunrpc/netname.c: Likewise.
87597         * sunrpc/pm_getmaps.c: Likewise.
87598         * sunrpc/pm_getport.c: Likewise.
87599         * sunrpc/pmap_clnt.c: Likewise.
87600         * sunrpc/pmap_prot.c: Likewise.
87601         * sunrpc/pmap_prot2.c: Likewise.
87602         * sunrpc/pmap_rmt.c: Likewise.
87603         * sunrpc/publickey.c: Likewise.
87604         * sunrpc/rpc_cmsg.c: Likewise.
87605         * sunrpc/rpc_common.c: Likewise.
87606         * sunrpc/rpc_dtable.c: Likewise.
87607         * sunrpc/rpc_prot.c: Likewise.
87608         * sunrpc/rpc_thread.c: Likewise.
87609         * sunrpc/rtime.c: Likewise.
87610         * sunrpc/svc.c: Likewise.
87611         * sunrpc/svc_auth.c: Likewise.
87612         * sunrpc/svc_authux.c: Likewise.
87613         * sunrpc/svc_raw.c: Likewise.
87614         * sunrpc/svc_run.c: Likewise.
87615         * sunrpc/svc_simple.c: Likewise.
87616         * sunrpc/svc_tcp.c: Likewise.
87617         * sunrpc/svc_udp.c: Likewise.
87618         * sunrpc/svc_unix.c: Likewise.
87619         * sunrpc/svcauth_des.c: Likewise.
87620         * sunrpc/xcrypt.c: Likewise.
87621         * sunrpc/xdr.c: Likewise.
87622         * sunrpc/xdr_array.c: Likewise.
87623         * sunrpc/xdr_float.c: Likewise.
87624         * sunrpc/xdr_intXX_t.c: Likewise.
87625         * sunrpc/xdr_mem.c: Likewise.
87626         * sunrpc/xdr_rec.c: Likewise.
87627         * sunrpc/xdr_ref.c: Likewise.
87628         * sunrpc/xdr_sizeof.c: Likewise.
87629         * sunrpc/xdr_stdio.c: Likewise.
87631 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
87633         [BZ #12650]
87634         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
87635         * sysdeps/ia64/dl-tls.h: Likewise.
87636         * sysdeps/powerpc/dl-tls.h: Likewise.
87637         * sysdeps/s390/dl-tls.h: Likewise.
87638         * sysdeps/sh/dl-tls.h: Likewise.
87639         * sysdeps/sparc/dl-tls.h: Likewise.
87640         * sysdeps/x86_64/dl-tls.h: Likewise.
87641         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
87643 2011-03-14  Andreas Schwab  <schwab@redhat.com>
87645         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
87646         rpath element also skip the following colon.
87647         (expand_dynamic_string_token): Add is_path parameter and pass
87648         down to DL_DST_REQUIRED and _dl_dst_substitute.
87649         (decompose_rpath): Call expand_dynamic_string_token with
87650         non-zero is_path.  Ignore empty rpaths.
87651         (_dl_map_object_from_fd): Call expand_dynamic_string_token
87652         with zero is_path.
87654 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
87656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
87657         Make cancelable.
87659 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
87661         [BZ #12655]
87662         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
87663         Patch by Filipe David Manana <fdmanana@apache.org>.
87665 2011-04-07  Andreas Schwab  <schwab@redhat.com>
87667         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
87668         Maintain aligned stack.
87669         (CHECK_RSP): Remove unused macro.
87671 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
87673         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
87674         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
87676 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
87678         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
87680         * include/features.h: Mention __USE_XOPEN2K8 in comment.
87682 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
87684         [BZ #12518]
87685         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
87686         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
87687         * sysdeps/x86_64/memmove.c: New file.
87688         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
87689         (memcpy): Renamed to ...
87690         (__new_memcpy): This.
87691         (memcpy): Provide GLIBC_2_14 memcpy.
87692         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
87693         (memcpy): Provide GLIBC_2_2_5 memcpy.
87695 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
87697         [BZ #12631]
87698         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
87700 2011-03-30  Andreas Schwab  <schwab@redhat.com>
87702         * misc/syncfs.c: New file.
87703         * misc/Makefile (routines): Add syncfs.
87704         * posix/unistd.h: Declare syncfs.
87705         * sysdeps/unix/syscalls.list: Add syncfs.
87707 2011-04-01  Andreas Schwab  <schwab@redhat.com>
87709         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
87710         open_by_handle_at.
87711         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
87712         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
87713         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
87714         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
87715         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
87716         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
87717         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
87719 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
87721         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
87722         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
87723         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
87724         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
87725         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
87726         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
87727         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
87729         * io/Makefile: Compile fallocate.c, fallocate64.c, and
87730         sync_file_range.c with -fexceptions.
87731         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
87732         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
87733         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
87734         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
87735         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
87736         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
87737         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
87738         sync_file_range as cancellation point
87739         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
87740         now a wrapper around __call_sync_file_range with cancellation handling.
87741         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
87742         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
87743         function name to __call_sync_file_range.
87744         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
87745         Add call_sync_file_range.
87747 2011-04-01  Andreas Schwab  <schwab@redhat.com>
87749         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87750         bits/timex.h.
87752 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
87754         * iconv/iconv.h: Fix typo in comment.
87755         * io/fcntl.h: Likewise.
87756         * libio/stdio.h: Likewise.
87757         * posix/spawn.h: Likewise.
87758         * posix/unistd.h: Likewise.
87759         * stdlib/stdlib.h: Likewise.
87760         * time/time.h: Likewise.
87761         * wcsmbs/wchar.h: Likewise.
87763         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
87764         open_by_handle): Add.
87765         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
87766         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
87767         Augment a few comments.
87768         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
87769         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
87770         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
87771         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
87772         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
87773         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
87774         open_by_handle.
87776         * io/fcntl.h (AT_EMPTY_PATH): Define.
87778 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
87780         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
87781         * sysdeps/unix/sysv/linux/bits/time.h: New file.
87782         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
87783         to...
87784         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
87785         * Versions.def: Add GLIBC_2.14.
87786         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
87787         Export.
87789 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
87791         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
87792         round counter.
87793         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
87795 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
87797         [BZ #12597]
87798         * string/test-strncmp.c (do_page_test): New function.
87799         (check2): Likewise.
87800         (test_main): Call check2.
87801         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
87803 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
87805         [BZ #12587]
87806         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
87807         Handle cache information in CPU leaf 4.
87808         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
87810 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
87812         [BZ #12583]
87813         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
87814         character representation.
87815         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
87817 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
87819         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
87820         END(__isnan) to END(__isnanf) to match function entry point/label
87821         EALIGN(__isnanf,...).
87823 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
87825         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
87827 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
87829         [BZ #12510]
87830         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
87831         copy from the symbol referenced in the relocation to initialize the
87832         used variable.
87833         Patch by Piotr Bury <pbury@goahead.com>.
87834         * elf/Makefile: Add rules to build and tst-unique3.
87835         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
87836         * elf/tst-unique3.cc: New file.
87837         * elf/tst-unique3.h: New file.
87838         * elf/tst-unique3lib.cc: New file.
87839         * elf/tst-unique3lib2.cc: New file.
87841         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
87843 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
87845         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
87846         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
87847         to _start.
87849 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
87851         * elf/dl-load.c (_dl_map_object): If we are looking for the first
87852         to-be-loaded object along a path to loader is ld.so.
87854 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
87855             Ulrich Drepper  <drepper@gmail.com>
87857         * sysdeps/x86_64/memset.S: After aligning destination, code
87858         branches to different locations depending on the value of
87859         misalignment, when multiarch is enabled. Fix this.
87861 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
87863         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
87864         Set _x86_64_preferred_memory_instruction for AMD processsors.
87865         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87866         Set bit_Prefer_SSE_for_memop for AMD processors.
87868 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
87870         * libio/fmemopen.c (fmemopen): Optimize a bit.
87872 2011-03-03  Andreas Schwab  <schwab@redhat.com>
87874         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
87876 2011-03-03  Roland McGrath  <roland@redhat.com>
87878         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
87880 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
87882         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
87883         __bzero_ultra1 instead of __memset_ultra1.
87885 2011-02-23  Andreas Schwab  <schwab@redhat.com>
87886             Ulrich Drepper  <drepper@gmail.com>
87888         [BZ #12509]
87889         * include/link.h (struct link_map): Add l_orig_initfini.
87890         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
87891         returning unsuccessfully.
87892         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
87893         close of a file loaded at startup, restore the original l_initfini
87894         list.
87895         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
87896         list, store the pointer.
87897         * elf/Makefile ($(objpfx)noload-mem): New rule.
87898         (noload-ENV): Define.
87899         (tests): Add $(objpfx)noload-mem.
87900         * elf/noload.c: Include <memcheck.h>.
87901         (main): Call mtrace.  Close all opened handles.
87903 2011-02-17  Andreas Schwab  <schwab@redhat.com>
87905         [BZ #12454]
87906         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
87907         dependencies are missing.
87909 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87911         Fix __if_freereq crash: Unlike the generic version which uses free,
87912         Hurd needs munmap.
87913         * sysdeps/mach/hurd/ifreq.h: New file.
87915 2011-01-27  Petr Baudis  <pasky@suse.cz>
87916             Ulrich Drepper  <drepper@gmail.com>
87918         [BZ 12445]#
87919         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
87920         to extend_alloca().
87921         * stdio-common/bug23.c: New file.
87922         * stdio-common/Makefile (tests): Add bug23.
87924 2010-09-28  Andreas Schwab  <schwab@redhat.com>
87925             Ulrich Drepper  <drepper@gmail.com>
87927         [BZ #12489]
87928         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
87929         before performing relro protection.  At old place add assertion
87930         to make sure nothing changed.
87932 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
87933             Glauber de Oliveira Costa  <glommer@gmail.com>
87935         * elf/elf.h: Add new ARM TLS relocs.
87937 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
87939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
87940         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
87941         cast from r3.
87942         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
87943         'tests' variable.
87944         * sysdeps/wordsize-64/tst-writev.c: New file.
87946 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
87948         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
87949         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
87950         insns in _dl_start to prevent a TOC reference before relocs are
87951         resolved.
87953 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
87955         [BZ #12469]
87956         * Makeconfig: Remove RANLIB definition.
87957         * Makerules: Don't use RANLIB.
87958         * aclocal.m4: Remove ranlib test.
87959         * configure.in: No need to check for ranlib.
87960         * elf/rtld-Rules: Don't use RANLIB.
87962 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87964         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
87965         protection macro.
87966         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
87967         inclusion protection macro.
87969         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
87970         SIGRTMIN and SIGRTMAX and print information in that case only when
87971         SIGRTMIN is defined.
87973 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
87975         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
87976         arginfo fn returning -1.
87978         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
87979         and thousands string is zero terminated.
87981 2011-02-03  Andreas Schwab  <schwab@redhat.com>
87983         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
87984         sysdeps/unix/sysv/linux/bits/socket.h.
87986 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87988         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
87989         (__CPU_COUNT): Remove old macros.
87990         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
87991         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
87992         (__CPU_ALLOC, __CPU_FREE): Add macros.
87993         (__sched_cpualloc, __sched_cpufree): Add declarations.
87995 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
87997         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
87998         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
87999         * nscd/aicache.c (addhstaiX): Return timeout of added value.
88000         (readdhstai): Return value of addhstaiX call.
88001         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
88002         (addgrbyX): Return value returned by cache_addgr.
88003         (readdgrbyname): Return value returned by addgrbyX.
88004         (readdgrbygid): Likewise.
88005         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
88006         (addpwbyX): Return value returned by cache_addpw.
88007         (readdpwbyname): Return value returned by addhstbyX.
88008         (readdpwbyuid): Likewise.
88009         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
88010         (addservbyX): Return value returned by cache_addserv.
88011         (readdservbyname): Return value returned by addservbyX:
88012         (readdservbyport): Likewise.
88013         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
88014         (addhstbyX): Return value returned by cache_addhst.
88015         (readdhstbyname): Return value returned by addhstbyX.
88016         (readdhstbyaddr): Likewise.
88017         (readdhstbynamev6): Likewise.
88018         (readdhstbyaddrv6): Likewise.
88019         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
88020         (readdinitgroups): Return value returned by addinitgroupsX.
88021         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
88022         (prune_cache): Keep track of timeout value of re-added entries.
88023         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
88024         * nscd/nscd.h: Adjust prototypes of readd* functions.
88026 2011-02-04  Roland McGrath  <roland@redhat.com>
88028         * nis/nis_server.c (nis_servstate): Use the right name for 0.
88029         (nis_stats): Likewise.
88030         * nis/nis_modify.c (nis_modify): Likewise.
88031         * nis/nis_remove.c (nis_remove): Likewise.
88032         * nis/nis_add.c (nis_add): Likewise.
88034         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
88036         * posix/fnmatch_loop.c: Add some consts.
88038         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
88040 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
88042         [BZ #12460]
88043         * config.make.in (config-cflags-novzeroupper): Define.
88044         * configure.in: Substitute libc_cv_cc_novzeroupper.
88045         * elf/Makefile (AVX-CFLAGS): Define.
88046         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
88047         (CFLAGS-tst-auditmod4a.c): Likewise.
88048         (CFLAGS-tst-auditmod4b.c): Likewise.
88049         (CFLAGS-tst-auditmod6b.c): Likewise.
88050         (CFLAGS-tst-auditmod6c.c): Likewise.
88051         (CFLAGS-tst-auditmod7b.c): Likewise.
88052         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
88054 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
88056         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
88057         function to the callback.
88058         Patch partly by Jiri Olsa <jolsa@redhat.com>.
88060 2011-02-02  Andreas Schwab  <schwab@redhat.com>
88062         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
88063         of errno.
88065 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
88067         [BZ #11724]
88068         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
88069         of constructors.
88070         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
88071         of destructors.
88072         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
88074         [BZ #11724]
88075         * elf/Makefile: Add rules to build and run new test.
88076         * elf/tst-initorder.c: New file.
88077         * elf/tst-initorder.exp: New file.
88078         * elf/tst-initordera1.c: New file.
88079         * elf/tst-initordera2.c: New file.
88080         * elf/tst-initordera3.c: New file.
88081         * elf/tst-initordera4.c: New file.
88082         * elf/tst-initorderb1.c: New file.
88083         * elf/tst-initorderb2.c: New file.
88084         * elf/tst-order-a1.c: New file.
88085         * elf/tst-order-a2.c: New file.
88086         * elf/tst-order-a3.c: New file.
88087         * elf/tst-order-a4.c: New file.
88088         * elf/tst-order-b1.c: New file.
88089         * elf/tst-order-b2.c: New file.
88090         * elf/tst-order-main.c: New file.
88091         New test case by George Gensure <werkt0@gmail.com>.
88093 2010-10-01  Andreas Schwab  <schwab@redhat.com>
88095         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
88096         decoding ACE if AI_CANONIDN.
88098 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
88100         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
88102 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
88104         * version.h (RELEASE): Bump for 2.13 release.
88105         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
88107         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
88109         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
88110         MADV_NOHUGEPAGE.
88111         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
88112         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
88113         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
88114         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
88115         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
88116         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
88118         * posix/getconf.c: Update copyright year.
88119         * catgets/gencat.c: Likewise.
88120         * csu/version.c: Likewise.
88121         * debug/catchsegv.sh: Likewise.
88122         * debug/xtrace.sh: Likewise.
88123         * elf/ldconfig.c: Likewise.
88124         * elf/ldd.bash.in: Likewise.
88125         * elf/sprof.c (print_version): Likewise.
88126         * iconv/iconv_prog.c: Likewise.
88127         * iconv/iconvconfig.c: Likewise.
88128         * locale/programs/locale.c: Likewise.
88129         * locale/programs/localedef.c: Likewise.
88130         * malloc/memusage.sh: Likewise.
88131         * malloc/mtrace.pl: Likewise.
88132         * nscd/nscd.c (print_version): Likewise.
88133         * nss/getent.c: Likewise.
88135         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
88136         PF_CAIF, and PF_ALG.
88137         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
88139 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
88141         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
88142         (modules-names): Use them.
88143         (ifunc-test-modules, ifunc-pie-tests): Define.
88144         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
88145         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
88146         (test-extras): Likewise.
88147         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
88148         $(compile-command.c).
88149         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
88150         (all-built-dso): Define.
88151         (check-textrel.out, check-execstack.out): Depend on it.
88153         * configure.in: Don't override --enable-multi-arch.
88155 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
88157         [BZ #6812]
88158         * nscd/hstcache.c (tryagain): Define.
88159         (cache_addhst): Return tryagain not notfound for temporary errors.
88160         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
88161         failed.
88163 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
88165         [BZ #10563]
88166         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
88167         to make the syscall.
88168         * sysdeps/unix/sysv/linux/setgroups.c: New file.
88170         [BZ #12378]
88171         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
88172         and fall back to matching as normal character if the string ends before
88173         the matching ']' is found.  This is what POSIX requires.
88174         * posix/testfnm.c: Adjust test result.
88175         * posix/globtest.sh: Adjust test result.  Add new test.
88176         * posix/tst-fnmatch.input: Likewise.
88177         * posix/tst-fnmatch2.c: Add new test.
88179 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
88181         * elf/Makefile (check-execstack): Revert last change.  Depend on
88182         check-execstack.h.
88183         (check-execstack.h): New target.
88184         (generated): Add check-execstack.h.
88185         * elf/check-execstack.c: Include "check-execstack.h".
88186         (main): Revert last change.
88187         (handle_file): Return zero if GNU_STACK is absent and
88188         DEFAULT_STACK_PERMS doesn't include PF_X.
88190 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
88192         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
88193         in child fails because the descriptor is already closed.
88194         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
88195         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
88196         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
88198         [BZ #12397]
88199         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
88200         syscall.
88202         [BZ #10484]
88203         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
88204         temporary buffer used to handle multi lookups locally.
88205         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
88207 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
88209         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
88210         loader is ld.so.
88212 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
88214         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
88215         alignment for SSE2.
88217 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
88219         [BZ #12394]
88220         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
88221         characters.  When rounding increased number of integer digits recompute
88222         number of groups.
88223         * stdio-common/tst-grouping.c: New file.
88224         * stdio-common/Makefile: Add rules to build and run tst-grouping.
88226 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
88228         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
88229         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
88231         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
88232         void.
88233         * bits/select.h: Likewise.
88235 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
88237         * po/ja.po: Update from translation team.
88239 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
88241         [BZ #11155]
88242         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
88243         implementation just like for lxstat, fxstatat, et al.
88245 2010-12-27  Jim Meyering  <meyering@redhat.com>
88247         [BZ #12348]
88248         * posix/regexec.c (build_trtable): Return failure indication upon
88249         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
88251 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
88253         [BZ #12201]
88254         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
88255         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
88256         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
88257         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
88259         [BZ #12207]
88260         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
88262         [BZ #12204]
88263         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
88264         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
88266 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
88268         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
88269         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
88270         script has SORT_BY_INIT_PRIORITY.
88271         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
88272         NO_CTORS_DTORS_SECTIONS is defined.
88273         * elf/soinit.c: Likewise.
88274         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
88275         NO_CTORS_DTORS_SECTIONS is defined.
88276         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
88277         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
88278         * sysdeps/sh/init-first.c: Likewise.
88279         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
88281 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
88283         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
88284         always use the slow path.
88286 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
88288         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
88289         similar rule which adds the sysdep directories to the header search in
88290         order to pick up the correct platform stackinfo.h.
88291         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
88292         perform test if it is, otherwise return successfully without testing.
88293         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
88294         DEFAULT_STACK_PERMS define in stackinfo.h.
88295         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
88296         defined in stackinfo.h.
88297         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
88298         DEFAULT_STACK_PERMS defined in stackinfo.h.
88299         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
88300         * sysdeps/ia64/stackinfo.h: Likewise.
88301         * sysdeps/s390/stackinfo.h: Likewise.
88302         * sysdeps/sh/stackinfo.h: Likewise.
88303         * sysdeps/sparc/stackinfo.h: Likewise.
88304         * sysdeps/x86_64/stackinfo.h: Likewise.
88305         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
88306         PF_X for powerpc64.  Retain PF_X for powerpc32.
88308 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
88310         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
88311         accurately.
88312         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
88313         GETDENTS_64BIT_ALIGNED.
88315 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
88317         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
88319 2010-12-10  Andreas Schwab  <schwab@redhat.com>
88321         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
88322         _GNU_SOURCE.
88324         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
88325         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
88326         Remove __restrict.
88327         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
88328         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
88330 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
88332         [BZ #11655]
88333         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
88334         are initialized.
88336 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
88338         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
88340 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
88342         * po/it.po: Update from translation team.
88344 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
88346         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
88347         unused codes.
88349 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
88351         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
88353 2010-11-24  Andreas Schwab  <schwab@redhat.com>
88355         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
88356         specially.
88357         (gaih_getanswer_slice): Likewise.
88359 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
88361         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
88363 2010-05-31  Petr Baudis  <pasky@suse.cz>
88365         [BZ #11149]
88366         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
88367         silently even in the chroot mode.
88369 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
88371         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
88372         last patch a bit.  Pretty printing
88374 2010-05-31  Petr Baudis <pasky@suse.cz>
88376         [BZ #10085]
88377         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
88378         initialization of skip_initgroups_dyn.
88380 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
88382         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
88383         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
88385 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
88387         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
88389 2010-11-11  Andreas Schwab  <schwab@redhat.com>
88391         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
88392         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
88393         (tst-fnmatch-ENV): Set MALLOC_TRACE.
88394         ($(objpfx)tst-fnmatch-mem): New rule.
88395         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
88396         * posix/tst-fnmatch.c (main): Call mtrace.
88398 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
88400         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
88401         Support Intel processor model 6 and model 0x2c.
88403 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
88405         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
88406           signed comparison.
88408 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
88410         [BZ #12205]
88411         * string/test-strncasecmp.c (check_result): New function.
88412         (do_one_test): Use it.
88413         (check1): New function.
88414         (test_main): Use it.
88415         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
88416         Support strcasecmp and strncasecmp.
88418 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
88420         [BZ #12194]
88421         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
88422         * sysdeps/x86_64/bits/byteswap.h: Likewise.
88424 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
88426         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
88427         IFUNC support.
88428         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
88429         memset-x86-64.
88430         * sysdeps/x86_64/multiarch/bzero.S: New file.
88431         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
88432         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
88433         * sysdeps/x86_64/multiarch/memset.S: New file.
88434         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
88435         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
88436         Set bit_Prefer_SSE_for_memop for Intel processors.
88437         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
88438         Define.
88439         (index_Prefer_SSE_for_memop): Define.
88440         (HAS_PREFER_SSE_FOR_MEMOP): Define.
88442 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
88444         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
88445         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
88447 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
88449         [BZ #12191]
88450         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
88451         (__x86_64_raw_data_cache_size_half): Likewise.
88452         (__x86_64_raw_shared_cache_size): Likewise.
88453         (__x86_64_raw_shared_cache_size_half): Likewise.
88455         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
88456         (__x86_64_raw_data_cache_size_half): Likewise.
88457         (__x86_64_raw_shared_cache_size): Likewise.
88458         (__x86_64_raw_shared_cache_size_half): Likewise.
88459         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
88460         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
88461         and __x86_64_raw_shared_cache_size_half.  Round
88462         __x86_64_data_cache_size_half, __x86_64_data_cache_size
88463         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
88464         to multiple of 256 bytes.
88466 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
88468         [BZ #12167]
88469         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
88470         of inacessible symlinks.  Verify result of symlink before returning it.
88471         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
88472         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
88474 2010-10-28  Erich Ritz  <erichritz@gmail.com>
88476         * math/math.h (isinf): Fix typo in comment.
88478 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
88480         * po/da.po: Update from translation team.
88482 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
88484         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
88485         is added to the list.
88487 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88488             Ulrich Drepper  <drepper@gmail.com>
88490         * elf/dl-object.c (_dl_new_object): Don't append the new object to
88491         the global list here.  Move code to...
88492         (_dl_add_to_namespace_list): ...here.  New function.
88493         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
88494         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
88495         * elf/dl-load.c (lose): Don't remove the element from the list.
88496         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
88497         (_dl_map_object): Likewise.
88499 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
88501         [BZ #12159]
88502         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
88503         into all bytes of SSE register.
88504         Patch by Richard Li <richardpku@gmail.com>.
88506 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
88508         [BZ #12140]
88509         * malloc/malloc.c (_int_free): Fill correct number of bytes when
88510         perturbing.
88512 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
88514         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
88515         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
88516         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
88517         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
88518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
88519         submachine.
88520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
88522 2010-10-22  Andreas Schwab  <schwab@redhat.com>
88524         * include/dlfcn.h (__RTLD_SECURE): Define.
88525         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
88526         mode & __RTLD_SECURE instead.
88527         (open_path): Rename preloaded parameter to secure.
88528         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
88529         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
88530         * elf/dl-deps.c (openaux): Likewise.
88531         * elf/rtld.c (struct map_args): Remove is_preloaded.
88532         (map_doit): Don't use it.
88533         (dl_main): Likewise.
88534         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
88535         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
88537 2010-09-09  Andreas Schwab  <schwab@redhat.com>
88539         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
88540         (sysd-rules-targets): Remove duplicates.
88541         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
88542         rtld-%.$o dependency.
88544 2010-10-18  Andreas Schwab  <schwab@redhat.com>
88546         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
88547         _dl_map_object do it.
88549 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
88551         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
88552         fast fma builtins, define the macros in the C99 standard.
88553         (FP_FAST_FMAF): Likewise.
88554         (FP_FAST_FMAL): Likewise.
88555         * sysdeps/x86_64/bits/mathdef.h: Likewise.
88557         * bits/mathdef.h: Update copyright year.
88558         * sysdeps/powerpc/bits/mathdef.h: Likewise.
88560 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
88562         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
88563         builtins, define the macros in the C99 standard.
88564         (FP_FAST_FMAF): Likewise.
88565         (FP_FAST_FMAL): Likewise.
88566         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
88567         multiply/add.
88568         (FP_FAST_FMAF): Likewise.
88570 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
88572         [BZ #3268]
88573         * math/libm-test.inc (fma_test): Some new testcases.
88574         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
88575         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
88576         y and infinite z.  Do multiplication by C already in long double.
88577         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
88578         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
88579         y and infinite z.  Do bitwise or of inexact bit into u.d.
88580         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
88581         * sysdeps/i386/fpu/s_fmaf.S: Removed.
88582         * sysdeps/i386/fpu/s_fma.S: Removed.
88583         * sysdeps/i386/fpu/s_fmal.S: Removed.
88585 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
88587         [BZ #3268]
88588         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
88589         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
88590         computation is not scheduled after fetestexcept.  Fix value
88591         of minimum denormal long double.
88593 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
88595         [BZ #3268]
88596         * math/libm-test.inc (fma_test): Add some more tests.
88597         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
88598         correctly.
88600 2010-10-15  Andreas Schwab  <schwab@redhat.com>
88602         * scripts/data/localplt-s390-linux-gnu.data: New file.
88603         * scripts/data/localplt-s390x-linux-gnu.data: New file.
88605 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
88607         [BZ #3268]
88608         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
88609         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
88610         instead of dbl-64.
88611         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
88612         inlines.
88613         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
88614         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
88615         if one of x and y is very large and the other is subnormal.
88616         * sysdeps/s390/fpu/s_fmaf.c: New file.
88617         * sysdeps/s390/fpu/s_fma.c: New file.
88618         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
88619         * sysdeps/powerpc/fpu/s_fma.S: New file.
88620         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
88621         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
88622         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
88624 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
88626         [BZ #3268]
88627         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
88628         fma tests.
88629         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
88630         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
88631         * sysdeps/i386/i686/multiarch/s_fma.c: Include
88632         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
88633         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
88634         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
88635         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
88637 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
88639         [BZ #12078]
88640         * posix/regcomp.c (parse_branch): One more memory leak plugged.
88641         * posix/bug-regex31.input: Add test case.
88643 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
88645         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
88646         * posix/bug-regex31.input: New file.
88648         [BZ #12078]
88649         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
88650         (parse_sub_exp): Fix last change, use postorder.
88652         * posix/bug-regex31.c: New file.
88653         * posix/Makefile: Add rules to build and run bug-regex31.
88655         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
88657         [BZ #12078]
88658         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
88660         [BZ #12108]
88661         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
88662         to have entries in sys_siglist.
88664         [BZ #12093]
88665         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
88666         be NULL.
88668 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
88670         [BZ #3268]
88671         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
88672         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
88673         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
88674         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
88675         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
88676         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
88677         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
88678         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
88679         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
88680         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
88681         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
88682         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
88683         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
88684         * math/ftestexcept.c (fetestexcept): Likewise.
88685         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
88686         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
88687         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
88688         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
88689         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
88690         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
88691         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
88693 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
88695         [BZ #12107]
88696         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
88697         newline.
88699 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
88701         * string/bug-strstr1.c: New file.
88702         * string/Makefile: Add rules to build and run bug-strstr1.
88704 2010-10-05  Eric Blake  <eblake@redhat.com>
88706         [BZ #12092]
88707         * string/str-two-way.h (two_way_long_needle): Always clear memory
88708         when skipping input due to the shift table.
88710 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
88712         [BZ #12005]
88713         * malloc/mcheck.c: Handle large requests.
88715         [BZ #12077]
88716         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
88717         for strncmp and strncasecmp.
88718         * string/stratcliff.c: Add tests for strcmp and strncmp.
88719         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
88721 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
88723         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
88724         __set_fpscr.
88726 2010-09-30  Andreas Jaeger  <aj@suse.de>
88728         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
88729         (CGROUP_SUPER_MAGIC): Define.
88730         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
88731         Handle btrfs and cgroup file systems.
88732         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
88733         Likewise.
88735 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
88737         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
88738         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
88740 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88742         [BZ #12067]
88743         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
88744         trying to locate the ELF header.
88746 2010-09-27  Andreas Schwab  <schwab@redhat.com>
88748         [BZ #11611]
88749         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
88750         Mask out sign-bit copies when constructing f_fsid.
88752 2010-09-24  Petr Baudis <pasky@suse.cz>
88754         * debug/stack_chk_fail_local.c: Add missing licence exception.
88755         * debug/warning-nop.c: Likewise.
88757 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
88759         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
88760         implementing getdents64 using getdents syscall, set d_type if
88761         __ASSUME_GETDENTS32_D_TYPE.
88763 2010-09-16  Andreas Schwab  <schwab@redhat.com>
88765         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
88766         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
88768 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
88770         [BZ #12037]
88771         * posix/unistd.h: Undo change of feature selection for ftruncate from
88772         2010-01-11.
88774 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
88776         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
88777         detection.
88779 2010-09-20  Andreas Schwab  <schwab@redhat.com>
88781         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
88782         fanotify_mark.
88783         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
88785 2010-09-14  Andreas Schwab  <schwab@redhat.com>
88787         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
88788         variables after CHECK_SP call.
88789         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
88791 2010-09-13  Andreas Schwab  <schwab@redhat.com>
88792             Ulrich Drepper  <drepper@redhat.com>
88794         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
88795         re-relocationg ld.so.
88796         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
88797         _dl_init_paths call.
88798         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
88799         here anymore.
88801 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
88803         * resolv/res_init.c (__res_vinit): Count the default server we added.
88805 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
88806             Ulrich Drepper  <drepper@redhat.com>
88808         [BZ #11968]
88809         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
88810         (____longjmp_chk): Use %ebx for saving value across system call.
88811         Add unwind info.
88813 2010-09-06  Andreas Schwab  <schwab@redhat.com>
88815         * manual/Makefile: Don't mix pattern rules with normal rules.
88817 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
88819         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
88820         operation.
88821         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
88822         * libio/iofopncook.c (_IO_cookie_init): Likewise.
88823         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
88824         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
88825         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
88826         Likewise.
88828 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
88830         [BZ #11979]
88831         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
88832         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
88834 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
88836         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
88837         * sysdeps/x86_64/addmul_1.S: Likewise.
88838         * sysdeps/x86_64/lshift.S: Likewise.
88839         * sysdeps/x86_64/mul_1.S: Likewise.
88840         * sysdeps/x86_64/rshift.S: Likewise.
88841         * sysdeps/x86_64/sub_n.S: Likewise.
88842         * sysdeps/x86_64/submul_1.S: Likewise.
88844 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88846         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
88847         Define __sched_param instead of SCHED_* and sched_param when
88848         <bits/sched.h> is included with __need_schedparam defined.
88849         * bits/sched.h [__need_schedparam]
88850         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
88851         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
88852         (__defined_schedparam): Define to 1.
88853         (__sched_param): New structure, identical to sched_param.
88854         (__need_schedparam): Undefine.
88856 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
88858         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
88859         (epoll_create1): Declare.
88861         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
88863 2010-08-31  Andreas Schwab  <schwab@redhat.com>
88865         [BZ #7066]
88866         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
88867         shifting retval into place.
88869 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
88871         * nis/rpcsvc/nis.h: Update copyright notice.
88872         * nis/rpcsvc/nis.x: Likewise.
88873         * nis/rpcsvc/nis_callback.h: Likewise.
88874         * nis/rpcsvc/nis_callback.x: Likewise.
88875         * nis/rpcsvc/nis_object.x: Likewise.
88876         * nis/rpcsvc/nis_tags.h: Likewise.
88877         * nis/rpcsvc/yp.h: Likewise.
88878         * nis/rpcsvc/yp.x: Likewise.
88879         * nis/rpcsvc/ypupd.h: Likewise.
88880         * nis/yp_xdr.c: Likewise.
88881         * nis/ypupdate_xdr.c: Likewise.
88883         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
88884         mainly the body of pmap_getport.  Add parameters to specify timeouts.
88885         (pmap_getport): Use __libc_rpc_getport.
88886         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
88887         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
88888         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
88890 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
88892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
88893         fanotify_mark.
88895 2010-08-27  Roland McGrath  <roland@redhat.com>
88897         * sysdeps/i386/i686/multiarch/Makefile
88898         (CFLAGS-varshift.c): New variable.
88900 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
88902         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
88903         * sysdeps/i386/i686/multiarch/varshift.c: New file.
88905         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
88907         * sysdeps/x86_64/strlen.S: Minimal code improvement.
88909 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
88911         * sysdeps/x86_64/strlen.S: Unroll the loop.
88912         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
88913         strlen-sse2 strlen-sse2-bsf.
88914         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
88915         __strlen_no_bsf if bit_Slow_BSF is set.
88916         (__strlen_sse42): Removed.
88917         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
88918         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
88920 2010-08-25  Roland McGrath  <roland@redhat.com>
88922         * sysdeps/x86_64/multiarch/varshift.S: File removed.
88923         * sysdeps/x86_64/multiarch/varshift.c: New file.
88924         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
88925         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
88926         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
88927         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
88929 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
88931         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
88932         strlen-sse2 strlen-sse2-bsf.
88933         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
88934         __strlen_sse2_bsf if bit_Slow_BSF is unset.
88935         (__strlen_sse2): Removed.
88936         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
88937         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
88938         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
88939         bit_Slow_BSF for Atom.
88940         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
88941         (index_Slow_BSF): Define.
88942         (HAS_SLOW_BSF): Define.
88944 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
88946         [BZ #10851]
88947         * resolv/res_init.c (__res_vinit): When no server address at all
88948         is given default to loopback.
88950 2010-08-24  Roland McGrath  <roland@redhat.com>
88952         * configure.in: Remove config-name.h generation.
88953         * configure: Regenerated.
88954         * config-name.in: File removed.
88955         * scripts/config-uname.sh: New file.
88956         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
88957         ($(objdir)config-name.h): New target.
88959         * sunrpc/rpc_parse.h: Avoid nested comment.
88961 2010-08-24  Richard Henderson  <rth@redhat.com>
88962             Ulrich Drepper  <drepper@redhat.com>
88963             H.J. Lu  <hongjiu.lu@intel.com>
88965         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
88966         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
88967         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
88968         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
88969         _mm_alignr_epi8 with _mm_loadu_si128.
88970         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
88971         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
88972         (__m128i_shift_right): Removed.
88973         * sysdeps/i386/i686/multiarch/varshift.h: New file.
88974         * sysdeps/i386/i686/multiarch/varshift.S: New file.
88975         * sysdeps/x86_64/multiarch/varshift.h: New file.
88976         * sysdeps/x86_64/multiarch/varshift.S: New file.
88978 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
88980         * configure.in: Move assembler checks to before sysdep dir checking.
88982 2010-08-20  Petr Baudis  <pasky@suse.cz>
88984         * LICENSES: Sync the sunrpc license.
88986 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
88988         * sunrpc/auth_des.c: Update copyright notice once again.
88989         * sunrpc/auth_none.c: Likewise.
88990         * sunrpc/auth_unix.c: Likewise.
88991         * sunrpc/authdes_prot.c: Likewise.
88992         * sunrpc/authuxprot.c: Likewise.
88993         * sunrpc/bindrsvprt.c: Likewise.
88994         * sunrpc/clnt_gen.c: Likewise.
88995         * sunrpc/clnt_perr.c: Likewise.
88996         * sunrpc/clnt_raw.c: Likewise.
88997         * sunrpc/clnt_simp.c: Likewise.
88998         * sunrpc/clnt_tcp.c: Likewise.
88999         * sunrpc/clnt_udp.c: Likewise.
89000         * sunrpc/clnt_unix.c: Likewise.
89001         * sunrpc/des_crypt.c: Likewise.
89002         * sunrpc/des_soft.c: Likewise.
89003         * sunrpc/get_myaddr.c: Likewise.
89004         * sunrpc/getrpcport.c: Likewise.
89005         * sunrpc/key_call.c: Likewise.
89006         * sunrpc/key_prot.c: Likewise.
89007         * sunrpc/openchild.c: Likewise.
89008         * sunrpc/pm_getmaps.c: Likewise.
89009         * sunrpc/pm_getport.c: Likewise.
89010         * sunrpc/pmap_clnt.c: Likewise.
89011         * sunrpc/pmap_prot.c: Likewise.
89012         * sunrpc/pmap_prot2.c: Likewise.
89013         * sunrpc/pmap_rmt.c: Likewise.
89014         * sunrpc/rpc/auth.h: Likewise.
89015         * sunrpc/rpc/auth_unix.h: Likewise.
89016         * sunrpc/rpc/clnt.h: Likewise.
89017         * sunrpc/rpc/des_crypt.h: Likewise.
89018         * sunrpc/rpc/key_prot.h: Likewise.
89019         * sunrpc/rpc/netdb.h: Likewise.
89020         * sunrpc/rpc/pmap_clnt.h: Likewise.
89021         * sunrpc/rpc/pmap_prot.h: Likewise.
89022         * sunrpc/rpc/pmap_rmt.h: Likewise.
89023         * sunrpc/rpc/rpc.h: Likewise.
89024         * sunrpc/rpc/rpc_des.h: Likewise.
89025         * sunrpc/rpc/rpc_msg.h: Likewise.
89026         * sunrpc/rpc/svc.h: Likewise.
89027         * sunrpc/rpc/svc_auth.h: Likewise.
89028         * sunrpc/rpc/types.h: Likewise.
89029         * sunrpc/rpc/xdr.h: Likewise.
89030         * sunrpc/rpc_clntout.c: Likewise.
89031         * sunrpc/rpc_cmsg.c: Likewise.
89032         * sunrpc/rpc_common.c: Likewise.
89033         * sunrpc/rpc_cout.c: Likewise.
89034         * sunrpc/rpc_dtable.c: Likewise.
89035         * sunrpc/rpc_hout.c: Likewise.
89036         * sunrpc/rpc_main.c: Likewise.
89037         * sunrpc/rpc_parse.c: Likewise.
89038         * sunrpc/rpc_parse.h: Likewise.
89039         * sunrpc/rpc_prot.c: Likewise.
89040         * sunrpc/rpc_sample.c: Likewise.
89041         * sunrpc/rpc_scan.c: Likewise.
89042         * sunrpc/rpc_scan.h: Likewise.
89043         * sunrpc/rpc_svcout.c: Likewise.
89044         * sunrpc/rpc_tblout.c: Likewise.
89045         * sunrpc/rpc_util.c: Likewise.
89046         * sunrpc/rpc_util.h: Likewise.
89047         * sunrpc/rpcinfo.c: Likewise.
89048         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
89049         * sunrpc/rpcsvc/key_prot.x: Likewise.
89050         * sunrpc/rpcsvc/klm_prot.x: Likewise.
89051         * sunrpc/rpcsvc/mount.x: Likewise.
89052         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
89053         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
89054         * sunrpc/rpcsvc/rex.x: Likewise.
89055         * sunrpc/rpcsvc/rstat.x: Likewise.
89056         * sunrpc/rpcsvc/rusers.x: Likewise.
89057         * sunrpc/rpcsvc/sm_inter.x: Likewise.
89058         * sunrpc/rpcsvc/spray.x: Likewise.
89059         * sunrpc/rpcsvc/yppasswd.x: Likewise.
89060         * sunrpc/rtime.c: Likewise.
89061         * sunrpc/svc.c: Likewise.
89062         * sunrpc/svc_auth.c: Likewise.
89063         * sunrpc/svc_authux.c: Likewise.
89064         * sunrpc/svc_raw.c: Likewise.
89065         * sunrpc/svc_run.c: Likewise.
89066         * sunrpc/svc_simple.c: Likewise.
89067         * sunrpc/svc_tcp.c: Likewise.
89068         * sunrpc/svc_udp.c: Likewise.
89069         * sunrpc/svc_unix.c: Likewise.
89070         * sunrpc/svcauth_des.c: Likewise.
89071         * sunrpc/xcrypt.c: Likewise.
89072         * sunrpc/xdr.c: Likewise.
89073         * sunrpc/xdr_array.c: Likewise.
89074         * sunrpc/xdr_float.c: Likewise.
89075         * sunrpc/xdr_mem.c: Likewise.
89076         * sunrpc/xdr_rec.c: Likewise.
89077         * sunrpc/xdr_ref.c: Likewise.
89078         * sunrpc/xdr_sizeof.c: Likewise.
89079         * sunrpc/xdr_stdio.c: Likewise.
89081         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
89082         handling.
89084 2010-08-19  Andreas Schwab  <schwab@redhat.com>
89086         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
89088 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
89090         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
89091         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
89092         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
89093         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
89094         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
89095         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
89096         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
89097         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
89098         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
89099         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
89100         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
89101         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
89102         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
89103         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
89105 2010-07-26  Anton Blanchard  <anton@samba.org>
89107         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
89108         * malloc/arena.c (heap_trim): Likewise.
89110 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
89112         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
89113         here.  Not...
89114         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
89115         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
89117 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
89119         * sysdeps/i386/elf/Makefile: New file.
89121 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
89123         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
89124         from fanotify_init.
89125         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
89126         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
89128 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
89130         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
89131         of strncasecmp_l.
89132         * sysdeps/multiarch/strcmp.S: Likewise.
89134 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
89136         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
89137         strncase_l-nonascii.
89138         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
89139         Add strncase_l-ssse3.
89140         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
89141         * sysdeps/x86_64/strcmp.S: Likewise.
89142         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
89143         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
89144         * sysdeps/x86_64/strncase.S: New file.
89145         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
89146         * sysdeps/x86_64/strncase_l.S: New file.
89147         * string/Makefile (strop-tests): Add strncasecmp.
89148         * string/test-strncasecmp.c: New file.
89150         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
89151         warning.
89153         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
89154         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
89156 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
89158         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
89160 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
89162         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
89163         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
89164         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
89166 2010-05-01  Alan Modra  <amodra@gmail.com>
89168         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
89169         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
89170         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
89171         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
89172         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
89173         tidying.  Don't tail-call __sigjmp_save for static lib.
89174         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
89175         save location.
89176         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
89177         (CALL_MCOUNT): Add eh info, and nop after bl.
89178         (TAIL_CALL_SYSCALL_ERROR): New macro.
89179         (PSEUDO_RET): Use it.
89180         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
89181         Correct save location of integer regs and cr.
89182         (_dl_profile_resolve): Correct cr save location.  Delete nops
89183         after bl when SHARED.  Reduce cfi size a little by better
89184         placement of cfi directives.
89185         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
89186         make a stack frame.  Instead use parm save area as a temp.
89187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
89188         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
89189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
89190         Don't make a stack frame for parent, use parm save area.
89191         Increase child stack frame to 112 bytes.  Don't save unused reg,
89192         and adjust reg usage.  Set up cfi on error recovery and
89193         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
89194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
89195         (__makecontext): Add dummy nop after jump to exit.
89196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
89197         Use correct parm save area and cr save, reduce stack frame.
89198         Correct cfi for possible PSEUDO_RET frame setup.
89199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
89200         Branch to local label emitted by PSEUDO_RET rather than
89201         __syscall_error.
89203 2010-08-12  Andreas Schwab  <schwab@redhat.com>
89205         [BZ #11904]
89206         * locale/programs/locale.c (print_assignment): New function.
89207         (show_locale_vars): Use it.
89209 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
89211         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
89212         field.
89213         (struct statfs64): Likewise.
89214         (_STATFS_F_FLAGS): Define.
89215         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
89216         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
89217         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
89218         (ST_VALID): Define locally.
89219         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
89220         __statvfs_getflags, use the provided value.
89221         * sysdeps/unix/sysv/linux/kernel-features.h: Define
89222         __ASSUME_STATFS_F_FLAGS.
89224         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
89226         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
89227         Add sys/fanotify.h.
89228         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
89229         fanotify_mask for GLIBC_2.13.
89230         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
89231         fanotify_init and fanotify_mark.
89232         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
89233         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
89235         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
89236         Add prlimit.
89237         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
89238         prlimit64 for GLIBC_2.13.
89239         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
89240         prlimit64.
89241         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
89242         syscall.
89243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
89244         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
89245         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
89246         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
89247         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
89248         add prlimit alias.
89249         * sysdeps/unix/sysv/linux/prlimit.c: New file.
89251         [BZ #11903]
89252         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
89253         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
89255         * nss/Makefile: Add rules to build and run tst-nss-test1.
89256         * shlib-versions: Add entry for libnss_test1.
89257         * nss/nss_test1.c: New file.
89258         * nss/tst-nss-test1.c: New file.
89260         * nss/nsswitch.c (__nss_database_custom): Define new variable.
89261         (__nss_configure_lookup): Set appropriate entry in
89262         __nss_configure_lookup to true.
89263         * nss/nsswitch.h: Define enum with indeces of databases in
89264         databases and __nss_database_custom arrays.  Declare
89265         __nss_database_custom.
89266         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
89267         to avoid using nscd when custom rules are installed.
89268         * nss/getXXbyYY_r.c: Likewise.
89269         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
89271         * nss/nss_files/files-parse.c: Whitespace fixes.
89273 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
89275         [BZ #11883]
89276         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
89277         * posix/fnmatch_loop.c: Likewise.
89279 2010-07-17  Andi Kleen  <ak@linux.intel.com>
89281         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
89282         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
89283         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
89284         * Versions.def [GLIBC_2.13]: Add.
89286 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
89288         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
89289         Also fail if tpwd after pwuid call is NULL.
89291 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89293         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
89294         when converting to ms.
89296 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89298         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
89299         EOPNOTSUPP errors with ENOTTY.
89300         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
89301         EOPNOTSUPP errors with ENOTTY.
89303 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
89305         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
89306         Add strcasecmp_l-ssse3.
89307         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
89308         strcasecmp.
89309         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
89310         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
89311         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
89313 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
89315         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
89317         * string/Makefile (strop-tests): Add strcasecmp.
89318         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
89319         strcasecmp_l-nonascii.
89320         (gen-as-const-headers): Add locale-defines.sym.
89321         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
89322         * sysdeps/x86_64/strcasecmp.S: New file.
89323         * sysdeps/x86_64/strcasecmp_l.S: New file.
89324         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
89325         * sysdeps/x86_64/locale-defines.sym: New file.
89326         * string/test-strcasecmp.c: New file.
89328         * string/test-strcasestr.c: Test both ends of the range of characters.
89329         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
89331 2010-07-29  Roland McGrath  <roland@redhat.com>
89333         [BZ #11856]
89334         * manual/locale.texi (Yes-or-No Questions): Fix example code.
89336 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
89338         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
89339         for ld.so.
89341 2010-07-27  Andreas Schwab  <schwab@redhat.com>
89343         * manual/memory.texi (Malloc Tunable Parameters): Document
89344         M_PERTURB.
89346 2010-07-26  Roland McGrath  <roland@redhat.com>
89348         [BZ #11840]
89349         * configure.in (-fgnu89-inline check): Set and substitute
89350         gnu89_inline, not libc_cv_gnu89_inline.
89351         * configure: Regenerated.
89352         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
89354 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
89356         * string/test-strnlen.c: New file.
89357         * string/Makefile (strop-tests): Add strnlen.
89358         * string/tester.c (test_strnlen): Add a few more test cases.
89359         * string/tst-strlen.c: Better error reporting.
89361         * sysdeps/x86_64/strnlen.S: New file.
89363 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
89365         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
89366         lower-latency instructions.
89368 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
89370         * string/test-strcasestr.c: New file.
89371         * string/test-strstr.c: New file.
89372         * string/Makefile (strop-tests): Add strstr and strcasestr.
89373         * string/str-two-way.h: Don't undefine MAX.
89374         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
89376 2010-07-21  Andreas Schwab  <schwab@redhat.com>
89378         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89379         strcasestr-nonascii.
89380         (CFLAGS-strcasestr-nonascii.c): Define.
89381         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
89382         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
89383         Remove unused attribute.
89385 2010-07-20  Roland McGrath  <roland@redhat.com>
89387         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
89388         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
89389         ld.so.cache was broken.  With it, there is no way to disable dsocaps
89390         like LD_HWCAP_MASK can disable hwcaps.
89392 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
89394         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
89396 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
89398         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
89399         call in strcasestr.
89400         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
89401         __strcasestr_sse42_nonascii.
89402         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
89403         strcasestr-nonascii.c.
89404         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
89406 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
89408         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
89409         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
89410         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
89411         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
89413 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
89415         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
89416         fcntl.
89418 2010-07-06  Andreas Schwab  <schwab@redhat.com>
89420         [BZ #11577]
89421         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
89422         dl_signal_cerror.
89424 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
89426         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
89427         _PC_PIPE_BUF using F_GETPIPE_SZ.
89429 2010-07-05  Roland McGrath  <roland@redhat.com>
89431         * manual/arith.texi (Rounding Functions): Fix rint description
89432         implicit in round description.
89434 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
89436         * elf/Makefile: Fix linking for a few tests to make recent linker
89437         happy.
89439 2010-06-30  Andreas Schwab  <schwab@redhat.com>
89441         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
89442         $(common-objpfx)libc_nonshared.a.
89444 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
89446         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
89447         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
89448         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
89449         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
89450         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
89451         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
89452         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
89453         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
89454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
89455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
89456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
89457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
89458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
89459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
89460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
89461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
89462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
89463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
89464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
89465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
89466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
89467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
89468         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
89469         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
89470         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
89471         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
89472         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
89473         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
89474         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
89475         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
89476         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
89477         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
89478         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
89479         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
89480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
89481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
89482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
89483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
89484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
89485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
89486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
89487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
89488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
89489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
89490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
89491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
89492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
89493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
89495 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
89497         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
89498         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
89499         * string/memmove.c (memmove): Renamed to ...
89500         (MEMMOVE): ...this.  Default to memmove.
89501         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
89502         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
89503         (END_CHK): Define.
89504         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89505         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
89506         mempcpy-ssse3-back memmove-ssse3-back.
89507         * sysdeps/x86_64/multiarch/bcopy.S: New file .
89508         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
89509         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
89510         * sysdeps/x86_64/multiarch/memcpy.S: New file.
89511         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
89512         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
89513         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
89514         * sysdeps/x86_64/multiarch/memmove.c: New file.
89515         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
89516         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
89517         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
89518         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
89519         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
89520         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
89521         Define.
89522         (index_Fast_Copy_Backward): Define.
89523         (HAS_ARCH_FEATURE): Define.
89524         (HAS_FAST_REP_STRING): Define.
89525         (HAS_FAST_COPY_BACKWARD): Define.
89527 2010-06-21  Andreas Schwab  <schwab@redhat.com>
89529         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
89530         Restore proper fallback handling.
89532 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
89534         [BZ #11701]
89535         * posix/group_member.c (__group_member): Correct checking loop.
89537         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
89538         OOM in getpwuid_r correctly.  Return error number when the caller
89539         should return, otherwise -1.
89540         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
89541         call returning > 0 value.
89542         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
89544 2010-06-07  Andreas Schwab  <schwab@redhat.com>
89546         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
89547         libc_nonshared.a from targets in modules-names.
89549 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
89551         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
89552         requires it.
89554 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
89556         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
89557         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
89558         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
89559         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
89561 2010-06-02  Andreas Schwab  <schwab@redhat.com>
89563         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
89565 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
89567         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
89568         and F_GETPIPE_SZ.
89569         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
89570         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
89571         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
89572         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
89573         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
89574         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
89576 2010-06-14  Roland McGrath  <roland@redhat.com>
89578         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
89580 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
89582         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
89583         __REDIRECT followed by __THROW.
89584         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
89585         * posix/getopt.h (getopt): Likewise.
89587 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
89589         * hurd/lookup-at.c (__file_name_lookup_at): Accept
89590         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
89591         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
89592         in AT_FLAGS.
89593         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
89594         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
89596 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
89598         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
89600 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
89602         [BZ #11640]
89603         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89604         Properly check family and model.
89606 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
89608         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
89610 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
89612         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
89614 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
89616         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
89617         symbol reference.
89619 2010-05-19  Andreas Schwab  <schwab@redhat.com>
89621         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
89622         symbol reference.
89624 2010-05-21  Andreas Schwab  <schwab@redhat.com>
89626         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
89627         and internal_recvmmsg.
89628         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
89629         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
89630         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
89631         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
89633         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
89634         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
89635         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
89637 2010-05-20  Andreas Schwab  <schwab@redhat.com>
89639         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
89641 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
89643         POWER7 optimizations.
89644         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
89645         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
89647 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
89649         * version.h: Update for 2.13 development version.
89651 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
89653         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
89654         exceptions.  Return 0.
89656 2010-05-07  Roland McGrath  <roland@redhat.com>
89658         * elf/ldconfig.c (main): Add a const.
89660 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
89662         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
89663         (args_options): Add no-idn option.
89664         (ahosts_keys_int): Add idn_flags to ai_flags.
89665         (parse_option): Handle 'i' option to clear idn_flags.
89667         * malloc/malloc.c (_int_free): Possible race in the most recently
89668         added check.  Only act on the data if no current modification
89669         happened.
89671 See ChangeLog.17 for earlier changes.